Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleDrawable.java114 private final Rect mHotspotBounds = new Rect(); field in RippleDrawable
285 mBackground = new RippleBackground(this, mHotspotBounds, isBounded()); in setBackgroundActive()
298 mHotspotBounds.set(bounds); in onBoundsChange()
357 final Rect hotspotBounds = mHotspotBounds; in isProjected()
565 x = mHotspotBounds.exactCenterX(); in tryRippleEnter()
566 y = mHotspotBounds.exactCenterY(); in tryRippleEnter()
569 mRipple = new RippleForeground(this, mHotspotBounds, x, y, mForceSoftware); in tryRippleEnter()
612 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
619 outRect.set(mHotspotBounds); in getHotspotBounds()
832 final float x = mHotspotBounds.exactCenterX(); in drawBackgroundAndRipples()
[all …]
DDrawableContainer.java58 private Rect mHotspotBounds; field in DrawableContainer
309 if (mHotspotBounds == null) { in setHotspotBounds()
310 mHotspotBounds = new Rect(left, top, right, bottom); in setHotspotBounds()
312 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
322 if (mHotspotBounds != null) { in getHotspotBounds()
323 outRect.set(mHotspotBounds); in getHotspotBounds()
558 final Rect hotspotBounds = mHotspotBounds; in initializeDrawableForDisplay()
DAdaptiveIconDrawable.java132 private Rect mHotspotBounds; field in AdaptiveIconDrawable
628 if (mHotspotBounds == null) { in setHotspotBounds()
629 mHotspotBounds = new Rect(left, top, right, bottom); in setHotspotBounds()
631 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
637 if (mHotspotBounds != null) { in getHotspotBounds()
638 outRect.set(mHotspotBounds); in getHotspotBounds()
DLayerDrawable.java106 private Rect mHotspotBounds; field in LayerDrawable
1307 if (mHotspotBounds == null) { in setHotspotBounds()
1308 mHotspotBounds = new Rect(left, top, right, bottom); in setHotspotBounds()
1310 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
1316 if (mHotspotBounds != null) { in getHotspotBounds()
1317 outRect.set(mHotspotBounds); in getHotspotBounds()