Searched refs:orientation (Results 101 - 125 of 165) sorted by relevance

1234567

/packages/apps/LegacyCamera/src/com/android/camera/
H A DCamera.java134 // 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 DVideoCamera.java250 // 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 DLocalMediaData.java68 // 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 DDeleteDropTarget.java96 int orientation = getResources().getConfiguration().orientation;
97 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
H A DHotseat.java61 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 DLauncherAppState.java223 return context.getResources().getConfiguration().orientation ==
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateView.java268 public void setOrientation(int orientation) { argument
269 mOrientation = orientation;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSettingsValues.java202 mDisplayOrientation = res.getConfiguration().orientation;
269 return mDisplayOrientation == configuration.orientation;
/packages/apps/Browser/src/com/android/browser/
H A DUrlInputView.java191 mLandscape = (config.orientation &
/packages/apps/Camera/src/com/android/camera/ui/
H A DCameraSwitcher.java216 if (getResources().getConfiguration().orientation
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DAction.java117 public void setImageFrame(Rect imageFrame, int orientation) { argument
/packages/apps/Mms/src/com/android/mms/ui/
H A DAttachmentEditor.java175 * What is the current orientation?
179 return configuration.orientation == Configuration.ORIENTATION_PORTRAIT;
/packages/apps/Camera2/src/com/android/camera/
H A DVideoModule.java183 // 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 DCameraActivity.java1675 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 DPhotoModule.java164 // 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 DScrollController.java666 final public void setOrientation(int orientation) { argument
669 mOrientation = orientation;
/packages/apps/Camera2/src/com/android/camera/ui/
H A DDetailsDialog.java308 return context.getString(R.string.orientation);
/packages/apps/Camera2/src/com/android/camera/widget/
H A DModeOptions.java146 mIsPortrait = (getResources().getConfiguration().orientation ==
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAbstractGalleryActivity.java295 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditor.java122 if (context.getResources().getConfiguration().orientation
H A DParametricEditor.java153 return context.getResources().getConfiguration().orientation
/packages/apps/InCallUI/src/com/android/incallui/
H A DVideoCallFragment.java72 * {@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 DInCallPresenter.java1036 * 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 DLocalSource.java172 data.orientation = cursor.getInt(orientationIndex);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropActivity.java200 private void doneLoadBitmap(Bitmap bitmap, RectF bounds, int orientation) { argument
205 mOriginalRotation = orientation;
208 mCropView.initialize(bitmap, imgBounds, imgBounds, orientation);

Completed in 577 milliseconds

1234567