Home
last modified time | relevance | path

Searched refs:iconBounds (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DDotRenderer.java106 Rect iconBounds = params.iconBounds; in draw() local
108 float dotCenterX = iconBounds.left + iconBounds.width() * dotPosition[0]; in draw()
109 float dotCenterY = iconBounds.top + iconBounds.height() * dotPosition[1]; in draw()
135 public Rect iconBounds = new Rect(); field in DotRenderer.DrawParams
DBaseIconFactory.java190 RectF iconBounds = new RectF(); in createScaledBitmapWithoutShadow() local
192 icon = normalizeAndWrapToAdaptiveIcon(icon, shrinkNonAdaptiveIcons, iconBounds, scale); in createScaledBitmapWithoutShadow()
194 Math.min(scale[0], ShadowGenerator.getScaleForBounds(iconBounds))); in createScaledBitmapWithoutShadow()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java351 Rect iconBounds = request.getIconBounds(); in render() local
353 if (iconBounds.width() > source.getWidth() * 2) { in render()
356 if (iconBounds != null) { in render()
357 bitmap = mEnvironment.getBitmap(iconBounds.width(), in render()
358 iconBounds.height(), BitmapCache.ICON); in render()
362 float maxSize = Math.max(iconBounds.width(), iconBounds.height()); in render()
365 float dx = (iconBounds.width() - (source.getWidth() * scale))/2.0f; in render()
366 float dy = (iconBounds.height() - (source.getHeight() * scale))/2.0f; in render()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java363 Rect iconBounds = new Rect(); in getLocationBoundsForView() local
365 ((BubbleTextView) v).getIconBounds(iconBounds); in getLocationBoundsForView()
367 ((FolderIcon) v).getPreviewBounds(iconBounds); in getLocationBoundsForView()
369 iconBounds.set(0, 0, v.getWidth(), v.getHeight()); in getLocationBoundsForView()
372 float[] points = new float[] {iconBounds.left, iconBounds.top, iconBounds.right, in getLocationBoundsForView()
373 iconBounds.bottom}; in getLocationBoundsForView()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAllApps.java68 final Rect iconBounds = icon.getVisibleBounds(); in hasClickableIcon() local
69 LauncherInstrumentation.log("hasClickableIcon: icon bounds: " + iconBounds); in hasClickableIcon()
70 if (iconBounds.height() < mIconHeight / 2) { in hasClickableIcon()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java531 Rect iconBounds = mDotParams.iconBounds; in drawDot() local
532 BubbleTextView.getIconBounds(this, iconBounds, in drawDot()
534 float iconScale = (float) mBackground.previewSize / iconBounds.width(); in drawDot()
535 Utilities.scaleRectAboutCenter(iconBounds, iconScale); in drawDot()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java426 getIconBounds(mDotParams.iconBounds); in drawDotIfNecessary()
427 … Utilities.scaleRectAboutCenter(mDotParams.iconBounds, IconShape.getNormalizationScale()); in drawDotIfNecessary()