Home
last modified time | relevance | path

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

/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
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()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DOrientation.java25 Orientation.UNKNOWN,
26 Orientation.LANDSCAPE,
27 Orientation.PORTRAIT
30 public @interface Orientation { annotation
DOrientationCache.java34 Orientation.PORTRAIT : Orientation.LANDSCAPE; in put()
38 @Orientation int get(@NonNull Uri key) {
43 return Orientation.UNKNOWN;
DImageLoader.java131 public @Orientation int getOrientation(@NonNull Uri uri) { in getOrientation()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
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()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DUserData.java65 public @interface Orientation { annotation in UserData
73 @Orientation int mOrientation = 0;
162 @Orientation int orientation, in UserData()
172 Orientation.class, null, mOrientation); in UserData()
212 public @Orientation int getOrientation() { in getOrientation()
357 Orientation.class, null, mOrientation); in UserData()
404 private @Orientation int mOrientation;
436 public @NonNull Builder setOrientation(@Orientation int value) { in setOrientation()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityColorCorrectionPreviewFragment.java19 import static android.graphics.drawable.GradientDrawable.Orientation;
106 private Orientation getOrientationFromLocale() { in getOrientationFromLocale()
109 ? Orientation.RIGHT_LEFT in getOrientationFromLocale()
110 : Orientation.LEFT_RIGHT; in getOrientationFromLocale()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
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;
/packages/apps/Settings/src/com/android/settings/accessibility/
DPaletteListPreference.java19 import static android.graphics.drawable.GradientDrawable.Orientation;
162 final Orientation orientation = in createGradientDrawable()
164 ? Orientation.RIGHT_LEFT in createGradientDrawable()
165 : Orientation.LEFT_RIGHT; in createGradientDrawable()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifInterface.java380 public static interface Orientation { interface in ExifInterface
1866 return Orientation.TOP_LEFT; // 0 degrees in getOrientationValueForRotation()
1868 return Orientation.RIGHT_TOP; // 90 degrees cw in getOrientationValueForRotation()
1870 return Orientation.BOTTOM_LEFT; // 180 degrees in getOrientationValueForRotation()
1872 return Orientation.RIGHT_BOTTOM; // 270 degrees cw 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()
1900 case Orientation.TOP_RIGHT: // Flip horizontal in getOrientationParams()
[all …]
/packages/apps/WallpaperPicker2/tests/robotests/common/src/com/android/wallpaper/testing/
DFakeDisplaysProvider.kt21 import android.content.res.Configuration.Orientation in <lambda>()
94 @Orientation val orientation: Int? = null, in <lambda>()
/packages/apps/LegacyCamera/res/raw/
Dgoofy_face.graph86 // Orientation rotation filter
91 // Orientation rotation filter for facemeta data
/packages/apps/Camera2/res/raw/
Dgoofy_face.graph87 // Orientation rotation filter
92 // Orientation rotation filter for facemeta data
/packages/apps/Gallery2/res/raw/
Dgoofy_face.graph87 // Orientation rotation filter
92 // Orientation rotation filter for facemeta data
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java380 public static interface Orientation { interface in ExifInterface
1866 return Orientation.TOP_LEFT; // 0 degrees in getOrientationValueForRotation()
1868 return Orientation.RIGHT_TOP; // 90 degrees cw in getOrientationValueForRotation()
1870 return Orientation.BOTTOM_LEFT; // 180 degrees in getOrientationValueForRotation()
1872 return Orientation.RIGHT_BOTTOM; // 270 degrees cw 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()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java383 public static interface Orientation { interface in ExifInterface
1845 return Orientation.TOP_LEFT; // 0 degrees in getOrientationValueForRotation()
1847 return Orientation.RIGHT_TOP; // 90 degrees cw in getOrientationValueForRotation()
1849 return Orientation.BOTTOM_LEFT; // 180 degrees in getOrientationValueForRotation()
1851 return Orientation.RIGHT_BOTTOM; // 270 degrees cw in getOrientationValueForRotation()
1863 case Orientation.TOP_LEFT: in getRotationForOrientationValue()
1865 case Orientation.RIGHT_TOP: in getRotationForOrientationValue()
1867 case Orientation.BOTTOM_LEFT: in getRotationForOrientationValue()
1869 case Orientation.RIGHT_BOTTOM: in getRotationForOrientationValue()
/packages/apps/Messaging/src/com/android/messaging/ui/
DOrientedBitmapDrawable.java42 if (orientation <= ExifInterface.Orientation.TOP_LEFT) { in create()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DAllAppsEduView.java255 mGradient = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, in init()
/packages/services/BuiltInPrintService/jni/plugins/
Dlib_pwg.c68 h->Orientation = CUPS_ORIENT_0; in _write_header_pwg()
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java190 GradientDrawable.Orientation.TOP_BOTTOM, mGradientColors);
192 GradientDrawable.Orientation.BOTTOM_TOP, mGradientColors);
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt30 import android.graphics.drawable.GradientDrawable.Orientation.TOP_BOTTOM in <lambda>()
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivity.java29 import android.graphics.drawable.GradientDrawable.Orientation;
922 backgroundDrawable = new GradientDrawable(Orientation.TOP_BOTTOM, backgroundDrawableColors); in updateWindowBackgroundColor()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollEnrollingSfpsFragment.kt653 fun GlifLayout.maybeHideSfpsText(@Configuration.Orientation orientation: Int) { in GlifLayout()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java323 ExifInterface.Orientation.TOP_LEFT)); in updateExifData()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraZslImpl.java626 exif.buildTag(ExifInterface.TAG_ORIENTATION, ExifInterface.Orientation.TOP_LEFT)); in savePicture()