/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | Rotatable.java | 20 public void setOrientation(int orientation); argument
|
H A D | RotateTextToast.java | 35 public RotateTextToast(Activity activity, int textResourceId, int orientation) { argument 42 mToast.setOrientation(orientation);
|
H A D | RotateLayout.java | 34 // happened when the view is rotated as the device's orientation 105 public void setOrientation(int orientation) { argument 106 orientation = orientation % 360; 107 if (mOrientation == orientation) return; 108 mOrientation = orientation;
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | Rotatable.java | 21 public void setOrientation(int orientation, boolean animation); argument
|
H A D | RotateTextToast.java | 35 public RotateTextToast(Activity activity, int textResourceId, int orientation) { argument 42 mToast.setOrientation(orientation, false);
|
H A D | RotateLayout.java | 45 // happened when the view is rotated as the device's orientation 181 public void setOrientation(int orientation, boolean animation) { argument 182 orientation = orientation % 360; 183 if (mOrientation == orientation) return; 184 mOrientation = orientation;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | Rotatable.java | 21 public void setOrientation(int orientation, boolean animation); argument
|
H A D | RotateTextToast.java | 35 public RotateTextToast(Activity activity, int textResourceId, int orientation) { argument 42 mToast.setOrientation(orientation, false);
|
H A D | RotateLayout.java | 37 // happened when the view is rotated as the device's orientation 114 public void setOrientation(int orientation, boolean animation) { argument 115 orientation = orientation % 360; 116 if (mOrientation == orientation) return; 117 mOrientation = orientation;
|
H A D | CameraControls.java | 61 int orientation = getResources().getConfiguration().orientation; 92 center(mShutter, l, t, r, b, orientation, rotation, shutter); 93 center(mBackgroundView, l, t, r, b, orientation, rotation, new Rect()); 107 private void center(View v, int l, int t, int r, int b, int orientation, int rotation, Rect result) { argument
|
H A D | ZoomView.java | 58 // Calculate the rotation matrix to apply orientation on the original image 166 public void loadBitmap(Uri uri, int orientation, RectF imageRect) { argument 169 mOrientation = orientation;
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | RectUtils.java | 27 * given by the orientation. Transform the upright partial rectangle such that it would apply 31 * @param orientation The exif orientation (0, 90, 180, 270) of the original image. The 32 * transformed full and partial rectangles will be in this orientation's 37 public static void rotateRectForOrientation(final int orientation, final Rect fullRect, argument 40 // Exif orientation specifies how the camera is rotated relative to the actual subject. 42 matrix.setRotate(-orientation);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | MediaSaver.java | 66 int width, int height, int orientation, OnMediaSavedListener l) { 74 r.orientation = orientation; 114 r.orientation); 133 Location loc, int width, int height, int orientation) { 135 orientation, data, width, height); 146 int orientation; field in class:MediaSaver.SaveRequest 65 addImage(final byte[] data, String title, long date, Location loc, int width, int height, int orientation, OnMediaSavedListener l) argument 132 storeImage(final byte[] data, String title, long date, Location loc, int width, int height, int orientation) argument
|
H A D | RotateDialogController.java | 82 public void setOrientation(int orientation, boolean animation) { argument 84 mRotateDialog.setOrientation(orientation, animation);
|
H A D | Storage.java | 80 long date, Location location, int orientation, byte[] jpeg, 85 return addImage(resolver, title, date, location, orientation, 91 long date, Location location, int orientation, int jpegLength, 100 values.put(ImageColumns.ORIENTATION, orientation); 79 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, byte[] jpeg, int width, int height) argument 90 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height) argument
|
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | OrientationManager.java | 39 // If the framework orientation is locked. 43 // don't allow the orientation to be unlocked if the value is true. 65 // We can choose to lock the framework orientation or not. If we lock the 66 // framework orientation, we calculate a a compensation value according to 67 // current device orientation and send it to listeners. If we don't lock 68 // the framework orientation, we always set the compensation value to 0. 72 * Lock the framework orientation to the current device orientation 86 * Unlock the framework orientation, so it can change when the device 92 Log.d(TAG, "unlock orientation"); 126 onOrientationChanged(int orientation) argument 143 roundOrientation(int orientation, int orientationHistory) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | OrientationManager.java | 39 // If the framework orientation is locked. 43 // don't allow the orientation to be unlocked if the value is true. 65 // We can choose to lock the framework orientation or not. If we lock the 66 // framework orientation, we calculate a a compensation value according to 67 // current device orientation and send it to listeners. If we don't lock 68 // the framework orientation, we always set the compensation value to 0. 71 // Lock the framework orientation to the current device orientation 82 // Unlock the framework orientation, so it can change when the device 87 Log.d(TAG, "unlock orientation"); 121 onOrientationChanged(int orientation) argument 140 roundOrientation(int orientation, int orientationHistory) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
H A D | StateAdapter.java | 76 public void setOrientation(int orientation) { argument 77 mOrientation = orientation;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Storage.java | 53 Location location, int orientation, byte[] jpeg, int width, int height) { 76 values.put(ImageColumns.ORIENTATION, orientation); 52 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, byte[] jpeg, int width, int height) argument
|
/packages/apps/UnifiedEmail/src/com/android/bitmap/ |
H A D | ReusableBitmap.java | 69 public void setOrientation(final int orientation) { argument 70 mOrientation = orientation;
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | CameraModule.java | 62 public void onOrientationChanged(int orientation); argument
|
H A D | Storage.java | 82 long date, Location location, int orientation, ExifInterface exif, 95 return addImage(resolver, title, date, location, orientation, 101 long date, Location location, int orientation, int jpegLength, 110 values.put(ImageColumns.ORIENTATION, orientation); 81 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height) argument 100 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height) argument
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
H A D | GeometryMathUtils.java | 168 private static int getRotationForOrientation(int orientation) { argument 169 switch (orientation) {
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | AccelerometerListener.java | 30 * orientation of the phone. The client of this class is notified when 31 * the orientation changes between horizontal and vertical. 41 // mOrientation is the orientation value most recently reported to the client. 44 // mPendingOrientation is the latest orientation computed based on the sensor value. 51 // Device orientation 63 public void orientationChanged(int orientation); argument 87 private void setOrientation(int orientation) { argument 89 if (mPendingOrientation == orientation) { 90 // Pending orientation has not changed, so do nothing. 96 // if the orientation ha [all...] |
H A D | ProximitySensor.java | 85 public void orientationChanged(int orientation) { argument 86 mOrientation = orientation;
|