/frameworks/base/core/java/android/view/ |
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 | 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 | WindowOrientationListener.java | 30 * the orientation of the device has changed. 33 * "App/Activity/Screen Orientation" to ensure that all orientation 64 * SENSOR_DELAY_NORMAL} for simple screen orientation change detection. 82 * {@link #onOrientationChanged} when the device orientation changes. 126 * orientation. This is a very ill-defined problem so there are a lot of tweakable parameters, 133 * below. The azimuth angle is referred to as the "orientation" below (and the azimuth axis is 136 * - Low-pass filter the tilt and orientation angles to avoid "twitchy" behavior. 138 * - When the orientation angle reaches a certain threshold, transition to the corresponding 139 * orientation. These thresholds have some hysteresis built-in to avoid oscillation. 145 * - Use the tilt angle to judge the accuracy of orientation dat 305 calculateNewRotation(float orientation, float 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/include/ui/ |
H A D | DisplayInfo.h | 32 uint8_t orientation; member in struct:android::DisplayInfo
|
/frameworks/base/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 61 uint32_t orientation; local 63 case 0: orientation = ISurface::BufferHeap::ROT_0; break; 64 case 90: orientation = ISurface::BufferHeap::ROT_90; break; 65 case 180: orientation = ISurface::BufferHeap::ROT_180; break; 66 case 270: orientation = ISurface::BufferHeap::ROT_270; break; 67 default: orientation = ISurface::BufferHeap::ROT_0; break; 74 orientation, 0,
|
/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/core/java/android/content/res/ |
H A D | Configuration.java | 176 * Overall orientation of the screen. May be one of 180 public int orientation; field in class:Configuration 240 orientation = o.orientation; 269 sb.append(orientation); 296 orientation = ORIENTATION_UNDEFINED; 370 if (delta.orientation != ORIENTATION_UNDEFINED 371 && orientation != delta.orientation) { 373 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 | 41 jfieldID orientation; member in struct:android::__anon30 63 out->orientation = env->GetIntField(clazz, gConfigurationClassInfo.orientation); 109 GET_FIELD_ID(gConfigurationClassInfo.orientation, gConfigurationClassInfo.clazz, 110 "orientation", "I");
|
/frameworks/base/core/java/android/util/ |
H A D | DisplayMetrics.java | 134 * Update the display metrics based on the compatibility info and orientation 139 public void updateMetrics(CompatibilityInfo compatibilityInfo, int orientation, argument 184 switch (orientation) {
|
/frameworks/base/libs/camera/ |
H A D | ICameraService.cpp | 54 cameraInfo->orientation = reply.readInt32(); 89 reply->writeInt32(cameraInfo.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/libs/surfaceflinger_client/ |
H A D | ISurface.cpp | 133 uint32_t w, uint32_t h, int32_t format, int32_t orientation) 140 data.writeInt32(orientation); 204 int orientation = data.readInt32(); local 205 sp<OverlayRef> o = createOverlay(w, h, f, orientation); 132 createOverlay( uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
|
H A D | ISurfaceComposer.cpp | 109 virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags) argument 114 data.writeInt32(orientation); 200 int orientation = data.readInt32(); local 202 reply->writeInt32( setOrientation(dpy, orientation, flags) );
|
/frameworks/base/native/android/ |
H A D | configuration.cpp | 63 return config->orientation; 134 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation) { argument 135 config->orientation = orientation;
|
/frameworks/base/core/java/android/webkit/ |
H A D | BrowserFrame.java | 85 // orientation change message 132 int orientation = 134 switch (orientation) { 136 orientation = 90; 139 orientation = 180; 142 orientation = -90; 145 orientation = 0; 159 orientation, 0)); 1013 private native void nativeOrientationChanged(int orientation); argument
|
/frameworks/base/include/utils/ |
H A D | ResourceTypes.h | 850 uint8_t orientation; member in struct:android::ResTable_config::__anon187::__anon188 1053 if (orientation != o.orientation) diffs |= CONFIG_ORIENTATION; 1108 if (orientation != o.orientation) { 1109 if (!orientation) return false; 1110 if (!o.orientation) return true; 1246 if ((orientation != o.orientation) && requested->orientation) { [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PasswordUnlockScreen.java | 77 mCreationOrientation = configuration.orientation; 217 if (config.orientation != mCreationOrientation 227 if (newConfig.orientation != mCreationOrientation
|
/frameworks/base/services/surfaceflinger/ |
H A D | LayerBuffer.h | 77 int32_t orientation); 153 uint32_t w, uint32_t h, int32_t format, int32_t orientation); 205 uint32_t w, uint32_t h, int32_t format, int32_t orientation);
|
H A D | SurfaceFlinger.h | 135 static status_t orientationToTransfrom(int orientation, int w, int h, 144 status_t setOrientation(int orientation); 201 virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags); 280 orientation = ISurfaceComposer::eOrientationDefault; 284 uint8_t orientation; member in struct:android::SurfaceFlinger::State
|
H A D | LayerBuffer.cpp | 189 int32_t orientation) 196 sp<OverlaySource> source = new OverlaySource(*this, &result, w, h, f, orientation); 255 uint32_t w, uint32_t h, int32_t format, int32_t orientation) { 259 result = owner->createOverlay(w, h, format, orientation); 588 uint32_t w, uint32_t h, int32_t format, int32_t orientation) 590 mOverlay(0), mOverlayHandle(0), mOverlayDevice(0), mOrientation(orientation) 677 // we need to combine the layer orientation and the 678 // user-requested orientation. 188 createOverlay(uint32_t w, uint32_t h, int32_t f, int32_t orientation) argument 254 createOverlay( uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument 586 OverlaySource(LayerBuffer& layer, sp<OverlayRef>* overlayRef, uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
|
/frameworks/base/libs/ui/ |
H A D | InputReader.cpp | 121 int32_t rotateKeyCode(int32_t keyCode, int32_t orientation) { argument 122 if (orientation != InputReaderPolicyInterface::ROTATION_0) { 125 return keyCodeRotationMap[i][orientation]; 940 // Rotate key codes according to orientation if needed. 943 int32_t orientation; local 944 if (! getPolicy()->getDisplayInfo(mAssociatedDisplayId, NULL, NULL, & orientation)) { 948 keyCode = rotateKeyCode(keyCode, orientation); 1180 pointerCoords.orientation = 0; 1183 // Rotate motion based on display orientation if needed. 1185 int32_t orientation; local 1412 int32_t orientation; local 2465 float orientation; local [all...] |