/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 | GestureOverlayView.java | 198 public void setOrientation(int orientation) { argument 199 mOrientation = orientation; 643 float angle = Math.abs(box.orientation);
|
/frameworks/base/include/ui/ |
H A D | DisplayInfo.h | 32 uint8_t orientation; member in struct:android::DisplayInfo
|
/frameworks/base/core/java/android/view/ |
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 | OrientationEventListener.java | 29 * the orientation of the device has changed. 44 * Returned from onOrientationChanged when the device orientation cannot be determined 67 * SENSOR_DELAY_NORMAL} for simple screen orientation change detection. 85 * {@link #onOrientationChanged} when the device orientation changes. 121 int orientation = ORIENTATION_UNKNOWN; 130 orientation = 90 - (int)Math.round(angle); 132 while (orientation >= 360) { 133 orientation -= 360; 135 while (orientation < 0) { 136 orientation 173 onOrientationChanged(int orientation) argument [all...] |
H A D | WindowOrientationListener.java | 30 * the orientation of the device has changed. 59 * SENSOR_DELAY_NORMAL} for simple screen orientation change detection. 77 * {@link #onOrientationChanged} when the device orientation changes. 122 // Internal aliases for the four orientation states. ROTATION_0 = default portrait mode, 128 // Current orientation state 135 // Threshold ranges of orientation angle to transition into other orientation states. 137 // ROTATE_TO defines the orientation each threshold range transitions to, and must be kept 155 // Maximum absolute tilt angle at which to consider orientation changes. Beyond this (i.e. 156 // when screen is facing the sky or ground), we refuse to make any orientation change 209 calculateNewRotation(int orientation, int tiltAngle) argument [all...] |
H A D | Surface.java | 137 * Disable the orientation animation 350 * set the orientation of the given display. 352 * @param orientation 356 public static native void setOrientation(int display, int orientation, int flags); argument 359 * set the orientation of the given display. 361 * @param orientation 363 public static void setOrientation(int display, int orientation) { argument 364 setOrientation(display, orientation, 0);
|
/frameworks/base/tools/localize/ |
H A D | Configuration.h | 12 string orientation; member in struct:Configuration
|
/frameworks/base/core/java/android/util/ |
H A D | DisplayMetrics.java | 129 * Update the display metrics based on the compatibility info and orientation 134 public void updateMetrics(CompatibilityInfo compatibilityInfo, int orientation, argument 168 switch (orientation) {
|
/frameworks/base/libs/surfaceflinger_client/ |
H A D | ISurfaceComposer.cpp | 100 virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags) argument 105 data.writeInt32(orientation); 150 int orientation = data.readInt32(); local 152 reply->writeInt32( setOrientation(dpy, orientation, flags) );
|
H A D | ISurface.cpp | 119 uint32_t w, uint32_t h, int32_t format, int32_t orientation) 126 data.writeInt32(orientation); 180 int orientation = data.readInt32(); local 181 sp<OverlayRef> o = createOverlay(w, h, f, orientation); 118 createOverlay( uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
|
H A D | SurfaceComposerClient.cpp | 261 info->orientation = dcblk->orientation; 293 return dcblk->orientation; 439 int orientation, uint32_t flags) 442 return sm->setOrientation(dpy, orientation, flags); 438 setOrientation(DisplayID dpy, int orientation, uint32_t flags) argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 363 * @param orientation the orientation of the screen. 366 public static void updateCompatibleScreenFrame(DisplayMetrics dm, int orientation, argument 371 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
H A D | Configuration.java | 175 * Overall orientation of the screen. May be one of 179 public int orientation; field in class:Configuration 239 orientation = o.orientation; 268 sb.append(orientation); 295 orientation = ORIENTATION_UNDEFINED; 369 if (delta.orientation != ORIENTATION_UNDEFINED 370 && orientation != delta.orientation) { 372 orientation [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 55 * @param orientation Bitwise-or of {@link #HORIZONTAL} and/or {@link #VERTICAL} 57 public ClipDrawable(Drawable drawable, int gravity, int orientation) { argument 62 mClipState.mOrientation = orientation; 78 int orientation = a.getInt( 100 mClipState.mOrientation = orientation;
|
/frameworks/base/libs/surfaceflinger/ |
H A D | Transform.cpp | 61 Transform::Transform(uint32_t orientation) { argument 62 set(orientation, 0, 0);
|
H A D | LayerBuffer.cpp | 186 int32_t orientation) 193 sp<OverlaySource> source = new OverlaySource(*this, &result, w, h, f, orientation); 252 uint32_t w, uint32_t h, int32_t format, int32_t orientation) { 256 result = owner->createOverlay(w, h, format, orientation); 619 uint32_t w, uint32_t h, int32_t format, int32_t orientation) 621 mOverlay(0), mOverlayHandle(0), mOverlayDevice(0), mOrientation(orientation) 703 // we need to combine the layer orientation and the 704 // user-requested orientation. 185 createOverlay(uint32_t w, uint32_t h, int32_t f, int32_t orientation) argument 251 createOverlay( uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument 617 OverlaySource(LayerBuffer& layer, sp<OverlayRef>* overlayRef, uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
|
H A D | SurfaceFlinger.h | 107 static status_t orientationToTransfrom(int orientation, int w, int h, 116 status_t setOrientation(int orientation); 169 virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags); 237 orientation = ISurfaceComposer::eOrientationDefault; 241 uint8_t orientation; member in struct:android::SurfaceFlinger::State
|
/frameworks/base/media/libstagefright/ |
H A D | CameraSource.cpp | 59 uint32_t w, uint32_t h, int32_t format, int32_t orientation) { 58 createOverlay( uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
|
/frameworks/base/include/private/surfaceflinger/ |
H A D | SharedBufferStack.h | 333 uint8_t orientation; member in struct:android::display_cblk_t
|
/frameworks/base/core/java/android/widget/ |
H A D | LinearLayout.java | 38 * The default orientation is horizontal. 311 * Measures the children when the orientation of this LinearLayout is set 597 * Measures the children when the orientation of this LinearLayout is set 990 * @return the width or height of the child depending on the orientation 1049 * Position the children during a layout pass if the orientation of this 1135 * Position the children during a layout pass if the orientation of this 1254 * @param orientation Pass HORIZONTAL or VERTICAL. Default 1259 public void setOrientation(int orientation) { argument 1260 if (mOrientation != orientation) { 1261 mOrientation = orientation; [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | InputDevice.java | 745 long curTimeNano, Display display, int orientation, 818 if (orientation == Surface.ROTATION_90 819 || orientation == Surface.ROTATION_270) { 853 switch (orientation) { 925 long curTimeNano, int orientation, int metaState) { 956 switch (orientation) { 744 generateAbsMotion(InputDevice device, long curTime, long curTimeNano, Display display, int orientation, int metaState) argument 924 generateRelMotion(InputDevice device, long curTime, long curTimeNano, int orientation, int metaState) argument
|
/frameworks/base/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 286 uint32_t w, uint32_t h, int32_t format, int32_t orientation); 350 int32_t orientation) { 349 createOverlay(uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | BrowserFrame.java | 84 // orientation change message 131 int orientation = 133 switch (orientation) { 135 orientation = 90; 138 orientation = 180; 141 orientation = -90; 144 orientation = 0; 158 orientation, 0)); 1013 private native void nativeOrientationChanged(int orientation); argument
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 409 JNIEnv* env, jobject clazz, jint display, jint orientation, jint flags) 411 int err = SurfaceComposerClient::setOrientation(display, orientation, flags); 408 Surface_setOrientation( JNIEnv* env, jobject clazz, jint display, jint orientation, jint flags) argument
|