/packages/apps/Launcher2/src/com/android/launcher2/ |
SpringLoadedDragController.java | 28 private CellLayout mScreen; 42 public void setAlarm(CellLayout cl) {
|
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();
|
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 cl = (CellLayout) mLauncher.getWorkspace().getChildAt(0) [all...] |
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);
|
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.LayoutParams) rhs.getLayoutParams() [all...] |
FolderIcon.java | 118 final ViewGroup cellLayout = (ViewGroup) cellLayoutChildren.getParent(); 119 final Workspace workspace = (Workspace) cellLayout.getParent(); 166 private CellLayout mCellLayout; 271 public void setCellLayout(CellLayout layout) { 310 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); 311 CellLayout layout = (CellLayout) getParent().getParent(); 375 // Set cellLayout and this to it's final state to compute final animation locations 376 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()) [all...] |
InstallWidgetReceiver.java | 80 private CellLayout mTargetLayout; 85 List<WidgetMimeTypeHandlerData> list, CellLayout target,
|
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); [all...] |
AppWidgetResizeFrame.java | 20 private CellLayout mCellLayout; 77 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { 81 mCellLayout = cellLayout; 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);
|
BubbleTextView.java | 259 CellLayout layout = (CellLayout) parent.getParent();
|
DragLayer.java | 441 CellLayout cellLayout) { 443 widget, cellLayout, this); 478 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 790 CellLayout leftPage = (CellLayout) workspace.getChildAt(isRtl ? page + 1 : page - 1); 791 CellLayout rightPage = (CellLayout) workspace.getChildAt(isRtl ? page - 1 : page + 1);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
SpringLoadedDragController.java | 28 private CellLayout mScreen; 42 public void setAlarm(CellLayout cl) {
|
FolderPagedView.java | 202 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) view.getLayoutParams(); 219 textView.setLayoutParams(new CellLayout.LayoutParams( 225 public CellLayout getPageAt(int index) { 226 return (CellLayout) getChildAt(index); 235 public CellLayout getCurrentCellLayout() { 239 private CellLayout createAndAddNewPage() { 241 CellLayout page = new CellLayout(getContext()); 261 ((CellLayout) getChildAt(i)).setFixedSize(width, height) [all...] |
Workspace.java | 120 @Thunk LongArrayMap<CellLayout> mWorkspaceScreens = new LongArrayMap<>(); 130 private CellLayout.CellInfo mDragInfo; 148 * The CellLayout that is currently being dragged over 150 @Thunk CellLayout mDragTargetLayout = null; 152 * The CellLayout that we will show as glowing 154 private CellLayout mDragOverlappingLayout = null; 157 * The CellLayout which will be dropped to 159 private CellLayout mDropToLayout = null; 327 CellLayout customScreen = getScreenWithId(CUSTOM_CONTENT_SCREEN_ID); 342 CellLayout cl = (CellLayout) getChildAt(numCustomPages()) [all...] |
ShortcutAndWidgetContainer.java | 72 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 92 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 116 public void setupLp(CellLayout.LayoutParams lp) { 146 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 182 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
|
Hotseat.java | 33 private CellLayout mContent; 55 CellLayout getLayout() { 98 mContent = (CellLayout) findViewById(R.id.layout); 137 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(x,y,1,1);
|
FocusHelper.java | 86 final CellLayout cellLayout = (CellLayout) itemContainer.getParent(); 87 final int countX = cellLayout.getCountX(); 88 final int countY = cellLayout.getCountY(); 91 final FolderPagedView pagedView = (FolderPagedView) cellLayout.getParent(); 93 final int pageIndex = pagedView.indexOfChild(cellLayout); 97 int[][] matrix = FocusLogic.createSparseMatrix(cellLayout); 113 int row = ((CellLayout.LayoutParams) v.getLayoutParams()).cellY; 150 child = cellLayout.getChildAt(0, 0) [all...] |
AppWidgetResizeFrame.java | 26 private final CellLayout mCellLayout; 67 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { 71 mCellLayout = cellLayout; 171 * of the CellLayout, and such that the frame's borders can't cross. 251 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); 347 Rect landMetrics = Workspace.getCellLayoutMetrics(launcher, CellLayout.LANDSCAPE); 348 Rect portMetrics = Workspace.getCellLayoutMetrics(launcher, CellLayout.PORTRAIT);
|
FolderIcon.java | 138 final ViewGroup cellLayout = (ViewGroup) cellLayoutChildren.getParent(); 139 final Workspace workspace = (Workspace) cellLayout.getParent(); 198 @Thunk CellLayout mCellLayout; 305 public void setCellLayout(CellLayout layout) { 344 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); 345 CellLayout layout = (CellLayout) getParent().getParent(); 437 // Set cellLayout and this to it's final state to compute final animation locations 438 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
FolderAccessibilityHelper.java | 19 import com.android.launcher3.CellLayout; 35 public FolderAccessibilityHelper(CellLayout layout) {
|
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) {
|
LauncherAccessibilityDelegate.java | 21 import com.android.launcher3.CellLayout; 231 CellLayout layout = (CellLayout) host.getParent().getParent(); 257 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) host.getLayoutParams(); 258 CellLayout layout = (CellLayout) host.getParent().getParent(); 349 CellLayout.CellInfo cellInfo = new CellLayout.CellInfo(item, info); 393 void startDrag(CellLayout.CellInfo cellInfo, boolean accessible) [all...] |
WorkspaceAccessibilityHelper.java | 23 import com.android.launcher3.CellLayout; 35 public WorkspaceAccessibilityHelper(CellLayout layout) {
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
FocusLogic.java | 24 import com.android.launcher3.CellLayout; 157 * Returns a matrix of size same as the {@link CellLayout} dimension that is initialized with the 161 public static int[][] createSparseMatrix(CellLayout layout) { 171 int cx = ((CellLayout.LayoutParams) parent.getChildAt(i).getLayoutParams()).cellX; 172 int cy = ((CellLayout.LayoutParams) parent.getChildAt(i).getLayoutParams()).cellY; 187 public static int[][] createSparseMatrix(CellLayout iconLayout, CellLayout hotseatLayout, 205 int cx = ((CellLayout.LayoutParams) iconParent.getChildAt(i).getLayoutParams()).cellX; 206 int cy = ((CellLayout.LayoutParams) iconParent.getChildAt(i).getLayoutParams()).cellY; 217 int cx = ((CellLayout.LayoutParams [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetsContainerView.java | 32 import com.android.launcher3.CellLayout; 319 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen);
|