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.java558 final Rect hotspotBounds = mHotspotBounds; in initializeDrawableForDisplay() local
559 if (hotspotBounds != null) { in initializeDrawableForDisplay()
560 d.setHotspotBounds(hotspotBounds.left, hotspotBounds.top, in initializeDrawableForDisplay()
561 hotspotBounds.right, hotspotBounds.bottom); in initializeDrawableForDisplay()
DRippleDrawable.java448 final Rect hotspotBounds = mHotspotBounds; in isProjected() local
450 && radius <= hotspotBounds.width() / 2 in isProjected()
451 && radius <= hotspotBounds.height() / 2 in isProjected()
452 && (drawableBounds.equals(hotspotBounds) in isProjected()
453 || drawableBounds.contains(hotspotBounds))) { in isProjected()