Home
last modified time | relevance | path

Searched refs:iconScale (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java121 public float iconScale; field in DeviceProfile
569 iconScale = Math.min(1f, scale);
576 iconSizePx = Math.max(1, pxFromDp(invIconSizeDp, mMetrics, iconScale));
578 iconTextSizePx = (int) (pxFromSp(invIconTextSizeSp, mMetrics) * iconScale);
579 iconDrawablePaddingPx = (int) (iconDrawablePaddingOriginalPx * iconScale);
985 writer.println(prefix + pxToDpStr("iconScale", iconScale)); in dump()
990 int unscaledExtraSpace = (int) (extraSpace / iconScale); in dump()
DWorkspace.java1454 float iconScale = 1f; in beginDragShared() local
1458 iconScale = ((FastBitmapDrawable) icon).getAnimatedScale(); in beginDragShared()
1528 scale * iconScale, in beginDragShared()
1541 scale * iconScale, in beginDragShared()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java360 float iconScale = previewSize / itemsInPreview.get(i).getIconSize(); in addPreviewItemAnimators() local
362 final float initialScale = iconScale / folderScale; in addPreviewItemAnimators()
372 int iconOffsetX = (int) ((btvLp.width - btv.getIconSize()) * iconScale) / 2; in addPreviewItemAnimators()
376 final float paddingTop = btv.getPaddingTop() * iconScale; in addPreviewItemAnimators()
DFolderIcon.java630 float iconScale = (float) mBackground.previewSize / iconBounds.width(); in drawDot() local
631 Utilities.scaleRectAboutCenter(iconBounds, iconScale); in drawDot()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarActivityContext.java122 float iconScale = taskbarIconSize / mDeviceProfile.iconSizePx; in TaskbarActivityContext() local
123 mDeviceProfile.updateIconSize(iconScale, getResources()); in TaskbarActivityContext()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskView.java847 protected void setIconScaleAndDim(float iconScale) { in setIconScaleAndDim() argument
848 setIconScaleAndDim(iconScale, false); in setIconScaleAndDim()
851 private void setIconScaleAndDim(float iconScale, boolean invert) { in setIconScaleAndDim() argument
855 setIconAndDimTransitionProgress(iconScale, invert); in setIconScaleAndDim()