Home
last modified time | relevance | path

Searched refs:iconLayout (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java210 final CellLayout iconLayout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent() local
211 if (iconLayout == null) { in handleHotseatButtonKeyEvent()
217 final ViewGroup iconParent = iconLayout.getShortcutsAndWidgets(); in handleHotseatButtonKeyEvent()
224 matrix = FocusLogic.createSparseMatrix(iconLayout, hotseatLayout, in handleHotseatButtonKeyEvent()
228 countX = iconLayout.getCountX(); in handleHotseatButtonKeyEvent()
229 countY = iconLayout.getCountY() + hotseatLayout.getCountY(); in handleHotseatButtonKeyEvent()
233 matrix = FocusLogic.createSparseMatrix(iconLayout, hotseatLayout, in handleHotseatButtonKeyEvent()
237 countX = iconLayout.getCountX() + hotseatLayout.getCountX(); in handleHotseatButtonKeyEvent()
238 countY = iconLayout.getCountY(); in handleHotseatButtonKeyEvent()
298 CellLayout iconLayout = (CellLayout) parent.getParent(); in handleIconKeyEvent() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java187 public static int[][] createSparseMatrix(CellLayout iconLayout, CellLayout hotseatLayout, in createSparseMatrix() argument
190 ViewGroup iconParent = iconLayout.getShortcutsAndWidgets(); in createSparseMatrix()
195 m = iconLayout.getCountX(); in createSparseMatrix()
196 n = iconLayout.getCountY() + hotseatLayout.getCountY(); in createSparseMatrix()
198 m = iconLayout.getCountX() + hotseatLayout.getCountX(); in createSparseMatrix()
199 n = iconLayout.getCountY(); in createSparseMatrix()
223 matrix[cx + delta][iconLayout.getCountY()] = iconParent.getChildCount() + i; in createSparseMatrix()
231 matrix[iconLayout.getCountX()][cy + delta] = iconParent.getChildCount() + i; in createSparseMatrix()
251 public static int[][] createSparseMatrix(CellLayout iconLayout, int pivotX, int pivotY) { in createSparseMatrix() argument
253 ViewGroup iconParent = iconLayout.getShortcutsAndWidgets(); in createSparseMatrix()
[all …]
/packages/apps/FMRadio/src/com/android/fmradio/
DFmUtils.java279 LinearLayout iconLayout = new LinearLayout(c); in createNotificationLargeIcon() local
280 iconLayout.setOrientation(LinearLayout.VERTICAL); in createNotificationLargeIcon()
281 iconLayout.setBackgroundColor(c.getResources().getColor(R.color.theme_primary_color)); in createNotificationLargeIcon()
282 iconLayout.setDrawingCacheEnabled(true); in createNotificationLargeIcon()
283 iconLayout.layout(0, 0, width, height); in createNotificationLargeIcon()
294 iconLayout.addView(iconText); in createNotificationLargeIcon()
295 iconLayout.layout(0, 0, width, height); in createNotificationLargeIcon()
297 iconLayout.buildDrawingCache(); in createNotificationLargeIcon()
298 Bitmap largeIcon = Bitmap.createBitmap(iconLayout.getDrawingCache()); in createNotificationLargeIcon()
299 iconLayout.destroyDrawingCache(); in createNotificationLargeIcon()