/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);
|
Launcher.java | 695 CellLayout cellLayout = 696 (CellLayout) mWorkspace.getChildAt(mPendingAddInfo.screen); 727 mWorkspace.animateWidgetDrop(mPendingAddInfo, cellLayout, [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
SpringLoadedDragController.java | 28 private CellLayout mScreen; 42 public void setAlarm(CellLayout cl) {
|
FocusHelper.java | 65 if (page instanceof CellLayout) { 67 page = ((CellLayout) page).getShortcutsAndWidgets(); 83 countX = ((CellLayout) parentLayout).getCountX(); 84 countY = ((CellLayout) parentLayout).getCountY(); 247 final CellLayout layout = (CellLayout) parent.getParent(); 286 CellLayout topLayout = (CellLayout) workspace.getChildAt(pageIndex); 310 * Private helper method to get the CellLayoutChildren given a CellLayout index. 314 CellLayout parent = (CellLayout) container.getChildAt(i) [all...] |
ShortcutAndWidgetContainer.java | 68 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 88 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 112 public void setupLp(CellLayout.LayoutParams lp) { 145 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 185 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
|
Workspace.java | 141 private HashMap<Long, CellLayout> mWorkspaceScreens = new HashMap<Long, CellLayout>(); 150 private CellLayout.CellInfo mDragInfo; 168 * The CellLayout that is currently being dragged over 170 private CellLayout mDragTargetLayout = null; 172 * The CellLayout that we will show as glowing 174 private CellLayout mDragOverlappingLayout = null; 177 * The CellLayout which will be dropped to 179 private CellLayout mDropToLayout = null; 367 CellLayout customScreen = getScreenWithId(CUSTOM_CONTENT_SCREEN_ID) [all...] |
AppsCustomizeCellLayout.java | 22 public class AppsCustomizeCellLayout extends CellLayout implements Page {
|
Hotseat.java | 38 private CellLayout mContent; 69 CellLayout getLayout() { 130 mContent = (CellLayout) findViewById(R.id.layout); 169 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(x,y,1,1);
|
DeviceProfile.java | 312 return CellLayout.LANDSCAPE; 314 return CellLayout.PORTRAIT; 522 return getSearchBarBounds(isLandscape ? CellLayout.LANDSCAPE : CellLayout.PORTRAIT); 527 if (orientation == CellLayout.LANDSCAPE && 540 int width = (orientation == CellLayout.LANDSCAPE) 583 return getWorkspacePadding(isLandscape ? CellLayout.LANDSCAPE : CellLayout.PORTRAIT); 588 if (orientation == CellLayout.LANDSCAPE && 603 int width = (orientation == CellLayout.LANDSCAPE [all...] |
Folder.java | 79 protected CellLayout mContent; 122 // results in CellLayout being measured as UNSPECIFIED, which it does 183 mContent = (CellLayout) findViewById(R.id.folder_content); 312 public CellLayout getContent() { 661 CellLayout.LayoutParams lp = 662 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY); [all...] |
AppWidgetResizeFrame.java | 18 private CellLayout mCellLayout; 75 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { 79 mCellLayout = cellLayout; 171 * of the CellLayout, and such that the frame's borders can't cross. 251 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); 348 Rect landMetrics = Workspace.getCellLayoutMetrics(launcher, CellLayout.LANDSCAPE); 349 Rect portMetrics = Workspace.getCellLayoutMetrics(launcher, CellLayout.PORTRAIT);
|
FolderIcon.java | 134 final ViewGroup cellLayout = (ViewGroup) cellLayoutChildren.getParent(); 135 final Workspace workspace = (Workspace) cellLayout.getParent(); 194 private CellLayout mCellLayout; 302 public void setCellLayout(CellLayout layout) { 341 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); 342 CellLayout layout = (CellLayout) getParent().getParent(); 434 // Set cellLayout and this to it's final state to compute final animation locations 435 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()) [all...] |
DragLayer.java | 519 CellLayout cellLayout) { 521 widget, cellLayout, this); 556 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); [all...] |
BubbleTextView.java | 240 CellLayout layout = (CellLayout) getParent().getParent();
|
Launcher.java | 817 final CellLayout dropLayout = mWorkspace.getScreenWithId(mPendingAddInfo.screenId); [all...] |