/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 | 132 * @param orientation defines the display's orientation 136 * mapped to. displayRect is specified post-orientation, that is 137 * it uses the orientation seen by the end-user 139 public final void setProjectionInTransactionLocked(int orientation, argument 141 if (mCurrentOrientation != orientation 146 mCurrentOrientation = orientation; 159 orientation, layerStackRect, displayRect); 174 * Populates the specified viewport object with orientation, 178 viewport.orientation [all...] |
H A D | LogicalDisplay.java | 244 // Set the orientation. 245 // The orientation specifies how the physical coordinate system of the display 247 int orientation = Surface.ROTATION_0; 250 orientation = displayInfo.rotation; 254 orientation = (orientation + displayDeviceInfo.rotation) % 4; 261 boolean rotated = (orientation == Surface.ROTATION_90 262 || orientation == Surface.ROTATION_270); 289 device.setProjectionInTransactionLocked(orientation, mTempLayerStackRect, mTempDisplayRect);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | NavigationBar.java | 29 public NavigationBar(Context context, Density density, int orientation) throws XmlPullParserException { argument 30 super(context, density, orientation, "/bars/navigation_bar.xml", "navigation_bar.xml"); 40 if (orientation == LinearLayout.VERTICAL) {
|
/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/native/include/ui/ |
H A D | DisplayInfo.h | 34 uint8_t orientation; member in struct:android::DisplayInfo
|
/frameworks/native/services/sensorservice/ |
H A D | OrientationSensor.cpp | 53 outEvent->orientation.azimuth = g.x; 54 outEvent->orientation.pitch = g.y; 55 outEvent->orientation.roll = g.z; 56 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/av/libvideoeditor/vss/inc/ |
H A D | M4EXIFC_CommonAPI.h | 89 M4COMMON_Orientation orientation; /**< orientation of image */ member in struct:__anon217
|
/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 39 jfieldID orientation; member in struct:android::__anon967 64 out->orientation = env->GetIntField(clazz, gConfigurationClassInfo.orientation); 115 GET_FIELD_ID(gConfigurationClassInfo.orientation, clazz, 116 "orientation", "I");
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/util/ |
H A D | Exif.java | 95 // Get the tag and check if it is orientation. 99 int orientation = pack(jpeg, offset + 8, 2, littleEndian); 100 switch (orientation) { 110 Log.i(TAG, "Unsupported orientation");
|
H A D | ImageUtils.java | 103 // Correct thumbnail orientation as necessary 154 // Determine the orientation for this image 155 final int orientation = Exif.getOrientation(bitmapBytes); 159 if (originalBitmap != null && orientation != 0) { 161 matrix.postRotate(orientation);
|
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 69 output.writeInt32(orientation); 80 orientation = input.readInt32();
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | Exif.java | 95 // Get the tag and check if it is orientation. 99 int orientation = pack(jpeg, offset + 8, 2, littleEndian); 100 switch (orientation) { 110 Log.i(TAG, "Unsupported orientation");
|
H A D | ImageUtils.java | 114 // Correct thumbnail orientation as necessary 167 // Determine the orientation for this image 168 final int orientation = Exif.getOrientation(bitmapBytes); 175 if (originalBitmap != null && orientation != 0) { 177 matrix.postRotate(orientation);
|
/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). 387 /** Constant for {@link #orientation}: a value indicating that no value has been set. */ 389 /** Constant for {@link #orientation}, value corresponding to the 393 /** Constant for {@link #orientation}, value corresponding to the 401 * Overall orientation of the screen. May be one of 404 public int orientation; field in class:Configuration 570 orientation = o.orientation; 650 switch (orientation) { 654 default: sb.append(" orien="); sb.append(orientation); brea [all...] |
/frameworks/av/camera/ |
H A D | ICameraService.cpp | 54 cameraInfo->orientation = reply.readInt32(); 89 reply->writeInt32(cameraInfo.orientation);
|
/frameworks/base/core/java/android/webkit/ |
H A D | PluginFullScreenHolder.java | 47 PluginFullScreenHolder(WebViewClassic webView, int orientation, int npp) { argument 50 mOrientation = orientation;
|
/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/support/v7/gridlayout/gen/android/support/v7/gridlayout/ |
H A D | R.java | 155 The orientation property is not used during layout. It is only used to 174 public static int orientation=0x7f010000; field in class:R.attr 252 <tr><td><code>{@link #GridLayout_orientation android.support.v7.gridlayout:orientation}</code></td><td> 350 The orientation property is not used during layout. It is only used to 371 @attr name android:orientation
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.h | 104 void setProjection(int orientation, const Rect& viewport, const Rect& frame); 196 static status_t orientationToTransfrom(int orientation,
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 119 uint32_t orientation; member in struct:android::DisplayState
|