Searched refs:mWidgetView (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AppWidgetResizeFrame.java | 19 private LauncherAppWidgetHostView mWidgetView; field in AppWidgetResizeFrame 82 mWidgetView = widgetView; in AppWidgetResizeFrame() 142 mCellLayout.markCellsAsUnoccupiedForView(mWidgetView); in AppWidgetResizeFrame() 254 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); in resizeWidgetIfNeeded() 324 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, in resizeWidgetIfNeeded() 333 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY); in resizeWidgetIfNeeded() 336 mWidgetView.requestLayout(); in resizeWidgetIfNeeded() 407 int newWidth = mWidgetView.getWidth() + 2 * mBackgroundPadding - mWidgetPaddingLeft - in snapToWidget() 409 int newHeight = mWidgetView.getHeight() + 2 * mBackgroundPadding - mWidgetPaddingTop - in snapToWidget() 412 int newX = mWidgetView.getLeft() - mBackgroundPadding + xOffset + mWidgetPaddingLeft; in snapToWidget() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppWidgetResizeFrame.java | 47 private LauncherAppWidgetHostView mWidgetView; field in AppWidgetResizeFrame 121 mWidgetView = widgetView; in setupForWidget() 150 mCellLayout.markCellsAsUnoccupiedForView(mWidgetView); in setupForWidget() 254 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); in resizeWidgetIfNeeded() 293 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, in resizeWidgetIfNeeded() 308 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY); in resizeWidgetIfNeeded() 311 mWidgetView.requestLayout(); in resizeWidgetIfNeeded() 378 float scale = mWidgetView.getScaleToFit(); in getSnappedRectRelativeToDragLayer() 380 mDragLayer.getViewRectRelativeToSelf(mWidgetView, out); in getSnappedRectRelativeToDragLayer() 461 mWidgetView.requestFocus(); in onKey()
|