/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Camera.java | 134 // The degrees of the device rotated clockwise from its natural orientation. 136 // The orientation compensation for icons and thumbnails. Ex: if the value 300 // Set the display orientation if display rotation has changed. 356 // Create orientation listenter. This should be done first because it 357 // takes some time to get first orientation. 398 // Delay the toast for one second to wait for orientation. 438 // Start orientation listener as soon as possible because it takes 439 // some time to get first orientation. 994 int orientation = Exif.getOrientation(data); 996 loc, orientation, dat 1293 onOrientationChanged(int orientation) argument 1316 setOrientationIndicator(int orientation) argument [all...] |
H A D | VideoCamera.java | 250 // The degrees of the device rotated clockwise from its natural orientation. 252 // The orientation compensation for icons and thumbnails. Ex: if the value 255 // The orientation compenstaion when we start recording. 547 public void onOrientationChanged(int orientation) { argument 548 // We keep the last known orientation. So if the user first orient 550 // the correct orientation. 551 if (orientation == ORIENTATION_UNKNOWN) return; 552 mOrientation = Util.roundOrientation(orientation, mOrientation); 565 // orientation is fixed after recording. 571 // Show the toast after getting the first orientation change 579 setOrientationIndicator(int orientation) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | LocalMediaData.java | 68 // width and height should be adjusted according to orientation. 376 String path, int orientation, int width, int height, 380 mOrientation = orientation; 381 mSignature = mimeType + orientation + dateModifiedInSeconds; 396 int orientation = c.getInt(COL_ORIENTATION); 429 dateModifiedInSeconds, path, orientation, width, height, 442 + "," + mWidth + "x" + mHeight + ",orientation=" + mOrientation 374 PhotoData(long id, String title, String mimeType, long dateTakenInMilliSeconds, long dateModifiedInSeconds, String path, int orientation, int width, int height, long sizeInBytes, double latitude, double longitude) argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DeleteDropTarget.java | 96 int orientation = getResources().getConfiguration().orientation; 97 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
H A D | Hotseat.java | 61 mIsLandscape = context.getResources().getConfiguration().orientation == 85 /* Get the orientation invariant order of the item in the hotseat for persistence. */ 89 /* Get the orientation specific coordinates given an invariant order in the hotseat. */ 165 // Note: We do this to ensure that the hotseat is always laid out in the orientation of 166 // the hotseat in order regardless of which orientation they were added
|
H A D | LauncherAppState.java | 223 return context.getResources().getConfiguration().orientation ==
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
H A D | StateView.java | 268 public void setOrientation(int orientation) { argument 269 mOrientation = orientation;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | SettingsValues.java | 202 mDisplayOrientation = res.getConfiguration().orientation; 269 return mDisplayOrientation == configuration.orientation;
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | UrlInputView.java | 191 mLandscape = (config.orientation &
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | CameraSwitcher.java | 216 if (getResources().getConfiguration().orientation
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | Action.java | 117 public void setImageFrame(Rect imageFrame, int orientation) { argument
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | AttachmentEditor.java | 175 * What is the current orientation? 179 return configuration.orientation == Configuration.ORIENTATION_PORTRAIT;
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | VideoModule.java | 183 // The degrees of the device rotated clockwise from its natural orientation. 493 public void onOrientationChanged(int orientation) { argument 494 // We keep the last known orientation. So if the user first orient 496 // the correct orientation. 497 if (orientation == OrientationEventListener.ORIENTATION_UNKNOWN) { 500 int newOrientation = CameraUtil.roundOrientation(orientation, mOrientation); 505 mUI.onOrientationChanged(orientation); 840 // Change the camera display orientation 1137 // Note that mOrientation here is the device orientation, which is the opposite of 1139 // which is the orientation th [all...] |
H A D | CameraActivity.java | 1675 mLastLayoutOrientation = getResources().getConfiguration().orientation; 1888 if (config.orientation == Configuration.ORIENTATION_UNDEFINED) { 1892 if (mLastLayoutOrientation != config.orientation) { 1893 mLastLayoutOrientation = config.orientation; 2407 public void onOrientationChanged(int orientation) { argument 2408 // We keep the last known orientation. So if the user first orient 2410 // the correct orientation. 2411 if (orientation == OrientationManager.ORIENTATION_UNKNOWN) { 2414 mLastRawOrientation = orientation; 2416 mCurrentModule.onOrientationChanged(orientation); [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | PhotoModule.java | 164 // The degrees of the device rotated clockwise from its natural orientation. 391 // Set the display orientation if display rotation has changed. 666 // Delay the toast for one second to wait for orientation. 982 int orientation = Exif.getOrientation(jpegData); 984 if ((mJpegRotation + orientation) % 180 == 0) { 998 orientation, mOnMediaSavedListener); 1294 public void onOrientationChanged(int orientation) { argument 1295 // We keep the last known orientation. So if the user first orient 1297 // the correct orientation. 1298 if (orientation [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | ScrollController.java | 666 final public void setOrientation(int orientation) { argument 669 mOrientation = orientation;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | DetailsDialog.java | 308 return context.getString(R.string.orientation);
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | ModeOptions.java | 146 mIsPortrait = (getResources().getConfiguration().orientation ==
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | AbstractGalleryActivity.java | 295 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
H A D | Editor.java | 122 if (context.getResources().getConfiguration().orientation
|
H A D | ParametricEditor.java | 153 return context.getResources().getConfiguration().orientation
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | VideoCallFragment.java | 72 * {@code True} when the entering the activity again after a restart due to orientation change. 98 * {@link Surface}. Used to manage the lifecycle of these objects across device orientation 135 * Recreates a {@link VideoCallSurface} after a device orientation change. Re-applies the 164 // orientation change. 314 mIsLandscape = getResources().getConfiguration().orientation 362 * Centers the display view vertically for portrait orientation, and horizontally for 405 // If the surfaces are already in use, we have just changed orientation or otherwise 510 * device orientation change.
|
H A D | InCallPresenter.java | 1036 * Notifies listeners of changes in orientation (e.g. portrait/landscape). 1038 * @param orientation The orientation of the device. 1040 public void onDeviceOrientationChange(int orientation) { argument 1042 listener.onDeviceOrientationChanged(orientation); 1146 public void onDeviceOrientationChanged(int orientation); argument
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | LocalSource.java | 172 data.orientation = cursor.getInt(orientationIndex);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | CropActivity.java | 200 private void doneLoadBitmap(Bitmap bitmap, RectF bounds, int orientation) { argument 205 mOriginalRotation = orientation; 208 mCropView.initialize(bitmap, imgBounds, imgBounds, orientation);
|