Searched refs:CellLayout (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DSpringLoadedDragController.java28 private CellLayout mScreen;
42 public void setAlarm(CellLayout cl) {
H A DCellLayoutChildren.java60 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
82 public void setupLp(CellLayout.LayoutParams lp) {
89 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
104 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
H A DWorkspace.java123 private CellLayout.CellInfo mDragInfo;
131 * The CellLayout that is currently being dragged over
133 private CellLayout mDragTargetLayout = null;
184 // Camera and Matrix used to determine the final position of a neighboring CellLayout
287 while (CellLayout.widthInPortrait(res, cellCountX + 1) <= smallestScreenDim) {
292 while (actionBarHeight + CellLayout.heightInLandscape(res, cellCountY + 1)
324 CellLayout cl = (CellLayout) mLauncher.getWorkspace().getChildAt(0);
339 public RectF estimateItemPosition(CellLayout cl, ItemInfo pendingInfo,
359 CellLayout c
[all...]
H A DHotseat.java35 private CellLayout mContent;
65 CellLayout getLayout() {
89 mContent = (CellLayout) findViewById(R.id.layout);
131 mContent.addViewToCellLayout(allAppsButton, -1, 0, new CellLayout.LayoutParams(x,y,1,1),
H A DFocusHelper.java536 final CellLayout layout = (CellLayout) workspace.getChildAt(pageIndex);
557 * Private helper method to get the CellLayoutChildren given a CellLayout index.
565 * Private helper method to sort all the CellLayout children in order of their (x,y) spatially
568 private static ArrayList<View> getCellLayoutChildrenSortedSpatially(CellLayout layout,
570 // First we order each the CellLayout children by their x,y coordinates
580 CellLayout.LayoutParams llp = (CellLayout.LayoutParams) lhs.getLayoutParams();
581 CellLayout.LayoutParams rlp = (CellLayout
[all...]
H A DAppWidgetResizeFrame.java22 private CellLayout mCellLayout;
71 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) {
166 * of the CellLayout, and such that the frame's borders can't cross.
239 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams();
295 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams();
321 // We need to make sure the frame stays within the bounds of the CellLayout
H A DFolderIcon.java153 private CellLayout mCellLayout;
254 public void setCellLayout(CellLayout layout) {
286 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams();
287 CellLayout layout = (CellLayout) getParent().getParent();
340 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent());
349 workspace.resetTransitionTransform((CellLayout) getParent().getParent());
H A DInstallWidgetReceiver.java80 private CellLayout mTargetLayout;
85 List<WidgetMimeTypeHandlerData> list, CellLayout target,
H A DFolder.java73 protected CellLayout mContent;
157 mContent = (CellLayout) findViewById(R.id.folder_content);
553 CellLayout.LayoutParams lp =
554 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY);
795 CellLayout currentPage = mLauncher.getWorkspace().getCurrentDropLayout();
872 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) v.getLayoutParams();
925 CellLayout cellLayout = mLauncher.getCellLayout(mInfo.container, mInfo.screen);
975 CellLayout.LayoutParams lp = (CellLayout
[all...]
H A DBubbleTextView.java250 CellLayout layout = (CellLayout) parent.getParent();
H A DInstallShortcutReceiver.java117 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied);
H A DCellLayout.java57 public class CellLayout extends ViewGroup { class in inherits:ViewGroup
58 static final String TAG = "CellLayout";
127 private HashMap<CellLayout.LayoutParams, ObjectAnimator> mReorderAnimators = new
128 HashMap<CellLayout.LayoutParams, ObjectAnimator>();
138 public CellLayout(Context context) { method in class:CellLayout
142 public CellLayout(Context context, AttributeSet attrs) { method in class:CellLayout
146 public CellLayout(Context context, AttributeSet attrs, int defStyle) { method in class:CellLayout
149 // A ViewGroup usually does not draw, but CellLayout needs to draw a rectangle to show
153 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CellLayout, defStyle, 0);
237 CellLayout
[all...]
H A DLauncher.java839 final CellLayout layout = getCellLayout(container, screen);
873 CellLayout layout = getCellLayout(container, screen);
930 return CellLayout.rectToCell(getResources(), requiredWidth, requiredHeight, null);
955 CellLayout layout = getCellLayout(container, screen);
1536 FolderIcon addFolder(CellLayout layout, long container, final int screen, int cellX,
1842 CellLayout cl = (CellLayout) fi.getParent().getParent();
1843 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) fi.getLayoutParams();
1859 CellLayout c
[all...]
H A DDragLayer.java398 CellLayout cellLayout) {
434 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
H A DAppsCustomizePagedView.java637 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen);

Completed in 242 milliseconds