Home
last modified time | relevance | path

Searched refs:hotspotBounds (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java559 final Rect hotspotBounds = mHotspotBounds; in initializeDrawableForDisplay() local
560 if (hotspotBounds != null) { in initializeDrawableForDisplay()
561 d.setHotspotBounds(hotspotBounds.left, hotspotBounds.top, in initializeDrawableForDisplay()
562 hotspotBounds.right, hotspotBounds.bottom); in initializeDrawableForDisplay()
DRippleDrawable.java360 final Rect hotspotBounds = mHotspotBounds; in isProjected() local
362 && radius <= hotspotBounds.width() / 2 in isProjected()
363 && radius <= hotspotBounds.height() / 2 in isProjected()
364 && (drawableBounds.equals(hotspotBounds) in isProjected()
365 || drawableBounds.contains(hotspotBounds))) { in isProjected()