/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
H A D | AccessibleDragListenerAdapter.java | 21 import com.android.launcher3.CellLayout; 38 * @param dragType either {@link CellLayout#WORKSPACE_ACCESSIBILITY_DRAG} or 39 * {@link CellLayout#FOLDER_ACCESSIBILITY_DRAG} 59 setEnableForLayout((CellLayout) mViewGroup.getChildAt(i), enable); 63 protected final void setEnableForLayout(CellLayout layout, boolean enable) {
|
H A D | FolderAccessibilityHelper.java | 19 import com.android.launcher3.CellLayout; 35 public FolderAccessibilityHelper(CellLayout layout) {
|
H A D | DragAndDropAccessibilityDelegate.java | 28 import com.android.launcher3.CellLayout; 35 * Helper class to make drag-and-drop in a {@link CellLayout} accessible. 43 protected final CellLayout mView; 49 public DragAndDropAccessibilityDelegate(CellLayout forView) {
|
H A D | LauncherAccessibilityDelegate.java | 20 import com.android.launcher3.CellLayout; 246 CellLayout layout = (CellLayout) host.getParent().getParent(); 272 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) host.getLayoutParams(); 273 CellLayout layout = (CellLayout) host.getParent().getParent(); 364 CellLayout.CellInfo cellInfo = new CellLayout.CellInfo(item, info); 411 CellLayout layou [all...] |
H A D | WorkspaceAccessibilityHelper.java | 26 import com.android.launcher3.CellLayout; 43 public WorkspaceAccessibilityHelper(CellLayout layout) {
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | SpringLoadedDragController.java | 20 import com.android.launcher3.CellLayout; 33 private CellLayout mScreen; 47 public void setAlarm(CellLayout cl) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | FocusHelper.java | 105 final CellLayout cellLayout = (CellLayout) itemContainer.getParent(); 130 int row = ((CellLayout.LayoutParams) v.getLayoutParams()).cellY; 219 final CellLayout hotseatLayout = (CellLayout) hotseatParent.getParent(); 225 int iconRank = ((CellLayout.LayoutParams) hotseatLayout.getShortcutsAndWidgets() 228 final CellLayout iconLayout = (CellLayout) workspace.getChildAt(pageIndex); 292 CellLayout prevPage = (CellLayout) workspac [all...] |
H A D | ShortcutAndWidgetContainer.java | 25 import com.android.launcher3.CellLayout.ContainerType; 62 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 89 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 110 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 123 int cellPaddingX = mContainerType == CellLayout.WORKSPACE 149 CellLayout.LayoutParams lp = (CellLayout [all...] |
H A D | Workspace.java | 141 @Thunk final LongArrayMap<CellLayout> mWorkspaceScreens = new LongArrayMap<>(); 150 private CellLayout.CellInfo mDragInfo; 165 * The CellLayout that is currently being dragged over 167 @Thunk CellLayout mDragTargetLayout = null; 169 * The CellLayout that we will show as highlighted 171 private CellLayout mDragOverlappingLayout = null; 174 * The CellLayout which will be dropped to 176 private CellLayout mDropToLayout = null; 362 CellLayout customScreen = getScreenWithId(CUSTOM_CONTENT_SCREEN_ID); 383 CellLayout c [all...] |
H A D | Hotseat.java | 47 private CellLayout mContent; 80 public CellLayout getLayout() { 117 mContent = (CellLayout) findViewById(R.id.layout); 160 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(x, y, 1, 1);
|
H A D | PinchAnimationManager.java | 186 final CellLayout cl = (CellLayout) mWorkspace.getChildAt(i);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | SpringLoadedDragController.java | 28 private CellLayout mScreen; 42 public void setAlarm(CellLayout cl) {
|
H A D | ShortcutAndWidgetContainer.java | 64 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 84 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 104 public void setupLp(CellLayout.LayoutParams lp) { 117 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 140 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
|
H A D | Workspace.java | 111 private CellLayout.CellInfo mDragInfo; 124 * The CellLayout that is currently being dragged over 126 private CellLayout mDragTargetLayout = null; 128 * The CellLayout that we will show as glowing 130 private CellLayout mDragOverlappingLayout = null; 133 * The CellLayout which will be dropped to 135 private CellLayout mDropToLayout = null; 315 while (CellLayout.widthInPortrait(res, cellCountX + 1) <= minDims.x) { 320 while (actionBarHeight + CellLayout.heightInLandscape(res, cellCountY + 1) 360 CellLayout c [all...] |
H A D | Hotseat.java | 36 private CellLayout mContent; 73 CellLayout getLayout() { 101 mContent = (CellLayout) findViewById(R.id.layout); 143 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(x,y,1,1);
|
H A D | FocusHelper.java | 534 final CellLayout layout = (CellLayout) workspace.getChildAt(pageIndex); 555 * Private helper method to get the CellLayoutChildren given a CellLayout index. 564 * Private helper method to sort all the CellLayout children in order of their (x,y) spatially 567 private static ArrayList<View> getCellLayoutChildrenSortedSpatially(CellLayout layout, 569 // First we order each the CellLayout children by their x,y coordinates 579 CellLayout.LayoutParams llp = (CellLayout.LayoutParams) lhs.getLayoutParams(); 580 CellLayout.LayoutParams rlp = (CellLayout [all...] |
H A D | FolderIcon.java | 166 private CellLayout mCellLayout; 271 public void setCellLayout(CellLayout layout) { 310 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); 311 CellLayout layout = (CellLayout) getParent().getParent(); 376 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()); 385 workspace.resetTransitionTransform((CellLayout) getParent().getParent());
|
H A D | InstallWidgetReceiver.java | 80 private CellLayout mTargetLayout; 85 List<WidgetMimeTypeHandlerData> list, CellLayout target,
|
H A D | Folder.java | 72 protected CellLayout mContent; 155 mContent = (CellLayout) findViewById(R.id.folder_content); 546 CellLayout.LayoutParams lp = 547 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY); 814 CellLayout currentLayout = (CellLayout) mLauncher.getWorkspace().getChildAt(currentPage); 894 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) v.getLayoutParams(); 946 CellLayout cellLayout = mLauncher.getCellLayout(mInfo.container, mInfo.screen); 967 // the same time in the CellLayout [all...] |
H A D | AppWidgetResizeFrame.java | 20 private CellLayout mCellLayout; 77 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { 174 * of the CellLayout, and such that the frame's borders can't cross. 254 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); 351 Rect landMetrics = Workspace.getCellLayoutMetrics(launcher, CellLayout.LANDSCAPE); 352 Rect portMetrics = Workspace.getCellLayoutMetrics(launcher, CellLayout.PORTRAIT);
|
H A D | BubbleTextView.java | 259 CellLayout layout = (CellLayout) parent.getParent();
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | FolderPagedView.java | 33 import com.android.launcher3.CellLayout; 239 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) view.getLayoutParams(); 257 textView.setLayoutParams(new CellLayout.LayoutParams( 263 public CellLayout getPageAt(int index) { 264 return (CellLayout) getChildAt(index); 267 public CellLayout getCurrentCellLayout() { 271 private CellLayout createAndAddNewPage() { 273 CellLayout page = (CellLayout) mInflate [all...] |
H A D | FolderIcon.java | 44 import com.android.launcher3.CellLayout; 238 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); 239 CellLayout cl = (CellLayout) getParent().getParent(); 304 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()); 313 workspace.resetTransitionTransform((CellLayout) getParent().getParent()); 659 ((CellLayout.LayoutParams) getLayoutParams()).canReorder = true; 661 CellLayout cl = (CellLayout) getParen [all...] |
H A D | PreviewBackground.java | 37 import com.android.launcher3.CellLayout; 82 private CellLayout mDrawingDelegate; 330 private void delegateDrawing(CellLayout delegate, int cellX, int cellY) { 400 public void animateToAccept(final CellLayout cl, final int cellX, final int cellY) { 414 final CellLayout cl = mDrawingDelegate;
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | FocusLogic.java | 24 import com.android.launcher3.CellLayout; 160 * Returns a matrix of size same as the {@link CellLayout} dimension that is initialized with the 164 public static int[][] createSparseMatrix(CellLayout layout) { 178 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; 179 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; 195 CellLayout iconLayout, CellLayout hotseatLayout, DeviceProfile dp) { 233 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; 234 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; 252 int cx = ((CellLayout [all...] |