Searched refs:mPreviewContainerSize (Results 1 – 1 of 1) sorted by relevance
93 private Size mPreviewContainerSize = new Size(0, 0); field in WidgetCell214 mPreviewContainerSize = new Size(0, 0); in clear()305 mPreviewContainerSize = WidgetSizes.getWidgetSizePx(mActivity.getDeviceProfile(), in initPreviewContainerSizeAndScale()308 float scaleX = (float) mPreviewContainerSize.getWidth() / mWidgetSize.getWidth(); in initPreviewContainerSizeAndScale()309 float scaleY = (float) mPreviewContainerSize.getHeight() / mWidgetSize.getHeight(); in initPreviewContainerSizeAndScale()515 containerLp.width = mPreviewContainerSize.getWidth();516 int height = mPreviewContainerSize.getHeight();521 mAppWidgetHostViewScale = (float) containerLp.width / mPreviewContainerSize.getWidth();522 height = Math.round(mPreviewContainerSize.getHeight() * mAppWidgetHostViewScale);