/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
|
H A D | Surface.java | 407 * 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 D | DisplayInfo.h | 32 uint8_t orientation; member in struct:android::DisplayInfo
|
/frameworks/base/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/base/include/private/surfaceflinger/ |
H A D | SharedBufferStack.h | 35 uint8_t orientation; member in struct:android::display_cblk_t
|
/frameworks/base/services/surfaceflinger/ |
H A D | SurfaceTextureLayer.cpp | 90 uint32_t orientation = layer->getOrientation(); local 91 if (orientation & Transform::ROT_INVALID) { 92 orientation = 0; 94 *outTransform = orientation;
|
H A D | SurfaceFlinger.h | 107 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 D | SurfaceFlinger.cpp | 193 // 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 D | Layer.cpp | 193 * 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 D | Configuration.cpp | 15 n = orientation.compare(that.orientation);
|
H A D | Configuration.h | 12 string orientation; member in struct:Configuration
|
/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 39 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 D | M4EXIFC_CommonAPI.h | 89 M4COMMON_Orientation orientation; /**< orientation of image */ member in struct:__anon1501
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 30 * 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 D | PluginFullScreenHolder.java | 47 PluginFullScreenHolder(WebView webView, int orientation, int npp) { argument 50 mOrientation = orientation;
|
/frameworks/base/libs/camera/ |
H A D | ICameraService.cpp | 54 cameraInfo->orientation = reply.readInt32(); 89 reply->writeInt32(cameraInfo.orientation);
|
/frameworks/base/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 127 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 D | ISurfaceComposer.cpp | 82 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 D | ClipDrawable.java | 61 * @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 D | configuration.cpp | 63 return config->orientation; 146 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation) { argument 147 config->orientation = orientation;
|
/frameworks/base/include/utils/ |
H A D | ResourceTypes.h | 851 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 D | PasswordUnlockScreen.java | 91 mCreationOrientation = configuration.orientation; 356 if (config.orientation != mCreationOrientation 366 if (newConfig.orientation != mCreationOrientation
|