Home
last modified time | relevance | path

Searched refs:iconIndex (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DCursorIconInfo.java36 public final int iconIndex; field in CursorIconInfo
40 iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in CursorIconInfo()
60 icon = Utilities.createIconBitmap(c, iconIndex, context); in loadIcon()
64 icon = Utilities.createIconBitmap(c, iconIndex, context); in loadIcon()
DFocusLogic.java403 private static int handleDpadVertical(int iconIndex, int cntX, int cntY,
415 if (matrix[i][j] == iconIndex) {
424 xPos, yPos, iconIndex));
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java104 final int iconIndex = itemContainer.indexOfChild(v); in onKey() local
113 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in onKey()
221 int iconIndex = hotseatParent.indexOfChild(v); in handleHotseatButtonKeyEvent() local
223 .getChildAt(iconIndex).getLayoutParams()).cellX; in handleHotseatButtonKeyEvent()
241 iconIndex += iconParent.getChildCount(); in handleHotseatButtonKeyEvent()
247 iconIndex += iconParent.getChildCount(); in handleHotseatButtonKeyEvent()
268 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in handleHotseatButtonKeyEvent()
360 final int iconIndex = parent.indexOfChild(v); in handleIconKeyEvent() local
391 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in handleIconKeyEvent()
DUtilities.java156 public static Bitmap createIconBitmap(Cursor c, int iconIndex, Context context) { in createIconBitmap() argument
157 byte[] data = c.getBlob(iconIndex); in createIconBitmap()
DIconCache.java864 private static Bitmap loadIconNoResize(Cursor c, int iconIndex, BitmapFactory.Options options) { in loadIconNoResize() argument
865 byte[] data = c.getBlob(iconIndex); in loadIconNoResize()
DLauncherProvider.java1144 final int iconIndex in migrateLauncher2Shortcuts() local
1275 values.put(LauncherSettings.Favorites.ICON, c.getBlob(iconIndex)); in migrateLauncher2Shortcuts()
DLauncherModel.java1987 cursorIconInfo.iconIndex, titleIndex, in loadWorkspace()
2010 cursorIconInfo.iconIndex, titleIndex, in loadWorkspace()
3452 UserHandleCompat user, Context context, Cursor c, int iconIndex, int titleIndex,
3477 Bitmap icon = Utilities.createIconBitmap(c, iconIndex, context);
/packages/apps/Launcher2/src/com/android/launcher2/
DFocusHelper.java300 final int iconIndex = itemContainer.indexOfChild(v); in handleAppsCustomizeKeyEvent() local
305 final int x = iconIndex % countX; in handleAppsCustomizeKeyEvent()
306 final int y = iconIndex / countX; in handleAppsCustomizeKeyEvent()
319 if (iconIndex > 0) { in handleAppsCustomizeKeyEvent()
320 itemContainer.getChildAt(iconIndex - 1).requestFocus(); in handleAppsCustomizeKeyEvent()
337 if (iconIndex < (itemCount - 1)) { in handleAppsCustomizeKeyEvent()
338 itemContainer.getChildAt(iconIndex + 1).requestFocus(); in handleAppsCustomizeKeyEvent()
DLauncherModel.java1304 final int iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in loadWorkspace() local
1362 manager, intent, user, context, c, iconIndex, in loadWorkspace()
1366 iconPackageIndex, iconResourceIndex, iconIndex, in loadWorkspace()
1413 queueIconToBeChecked(sBgDbIconCache, info, c, iconIndex); in loadWorkspace()
2200 Cursor c, int iconIndex, int titleIndex, HashMap<Object, CharSequence> labelCache) { in getShortcutInfo() argument
2219 icon = getIconFromCursor(c, iconIndex, context); in getShortcutInfo()
2277 int iconTypeIndex, int iconPackageIndex, int iconResourceIndex, int iconIndex, in getShortcutInfo() argument
2311 icon = getIconFromCursor(c, iconIndex, context); in getShortcutInfo()
2320 icon = getIconFromCursor(c, iconIndex, context); in getShortcutInfo()
2339 Bitmap getIconFromCursor(Cursor c, int iconIndex, Context context) { in getIconFromCursor() argument
[all …]
DLauncherProvider.java445 final int iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in copyFromCursor() local
464 values.put(LauncherSettings.Favorites.ICON, c.getBlob(iconIndex)); in copyFromCursor()
725 final int iconIndex = c.getColumnIndexOrThrow(Favorites.ICON); in normalizeIcons() local
729 byte[] data = c.getBlob(iconIndex); in normalizeIcons()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMaterialSearchSuggestionsList.java130 final int iconIndex = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_ICON_1); in doInBackground() local
133 final Uri iconUri = Uri.parse(c.getString(iconIndex)); in doInBackground()