/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | Transition3d.java | 94 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/ |
D | CardView.java | 134 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/ |
D | layout | 57 dpad-rotation 3 75 rotation 3
|
/development/tools/emulator/skins/WSVGA/ |
D | layout | 57 dpad-rotation 3 75 rotation 3
|
/development/tools/emulator/skins/WXGA800-7in/ |
D | layout | 59 dpad-rotation 3 77 rotation 3
|
/development/tools/emulator/skins/WXGA720/ |
D | layout | 57 dpad-rotation 3 75 rotation 3
|
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/ |
D | CameraPreview.java | 114 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/ |
D | CameraPreview.java | 114 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/ |
D | Camera2BasicFragment.java | 745 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/ |
D | Camera2VideoFragment.java | 555 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/ |
D | DebugUi.kt | 86 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/ |
D | ExpandableCard.kt | 149 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/ |
D | NotificationContent.kt | 156 val rotation by in ContentScope() constant 167 rotate(rotation.toFloat()) { this@drawWithContent.drawContent() } in ContentScope()
|
/development/tools/emulator/skins/WQVGA432/ |
D | layout | 396 dpad-rotation 3 414 rotation 3
|
/development/tools/emulator/skins/WQVGA400/ |
D | layout | 396 dpad-rotation 3 414 rotation 3
|
/development/tools/emulator/skins/QVGA/ |
D | layout | 396 dpad-rotation 3 415 rotation 3
|
/development/tools/emulator/skins/WVGA854/ |
D | layout | 397 dpad-rotation 3 415 rotation 3
|
/development/tools/emulator/skins/WVGA800/ |
D | layout | 397 dpad-rotation 3 415 rotation 3
|
/development/tools/emulator/skins/HVGA/ |
D | layout | 401 dpad-rotation 3 419 rotation 3
|
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/ |
D | RemoteDisplay.java | 374 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/ |
D | Camera2RawFragment.java | 1098 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/ |
D | README.md | 236 - **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/ |
D | DisplayAdapter.java | 228 .rotation(rotationDegrees) in rotateDisplay()
|
/development/tools/winscope/src/viewers/components/rects/ |
D | canvas_test.ts | 441 const prevRotation = rectMesh.rotation.clone(); 444 expect(rectMesh.rotation.equals(prevRotation)).toBeFalse();
|
/development/tools/logblame/ |
D | sample.txt | 453 osLog: [WO] rotation changed to: ******* 0 ******* 1846 osLog: [WO] rotation changed to: ******* 0 *******
|