Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 19 of 19) 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/WXGA720/
Dlayout57 dpad-rotation 3
75 rotation 3
/development/tools/emulator/skins/WXGA800-7in/
Dlayout59 dpad-rotation 3
77 rotation 3
/development/tools/emulator/skins/WSVGA/
Dlayout57 dpad-rotation 3
75 rotation 3
/development/tools/emulator/skins/WXGA800/
Dlayout57 dpad-rotation 3
75 rotation 3
/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/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/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/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/tools/logblame/
Dsample.txt453 osLog: [WO] rotation changed to: ******* 0 *******
1846 osLog: [WO] rotation changed to: ******* 0 *******
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv518 …s,fake_vGkRrayISaC6H5ijCsLTww@fakeemail.com,Check if smallestWidthDp doesn't change during rotation
845 …m/cts,fake_kbEkXpsfS6KMXV-8N_Y9-g@fakeemail.com,Add CTS tests to ensure rotation is restored when …
973 …5353630589a,platform/cts,fake_FAxEFC17Q9a5UZGu0xlOKA@fakeemail.com,Skip rotation test on vr headset
1262 …9c7ae9c9,platform/cts,fake_-h0b1yaaRxWYnJoPnMQraQ@fakeemail.com,Restore rotation when case finished
1414 …57d2a6a9502c77,platform/cts,fake_vGkRrayISaC6H5ijCsLTww@fakeemail.com,Fix rotation while docked CTS
1468 …447,platform/cts,fake_qKxJgn32RT-zeoulNFaVxg@fakeemail.com,"Fix PixelCopyTests, add rotation tests"
1679 …79cf67e1045,platform/cts,fake_7ha04XV8Rvqvq3Crto3waQ@fakeemail.com,Skip rotation test when it is n…
3213 …cts,fake_lXN5BfijQoCahyvvCkdNOg@fakeemail.com,Skip rotation tests if device does not support rotat…
3790 …m/cts,fake_F3b4nYshT4Sr0YaWfrhwRg@fakeemail.com,Skip inapplicable test on devices without rotation.
4328 …ake_Pb3OKQZmSdi9Vosdrr_5WQ@fakeemail.com,Add test for homescreen visible after rotation unoccluding
[all …]