Home
last modified time | relevance | path

Searched refs:zoom (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DVisibleUniverse.kt47 val zoom: Float constant
50 fun DrawScope.zoom(zoom: Float, block: ZoomedDrawScope.() -> Unit) { in DrawScope() method
53 override var zoom = zoom in DrawScope() variable
55 ds.scale(zoom) { block(ds) } in DrawScope()
101 width = 1f / zoom, in ZoomedDrawScope()
102 pathEffect = PathEffect.dashPathEffect(floatArrayOf(8f / zoom, 8f / zoom), 0f) in ZoomedDrawScope()
120 style = Stroke(2f / zoom), in ZoomedDrawScope()
135 width = 1f / zoom, in ZoomedDrawScope()
144 drawCircle(color = color, radius = radius, center = pos, style = Stroke(2f / zoom)) in ZoomedDrawScope()
165 width = 3f / this@drawStar.zoom, in drawStar()
[all …]
/frameworks/base/tests/Internal/src/android/service/wallpaper/
DWallpaperServiceTest.java69 public void onZoomChanged(float zoom) { in testDeliversZoomChanged()
70 super.onZoomChanged(zoom); in testDeliversZoomChanged()
/frameworks/base/core/java/android/widget/
DMagnifier.java471 public void setZoom(@FloatRange(from = 0f) float zoom) { in setZoom()
472 Preconditions.checkArgumentPositive(zoom, "Zoom should be positive"); in setZoom()
473 mZoom = zoom; in setZoom()
485 void updateSourceFactors(final int sourceHeight, final float zoom) { in updateSourceFactors() argument
486 mZoom = zoom; in updateSourceFactors()
488 mWindowHeight = (int) (sourceHeight * zoom); in updateSourceFactors()
490 mWindow.updateContentFactors(mWindowHeight, zoom); in updateSourceFactors()
991 final float zoom, final int ramp, final float elevation, final float cornerRadius, in InternalPopupWindow() argument
1001 mZoom = zoom; in InternalPopupWindow()
1079 private void updateContentFactors(final int contentHeight, final float zoom) { in updateContentFactors() argument
[all …]
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioRecord.aidl50 void setPreferredMicrophoneFieldDimension(float zoom); in setPreferredMicrophoneFieldDimension() argument
/frameworks/base/media/java/android/media/
DMicrophoneDirection.java87 boolean setPreferredMicrophoneFieldDimension(@FloatRange(from = -1.0, to = 1.0) float zoom); in setPreferredMicrophoneFieldDimension()
DMediaRecorder.java1821 @FloatRange(from = -1.0, to = 1.0) float zoom) { in setPreferredMicrophoneFieldDimension()
1823 zoom >= -1 && zoom <= 1, "Argument must fall between -1 & 1 (inclusive)"); in setPreferredMicrophoneFieldDimension()
1824 return native_setPreferredMicrophoneFieldDimension(zoom) == 0; in setPreferredMicrophoneFieldDimension()
1828 private native int native_setPreferredMicrophoneFieldDimension(float zoom); in native_setPreferredMicrophoneFieldDimension() argument
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/wallpaper/
DLiveWallpaper.kt336 override fun onZoomChanged(zoom: Float) { in onZoomChanged()
337 super.onZoomChanged(zoom) in onZoomChanged()
339 (wallpaperEngine as LiveWallpaperEventListener).onZoomChanged(zoom) in onZoomChanged()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/
DGlassActivity.kt70 zoomSeekBar = requireViewById(R.id.zoom) in <lambda>()
119 materialView.zoom = progress / seekBar.max.toFloat() in <lambda>()
DGlassView.kt132 var zoom = 0.0f variable
211 src.scale(1.0f + zoom) in updateGlassRenderNode()
/frameworks/base/tests/MultiDeviceInput/
DREADME.md17 * Pinch zoom in one window to affect the line thickness in another window
/frameworks/base/core/java/android/view/accessibility/flags/
Daccessibility_flags.aconfig142 description: "Feature flag for system pinch zoom gesture detector and related opt-out apis"
169 description: "Feature flag for declaring system pinch zoom opt-out apis"
/frameworks/base/core/java/android/view/
DIWindow.aidl101 …void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, float zoom, boolean sync… in dispatchWallpaperOffsets() argument
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp590 status_t MediaRecorderClient::setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension() argument
591 ALOGV("setPreferredMicrophoneFieldDimension(%f)", zoom); in setPreferredMicrophoneFieldDimension()
593 return mRecorder->setPreferredMicrophoneFieldDimension(zoom); in setPreferredMicrophoneFieldDimension()
DMediaRecorderClient.h88 virtual status_t setPreferredMicrophoneFieldDimension(float zoom);
/frameworks/av/media/libstagefright/
DAudioSource.cpp540 status_t AudioSource::setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension() argument
541 ALOGV("setPreferredMicrophoneFieldDimension(%f)", zoom); in setPreferredMicrophoneFieldDimension()
543 return mRecord->setPreferredMicrophoneFieldDimension(zoom); in setPreferredMicrophoneFieldDimension()
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp454 status_t setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension() argument
455 ALOGV("setPreferredMicrophoneFieldDimension(%f)", zoom); in setPreferredMicrophoneFieldDimension()
458 data.writeFloat(zoom); in setPreferredMicrophoneFieldDimension()
803 float zoom = data.readFloat(); in onTransact() local
804 status_t status = setPreferredMicrophoneFieldDimension(zoom); in onTransact()
Dmediarecorder.cpp904 status_t MediaRecorder::setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension() argument
905 ALOGV("setPreferredMicrophoneFieldDimension(%f)", zoom); in setPreferredMicrophoneFieldDimension()
906 return mMediaRecorder->setPreferredMicrophoneFieldDimension(zoom); in setPreferredMicrophoneFieldDimension()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestIWindow.java76 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, float zoom, in dispatchWallpaperOffsets() argument
DWallpaperControllerTests.java188 float zoom = .5f; in testWallpaperZoom() local
192 dc.mWallpaperController.setWallpaperZoomOut(homeWindow, zoom); in testWallpaperZoom()
193 assertEquals(zoom, wallpaperWindow.mWallpaperZoomOut, .01f); in testWallpaperZoom()
196 anyFloat(), anyFloat(), anyFloat(), anyFloat(), eq(zoom), anyBoolean()); in testWallpaperZoom()
/frameworks/av/media/libmedia/include/media/
DIMediaRecorder.h79 virtual status_t setPreferredMicrophoneFieldDimension(float zoom) = 0;
DMediaRecorderBase.h78 virtual status_t setPreferredMicrophoneFieldDimension(float zoom) = 0;
/frameworks/base/services/core/java/com/android/server/wm/
DWallpaperController.java391 final float zoom; in updateWallpaperOffset() local
504 zoom = wallpaperWin.mShouldScaleWallpaper in updateWallpaperOffset()
506 final float totalZoom = zoom * cropZoom; in updateWallpaperOffset()
609 void setWallpaperZoomOut(WindowState window, float zoom) { in setWallpaperZoomOut() argument
610 if (Float.compare(window.mWallpaperZoomOut, zoom) != 0) { in setWallpaperZoomOut()
611 window.mWallpaperZoomOut = zoom; in setWallpaperZoomOut()
DSession.java641 public void setWallpaperZoomOut(IBinder window, float zoom) { in setWallpaperZoomOut() argument
642 if (Float.compare(0f, zoom) > 0 || Float.compare(1f, zoom) < 0 || Float.isNaN(zoom)) { in setWallpaperZoomOut()
644 + zoom); in setWallpaperZoomOut()
650 wpController.setWallpaperZoomOut(windowState, zoom)); in setWallpaperZoomOut()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java108 public void dispatchWallpaperOffsets(float x, float y, float xStep, float yStep, float zoom, in dispatchWallpaperOffsets() argument
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h87 status_t setPreferredMicrophoneFieldDimension(float zoom);

123