Searched refs:iconBounds (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | DotRenderer.java | 106 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
|
D | BaseIconFactory.java | 190 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/ |
D | CachingPipeline.java | 351 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/ |
D | FloatingIconView.java | 363 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/ |
D | AllApps.java | 68 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/ |
D | FolderIcon.java | 531 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/ |
D | BubbleTextView.java | 426 getIconBounds(mDotParams.iconBounds); in drawDotIfNecessary() 427 … Utilities.scaleRectAboutCenter(mDotParams.iconBounds, IconShape.getNormalizationScale()); in drawDotIfNecessary()
|