Searched defs:orientation (Results 1 - 25 of 102) sorted by relevance

12345

/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DRotatable.java20 public void setOrientation(int orientation); argument
H A DRotateTextToast.java35 public RotateTextToast(Activity activity, int textResourceId, int orientation) { argument
42 mToast.setOrientation(orientation);
H A DRotateLayout.java34 // 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;
/packages/apps/Camera/src/com/android/camera/ui/
H A DRotatable.java21 public void setOrientation(int orientation, boolean animation); argument
H A DRotateTextToast.java35 public RotateTextToast(Activity activity, int textResourceId, int orientation) { argument
42 mToast.setOrientation(orientation, false);
H A DRotateLayout.java45 // 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/Camera2/src/com/android/camera/ui/
H A DRotatable.java21 public void setOrientation(int orientation, boolean animation); argument
H A DTopRightWeightedLayout.java33 * on an orientation change.
43 checkOrientation(configuration.orientation);
49 checkOrientation(configuration.orientation);
53 * Set the orientation of this layout if it has changed,
54 * and center the elements based on the new orientation.
56 private void checkOrientation(int orientation) { argument
58 final boolean isPortrait = Configuration.ORIENTATION_PORTRAIT == orientation;
60 // Portrait orientation is out of sync, setting to horizontal
67 // Landscape orientation is out of sync, setting to vertical
H A DRotateLayout.java39 // happened when the view is rotated as the device's orientation
116 public void setOrientation(int orientation, boolean animation) { argument
117 orientation = orientation % 360;
118 if (mOrientation == orientation) return;
119 mOrientation = orientation;
/packages/apps/Camera2/src/com/android/camera/captureintent/event/
H A DEventPictureCompressed.java25 public EventPictureCompressed(byte[] pictureData, int orientation) { argument
27 mOrientation = orientation;
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DImageResource.java29 public ImageResource(final String key, int orientation) { argument
31 mOrientation = orientation;
58 * Gets the orientation of the image as one of the ExifInterface.ORIENTATION_* constants
/packages/apps/Camera2/src/com/android/camera/data/
H A DVideoItemData.java33 Size dimensions, long sizeInBytes, int orientation,
36 sizeInBytes, orientation, location);
31 VideoItemData(long contentId, String title, String mimeType, Date creationDate, Date lastModifiedDate, String filePath, Uri uri, Size dimensions, long sizeInBytes, int orientation, Location location, long videoDurationMillis) argument
H A DFilmstripItemUtils.java85 * @param orientation The orientation of the image. The image will be rotated
91 int imageHeight, int widthBound, int heightBound, int orientation,
97 if (orientation % 180 != 0) {
147 if (orientation != 0 && b != null) {
149 m.setRotate(orientation);
90 loadImageThumbnailFromStream(InputStream stream, int imageWidth, int imageHeight, int widthBound, int heightBound, int orientation, int maximumPixels) argument
/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/Messaging/src/com/android/messaging/ui/
H A DOrientedBitmapDrawable.java31 * A drawable that draws a bitmap in a flipped or rotated orientation without having to adjust the
41 public static BitmapDrawable create(final int orientation, Resources res, Bitmap bitmap) { argument
42 if (orientation <= ExifInterface.Orientation.TOP_LEFT) {
47 return new OrientedBitmapDrawable(orientation, res, bitmap);
51 private OrientedBitmapDrawable(final int orientation, Resources res, Bitmap bitmap) { argument
53 mOrientationParams = ExifInterface.getOrientationParams(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);
/packages/apps/Camera/src/com/android/camera/
H A DMediaSaver.java66 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 DRotateDialogController.java82 public void setOrientation(int orientation, boolean animation) { argument
84 mRotateDialog.setOrientation(orientation, animation);
H A DStorage.java80 long date, Location location, int orientation, byte[] jpeg,
85 return addImage(resolver, title, date, location, orientation,
91 long date, Location location, int orientation, int jpegLength,
100 values.put(ImageColumns.ORIENTATION, orientation);
79 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, byte[] jpeg, int width, int height) argument
90 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height) argument
/packages/apps/Camera2/src/com/android/camera/app/
H A DMediaSaver.java76 * @param width The width of the image data before the orientation is
78 * @param height The height of the image data before the orientation is
80 * @param orientation The orientation of the image. The value should be a
87 int orientation, ExifInterface exif, OnMediaSavedListener l);
97 * @param width The width of the image data before the orientation is
99 * @param height The height of the image data before the orientation is
101 * @param orientation The orientation of the image. The value should be a
109 int orientation, ExifInterfac
86 addImage(byte[] data, String title, long date, Location loc, int width, int height, int orientation, ExifInterface exif, OnMediaSavedListener l) argument
108 addImage(byte[] data, String title, long date, Location loc, int width, int height, int orientation, ExifInterface exif, OnMediaSavedListener l, String mimeType) argument
126 addImage(byte[] data, String title, long date, Location loc, int orientation, ExifInterface exif, OnMediaSavedListener l) argument
146 addImage(byte[] data, String title, Location loc, int width, int height, int orientation, ExifInterface exif, OnMediaSavedListener l) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/session/
H A DSessionNotifier.java57 public void notifySessionPictureDataAvailable(final byte[] pictureData, final int orientation); argument
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DOrientationManager.java39 // 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/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateAdapter.java76 public void setOrientation(int orientation) { argument
77 mOrientation = orientation;
/packages/apps/LegacyCamera/src/com/android/camera/
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/Camera2/src/com/android/camera/
H A DMediaSaverImpl.java70 int height, int orientation, ExifInterface exif, OnMediaSavedListener l) {
71 addImage(data, title, date, loc, width, height, orientation, exif, l,
77 int height, int orientation, ExifInterface exif, OnMediaSavedListener l,
85 width, height, orientation, mimeType, exif, mContentResolver, l);
95 public void addImage(final byte[] data, String title, long date, Location loc, int orientation, argument
99 addImage(data, title, date, loc, 0, 0, orientation, exif, l,
104 int orientation, ExifInterface exif, OnMediaSavedListener l) {
105 addImage(data, title, System.currentTimeMillis(), loc, width, height, orientation, exif, l,
143 private final int orientation; field in class:MediaSaverImpl.ImageSaveTask
150 int width, int height, int orientation, Strin
69 addImage(final byte[] data, String title, long date, Location loc, int width, int height, int orientation, ExifInterface exif, OnMediaSavedListener l) argument
76 addImage(final byte[] data, String title, long date, Location loc, int width, int height, int orientation, ExifInterface exif, OnMediaSavedListener l, String mimeType) argument
103 addImage(final byte[] data, String title, Location loc, int width, int height, int orientation, ExifInterface exif, OnMediaSavedListener l) argument
149 ImageSaveTask(byte[] data, String title, long date, Location loc, int width, int height, int orientation, String mimeType, ExifInterface exif, ContentResolver resolver, OnMediaSavedListener listener) argument
[all...]

Completed in 1596 milliseconds

12345