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

1234

/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
H A DSurface.java407 * set the orientation of the given display.
409 * @param orientation
413 public static native void setOrientation(int display, int orientation, int flags); argument
416 * set the orientation of the given display.
418 * @param orientation
421 public static void setOrientation(int display, int orientation) { argument
422 setOrientation(display, orientation, 0);
/frameworks/base/include/ui/
H A DDisplayInfo.h32 uint8_t orientation; member in struct:android::DisplayInfo
/frameworks/base/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/base/include/private/surfaceflinger/
H A DSharedBufferStack.h35 uint8_t orientation; member in struct:android::display_cblk_t
/frameworks/base/services/surfaceflinger/
H A DSurfaceTextureLayer.cpp90 uint32_t orientation = layer->getOrientation(); local
91 if (orientation & Transform::ROT_INVALID) {
92 orientation = 0;
94 *outTransform = orientation;
H A DSurfaceFlinger.h107 static status_t orientationToTransfrom(int orientation, int w, int h,
116 status_t setOrientation(int orientation);
171 int orientation, uint32_t flags);
172 virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags);
270 orientation = ISurfaceComposer::eOrientationDefault;
273 uint8_t orientation; member in struct:android::SurfaceFlinger::State
H A DSurfaceFlinger.cpp193 // reset screen orientation
255 dcblk->orientation = ISurfaceComposer::eOrientationDefault;
539 if (mCurrentState.orientation != mDrawingState.orientation) {
540 // the orientation has changed, recompute all visible regions
544 const int orientation = mCurrentState.orientation; local
547 plane.setOrientation(orientation);
552 dcblk->orientation = orientation;
[all...]
H A DLayer.cpp193 * 1) buffer orientation/flip/mirror
195 * 3) layer orientation (screen orientation)
203 // this gives us only the "orientation" component of the transform
459 // (Take the buffer's orientation into account)
558 uint32_t orientation = 0; local
560 orientation = getPlaneOrientation();
561 if (orientation & Transform::ROT_INVALID) {
562 orientation = 0;
565 return orientation;
[all...]
/frameworks/base/tools/localize/
H A DConfiguration.cpp15 n = orientation.compare(that.orientation);
H A DConfiguration.h12 string orientation; member in struct:Configuration
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp39 jfieldID orientation; member in struct:android::__anon28
64 out->orientation = env->GetIntField(clazz, gConfigurationClassInfo.orientation);
115 GET_FIELD_ID(gConfigurationClassInfo.orientation, clazz,
116 "orientation", "I");
/frameworks/media/libvideoeditor/vss/inc/
H A DM4EXIFC_CommonAPI.h89 M4COMMON_Orientation orientation; /**< orientation of image */ member in struct:__anon1501
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java30 * as device configurations (such as input modes, screen size and screen orientation).
219 * Overall orientation of the screen. May be one of
223 public int orientation; field in class:Configuration
320 orientation = o.orientation;
382 switch (orientation) {
386 default: sb.append(" orien="); sb.append(orientation); break;
465 orientation = ORIENTATION_UNDEFINED;
544 if (delta.orientation != ORIENTATION_UNDEFINED
545 && orientation !
[all...]
/frameworks/base/core/java/android/webkit/
H A DPluginFullScreenHolder.java47 PluginFullScreenHolder(WebView webView, int orientation, int npp) { argument
50 mOrientation = orientation;
/frameworks/base/libs/camera/
H A DICameraService.cpp54 cameraInfo->orientation = reply.readInt32();
89 reply->writeInt32(cameraInfo.orientation);
/frameworks/base/libs/gui/
H A DSurfaceComposerClient.cpp127 status_t setOrientation(int orientation);
142 int orientation; local
150 orientation = mOrientation;
159 sm->setTransactionState(transaction, orientation, flags);
283 status_t Composer::setOrientation(int orientation) { argument
285 mOrientation = orientation;
287 // Changing the orientation makes the transaction synchronous.
461 int orientation, uint32_t flags)
463 return Composer::getInstance().setOrientation(orientation);
479 info->orientation
460 setOrientation(DisplayID dpy, int orientation, uint32_t flags) argument
[all...]
H A DISurfaceComposer.cpp82 int orientation, uint32_t flags)
92 data.writeInt32(orientation);
207 int orientation = data.readInt32(); local
209 setTransactionState(state, orientation, flags);
81 setTransactionState(const Vector<ComposerState>& state, int orientation, uint32_t flags) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java61 * @param orientation Bitwise-or of {@link #HORIZONTAL} and/or {@link #VERTICAL}
63 public ClipDrawable(Drawable drawable, int gravity, int orientation) { argument
68 mClipState.mOrientation = orientation;
84 int orientation = a.getInt(
106 mClipState.mOrientation = orientation;
/frameworks/base/native/android/
H A Dconfiguration.cpp63 return config->orientation;
146 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation) { argument
147 config->orientation = orientation;
/frameworks/base/include/utils/
H A DResourceTypes.h851 uint8_t orientation; member in struct:android::ResTable_config::__anon198::__anon199
1073 if (orientation != o.orientation) diffs |= CONFIG_ORIENTATION;
1149 if (orientation != o.orientation) {
1150 if (!orientation) return false;
1151 if (!o.orientation) return true;
1318 if ((orientation != o.orientation) && requested->orientation) {
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPasswordUnlockScreen.java91 mCreationOrientation = configuration.orientation;
356 if (config.orientation != mCreationOrientation
366 if (newConfig.orientation != mCreationOrientation

Completed in 540 milliseconds

1234