Home
last modified time | relevance | path

Searched refs:mSourceWidth (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/core/java/android/widget/
H A DMagnifier.java97 private int mSourceWidth; field in Magnifier
216 mSourceWidth = params.mSourceWidth; in Magnifier()
219 mSourceWidth = Math.round(mWindowWidth / mZoom); in Magnifier()
309 (mSourceWidth - (mSourceWidth - 2 * mRamp) / mZoom) / 2; in show()
314 final float x0 = sourceCenterX - mSourceWidth / 2f; in show()
331 final float x1 = sourceCenterX + mSourceWidth / 2f; in show()
453 return mSourceWidth; in getSourceWidth()
772 mSourceWidth / 2, 0, in maybeDrawCursor()
779 new Rect(mSourceWidth / 2 - 1, 0, mSourceWidth / 2 + 1, mSourceHeight), in maybeDrawCursor()
1419 private int mSourceWidth; field in Magnifier.Builder
[all …]
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DPlaceholderInsetDrawable.java35 private final int mSourceWidth; field in PlaceholderInsetDrawable
59 mSourceWidth = sourceWidth; in PlaceholderInsetDrawable()
65 return mSourceWidth; in getIntrinsicWidth()