Home
last modified time | relevance | path

Searched refs:Orientation (Results 1 – 25 of 74) sorted by relevance

123

/aosp12/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
H A DOrientation.java25 Orientation.UNKNOWN,
26 Orientation.LANDSCAPE,
27 Orientation.PORTRAIT
30 public @interface Orientation { annotation
H A DOrientationCache.java34 Orientation.PORTRAIT : Orientation.LANDSCAPE; in put()
38 @Orientation int get(@NonNull Uri key) {
43 return Orientation.UNKNOWN;
/aosp12/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
H A DOtherFragment.java44 import com.android.pump.util.Orientation;
177 if (orientation == Orientation.LANDSCAPE) { in recalculateSpans()
179 if (orientation == Orientation.LANDSCAPE) { in recalculateSpans()
183 } else if (orientation == Orientation.PORTRAIT) { in recalculateSpans()
191 } else if (orientation == Orientation.PORTRAIT) { in recalculateSpans()
193 if (orientation == Orientation.LANDSCAPE) { in recalculateSpans()
197 } else if (orientation == Orientation.PORTRAIT && in recalculateSpans()
198 getOrientation(current + 2) == Orientation.PORTRAIT) { in recalculateSpans()
214 private @Orientation int getOrientation(int index) { in getOrientation()
217 return Orientation.UNKNOWN; in getOrientation()
/aosp12/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
H A DExifInterface.java276 interface Orientation { interface in ExifInterface
298 case Orientation.TOP_RIGHT: // Flip horizontal in getOrientationParams()
301 case Orientation.BOTTOM_RIGHT: // Flip vertical in getOrientationParams()
304 case Orientation.BOTTOM_LEFT: // Rotate 180 in getOrientationParams()
307 case Orientation.RIGHT_BOTTOM: // Rotate 270 in getOrientationParams()
311 case Orientation.RIGHT_TOP: // Rotate 90 in getOrientationParams()
315 case Orientation.LEFT_TOP: // Transpose in getOrientationParams()
320 case Orientation.LEFT_BOTTOM: // Transverse in getOrientationParams()
/aosp12/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
H A DImagePoolHelperTest.java22 import android.util.imagepool.ImagePool.Image.Orientation;
40 width, height, BufferedImage.TYPE_INT_ARGB, numberOfCopiesInBucket, Orientation in testGetBufferedImage()
60 … width, height, BufferedImage.TYPE_INT_ARGB, numberOfCopiesToRequestInBucket, Orientation in testGetBufferedImageRecurse()
80 … width, height, BufferedImage.TYPE_INT_ARGB, numberOfCopiesToRequestInBucket, Orientation in testRecurseThenHitCacheLimit()
102 … width, height, BufferedImage.TYPE_INT_ARGB, numberOfCopiesToRequestInBucket, Orientation in testBucketHasImageToReturn()
/aosp12/frameworks/layoutlib/bridge/src/android/util/imagepool/
H A DBucket.java22 import android.util.imagepool.ImagePool.Image.Orientation;
63 public final Orientation mOrientation;
67 Orientation orientation, long maxCacheSize) { in BucketCreationMetaData()
H A DImageImpl.java44 private final Orientation mOrientation;
52 Orientation orientation) { in ImageImpl()
H A DImagePoolHelper.java22 import android.util.imagepool.ImagePool.Image.Orientation;
67 Orientation.NONE, poolPolicy.mBucketMaxCacheSize); in getBucketCreationMetaData()
H A DImagePoolImpl.java23 import android.util.imagepool.ImagePool.Image.Orientation;
138 return prepareImage(new ImageImpl(w, h, bufferedImage, Orientation.NONE), in defaultImageImpl()
H A DImagePool.java69 enum Orientation { enum
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DImageLoader.java58 public static final int ORI_NORMAL = ExifInterface.Orientation.TOP_LEFT;
59 public static final int ORI_ROTATE_90 = ExifInterface.Orientation.RIGHT_TOP;
60 public static final int ORI_ROTATE_180 = ExifInterface.Orientation.BOTTOM_LEFT;
61 public static final int ORI_ROTATE_270 = ExifInterface.Orientation.RIGHT_BOTTOM;
62 public static final int ORI_FLIP_HOR = ExifInterface.Orientation.TOP_RIGHT;
63 public static final int ORI_FLIP_VERT = ExifInterface.Orientation.BOTTOM_RIGHT;
64 public static final int ORI_TRANSPOSE = ExifInterface.Orientation.LEFT_TOP;
65 public static final int ORI_TRANSVERSE = ExifInterface.Orientation.LEFT_BOTTOM;
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/
H A DPaletteListPreference.java19 import static android.graphics.drawable.GradientDrawable.Orientation;
157 final Orientation orientation = in createGradientDrawable()
159 ? Orientation.RIGHT_LEFT in createGradientDrawable()
160 : Orientation.LEFT_RIGHT; in createGradientDrawable()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
H A DCarUiLayoutStyle.java36 @interface Orientation { annotation
49 @Orientation
H A DCarUiLinearLayoutStyle.java31 @Orientation
77 public void setOrientation(@Orientation int orientation) { in setOrientation()
H A DCarUiGridLayoutStyle.java34 @Orientation
84 public void setOrientation(@Orientation int orientation) { in setOrientation()
/aosp12/frameworks/proto_logging/stats/enums/stats/wm/
H A Denums.proto21 // Orientation of a mobile device
22 enum Orientation { enum
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifInterface.java380 public static interface Orientation { interface in ExifInterface
1866 return Orientation.TOP_LEFT; // 0 degrees in getOrientationValueForRotation()
1884 case Orientation.TOP_LEFT: in getRotationForOrientationValue()
1886 case Orientation.RIGHT_TOP: in getRotationForOrientationValue()
1888 case Orientation.BOTTOM_LEFT: in getRotationForOrientationValue()
1890 case Orientation.RIGHT_BOTTOM: in getRotationForOrientationValue()
1906 case Orientation.BOTTOM_LEFT: // Rotate 180 in getOrientationParams()
1909 case Orientation.RIGHT_BOTTOM: // Rotate 270 in getOrientationParams()
1913 case Orientation.RIGHT_TOP: // Rotate 90 in getOrientationParams()
1917 case Orientation.LEFT_TOP: // Transpose in getOrientationParams()
[all …]
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java163 private static final Orientation DEFAULT_ORIENTATION = Orientation.TOP_BOTTOM;
201 public enum Orientation { enum in GradientDrawable
654 public Orientation getOrientation() { in getOrientation()
670 public void setOrientation(Orientation orientation) { in setOrientation()
1790 st.mOrientation = Orientation.LEFT_RIGHT;
1793 st.mOrientation = Orientation.BL_TR;
1799 st.mOrientation = Orientation.BR_TL;
1805 st.mOrientation = Orientation.TR_BL;
1811 st.mOrientation = Orientation.TL_BR;
1979 public Orientation mOrientation;
[all …]
/aosp12/hardware/libhardware/modules/camera/3_4/metadata/
H A Dmetadata_reader_test.cpp106 EXPECT_EQ(dut_->Orientation(&actual), 0); in TEST_F()
119 EXPECT_EQ(dut_->Orientation(&actual), -EINVAL); in TEST_F()
128 EXPECT_EQ(dut_->Orientation(&actual), -EINVAL); in TEST_F()
135 EXPECT_EQ(dut_->Orientation(&actual), -ENOENT); in TEST_F()
H A Dmetadata_reader_mock.h33 MOCK_CONST_METHOD1(Orientation, int(int*));
H A Dmetadata_reader.h55 virtual int Orientation(int* orientation) const;
/aosp12/packages/apps/LegacyCamera/res/raw/
H A Dgoofy_face.graph86 // Orientation rotation filter
91 // Orientation rotation filter for facemeta data
/aosp12/packages/apps/Gallery2/res/raw/
H A Dgoofy_face.graph87 // Orientation rotation filter
92 // Orientation rotation filter for facemeta data
/aosp12/packages/apps/Camera2/res/raw/
H A Dgoofy_face.graph87 // Orientation rotation filter
92 // Orientation rotation filter for facemeta data
/aosp12/frameworks/base/tools/aapt2/
H A DConfiguration.proto64 enum Orientation { enum
170 Orientation orientation = 15;

123