Searched refs:orientation (Results 51 - 75 of 161) sorted by relevance

1234567

/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskCompressImageToJpeg.java53 * that the JPEG is already encoded in the proper orientation.
114 // orientation.
127 // the HAL; the HAL may deliver its orientation in the JPEG
147 // For JPEG, always use the EXIF orientation as ground
148 // truth on orientation, width and height.
284 img.crop, inputImage.orientation.getDegrees());
303 img.crop, inputImage.orientation.getDegrees());
345 resultImage.width, resultImage.height, resultImage.orientation.getDegrees(), exif);
431 * @param orientation the rotation to apply, in degrees.
435 DeviceOrientation orientation) {
434 getImageSizeForOrientation(int originalWidth, int originalHeight, DeviceOrientation orientation) argument
[all...]
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DImageList.java128 int orientation = cursor.getInt(INDEX_ORIENTATION);
136 orientation);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateAdapter.java76 public void setOrientation(int orientation) { argument
77 mOrientation = orientation;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DMtpBitmapFetch.java103 int orientation = Exif.getOrientation(imageBytes);
104 return new BitmapWithMetadata(created, orientation);
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DMmsVideoRecorder.java45 public MmsVideoRecorder(final Camera camera, final int cameraIndex, final int orientation, argument
74 setOrientationHint(orientation);
H A DCameraManager.java173 /** The helper classs to handle orientation changes */
197 /** The rotation of the screen relative to the camera's natural orientation */
660 /** Updates the orientation of the camera to match the orientation of the device */
678 // The display orientation of the camera (this controls the preview image).
679 int orientation;
681 // The clockwise rotation angle relative to the orientation of the camera. This affects
685 orientation = (mCameraInfo.orientation + degrees) % 360;
686 rotation = orientation;
1030 onOrientationChanged(final int orientation) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/data/
H A DFilmstripItemData.java58 int orientation,
69 mOrientation = orientation;
172 sb.append(",orientation:");
271 public Builder withOrientation(int orientation) { argument
272 mOrientation = orientation;
48 FilmstripItemData( long contentId, String title, String mimeType, Date creationDate, Date lastModifiedDate, String filePath, Uri uri, Size dimensions, long sizeInBytes, int orientation, Location location) argument
H A DPhotoItem.java238 int orientation = data.getOrientation();
243 orientation,
247 // If the orientation is not vertical
248 if (orientation % 180 != 0) {
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
H A DImageSaver.java63 OrientationManager.DeviceOrientation orientation,
61 build( OneCamera.PictureSaverCallback pictureSaverCallback, OrientationManager.DeviceOrientation orientation, CaptureSession session) argument
/packages/apps/Camera2/src/com/android/camera/session/
H A DCaptureSessionManager.java84 * @param orientation the picture orientation.
86 public void onSessionPictureDataUpdate(byte[] pictureData, int orientation); argument
H A DPlaceholderManager.java127 * @param orientation the orientation of the image
135 public Uri finishPlaceholder(Placeholder placeholder, Location location, int orientation, argument
138 placeholder.outputTitle, placeholder.time, location, orientation, exif, jpeg, width,
H A DCaptureSession.java226 * @param orientation the orientaiton of the media item, in degrees.
234 int orientation, ExifInterface exif);
233 saveAndFinish(byte[] data, int width, int height, int orientation, ExifInterface exif) argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAppWidgetHostView.java73 mPreviousOrientation = mContext.getResources().getConfiguration().orientation;
78 // Store the orientation in which the widget was inflated
84 // Re-inflate is required if the orientation has changed since last inflated.
85 int orientation = mContext.getResources().getConfiguration().orientation;
86 if (mPreviousOrientation != orientation) {
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
H A DFragmentTestCase.java87 getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) {
/packages/apps/Messaging/src/com/android/messaging/util/
H A DUiUtils.java172 return Factory.get().getApplicationContext().getResources().getConfiguration().orientation
267 final int orientation = activity.getResources().getConfiguration().orientation;
270 // rotation tracks the rotation of the device from its natural orientation
271 // orientation tracks whether the screen is landscape or portrait.
272 // It is possible to have a rotation of 0 (device in its natural orientation) in portrait
276 if (orientation == Configuration.ORIENTATION_PORTRAIT) {
278 } else if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
282 if (orientation == Configuration.ORIENTATION_PORTRAIT) {
284 } else if (orientation
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DImageLoader.java96 * Returns the image's orientation flag. Defaults to ORI_NORMAL if no valid
97 * orientation was found.
104 // First try to find orientation data in Gallery's ContentProvider.
149 Log.w(LOGTAG, "Failed to read EXIF orientation", e);
165 int orientation = tagval;
166 switch(orientation) {
175 return orientation;
188 int orientation = getMetadataOrientation(context, uri);
189 switch(orientation) {
202 * Takes an orientation an
403 loadOrientedConstrainedBitmap(Uri uri, Context context, int maxSideLength, int orientation, Rect originalBounds) argument
[all...]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoSource.java53 public int orientation; field in class:PhotoSource.ImageData
216 if (data.orientation != 0) {
217 log(TAG, "rotated by " + data.orientation + ": fixing");
219 matrix.setRotate(data.orientation,
225 if (data.orientation == 90 || data.orientation == 270) {
H A DPhotoCarousel.java189 int orientation = (width > height ? LANDSCAPE : PORTRAIT);
192 destination.setTag(R.id.photo_orientation, Integer.valueOf(orientation));
208 int orientation = ((Integer) photo.getTag(R.id.photo_orientation)).intValue();
215 } else if (orientation == mOrientation) {
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DPanoramaActivity.java212 public void onOrientationChanged(int orientation) { argument
213 // We keep the last known orientation. So if the user first orient
215 // the correct orientation.
216 if (orientation == ORIENTATION_UNKNOWN) return;
217 mDeviceOrientation = Util.roundOrientation(orientation, mDeviceOrientation);
853 // natural orientation of a camera. We need to set an orientation for the image
855 // The orientation is calculated from compensating the
856 // device orientation at capture and the camera orientation respectiv
947 savePanorama(byte[] jpegData, int width, int height, int orientation) argument
970 getExifOrientation(int orientation) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/captureintent/
H A DCaptureIntentSession.java151 int height, int orientation, ExifInterface exif) {
152 mSessionNotifier.notifySessionPictureDataAvailable(data, orientation);
150 saveAndFinish(byte[] data, int width, int height, int orientation, ExifInterface exif) argument
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DMotionEventHelper.java71 pointerCoords[i].orientation = transformAngle(
72 m, pointerCoords[i].orientation);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DRotateDialogController.java81 public void setOrientation(int orientation) { argument
83 mRotateDialog.setOrientation(orientation);
H A DStorage.java53 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/LegacyCamera/src/com/android/camera/ui/
H A DIndicatorControlWheelContainer.java169 public void setOrientation(int orientation) { argument
170 mIndicatorControlWheel.setOrientation(orientation);
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsUnavailableFragment.java81 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) {
134 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) {
190 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) {

Completed in 1152 milliseconds

1234567