Home
last modified time | relevance | path

Searched refs:drawableBounds (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java210 Rect drawableBounds = drawable.getBounds();
219 diff = drawableBounds.left - editText.getScrollX() + drawablePadding.left;
225 diff = drawableBounds.right - drawablePadding.right - maxRight;
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifPatternDrawable.java244 public void scaleCanvasToBounds(Canvas canvas, Bitmap bitmap, Rect drawableBounds) { in scaleCanvasToBounds() argument
247 float scaleX = drawableBounds.width() / (float) bitmapWidth; in scaleCanvasToBounds()
248 float scaleY = drawableBounds.height() / (float) bitmapHeight; in scaleCanvasToBounds()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleDrawable.java359 final Rect drawableBounds = getBounds(); in isProjected() local
364 && (drawableBounds.equals(hotspotBounds) in isProjected()
365 || drawableBounds.contains(hotspotBounds))) { in isProjected()