/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 158 * Create a new gradient drawable given an orientation and an array 161 public GradientDrawable(Orientation orientation, int[] colors) { argument 162 this(new GradientState(orientation, colors)); 884 GradientState(Orientation orientation, int[] colors) { argument 885 mOrientation = orientation;
|
/frameworks/base/services/camera/libcameraservice/ |
H A D | CameraService.h | 157 int getOrientation(int orientation, bool mirror); 171 int mOrientation; // Current display orientation 172 // True if display orientation has been changed. This is only used in overlay.
|
/frameworks/base/services/surfaceflinger/ |
H A D | LayerBase.h | 312 int32_t format, int32_t orientation);
|
H A D | LayerBase.cpp | 641 uint32_t w, uint32_t h, int32_t format, int32_t orientation) 640 createOverlay( uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | SlidingDrawer.java | 195 int orientation = a.getInt(R.styleable.SlidingDrawer_orientation, ORIENTATION_VERTICAL); 196 mVertical = orientation == ORIENTATION_VERTICAL;
|
H A D | LinearLayout.java | 38 * The default orientation is horizontal. 316 * Measures the children when the orientation of this LinearLayout is set 602 * Measures the children when the orientation of this LinearLayout is set 995 * @return the width or height of the child depending on the orientation 1054 * Position the children during a layout pass if the orientation of this 1140 * Position the children during a layout pass if the orientation of this 1259 * @param orientation Pass HORIZONTAL or VERTICAL. Default 1264 public void setOrientation(int orientation) { argument 1265 if (mOrientation != orientation) { 1266 mOrientation = orientation; [all...] |
/frameworks/base/include/private/surfaceflinger/ |
H A D | SharedBufferStack.h | 369 uint8_t orientation; member in struct:android::display_cblk_t
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 296 * Offset for the sample's orientation. 997 * Returns the orientation of the touch area and tool area in radians clockwise from vertical 1001 * upwards, is perfectly circular or is of unknown orientation. A positive angle 1324 * Returns a historical orientation coordinate, as per {@link #getOrientation(int)}, that 1429 outPointerCoords.orientation = dataSamples[sampleIndex + SAMPLE_ORIENTATION]; 1452 dataSamples[sampleIndex + SAMPLE_ORIENTATION] = pointerCoords.orientation; 1706 * The orientation of the touch area and tool area in radians clockwise from vertical. 1708 * upwards, is perfectly circular or is of unknown orientation. A positive angle 1714 public float orientation; field in class:MotionEvent.PointerCoords 1720 return Math.abs(orientation) > PI_ [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 94 * A constant describing an orientation sensor. See 157 * A constant describing an orientation sensor. See 318 /** rate (default) suitable for screen orientation changes */ 1388 * compute the three orientation angles of the device (see 1426 * rotation from its natural orientation when calculating the rotation 1539 * Computes the device's orientation based on the rotation matrix. 1718 float[] values, int orientation) { 1745 if ((orientation & Surface.ROTATION_90) != 0) { 1762 if ((orientation & Surface.ROTATION_180) != 0) { 1717 mapSensorDataToWindow(int sensor, float[] values, int orientation) argument
|
H A D | Camera.java | 174 * The orientation of the camera image. The value is the angle that the 176 * the display in its natural orientation. It should be 0, 90, 180, or 270. 181 * right edge of the screen in natural orientation, the value should be 191 public int orientation; field in class:Camera.CameraInfo 793 * <p>If you want to make the camera image show in the same orientation as 813 * result = (info.orientation + degrees) % 360; 816 * result = (info.orientation - degrees + 360) % 360; 1376 * The sides of width and height are based on camera orientation. That 1378 * orientation. So applications need to consider the display orientation [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 752 int orientation = exif.getAttributeInt( 754 if (orientation != -1) { 755 // We only recognize a subset of orientation tag values. 757 switch(orientation) {
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 652 int orientation, int touchscreen, int density, int keyboard, 651 setConfiguration(int mcc, int mnc, String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int screenLayout, int uiMode, int majorVersion) argument
|
H A D | Resources.java | 167 * on orientation, etc). 1269 mConfiguration.orientation, mConfiguration.screenLayout); 1297 locale, mConfiguration.orientation,
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 421 JNIEnv* env, jobject clazz, jint display, jint orientation, jint flags) 423 int err = SurfaceComposerClient::setOrientation(display, orientation, flags); 420 Surface_setOrientation( JNIEnv* env, jobject clazz, jint display, jint orientation, jint flags) argument
|
H A D | android_util_AssetManager.cpp | 530 jstring locale, jint orientation, 550 config.orientation = (uint8_t)orientation; 528 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint screenLayout, jint uiMode, jint sdkVersion) argument
|
/frameworks/base/services/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 299 uint32_t w, uint32_t h, int32_t format, int32_t orientation); 369 int32_t orientation) { 368 createOverlay(uint32_t w, uint32_t h, int32_t format, int32_t orientation) argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 182 Vibrator mVibrator; // Vibrator for giving feedback of orientation changes 345 // Send updates based on orientation value 397 // orientation, then we need to turn the sensor or. 403 // orientation management, 409 // a window that forces an orientation that does not use the 412 // orientation for a little bit, which can cause orientation 423 * screen turned on and current app has sensor based orientation, enable listeners 425 * screen turned on and current app does not have sensor orientation, disable listeners if 427 * screen turning on and current app has sensor based orientation, enabl 2050 rotationForOrientationLw(int orientation, int lastRotation, boolean displayEnabled) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.h | 74 String8 orientation; member in struct:AaptGroupEntry
|
H A D | ResourceTable.cpp | 598 config.orientation, config.density, 709 config.orientation, config.density, 2581 if (!match(AXIS_ORIENTATION, config.orientation)) { 2801 config.orientation, 2839 tHeader->config.orientation, 3436 config->orientation,
|
H A D | Resource.cpp | 110 mParams.orientation, mParams.uiMode,
|
/frameworks/base/libs/utils/ |
H A D | ResourceTypes.cpp | 2348 params->orientation, 3671 thisConfig.orientation, 3672 config ? config->orientation : 0, 3974 thisConfig.orientation, 4196 if (type->config.orientation != 0) { 4197 printf(" orient=%d", type->config.orientation); 4198 switch (type->config.orientation) {
|
/frameworks/base/core/java/android/app/ |
H A D | SearchDialog.java | 426 return context.getResources().getConfiguration().orientation
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 174 * orientation, which is appropriate behavior for most input methods that have 714 * screen orientation changes. 844 if (config.orientation != Configuration.ORIENTATION_LANDSCAPE) {
|
/frameworks/base/services/java/com/android/server/ |
H A D | WindowManagerService.java | 408 // changes the orientation. 2029 // Visibility of the removed window. Will be used later to update orientation later on. 2067 // Removing a visible window will effect the computed orientation 2068 // So just update orientation if needed. 3004 // We hit an application window. so the orientation will be determined by the 3033 // the behind activity, don't use it for orientation 3050 // the orientation behind it, and the last app was 3052 // user's orientation. 3060 // to use the orientation behind it, then just take whatever 3061 // orientation i [all...] |
/frameworks/base/libs/ui/ |
H A D | InputDispatcher.cpp | 789 "orientation=%f", 795 sample->pointerCoords[i].orientation); 2131 "orientation=%f", 2136 pointerCoords[i].orientation);
|