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.java115 private final Rect mHotspotBounds = new Rect(); field in RippleDrawable
288 mBackground = new RippleBackground(this, mHotspotBounds, isBounded()); in setBackgroundActive()
301 mHotspotBounds.set(bounds); in onBoundsChange()
360 final Rect hotspotBounds = mHotspotBounds; in isProjected()
568 x = mHotspotBounds.exactCenterX(); in tryRippleEnter()
569 y = mHotspotBounds.exactCenterY(); in tryRippleEnter()
572 mRipple = new RippleForeground(this, mHotspotBounds, x, y, mForceSoftware); in tryRippleEnter()
615 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
622 outRect.set(mHotspotBounds); in getHotspotBounds()
835 final float x = mHotspotBounds.exactCenterX(); in drawBackgroundAndRipples()
[all …]
DDrawableContainer.java61 private Rect mHotspotBounds; field in DrawableContainer
310 if (mHotspotBounds == null) { in setHotspotBounds()
311 mHotspotBounds = new Rect(left, top, right, bottom); in setHotspotBounds()
313 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
323 if (mHotspotBounds != null) { in getHotspotBounds()
324 outRect.set(mHotspotBounds); in getHotspotBounds()
559 final Rect hotspotBounds = mHotspotBounds; in initializeDrawableForDisplay()
DAdaptiveIconDrawable.java133 private Rect mHotspotBounds; field in AdaptiveIconDrawable
641 if (mHotspotBounds == null) { in setHotspotBounds()
642 mHotspotBounds = new Rect(left, top, right, bottom); in setHotspotBounds()
644 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
650 if (mHotspotBounds != null) { in getHotspotBounds()
651 outRect.set(mHotspotBounds); in getHotspotBounds()
DLayerDrawable.java108 private Rect mHotspotBounds; field in LayerDrawable
1314 if (mHotspotBounds == null) { in setHotspotBounds()
1315 mHotspotBounds = new Rect(left, top, right, bottom); in setHotspotBounds()
1317 mHotspotBounds.set(left, top, right, bottom); in setHotspotBounds()
1323 if (mHotspotBounds != null) { in getHotspotBounds()
1324 outRect.set(mHotspotBounds); in getHotspotBounds()