Home
last modified time | relevance | path

Searched refs:getOrientation (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DExif.java32 public static int getOrientation(InputStream is) { in getOrientation() method in Exif
69 public static int getOrientation(ExifInterface exif) { in getOrientation() method in Exif
81 public static int getOrientation(byte[] jpegData) { in getOrientation() method in Exif
86 return getOrientation(exif); in getOrientation()
DUriImage.java102 mRotation = Exif.getOrientation(is); in openOrDownloadInner()
124 mRotation = Exif.getOrientation(is); in openOrDownloadInner()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DOtherFragment.java176 int orientation = getOrientation(current); in recalculateSpans()
178 orientation = getOrientation(current + 1); in recalculateSpans()
192 orientation = getOrientation(current + 1); in recalculateSpans()
198 getOrientation(current + 2) == Orientation.PORTRAIT) { in recalculateSpans()
214 private @Orientation int getOrientation(int index) { in getOrientation() method in OtherFragment.OtherAdapter
219 return mImageLoader.getOrientation(thumbUri); in getOrientation()
/packages/apps/Camera2/src/com/android/camera/
DExif.java38 public static int getOrientation(ExifInterface exif) { in getOrientation() method in Exif
47 public static int getOrientation(byte[] jpegData) { in getOrientation() method in Exif
51 return getOrientation(exif); in getOrientation()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java82 if (getOrientation() == VERTICAL) { in computeTextPosition()
126 public int getOrientation() { in getOrientation() method in IconView
184 if (getOrientation() == VERTICAL && isHalfImage()) { in computeBitmapBounds()
233 if (getOrientation() == VERTICAL && isHalfImage()) { in onDraw()
DCategoryView.java93 if (getOrientation() == CategoryView.VERTICAL) { in drawSpacer()
117 mAction.setImageFrame(new Rect(0, 0, getWidth(), getHeight()), getOrientation()); in onDraw()
187 if (getOrientation() == CategoryView.VERTICAL) { in onTouchEvent()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemBase.java130 public int getOrientation() { in getOrientation() method in FilmstripItemBase
131 return mData.getOrientation(); in getOrientation()
139 return new MediaStoreSignature(mimeType, modTimeSeconds, data.getOrientation()); in generateSignature()
DPhotoItem.java104 mediaDetails.addDetail(MediaDetails.INDEX_ORIENTATION, mData.getOrientation()); in getMediaDetails()
238 int orientation = data.getOrientation(); in generateThumbnail()
260 data.getOrientation(), MAX_PEEK_BITMAP_PIXELS); in generateThumbnail()
DPlaceholderItem.java149 public int getOrientation() { in getOrientation() method in PlaceholderItem
150 return mItemData.getOrientation(); in getOrientation()
DSessionItem.java188 public int getOrientation() { in getOrientation() method in SessionItem
189 return mData.getOrientation(); in getOrientation()
DFilmstripItemData.java142 /* package */ int getOrientation() { in getOrientation() method in FilmstripItemData
226 builder.mOrientation = data.getOrientation(); in from()
DFilmstripItem.java145 public int getOrientation(); in getOrientation() method
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DDecodedImageResource.java103 public int getOrientation() { in getOrientation() method in DecodedImageResource
140 return OrientedBitmapDrawable.create(getOrientation(), resources, mBitmap); in getDrawable()
218 return new EncodedImageResource(getKey(), encodedBytes, getOrientation()); in loadMediaBlocking()
DImageRequest.java150 mOrientation = ImageUtils.getOrientation(getInputStreamForResource()); in loadBitmapInternal()
232 loadedResource.getOrientation()); in postProcessOnBitmapResourceLoaded()
DImageResource.java60 public int getOrientation() { in getOrientation() method in ImageResource
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DBottomLabelLayoutTest.java53 assertThat(mBottomLabelLayout.getOrientation()).isEqualTo(LinearLayout.VERTICAL); in testSetStacked_stackedTrue_layoutVertical()
61 assertThat(mBottomLabelLayout.getOrientation()).isEqualTo(LinearLayout.HORIZONTAL); in testSetStacked_stackedFalse_layoutHorizontal()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DButtonBarLayout.java45 if (!mAllowStacking && getOrientation() == LinearLayout.VERTICAL) { in setAllowStacking()
111 return getOrientation() == LinearLayout.VERTICAL; in isStacked()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java82 if (getOrientation() == LinearLayout.HORIZONTAL) { in StatePanelTrack()
139 mAdapter.setOrientation(getOrientation()); in setAdapter()
242 if (getOrientation() == LinearLayout.VERTICAL) { in onTouchEvent()
DPanelTrack.java25 public int getOrientation(); in getOrientation() method
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java255 public static int getOrientation(final Context context, final Uri uri) { in getOrientation() method in ImageUtils
257 return getOrientation(context.getContentResolver().openInputStream(uri)); in getOrientation()
268 public static int getOrientation(final InputStream inputStream) { in getOrientation() method in ImageUtils
/packages/apps/Camera2/src/com/android/camera/captureintent/event/
DEventPictureCompressed.java34 public int getOrientation() { in getOrientation() method in EventPictureCompressed
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraInterface.java40 int getOrientation(); in getOrientation() method
/packages/apps/LegacyCamera/src/com/android/camera/
DExif.java24 public static int getOrientation(byte[] jpeg) { in getOrientation() method in Exif
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DBottomLabelLayout.java95 return getOrientation() == LinearLayout.VERTICAL; in isStacked()
/packages/apps/Settings/src/com/android/settings/widget/
DBottomLabelLayout.java95 return getOrientation() == LinearLayout.VERTICAL; in isStacked()

123