Home
last modified time | relevance | path

Searched refs:IntArray (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/util/
DIntArray.java26 public class IntArray implements Cloneable { class
34 private IntArray(int[] array, int size) { in IntArray() method in IntArray
42 public IntArray() { in IntArray() method in IntArray
49 public IntArray(int initialCapacity) { in IntArray() method in IntArray
61 public static IntArray wrap(int... array) { in wrap()
62 return new IntArray(array, array.length); in wrap()
95 public void addAll(IntArray values) { in addAll()
106 public void copyFrom(IntArray other) { in copyFrom()
135 public IntArray clone() { in clone()
144 if (obj instanceof IntArray) { in equals()
[all …]
DIntSet.java25 final IntArray mArray = new IntArray();
64 public IntArray getArray() { in getArray()
75 public static IntSet wrap(IntArray array) { in wrap()
DThemes.java163 IntArray keysToIgnore) { in createValueMap()
165 IntArray attrNameArray = new IntArray(count); in createValueMap()
/packages/apps/LegacyCamera/src/com/android/camera/
DIconListPreference.java90 IntArray iconIds = new IntArray(); in filterUnsupported()
91 IntArray largeIconIds = new IntArray(); in filterUnsupported()
92 IntArray imageIds = new IntArray(); in filterUnsupported()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DAddWorkspaceItemsTaskTest.java20 import com.android.launcher3.util.IntArray;
43 private IntArray existingScreens;
44 private IntArray newScreens;
49 existingScreens = new IntArray(); in initData()
51 newScreens = new IntArray(); in initData()
92 IntArray oldScreens = existingScreens.clone(); in testFindSpaceForItem_adds_new_screen()
128 verify(callbacks).bindAppsAdded(any(IntArray.class), notAnimated.capture(), in testAddItem_some_items_added()
DGridSizeMigrationTaskTest.java16 import com.android.launcher3.util.IntArray;
274 IntArray allScreens = getWorkspaceScreenIds(mDb); in verifyWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DAddWorkspaceItemsTask.java38 import com.android.launcher3.util.IntArray;
65 final IntArray addedWorkspaceScreensFinal = new IntArray(); in execute()
68 IntArray workspaceScreens = dataModel.collectWorkspaceScreens(); in execute()
255 IntArray workspaceScreens, IntArray addedWorkspaceScreensFinal, int spanX, int spanY) { in findSpaceForItem()
DLoaderCursor.java51 import com.android.launcher3.util.IntArray;
71 private final IntArray itemsToRemove = new IntArray();
72 private final IntArray restoredRows = new IntArray();
DBgDataModel.java42 import com.android.launcher3.util.IntArray;
132 public synchronized IntArray collectWorkspaceScreens() { in collectWorkspaceScreens()
184 IntArray workspaceScreens = collectWorkspaceScreens(); in dumpProto()
409 void bindScreens(IntArray orderedScreenIds); in bindScreens()
413 void bindAppsAdded(IntArray newScreens, in bindAppsAdded()
DBaseLoaderResults.java34 import com.android.launcher3.util.IntArray;
92 final IntArray orderedScreenIds = new IntArray(); in bindWorkspace()
DGridSizeMigrationTask.java35 import com.android.launcher3.util.IntArray;
69 protected final IntArray mEntryToRemove = new IntArray();
187 static IntArray getWorkspaceScreenIds(SQLiteDatabase db) {
197 IntArray allScreens = getWorkspaceScreenIds(mDb);
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DPackageInstallerCompatVL.java36 import com.android.launcher3.util.IntArray;
67 mPromiseIconIds = IntSet.wrap(IntArray.fromConcatString( in PackageInstallerCompatVL()
74 IntArray existingIds = new IntArray(); in cleanUpPromiseIconIds()
78 IntArray idsToRemove = new IntArray(); in cleanUpPromiseIconIds()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLauncherDbUtils.java29 import com.android.launcher3.util.IntArray;
95 public static IntArray queryIntArray(SQLiteDatabase db, String tableName, String columnName, in queryIntArray()
97 IntArray out = new IntArray(); in queryIntArray()
DRestoreDbTask.java41 import com.android.launcher3.util.IntArray;
242 IntArray.fromConcatString(prefs.getString(APPWIDGET_OLD_IDS, "")).toArray(), in restoreAppWidgetIdsIfExists()
243 IntArray.fromConcatString(prefs.getString(APPWIDGET_IDS, "")).toArray()); in restoreAppWidgetIdsIfExists()
255 .putString(APPWIDGET_OLD_IDS, IntArray.wrap(oldIds).toConcatString()) in setRestoredAppWidgetIds()
256 .putString(APPWIDGET_IDS, IntArray.wrap(newIds).toConcatString()) in setRestoredAppWidgetIds()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java44 import android.util.IntArray;
177 final ArrayMap<String, IntArray> clustered = new ArrayMap<>(); in updateWithLocked()
181 IntArray cluster = clustered.get(tag); in updateWithLocked()
183 cluster = new IntArray(); in updateWithLocked()
193 final IntArray cluster = clustered.valueAt(i); in updateWithLocked()
407 private long[] getDownloadIds(Cursor cursor, IntArray cluster) { in getDownloadIds()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java44 import com.android.launcher3.util.IntArray;
231 final IntArray actions = getSupportedResizeActions(host, info); in performAction()
263 private IntArray getSupportedResizeActions(View host, LauncherAppWidgetInfo info) { in getSupportedResizeActions()
264 IntArray actions = new IntArray(); in getSupportedResizeActions()
415 IntArray workspaceScreens = workspace.getScreenOrder(); in findSpaceOnWorkspace()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java26 import com.android.gallery3d.util.IntArray;
141 private IntArray mSaveFlags = new IntArray();
243 private final IntArray mUnboundTextures = new IntArray();
244 private final IntArray mDeleteBuffers = new IntArray();
806 IntArray ids = mUnboundTextures; in deleteRecycledResources()
DGLES11Canvas.java28 import com.android.gallery3d.util.IntArray;
78 private final IntArray mUnboundTextures = new IntArray();
79 private final IntArray mDeleteBuffers = new IntArray();
745 IntArray ids = mUnboundTextures; in deleteRecycledResources()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java48 import com.android.launcher3.util.IntArray;
204 public int loadLayout(SQLiteDatabase db, IntArray screenIds) { in loadLayout()
217 protected int parseLayout(XmlPullParser parser, IntArray screenIds) in parseLayout()
254 XmlPullParser parser, ArrayMap<String, TagParser> tagParserMap, IntArray screenIds) in parseAndAddNode()
601 IntArray folderItems = new IntArray(); in parseAndAdd()
DLauncherProvider.java68 import com.android.launcher3.util.IntArray;
417 private IntArray deleteEmptyFolders() { in deleteEmptyFolders()
427 IntArray folderIds = LauncherDbUtils.queryIntArray(db, Favorites.TABLE_NAME, in deleteEmptyFolders()
437 return new IntArray(); in deleteEmptyFolders()
760 IntArray finalScreens = LauncherDbUtils.queryIntArray(db, "workspaceScreens", in onUpgrade()
989 int count = loader.loadLayout(db, new IntArray()); in loadFavorites()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java91 private IntArray mSaveFlags = new IntArray();
160 private final IntArray mUnboundTextures = new IntArray();
450 IntArray ids = mUnboundTextures; in deleteRecycledResources()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/util/
DIntArrayTest.java33 String concat = IntArray.wrap(array).toConcatString(); in concatAndParseString()
35 int[] parsed = IntArray.fromConcatString(concat).toArray(); in concatAndParseString()
/packages/services/Car/car-lib/src/android/car/projection/
DProjectionStatus.java25 import android.util.IntArray;
371 private IntArray mAvailableTransports = new IntArray();
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconShape.java51 import com.android.launcher3.util.IntArray;
417 IntArray keysToIgnore = new IntArray(0);
/packages/apps/Music/kotlin/src/com/android/music/
DMusicBrowserActivity.kt30 requestCode: Int, permissions: Array<String>, grantResults: IntArray) { in onRequestPermissionsResult()

12