Searched defs:orientation (Results 51 - 75 of 102) sorted by relevance

12345

/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 DCaptureSessionManagerImpl.java229 final byte[] pictureData, final int orientation) {
235 listener.onSessionPictureDataUpdate(pictureData, orientation);
228 notifySessionPictureDataAvailable( final byte[] pictureData, final int orientation) argument
H A DCaptureSessionImpl.java298 int height, int orientation, ExifInterface exif) {
310 orientation, exif, new MediaSaver.OnMediaSavedListener() {
323 orientation, exif, data, width, height, FilmstripItemData.MIME_TYPE_JPEG);
297 saveAndFinish(byte[] data, int width, int height, int orientation, ExifInterface exif) argument
/packages/apps/Camera2/src/com/android/camera/ui/
H A DFaceView.java42 // The orientation compensation for the face indicator to make it look
110 public void setDisplayOrientation(int orientation) { argument
111 mDisplayOrientation = orientation;
113 Log.v(TAG, "mDisplayOrientation=" + orientation);
118 public void setOrientation(int orientation, boolean animation) { argument
119 mOrientation = orientation;
/packages/apps/Camera2/src/com/android/camera/widget/
H A DModeOptionsOverlay.java53 // need a reference to set the onClickListener and fix the layout gravity on orientation change
55 // need a reference to fix the rotation on orientation change
162 checkOrientation(configuration.orientation);
182 * depending on orientation.
184 private void checkOrientation(int orientation) { argument
185 final boolean isPortrait = (Configuration.ORIENTATION_PORTRAIT == orientation);
/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/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DAction.java117 public void setImageFrame(Rect imageFrame, int orientation) { argument
H A DCategoryAdapter.java193 public void setOrientation(int orientation) { argument
194 mOrientation = orientation;
H A DIconView.java130 public void setOrientation(int orientation) { argument
131 mOrientation = orientation;
/packages/apps/InCallUI/src/com/android/incallui/
H A DProximitySensor.java94 public void orientationChanged(int orientation) { argument
95 mOrientation = orientation;
/packages/apps/LegacyCamera/src/com/android/camera/
H A DModePicker.java192 public void setOrientation(int orientation) { argument
194 mModeSelectionIcon[i].setOrientation(orientation);
196 mCurrentModeIcon[i].setOrientation(orientation);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DIndicatorControl.java64 public void setOrientation(int orientation) { argument
65 mOrientation = orientation;
70 ((Rotatable) view).setOrientation(orientation);
H A DIndicatorControlWheelContainer.java169 public void setOrientation(int orientation) { argument
170 mIndicatorControlWheel.setOrientation(orientation);
H A DSecondLevelIndicatorControlBar.java166 public void setOrientation(int orientation) { argument
167 mOrientation = orientation;
168 super.setOrientation(orientation);
H A DSharePopup.java103 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 DZoomControl.java210 public void setOrientation(int orientation) { argument
211 mOrientation = orientation;
216 ((RotateImageView) view).setOrientation(orientation);
/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) {
/packages/apps/Camera2/src/com/android/camera/
H A DStorage.java83 * @param orientation The orientation of the media file.
86 * @param width The width of the media file after the orientation is
88 * @param height The height of the media file after the orientation is
92 Location location, int orientation, ExifInterface exif, byte[] jpeg, int width,
95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height,
110 * @param orientation The orientation of the media file.
112 * @param width The width of the media file after the orientation is
114 * @param height The height of the media file after the orientation i
91 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height) argument
120 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] data, int width, int height, String mimeType) argument
149 addImageToMediaStore(ContentResolver resolver, String title, long date, Location location, int orientation, long jpegLength, String path, int width, int height, String mimeType) argument
172 getContentValuesForData(String title, long date, Location location, int orientation, long jpegLength, String path, int width, int height, String mimeType) argument
269 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) argument
395 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height, String mimeType) argument
[all...]
H A DVideoUI.java126 public void setOrientationIndicator(int orientation, boolean animation) { argument
127 // We change the orientation of the linearlayout only for phone UI
130 if (((orientation / 90) & 1) == 0) {
253 * Adjust UI to an orientation change if necessary.
H A DPhotoUI.java164 public DecodeTask(byte[] data, int orientation, boolean mirror) { argument
166 mOrientation = orientation;
178 public DecodeImageForReview(byte[] data, int orientation, boolean mirror) { argument
179 super(data, orientation, mirror);
302 public void animateCapture(final byte[] jpegData, int orientation, boolean mirror) { argument
304 DecodeTask task = new DecodeTask(jpegData, orientation, mirror);
353 protected void showCapturedImageForReview(byte[] jpegData, int orientation, boolean mirror) { argument
354 mDecodeTaskForReview = new DecodeImageForReview(jpegData, orientation, mirror);
368 public void setDisplayOrientation(int orientation) { argument
370 mFaceView.setDisplayOrientation(orientation);
422 onStartFaceDetection(int orientation, boolean mirror) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateView.java268 public void setOrientation(int orientation) { argument
269 mOrientation = orientation;
/packages/apps/Browser/src/com/android/browser/
H A DNavTabScroller.java119 public void setOrientation(int orientation) { argument
120 mContentView.setOrientation(orientation);
121 if (orientation == LinearLayout.HORIZONTAL) {
128 super.setOrientation(orientation);
/packages/apps/Camera/src/com/android/camera/
H A DCameraActivity.java56 // The degrees of the device rotated clockwise from its natural orientation.
125 public void onOrientationChanged(int orientation) { argument
126 // We keep the last known orientation. So if the user first orient
128 // the correct orientation.
129 if (orientation == ORIENTATION_UNKNOWN) return;
130 mLastRawOrientation = orientation;
131 mCurrentModule.onOrientationChanged(orientation);
223 // create new layout with the current orientation
/packages/apps/Camera2/src/com/android/camera/one/
H A DOneCamera.java269 /** The device orientation so we can compute the right JPEG rotation. */
270 public final int orientation; field in class:OneCamera.CaptureParameters
278 public CaptureParameters(String title, int orientation, Location location, File argument
281 this.orientation = orientation;
339 public PhotoCaptureParameters(String title, int orientation, Location location, File argument
342 super(title, orientation, location, debugDataFolder);
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DOneCameraZslImpl.java613 int degrees = CameraUtil.getJpegRotation(captureParams.orientation, mCharacteristics);
824 CameraUtil.getJpegRotation(params.orientation, mCharacteristics));
989 * @param orientation the rotation to apply, in degrees.
993 int orientation) {
994 if (orientation == 0 || orientation == 180) {
996 } else if (orientation == 90 || orientation == 270) {
992 getImageSizeForOrientation(int originalWidth, int originalHeight, int orientation) argument

Completed in 628 milliseconds

12345