/frameworks/base/services/java/com/android/server/display/ |
H A D | DisplayViewport.java | 37 public int orientation; field in class:DisplayViewport 56 orientation = viewport.orientation; 68 + ", orientation=" + orientation
|
H A D | DisplayDevice.java | 133 * @param orientation defines the display's orientation 137 * mapped to. displayRect is specified post-orientation, that is 138 * it uses the orientation seen by the end-user 140 public final void setProjectionInTransactionLocked(int orientation, argument 142 if (mCurrentOrientation != orientation 147 mCurrentOrientation = orientation; 160 orientation, layerStackRect, displayRect); 175 * Populates the specified viewport object with orientation, 179 viewport.orientation [all...] |
H A D | LogicalDisplay.java | 257 // Set the orientation. 258 // The orientation specifies how the physical coordinate system of the display 260 int orientation = Surface.ROTATION_0; 263 orientation = displayInfo.rotation; 267 orientation = (orientation + displayDeviceInfo.rotation) % 4; 274 boolean rotated = (orientation == Surface.ROTATION_90 275 || orientation == Surface.ROTATION_270); 302 device.setProjectionInTransactionLocked(orientation, mTempLayerStackRect, mTempDisplayRect);
|
/frameworks/base/core/java/android/view/ |
H A D | OrientationEventListener.java | 28 * the orientation of the device has changed. 43 * Returned from onOrientationChanged when the device orientation cannot be determined 66 * SENSOR_DELAY_NORMAL} for simple screen orientation change detection. 84 * {@link #onOrientationChanged} when the device orientation changes. 120 int orientation = ORIENTATION_UNKNOWN; 129 orientation = 90 - (int)Math.round(angle); 131 while (orientation >= 360) { 132 orientation -= 360; 134 while (orientation < 0) { 135 orientation 172 onOrientationChanged(int orientation) argument [all...] |
H A D | OrientationListener.java | 24 * the orientation of the device has changed. 33 * Returned from onOrientationChanged when the device orientation cannot be determined 56 * SENSOR_DELAY_NORMAL} for simple screen orientation change detection. 73 public void onOrientationChanged(int orientation) { argument 74 OrientationListener.this.onOrientationChanged(orientation); 80 * {@link #onOrientationChanged} when the device orientation changes. 104 * @param orientation The new orientation of the device. 108 abstract public void onOrientationChanged(int orientation); argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | NavigationBar.java | 30 public NavigationBar(Context context, Density density, int orientation, boolean isRtl, argument 32 super(context, density, orientation, "/bars/navigation_bar.xml", "navigation_bar.xml"); 42 if (orientation == LinearLayout.VERTICAL || (isRtl && !rtlEnabled)) {
|
/frameworks/native/include/ui/ |
H A D | DisplayInfo.h | 34 uint8_t orientation; member in struct:android::DisplayInfo
|
/frameworks/base/core/java/android/hardware/ |
H A D | CameraInfo.java | 40 out.writeInt(info.orientation); 45 info.orientation = in.readInt();
|
/frameworks/native/services/sensorservice/ |
H A D | OrientationSensor.cpp | 56 outEvent->orientation.azimuth = g.x; 57 outEvent->orientation.pitch = g.y; 58 outEvent->orientation.roll = g.z; 59 outEvent->orientation.status = SENSOR_STATUS_ACCURACY_HIGH;
|
/frameworks/base/core/java/android/gesture/ |
H A D | OrientedBoundingBox.java | 31 public final float orientation; field in class:OrientedBoundingBox 37 orientation = angle; 61 matrix.setRotate(orientation);
|
H A D | Instance.java | 94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]); 96 float adjustment = -orientation; 100 float delta = ORIENTATIONS[i] - orientation;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 361 ScreenOrientation orientation = hardwareConfig.getOrientation(); 362 if (orientation != null) { 363 switch (orientation) { 365 config.orientation = Configuration.ORIENTATION_PORTRAIT; 368 config.orientation = Configuration.ORIENTATION_LANDSCAPE; 371 config.orientation = Configuration.ORIENTATION_SQUARE; 375 config.orientation = Configuration.ORIENTATION_UNDEFINED;
|
/frameworks/av/libvideoeditor/vss/inc/ |
H A D | M4EXIFC_CommonAPI.h | 89 M4COMMON_Orientation orientation; /**< orientation of image */ member in struct:__anon230
|
/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 39 jfieldID orientation; member in struct:android::__anon1003 64 out->orientation = env->GetIntField(clazz, gConfigurationClassInfo.orientation); 115 GET_FIELD_ID(gConfigurationClassInfo.orientation, clazz, 116 "orientation", "I");
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 31 * as device configurations (such as input modes, screen size and screen orientation). 394 /** Constant for {@link #orientation}: a value indicating that no value has been set. */ 396 /** Constant for {@link #orientation}, value corresponding to the 400 /** Constant for {@link #orientation}, value corresponding to the 408 * Overall orientation of the screen. May be one of 411 public int orientation; field in class:Configuration 610 orientation = o.orientation; 690 switch (orientation) { 694 default: sb.append(" orien="); sb.append(orientation); brea [all...] |
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 81 output.writeInt32(orientation); 92 orientation = input.readInt32();
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | Exif.java | 153 // Get the tag and check if it is orientation. 157 final int orientation = pack(jpeg, offset + 8, 2, littleEndian); 158 switch (orientation) { 168 Log.i(TAG, "Unsupported orientation");
|
/frameworks/av/include/camera/ |
H A D | CameraBase.h | 35 * The orientation of the camera image. The value is the angle that the 37 * display in its natural orientation. It should be 0, 90, 180, or 270. 42 * right edge of the screen in natural orientation, the value should be 46 int orientation; member in struct:android::CameraInfo
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 60 * @param orientation Bitwise-or of {@link #HORIZONTAL} and/or {@link #VERTICAL} 62 public ClipDrawable(Drawable drawable, int gravity, int orientation) { argument 67 mClipState.mOrientation = orientation; 83 int orientation = a.getInt( 105 mClipState.mOrientation = orientation;
|
/frameworks/base/native/android/ |
H A D | configuration.cpp | 63 return config->orientation; 151 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation) { argument 152 config->orientation = orientation;
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.h | 111 void setProjection(int orientation, const Rect& viewport, const Rect& frame); 204 static status_t orientationToTransfrom(int orientation,
|
H A D | Transform.h | 41 explicit Transform(uint32_t orientation);
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 118 uint32_t orientation; member in struct:android::DisplayState
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
H A D | CameraBinderTest.java | 82 info.info.orientation = -1; 90 info.info.orientation != -1); 93 + ", orientation " + info.info.orientation);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | Camera2Source.java | 119 .addOutputPort("orientation", Signature.PORT_REQUIRED, 228 OutputPort orientationPort = getConnectedOutputPort("orientation"); 233 Integer orientation = mProperties.get(CameraCharacteristics.SENSOR_ORIENTATION); 235 if (orientation != null) { 236 temp = orientation.floatValue();
|