Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMagnifier.java90 private float mZoom; field in Magnifier
163 params.mZoom = a.getFloat(R.styleable.Magnifier_magnifierZoom, 0); in createBuilderWithOldMagnifierDefaults()
199 mZoom = params.mZoom; in Magnifier()
200 mSourceWidth = Math.round(mWindowWidth / mZoom); in Magnifier()
201 mSourceHeight = Math.round(mWindowHeight / mZoom); in Magnifier()
388 mZoom = zoom; in setZoom()
389 mSourceWidth = Math.round(mWindowWidth / mZoom); in setZoom()
390 mSourceHeight = Math.round(mWindowHeight / mZoom); in setZoom()
402 return mZoom; in getZoom()
1139 private float mZoom; field in Magnifier.Builder
[all …]
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java56 private float mZoom = 0.8f; field in MainActivity
124 mZoom = zoom * mDownZoom / mDistDown; in onCreate()
126 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); in onCreate()
143 mDownZoom = mZoom; in onCreate()
203 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); in updateMatrix()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java56 private float mZoom = 0.8f; field in MainActivity
124 mZoom = zoom * mDownZoom / mDistDown; in onCreate()
126 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); in onCreate()
143 mDownZoom = mZoom; in onCreate()
203 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); in updateMatrix()