/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/Gallery2/src/com/android/camera/ui/ |
H A D | Rotatable.java | 21 public void setOrientation(int orientation, boolean animation); argument
|
H A D | CameraRootView.java | 66 // all the layout code assumes camera device orientation to be portrait 68 int orientation = getResources().getConfiguration().orientation; 71 if (camOrientation != orientation) { 111 int orientation = getResources().getConfiguration().orientation; 120 if (orientation == Configuration.ORIENTATION_PORTRAIT) {
|
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/LegacyCamera/src/com/android/camera/ui/ |
H A D | Rotatable.java | 20 public void setOrientation(int orientation); argument
|
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;
|
H A D | RotateTextToast.java | 35 public RotateTextToast(Activity activity, int textResourceId, int orientation) { argument 42 mToast.setOrientation(orientation);
|
H A D | FaceView.java | 37 // The orientation compensation for the face indicator to make it look 66 public void setDisplayOrientation(int orientation) { argument 67 mDisplayOrientation = orientation; 68 if (LOGV) Log.v(TAG, "mDisplayOrientation=" + orientation); 71 public void setOrientation(int orientation) { argument 72 mOrientation = orientation;
|
H A D | SharePopup.java | 103 public SharePopup(Activity activity, Uri uri, Bitmap bitmap, int orientation, argument 156 setOrientation(orientation); 162 public void setOrientation(int orientation) { argument 164 mOrientation = orientation; 174 if (orientation == 90 || orientation == 270) { 199 if (mThumbnailRotateLayout != null) mThumbnailRotateLayout.setOrientation(orientation); 205 r.setOrientation(orientation); 208 mGotoGalleryRotate.setOrientation(orientation);
|
H A D | ZoomControlBar.java | 118 public void setOrientation(int orientation) { argument 120 if ((orientation == 90) || (mOrientation == 90)) requestLayout(); 121 super.setOrientation(orientation);
|
/packages/apps/Phone/src/com/android/phone/ |
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...] |
/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/Dialer/src/com/android/dialer/util/ |
H A D | OrientationUtil.java | 23 * Static methods related to device orientation. 28 * @return if the context is in landscape orientation. 31 return context.getResources().getConfiguration().orientation
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherAppWidgetHostView.java | 52 // Store the orientation in which the widget was inflated 53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; 58 int orientation = mContext.getResources().getConfiguration().orientation; 59 if (mPreviousOrientation != orientation) {
|
H A D | InfoDropTarget.java | 59 int orientation = getResources().getConfiguration().orientation; 60 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
/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 | CameraModule.java | 71 public void onOrientationChanged(int orientation); argument
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | MovieView.java | 57 int orientation = intent.getIntExtra( 60 if (orientation != getRequestedOrientation()) { 61 setRequestedOrientation(orientation);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | Environment.java | 118 if (mConfig.orientation != newConfig.orientation) { 167 if (Configuration.ORIENTATION_LANDSCAPE == mConfig.orientation) { 186 if (Configuration.ORIENTATION_PORTRAIT == mConfig.orientation) { 188 } else if (Configuration.ORIENTATION_LANDSCAPE == mConfig.orientation) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Thumbnail.java | 59 public Thumbnail(Uri uri, Bitmap bitmap, int orientation) { argument 61 mBitmap = rotateImage(bitmap, orientation); 81 private static Bitmap rotateImage(Bitmap bitmap, int orientation) { argument 82 if (orientation != 0) { 85 m.setRotate(orientation, bitmap.getWidth() * 0.5f, 176 return createThumbnail(lastMedia.uri, bitmap, lastMedia.orientation); 182 public Media(long id, int orientation, long dateTaken, Uri uri) { argument 184 this.orientation = orientation; 190 public final int orientation; field in class:Thumbnail.Media 247 createThumbnail(byte[] jpeg, int orientation, int inSampleSize, Uri uri) argument 299 createThumbnail(Uri uri, Bitmap bitmap, int orientation) argument [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | Image.java | 110 int orientation = ExifInterface.ORIENTATION_NORMAL; 113 orientation = ExifInterface.ORIENTATION_NORMAL; 116 orientation = ExifInterface.ORIENTATION_ROTATE_90; 119 orientation = ExifInterface.ORIENTATION_ROTATE_180; 122 orientation = ExifInterface.ORIENTATION_ROTATE_270; 127 Integer.toString(orientation)); 130 Log.e(TAG, "unable to save exif data with new orientation "
|
/packages/apps/Gallery2/src/com/android/camera/ |
H A D | MediaSaveService.java | 86 int width, int height, int orientation, ExifInterface exif, 94 width, height, orientation, exif, resolver, l); 130 private int orientation; field in class:MediaSaveService.ImageSaveTask 136 int width, int height, int orientation, ExifInterface exif, 144 this.orientation = orientation; 158 resolver, title, date, loc, orientation, exif, data, width, height); 85 addImage(final byte[] data, String title, long date, Location loc, int width, int height, int orientation, ExifInterface exif, OnMediaSavedListener l, ContentResolver resolver) argument 135 ImageSaveTask(byte[] data, String title, long date, Location loc, int width, int height, int orientation, ExifInterface exif, ContentResolver resolver, OnMediaSavedListener listener) argument
|