Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DTransition3d.java94 final Rotate3dAnimation rotation = in applyRotation() local
96 rotation.setDuration(500); in applyRotation()
97 rotation.setFillAfter(true); in applyRotation()
98 rotation.setInterpolator(new AccelerateInterpolator()); in applyRotation()
99 rotation.setAnimationListener(new DisplayNextView(position)); in applyRotation()
101 mContainer.startAnimation(rotation); in applyRotation()
151 Rotate3dAnimation rotation; in run() local
158 rotation = new Rotate3dAnimation(90, 180, centerX, centerY, 310.0f, false); in run()
164 rotation = new Rotate3dAnimation(90, 0, centerX, centerY, 310.0f, false); in run()
167 rotation.setDuration(500); in run()
[all …]
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardView.java134 PropertyValuesHolder rotation = PropertyValuesHolder.ofFloat(View.ROTATION_Y, in flipHorizontally() local
142 ObjectAnimator cardAnimator = ObjectAnimator.ofPropertyValuesHolder(this, rotation, in flipHorizontally()
258 int rotation = cardFromTop * ROTATION_PER_CARD;
261 rotation = -rotation;
265 rotation = 0;
268 return ObjectAnimator.ofFloat(this, View.ROTATION, rotation);
282 int rotation = 360 - currentRotation;
283 rotation = isClockwise ? rotation : -rotation;
285 ObjectAnimator animator = ObjectAnimator.ofFloat(this, View.ROTATION, rotation);
/development/tools/emulator/skins/WXGA800/
Dlayout57 dpad-rotation 3
75 rotation 3
/development/tools/emulator/skins/WSVGA/
Dlayout57 dpad-rotation 3
75 rotation 3
/development/tools/emulator/skins/WXGA800-7in/
Dlayout59 dpad-rotation 3
77 rotation 3
/development/tools/emulator/skins/WXGA720/
Dlayout57 dpad-rotation 3
75 rotation 3
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
DCameraPreview.java114 public static int calculatePreviewOrientation(Camera.CameraInfo info, int rotation) { in calculatePreviewOrientation() argument
117 switch (rotation) { in calculatePreviewOrientation()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
DCameraPreview.java114 public static int calculatePreviewOrientation(Camera.CameraInfo info, int rotation) { in calculatePreviewOrientation() argument
117 switch (rotation) { in calculatePreviewOrientation()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java745 int rotation = activity.getWindowManager().getDefaultDisplay().getRotation(); in configureTransform() local
751 if (Surface.ROTATION_90 == rotation || Surface.ROTATION_270 == rotation) { in configureTransform()
758 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform()
759 } else if (Surface.ROTATION_180 == rotation) { in configureTransform()
828 int rotation = activity.getWindowManager().getDefaultDisplay().getRotation(); in captureStillPicture() local
829 captureBuilder.set(CaptureRequest.JPEG_ORIENTATION, getOrientation(rotation)); in captureStillPicture()
857 private int getOrientation(int rotation) { in getOrientation() argument
862 return (ORIENTATIONS.get(rotation) + mSensorOrientation + 270) % 360; in getOrientation()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java555 int rotation = activity.getWindowManager().getDefaultDisplay().getRotation(); in configureTransform() local
561 if (Surface.ROTATION_90 == rotation || Surface.ROTATION_270 == rotation) { in configureTransform()
568 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform()
590 int rotation = activity.getWindowManager().getDefaultDisplay().getRotation(); in setUpMediaRecorder() local
593 mMediaRecorder.setOrientationHint(DEFAULT_ORIENTATIONS.get(rotation)); in setUpMediaRecorder()
596 mMediaRecorder.setOrientationHint(INVERSE_ORIENTATIONS.get(rotation)); in setUpMediaRecorder()
/development/samples/MotionMechanics/src/com/android/mechanics/demo/staging/debug/
DDebugUi.kt86 val rotation by animateFloatAsState(if (isExpanded) 180f else 0f) in DebugUi() constant
92 rotate(rotation) { this@drawWithContent.drawContent() } in DebugUi()
/development/samples/MotionMechanics/src/com/android/mechanics/demo/util/
DExpandableCard.kt149 val rotation by animateElementIntAsState(if (rotate) 180 else 0, Values.ChevronRotation) in ContentScope() constant
156 rotate(rotation.toFloat()) { this@drawWithContent.drawContent() } in ContentScope()
/development/samples/SceneTransitionLayoutDemo/src/com/android/compose/animation/scene/demo/notification/
DNotificationContent.kt156 val rotation by in ContentScope() constant
167 rotate(rotation.toFloat()) { this@drawWithContent.drawContent() } in ContentScope()
/development/tools/emulator/skins/WQVGA432/
Dlayout396 dpad-rotation 3
414 rotation 3
/development/tools/emulator/skins/WQVGA400/
Dlayout396 dpad-rotation 3
414 rotation 3
/development/tools/emulator/skins/QVGA/
Dlayout396 dpad-rotation 3
415 rotation 3
/development/tools/emulator/skins/WVGA854/
Dlayout397 dpad-rotation 3
415 rotation 3
/development/tools/emulator/skins/WVGA800/
Dlayout397 dpad-rotation 3
415 rotation 3
/development/tools/emulator/skins/HVGA/
Dlayout401 dpad-rotation 3
419 rotation 3
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DRemoteDisplay.java374 int rotation = mVirtualDisplay.getDisplay().getRotation(); in processRemoteEvent() local
377 rotation += 1; in processRemoteEvent()
378 rotation %= 4; in processRemoteEvent()
379 mVirtualDisplay.setRotation(rotation); in processRemoteEvent()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java1098 int rotation = (mCharacteristics.get(CameraCharacteristics.LENS_FACING) == in configureTransform() local
1134 matrix.postRotate(rotation, centerX, centerY); in configureTransform()
1222 int rotation = activity.getWindowManager().getDefaultDisplay().getRotation(); in captureStillPictureLocked() local
1224 sensorToDeviceRotation(mCharacteristics, rotation)); in captureStillPictureLocked()
/development/samples/VirtualDeviceManager/
DREADME.md236 - **Display rotation**: Whether orientation change requests from streamed apps
344 portrait and landscape orientation. This simulates the physical rotation of
405 orientation change requests on demand. Showcases the display rotation on the
462 - Added support for virtual display rotation.
480 - Added support for fixed orientation displays (disable display rotation).
/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/
DDisplayAdapter.java228 .rotation(rotationDegrees) in rotateDisplay()
/development/tools/winscope/src/viewers/components/rects/
Dcanvas_test.ts441 const prevRotation = rectMesh.rotation.clone();
444 expect(rectMesh.rotation.equals(prevRotation)).toBeFalse();
/development/tools/logblame/
Dsample.txt453 osLog: [WO] rotation changed to: ******* 0 *******
1846 osLog: [WO] rotation changed to: ******* 0 *******