Home
last modified time | relevance | path

Searched refs:CellLayout (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java122 private CellLayout.CellInfo mDragInfo;
132 private CellLayout mDragTargetLayout = null;
286 while (CellLayout.widthInPortrait(res, cellCountX + 1) <= smallestScreenDim) { in Workspace()
291 while (actionBarHeight + CellLayout.heightInLandscape(res, cellCountY + 1) in Workspace()
321 CellLayout cl = (CellLayout) getChildAt(i); in buildPageHardwareLayers()
391 if (!(child instanceof CellLayout)) { in onViewAdded()
394 CellLayout cl = ((CellLayout) child); in onViewAdded()
458 final CellLayout layout; in addInScreen()
482 layout = (CellLayout) getChildAt(screen); in addInScreen()
486 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in addInScreen()
[all …]
DCellLayoutChildren.java60 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt()
82 public void setupLp(CellLayout.LayoutParams lp) { in setupLp()
89 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in measureChild()
104 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in onLayout()
DFocusHelper.java544 final CellLayout layout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent()
576 private static ArrayList<View> getCellLayoutChildrenSortedSpatially(CellLayout layout, in getCellLayoutChildrenSortedSpatially()
588 CellLayout.LayoutParams llp = (CellLayout.LayoutParams) lhs.getLayoutParams(); in getCellLayoutChildrenSortedSpatially()
589 CellLayout.LayoutParams rlp = (CellLayout.LayoutParams) rhs.getLayoutParams(); in getCellLayoutChildrenSortedSpatially()
616 private static View getIconInDirection(CellLayout layout, ViewGroup parent, int i, in getIconInDirection()
621 private static View getIconInDirection(CellLayout layout, ViewGroup parent, View v, in getIconInDirection()
632 private static View getClosestIconOnLine(CellLayout layout, ViewGroup parent, View v, in getClosestIconOnLine()
635 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) v.getLayoutParams(); in getClosestIconOnLine()
647 CellLayout.LayoutParams tmpLp = (CellLayout.LayoutParams) newV.getLayoutParams(); in getClosestIconOnLine()
676 final CellLayout layout = (CellLayout) parent.getParent(); in handleIconKeyEvent()
[all …]
DHotseat.java35 private CellLayout mContent;
65 CellLayout getLayout() { in getLayout()
89 mContent = (CellLayout) findViewById(R.id.layout); in onFinishInflate()
131 mContent.addViewToCellLayout(allAppsButton, -1, 0, new CellLayout.LayoutParams(x,y,1,1), in resetLayout()
DSpringLoadedDragController.java28 private CellLayout mScreen;
42 public void setAlarm(CellLayout cl) { in setAlarm()
DFolderIcon.java154 private CellLayout mCellLayout;
255 public void setCellLayout(CellLayout layout) { in setCellLayout()
287 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); in onDragEnter()
288 CellLayout layout = (CellLayout) getParent().getParent(); in onDragEnter()
341 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
350 workspace.resetTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
DAppWidgetResizeFrame.java21 private CellLayout mCellLayout;
70 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { in AppWidgetResizeFrame()
237 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); in resizeWidgetIfNeeded()
293 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); in commitResizeForDelta()
DFolder.java71 protected CellLayout mContent;
148 mContent = (CellLayout) findViewById(R.id.folder_content); in onFinishInflate()
518 CellLayout.LayoutParams lp = in createAndAddShortcut()
519 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY); in createAndAddShortcut()
760 CellLayout currentPage = mLauncher.getWorkspace().getCurrentDropLayout(); in centerAboutIcon()
837 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) v.getLayoutParams(); in arrangeChildren()
890 CellLayout cellLayout = mLauncher.getCellLayout(mInfo.container, mInfo.screen); in replaceFolderWithFinalItem()
940CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mCurrentDragView.getLayoutParams(); in onDrop()
DInstallWidgetReceiver.java80 private CellLayout mTargetLayout;
85 List<WidgetMimeTypeHandlerData> list, CellLayout target, in WidgetListAdapter()
DLauncher.java813 final CellLayout layout = getCellLayout(container, screen); in completeAddApplication()
847 CellLayout layout = getCellLayout(container, screen); in completeAddShortcut()
937 return CellLayout.rectToCell(getResources(), requiredWidth, requiredHeight, null); in getSpanForWidget()
962 CellLayout layout = getCellLayout(container, screen); in completeAddAppWidget()
1547 FolderIcon addFolder(CellLayout layout, long container, final int screen, int cellX, in addFolder()
1860 CellLayout cl = (CellLayout) fi.getParent().getParent(); in growAndFadeOutFolderIcon()
1861 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) fi.getLayoutParams(); in growAndFadeOutFolderIcon()
1877 CellLayout cl = null; in shrinkAndFadeInFolderIcon()
1879 cl = (CellLayout) fi.getParent().getParent(); in shrinkAndFadeInFolderIcon()
1882 final CellLayout layout = cl; in shrinkAndFadeInFolderIcon()
[all …]
DCellLayout.java59 public class CellLayout extends ViewGroup { class
139 private HashMap<CellLayout.LayoutParams, ObjectAnimator> mReorderAnimators = new
140 HashMap<CellLayout.LayoutParams, ObjectAnimator>();
150 public CellLayout(Context context) { in CellLayout() method in CellLayout
154 public CellLayout(Context context, AttributeSet attrs) { in CellLayout() method in CellLayout
158 public CellLayout(Context context, AttributeSet attrs, int defStyle) { in CellLayout() method in CellLayout
165 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CellLayout, defStyle, 0); in CellLayout()
259 CellLayout.this.invalidate(left, top, in CellLayout()
1781 return new CellLayout.LayoutParams(getContext(), attrs); in generateLayoutParams()
1786 return p instanceof CellLayout.LayoutParams; in checkLayoutParams()
[all …]
DBubbleTextView.java251 CellLayout layout = (CellLayout) parent.getParent(); in setCellLayoutPressedOrFocusedIcon()
DInstallShortcutReceiver.java113 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied); in findEmptyCell()
DDragLayer.java320 CellLayout cellLayout) { in addResizeFrame()
356 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in animateViewIntoPosition()
DAppsCustomizePagedView.java613 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen); in onDropCompleted()
/packages/apps/Launcher2/
Dproguard.flags14 -keep class com.android.launcher2.CellLayout {
36 -keep class com.android.launcher2.CellLayout$LayoutParams {