Searched refs:orientation (Results 1 - 25 of 95) sorted by relevance

1234

/frameworks/base/services/java/com/android/server/display/
H A DDisplayViewport.java37 public int orientation; field in class:DisplayViewport
56 orientation = viewport.orientation;
68 + ", orientation=" + orientation
H A DDisplayDevice.java132 * @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 DLogicalDisplay.java244 // 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 DNavigationBar.java29 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 DOrientationEventListener.java28 * 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 DOrientationListener.java24 * 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 DDisplayInfo.h34 uint8_t orientation; member in struct:android::DisplayInfo
/frameworks/native/services/sensorservice/
H A DOrientationSensor.cpp53 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 DOrientedBoundingBox.java31 public final float orientation; field in class:OrientedBoundingBox
37 orientation = angle;
61 matrix.setRotate(orientation);
H A DInstance.java94 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 DM4EXIFC_CommonAPI.h89 M4COMMON_Orientation orientation; /**< orientation of image */ member in struct:__anon217
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp39 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 DExif.java95 // 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 DImageUtils.java103 // 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 DLayerState.cpp69 output.writeInt32(orientation);
80 orientation = input.readInt32();
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java95 // 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 DImageUtils.java114 // 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 DConfiguration.java31 * 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 DICameraService.cpp54 cameraInfo->orientation = reply.readInt32();
89 reply->writeInt32(cameraInfo.orientation);
/frameworks/base/core/java/android/webkit/
H A DPluginFullScreenHolder.java47 PluginFullScreenHolder(WebViewClassic webView, int orientation, int npp) { argument
50 mOrientation = orientation;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java60 * @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 Dconfiguration.cpp63 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 DR.java155 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 DDisplayDevice.h104 void setProjection(int orientation, const Rect& viewport, const Rect& frame);
196 static status_t orientationToTransfrom(int orientation,
/frameworks/native/include/private/gui/
H A DLayerState.h119 uint32_t orientation; member in struct:android::DisplayState

Completed in 567 milliseconds

1234