/frameworks/base/core/java/android/gesture/ |
OrientedBoundingBox.java | 31 public final float orientation; field in class:OrientedBoundingBox 37 orientation = angle; 61 matrix.setRotate(orientation);
|
Instance.java | 94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]); local 96 float adjustment = -orientation; 100 float delta = ORIENTATIONS[i] - orientation;
|
/frameworks/base/core/java/android/hardware/display/ |
DisplayViewport.java | 40 public int orientation; field in class:DisplayViewport 62 orientation = viewport.orientation; 92 && orientation == other.orientation 106 result += prime * result + orientation; 121 + ", orientation=" + orientation
|
/frameworks/base/core/jni/ |
android_content_res_Configuration.cpp | 41 jfieldID orientation; member in struct:android::__anon45624 66 out->orientation = env->GetIntField(clazz, gConfigurationClassInfo.orientation); 90 gConfigurationClassInfo.orientation = GetFieldIDOrDie(env, clazz, "orientation", "I");
|
/frameworks/native/include/input/ |
DisplayViewport.h | 31 int32_t orientation; member in struct:android::DisplayViewport 45 displayId(ADISPLAY_ID_NONE), orientation(DISPLAY_ORIENTATION_0), 53 && orientation == other.orientation 77 orientation = DISPLAY_ORIENTATION_0;
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
Exif.java | 158 // Get the tag and check if it is orientation. 162 final int orientation = pack(jpeg, offset + 8, 2, littleEndian); local 163 switch (orientation) { 173 Log.i(TAG, "Unsupported orientation");
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
Exif.java | 153 // Get the tag and check if it is orientation. 157 final int orientation = pack(jpeg, offset + 8, 2, littleEndian); local 158 switch (orientation) { 168 Log.i(TAG, "Unsupported orientation");
|
/hardware/interfaces/configstore/1.1/default/ |
SurfaceFlingerConfigs.cpp | 151 "Primary display orientation must be 0/90/180/270"); 161 int orientation = 0; local 164 orientation = PRIMARY_DISPLAY_ORIENTATION; 167 switch (orientation) { 186 LOG_ALWAYS_FATAL("Invalid orientation %d", orientation);
|
/hardware/libhardware/modules/camera/3_4/ |
static_properties.h | 63 int orientation() const { return orientation_; }; function in class:default_camera_hal::StaticProperties 86 int orientation,
|
/packages/apps/Gallery/src/com/android/camera/ |
MovieView.java | 57 int orientation = intent.getIntExtra( local 60 if (orientation != getRequestedOrientation()) { 61 setRequestedOrientation(orientation);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
MtpBitmapFetch.java | 103 int orientation = Exif.getOrientation(imageBytes); local 104 return new BitmapWithMetadata(created, orientation);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
InfoDropTarget.java | 60 int orientation = getResources().getConfiguration().orientation; local 61 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
LauncherAppWidgetHostView.java | 52 // Store the orientation in which the widget was inflated 53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; 58 int orientation = mContext.getResources().getConfiguration().orientation; local 59 if (mPreviousOrientation != orientation) {
|
/external/ImageMagick/coders/ |
cals.c | 178 orientation, 206 orientation=1; 234 orientation=5; 237 orientation=3; 240 orientation=7; 242 orientation++; 276 read_info->orientation=(OrientationType) orientation; 489 switch (image->orientation) 174 orientation, local
|
/external/skia/src/codec/ |
SkHeifCodec.cpp | 139 SkEncodedOrigin orientation = get_orientation(frameInfo); local 152 info, heifDecoder.release(), std::move(colorSpace), orientation));
|
/external/skqp/src/codec/ |
SkHeifCodec.cpp | 139 SkEncodedOrigin orientation = get_orientation(frameInfo); local 152 info, heifDecoder.release(), std::move(colorSpace), orientation));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/ |
ShortcutKeyDispatcher.java | 78 int orientation = mContext.getResources().getConfiguration().orientation; local 80 && orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
dvr_pose.h | 25 // Left eye head-from-start orientation quaternion x,y,z,w. 26 float32x4_t orientation; member in struct:DvrPoseAsync 29 // Right eye head-from-start orientation quaternion x,y,z,w. 71 // Head-from-start orientation quaternion x,y,z,w. 72 float32x4_t orientation; member in struct:DvrPose 76 // orientation.
|
/packages/apps/Camera2/src/com/android/camera/data/ |
PhotoDataFactory.java | 42 int orientation = c.getInt(PhotoDataQuery.COL_ORIENTATION); local 82 orientation,
|
/packages/apps/Camera2/src/com/android/camera/hardware/ |
HeadingSensor.java | 119 float[] orientation = new float[3]; local 121 SensorManager.getOrientation(mRotationMatrix, orientation); 122 mHeading = (int) (orientation[0] * 180f / Math.PI) % 360;
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
CameraPreview.java | 76 public void setSize(final Camera.Size size, final int orientation) { 77 switch (orientation) { 103 final int orientation = getContext().getResources().getConfiguration().orientation; local 107 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
/packages/apps/Dialer/java/com/android/incallui/ |
AccelerometerListener.java | 29 * This class is used to listen to the accelerometer to monitor the orientation of the phone. The 30 * client of this class is notified when the orientation changes between horizontal and vertical. 34 // Device orientation 47 // mOrientation is the orientation value most recently reported to the client. 48 private int orientation; field in class:AccelerometerListener 49 // mPendingOrientation is the latest orientation computed based on the sensor value. 61 orientation = pendingOrientation; 65 "orientation: " 66 + (orientation == ORIENTATION_HORIZONTAL 68 : (orientation == ORIENTATION_VERTICAL ? "vertical" : "unknown"))) 160 final int orientation = local [all...] |
InCallOrientationEventListener.java | 28 * This class listens to Orientation events and overrides onOrientationChanged which gets invoked 29 * when an orientation change occurs. When that happens, we notify InCallUI registrants of the 40 /** Screen orientation angles one of 0, 90, 180, 270, 360 in degrees. */ 59 * This is to identify dead zones where we won't notify others of orientation changed. Say for e.g 61 * degrees right or left of the screen orientation angles. If it's not within those ranges, we 67 // the above angles, we will notify orientation changed. 101 * Handles changes in device orientation. Notifies InCallPresenter of orientation changes. 104 * of our screen orientation constants - (one of: {@link #SCREEN_ORIENTATION_0}, {@link 115 final int orientation = toScreenOrientation(rotation) local [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
Image.java | 63 values.put(ImageColumns.ORIENTATION, mRotation); 110 int orientation = ExifInterface.ORIENTATION_NORMAL; local 113 orientation = ExifInterface.ORIENTATION_NORMAL; 116 orientation = ExifInterface.ORIENTATION_ROTATE_90; 119 orientation = ExifInterface.ORIENTATION_ROTATE_180; 122 orientation = ExifInterface.ORIENTATION_ROTATE_270; 127 Integer.toString(orientation)); 130 Log.e(TAG, "unable to save exif data with new orientation " 136 * Save the rotated image by updating the Exif "Orientation" tag.
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
CameraPreview.java | 53 public void setSize(final Camera.Size size, final int orientation) { 54 switch (orientation) { 80 final int orientation = getContext().getResources().getConfiguration().orientation; local 84 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|