/packages/apps/Launcher2/src/com/android/launcher2/ |
Workspace.java | 113 private CellLayout.CellInfo mDragInfo; 126 * The CellLayout that is currently being dragged over 128 private CellLayout mDragTargetLayout = null; 130 * The CellLayout that we will show as glowing 132 private CellLayout mDragOverlappingLayout = null; 135 * The CellLayout which will be dropped to 137 private CellLayout mDropToLayout = null; 182 // Camera and Matrix used to determine the final position of a neighboring CellLayout 309 while (CellLayout.widthInPortrait(res, cellCountX + 1) <= smallestScreenDim) { 314 while (actionBarHeight + CellLayout.heightInLandscape(res, cellCountY + 1 [all...] |
ShortcutAndWidgetContainer.java | 62 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 82 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 102 public void setupLp(CellLayout.LayoutParams lp) { 109 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 124 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
|
Hotseat.java | 35 private CellLayout mContent; 67 CellLayout getLayout() { 91 mContent = (CellLayout) findViewById(R.id.layout); 133 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(x,y,1,1);
|
SpringLoadedDragController.java | 28 private CellLayout mScreen; 42 public void setAlarm(CellLayout cl) {
|
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...] |
AppWidgetResizeFrame.java | 20 private CellLayout mCellLayout; 71 LauncherAppWidgetHostView widgetView, CellLayout cellLayout, DragLayer dragLayer) { 75 mCellLayout = cellLayout; 166 * of the CellLayout, and such that the frame's borders can't cross. 246 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); 319 Rect landMetrics = Workspace.getCellLayoutMetrics(launcher, CellLayout.LANDSCAPE); 320 Rect portMetrics = Workspace.getCellLayoutMetrics(launcher, CellLayout.PORTRAIT); 381 // We need to make sure the frame stays within the bounds of the CellLayout [all...] |
PagedViewCellLayoutChildren.java | 25 * An abstraction of the original CellLayout which supports laying out items 86 throw new RuntimeException("CellLayout cannot have UNSPECIFIED dimensions");
|
DragLayer.java | 412 CellLayout cellLayout) { 414 widget, cellLayout, this); 449 CellLayout parent = (CellLayout) (CellLayout) parentChildren.getParent(); 450 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 752 CellLayout leftPage = (CellLayout) workspace.getChildAt(page - 1) [all...] |
FolderIcon.java | 115 final ViewGroup cellLayout = (ViewGroup) cellLayoutChildren.getParent(); 116 final Workspace workspace = (Workspace) cellLayout.getParent(); 163 private CellLayout mCellLayout; 268 public void setCellLayout(CellLayout layout) { 300 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); 301 CellLayout layout = (CellLayout) getParent().getParent(); 352 // Set cellLayout and this to it's final state to compute final animation locations 353 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()) [all...] |
Folder.java | 74 protected CellLayout mContent; 156 mContent = (CellLayout) findViewById(R.id.folder_content); 559 CellLayout.LayoutParams lp = 560 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY); 820 CellLayout currentLayout = (CellLayout) mLauncher.getWorkspace().getChildAt(currentPage); [all...] |
InstallWidgetReceiver.java | 80 private CellLayout mTargetLayout; 85 List<WidgetMimeTypeHandlerData> list, CellLayout target,
|
Launcher.java | 630 CellLayout cellLayout = 631 (CellLayout) mWorkspace.getChildAt(mPendingAddInfo.screen); 661 mWorkspace.animateWidgetDrop(mPendingAddInfo, cellLayout, [all...] |
CellLayout.java | 58 public class CellLayout extends ViewGroup { 59 static final String TAG = "CellLayout"; 123 private HashMap<CellLayout.LayoutParams, Animator> mReorderAnimators = new 124 HashMap<CellLayout.LayoutParams, Animator>(); 164 public CellLayout(Context context) { 168 public CellLayout(Context context, AttributeSet attrs) { 172 public CellLayout(Context context, AttributeSet attrs, int defStyle) { 176 // A ViewGroup usually does not draw, but CellLayout needs to draw a rectangle to show 181 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CellLayout, defStyle, 0); 258 CellLayout.this.invalidate(mDragOutlines[thisIndex]) [all...] |
BubbleTextView.java | 248 CellLayout layout = (CellLayout) parent.getParent();
|
PagedViewCellLayout.java | 30 * An abstraction of the original CellLayout which supports laying out items 121 // mean that it spans the extent of the CellLayout 189 throw new RuntimeException("CellLayout cannot have UNSPECIFIED dimensions");
|
/packages/apps/Launcher2/ |
proguard.flags | 14 -keep class com.android.launcher2.CellLayout { 36 -keep class com.android.launcher2.CellLayout$LayoutParams {
|
/packages/apps/Launcher2/res/values/ |
attrs.xml | 49 <!-- The number of horizontal cells in the CellLayout --> 51 <!-- The number of vertical cells in the CellLayout --> 58 <!-- The number of horizontal cells in the CellLayout --> 60 <!-- The number of vertical cells in the CellLayout --> 64 <!-- CellLayout specific attributes. These attributes are used to customize 65 a CellLayout view in XML files. --> 66 <declare-styleable name="CellLayout">
|
dimens.xml | 128 <!-- CellLayout padding -->
|
/packages/apps/Launcher2/res/layout/ |
workspace_screen.xml | 17 <com.android.launcher2.CellLayout
|
user_folder.xml | 25 <com.android.launcher2.CellLayout
|
/packages/apps/Launcher2/res/layout-land/ |
hotseat.xml | 21 <com.android.launcher2.CellLayout
|
/packages/apps/Launcher2/res/layout-port/ |
hotseat.xml | 21 <com.android.launcher2.CellLayout
|
/packages/apps/Launcher2/res/values-sw340dp/ |
dimens.xml | 33 <!-- CellLayout padding land / port-->
|
/packages/apps/Launcher2/res/values-sw720dp/ |
dimens.xml | 57 <!-- CellLayout padding land / port-->
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 196 // Taken from CellLayout.java 207 // This logic imitates Launcher's CellLayout.rectToCell.
|