Searched refs:mHotspotBounds (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleDrawable.java | 114 private final Rect mHotspotBounds = new Rect(); field in RippleDrawable 311 mHotspotBounds.set(bounds); in onBoundsChange() 493 mBackground = new RippleBackground(this, mHotspotBounds); in tryBackgroundEnter() 526 x = mHotspotBounds.exactCenterX(); in tryRippleEnter() 527 y = mHotspotBounds.exactCenterY(); in tryRippleEnter() 529 mRipple = new Ripple(this, mHotspotBounds, x, y); in tryRippleEnter() 575 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds() 583 outRect.set(mHotspotBounds); in getHotspotBounds() 791 final float x = mHotspotBounds.exactCenterX(); in drawBackgroundAndRipples() 792 final float y = mHotspotBounds.exactCenterY(); in drawBackgroundAndRipples() [all …]
|
D | DrawableContainer.java | 58 private Rect mHotspotBounds; field in DrawableContainer 293 if (mHotspotBounds == null) { in setHotspotBounds() 294 mHotspotBounds = new Rect(left, top, bottom, right); in setHotspotBounds() 296 mHotspotBounds.set(left, top, bottom, right); in setHotspotBounds() 307 if (mHotspotBounds != null) { in getHotspotBounds() 308 outRect.set(mHotspotBounds); in getHotspotBounds() 512 final Rect hotspotBounds = mHotspotBounds; in initializeDrawableForDisplay()
|
D | LayerDrawable.java | 85 private Rect mHotspotBounds; field in LayerDrawable 612 if (mHotspotBounds == null) { in setHotspotBounds() 613 mHotspotBounds = new Rect(left, top, right, bottom); in setHotspotBounds() 615 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds() 622 if (mHotspotBounds != null) { in getHotspotBounds() 623 outRect.set(mHotspotBounds); in getHotspotBounds()
|