Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DMagnifier.java95 private float mZoom; field in Magnifier
177 params.mZoom = a.getFloat(R.styleable.Magnifier_magnifierZoom, 0); in createBuilderWithOldMagnifierDefaults()
213 mZoom = params.mZoom; in Magnifier()
219 mSourceWidth = Math.round(mWindowWidth / mZoom); in Magnifier()
220 mSourceHeight = Math.round(mWindowHeight / mZoom); in Magnifier()
309 (mSourceWidth - (mSourceWidth - 2 * mRamp) / mZoom) / 2; in show()
320 leftEdge = sourceCenterX - (sourceCenterX - leftEdge) / mZoom; in show()
337 rightEdge = sourceCenterX + (rightEdge - sourceCenterX) / mZoom; in show()
361 mParentSurface.mSurfaceControl, mWindowWidth, mWindowHeight, mZoom, in show()
473 mZoom = zoom; in setZoom()
[all …]
/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()
/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/base/core/java/android/service/wallpaper/
DWallpaperService.java217 float mZoom = 0f; field in WallpaperService.Engine
576 return mZoom; in getZoom()
866 out.print(prefix); out.print("mZoom="); out.println(mZoom); in dump()
899 Log.v(TAG, "mZoom: " + mZoom + " updated: " + zoom); in setZoom()
902 mZoom = 0; in setZoom()
904 if (Float.compare(zoom, mZoom) != 0) { in setZoom()
905 mZoom = zoom; in setZoom()
911 onZoomChanged(mZoom); in setZoom()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt71594 Landroid/widget/Magnifier;->mZoom:F