Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleDrawable.java114 private final Rect mHotspotBounds = new Rect(); field in RippleDrawable
302 mHotspotBounds.set(bounds); in onBoundsChange()
359 final Rect hotspotBounds = mHotspotBounds; in isProjected()
548 mBackground = new RippleBackground(this, mHotspotBounds, isBounded, mForceSoftware); in tryBackgroundEnter()
581 x = mHotspotBounds.exactCenterX(); in tryRippleEnter()
582 y = mHotspotBounds.exactCenterY(); in tryRippleEnter()
586 mRipple = new RippleForeground(this, mHotspotBounds, x, y, isBounded, mForceSoftware); in tryRippleEnter()
631 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
638 outRect.set(mHotspotBounds); in getHotspotBounds()
849 final float x = mHotspotBounds.exactCenterX(); in drawBackgroundAndRipples()
[all …]
DDrawableContainer.java61 private Rect mHotspotBounds; field in DrawableContainer
298 if (mHotspotBounds == null) { in setHotspotBounds()
299 mHotspotBounds = new Rect(left, top, right, bottom); in setHotspotBounds()
301 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
311 if (mHotspotBounds != null) { in getHotspotBounds()
312 outRect.set(mHotspotBounds); in getHotspotBounds()
540 final Rect hotspotBounds = mHotspotBounds; in initializeDrawableForDisplay()
DLayerDrawable.java104 private Rect mHotspotBounds; field in LayerDrawable
1296 if (mHotspotBounds == null) { in setHotspotBounds()
1297 mHotspotBounds = new Rect(left, top, right, bottom); in setHotspotBounds()
1299 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
1305 if (mHotspotBounds != null) { in getHotspotBounds()
1306 outRect.set(mHotspotBounds); in getHotspotBounds()