Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 18 of 18) 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/WXGA800-7in/
Dlayout59 dpad-rotation 3
77 rotation 3
/development/tools/emulator/skins/WXGA720/
Dlayout57 dpad-rotation 3
75 rotation 3
/development/tools/emulator/skins/WSVGA/
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/tools/emulator/skins/WVGA800/
Dlayout397 dpad-rotation 3
415 rotation 3
/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/WVGA854/
Dlayout397 dpad-rotation 3
415 rotation 3
/development/tools/emulator/skins/QVGA/
Dlayout396 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 *******