/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 596 jstring locale, jint orientation, 618 config.orientation = (uint8_t)orientation; 594 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 smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, jint screenLayout, jint uiMode, jint sdkVersion) argument
|
H A D | android_hardware_camera2_DngCreator.cpp | 870 // Set orientation 871 uint16_t orientation = 1; // Normal local 872 BAIL_IF_INVALID(writer->addEntry(TAG_ORIENTATION, 1, &orientation, TIFF_IFD_0), env, 1490 uint16_t orientation = static_cast<uint16_t>(orient); local 1491 BAIL_IF_INVALID(writer->addEntry(TAG_ORIENTATION, 1, &orientation, TIFF_IFD_0), env, 1494 // Set main image orientation also if in a separate IFD 1496 BAIL_IF_INVALID(writer->addEntry(TAG_ORIENTATION, 1, &orientation, TIFF_IFD_SUB1), env, 1695 // Make sure both IFDs get the same orientation tag
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 178 * Create a new gradient drawable given an orientation and an array 181 public GradientDrawable(Orientation orientation, int[] colors) { argument 182 this(new GradientState(orientation, colors), null); 467 * Returns the orientation of the gradient defined in this drawable. 474 * <p>Changes the orientation of the gradient defined in this drawable.</p> 475 * <p><strong>Note</strong>: changing orientation will affect all instances 477 * {@link #mutate()} before changing the orientation.</p> 479 * @param orientation The desired orientation (angle) of the gradient 483 public void setOrientation(Orientation orientation) { argument 1525 GradientState(Orientation orientation, int[] colors) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 341 viewport.orientation); 445 v.orientation); 1033 jint displayId, jint orientation, 1041 v.orientation = orientation; 1032 nativeSetDisplayViewport(JNIEnv* env, jclass clazz, jlong ptr, jboolean external, jint displayId, jint orientation, jint logicalLeft, jint logicalTop, jint logicalRight, jint logicalBottom, jint physicalLeft, jint physicalTop, jint physicalRight, jint physicalBottom, jint deviceWidth, jint deviceHeight) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | CameraStreamer.java | 131 public void onUpdateCameraOrientation(int orientation) { argument 132 if (orientation % 180 != 0) { 306 public void onUpdateCameraOrientation(int orientation) { argument 307 super.onUpdateCameraOrientation(orientation); 308 mRunner.mCamera.setDisplayOrientation(orientation); 633 public void onUpdateCameraOrientation(int orientation) { argument 634 super.onUpdateCameraOrientation(orientation); 636 switch (orientation) { 651 switch (orientation) { 803 /** The camera and screen orientation 1377 onUpdateOrientation(int orientation) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 398 // this gives us only the "orientation" component of the transform 417 * 1) buffer orientation/flip/mirror 419 * 3) layer orientation (screen orientation) 449 // this gives us only the "orientation" component of the transform 450 const uint32_t orientation = transform.getOrientation(); local 451 if (orientation & Transform::ROT_INVALID) { 455 layer.setTransform(orientation); 501 // this gives us only the "orientation" component of the transform 1090 // (Take the buffer's orientation int 1264 uint32_t orientation = 0; local [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | LinearLayoutManager.java | 61 * Current orientation. Either {@link #HORIZONTAL} or {@link #VERTICAL} 73 * Many calculations are made depending on orientation. To keep it clean, this interface 146 * @param orientation Layout orientation. Should be {@link #HORIZONTAL} or {@link 150 public LinearLayoutManager(Context context, int orientation, boolean reverseLayout) { argument 152 setOrientation(orientation); 287 * @return Current orientation. 296 * Sets the orientation of the layout. {@link android.support.v7.widget.LinearLayoutManager} 299 * @param orientation {@link #HORIZONTAL} or {@link #VERTICAL} 301 public void setOrientation(int orientation) { argument [all...] |
H A D | StaggeredGridLayoutManager.java | 101 * Primary orientation is the layout's orientation, secondary orientation is the orientation 110 * The width or height per span, depending on the orientation. 201 * @param spanCount If orientation is vertical, spanCount is number of columns. If 202 * orientation is horizontal, spanCount is number of rows. 203 * @param orientation {@link #VERTICAL} or {@link #HORIZONTAL} 205 public StaggeredGridLayoutManager(int spanCount, int orientation) { argument 206 mOrientation = orientation; 383 setOrientation(int orientation) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 39 * information about the pressure, size and orientation of the contact area. 614 * <li>For a touch screen or touch pad, reports the orientation of the finger 617 * upwards, is perfectly circular or is of unknown orientation. A positive angle 622 * <li>For a stylus, the orientation indicates the direction in which the stylus 623 * is pointing in relation to the vertical axis of the current orientation of the screen. 632 * @see MotionEvent.PointerCoords#orientation 2097 * Returns the orientation of the touch area and tool area in radians clockwise from vertical 2101 * upwards, is perfectly circular or is of unknown orientation. A positive angle 2594 * Returns a historical orientation coordinate, as per {@link #getOrientation(int)}, that 3299 * The orientation o 3309 public float orientation; field in class:MotionEvent.PointerCoords [all...] |
H A D | WindowManagerPolicy.java | 1062 * Given an orientation constant, returns the appropriate surface rotation, 1065 * @param orientation An orientation constant, such as 1070 public int rotationForOrientationLw(@ActivityInfo.ScreenOrientation int orientation, argument 1074 * Given an orientation constant and a rotation, returns true if the rotation 1075 * has compatible metrics to the requested orientation. For example, if 1081 * @param orientation An orientation constant, such as 1084 * @return True if the rotation is compatible with the requested orientation. 1086 public boolean rotationHasCompatibleMetricsLw(@ActivityInfo.ScreenOrientation int orientation, argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 82 * {@link GridLayout#setOrientation(int) orientation}, 171 * The horizontal orientation. 176 * The vertical orientation. 305 * Returns the current orientation. 320 * GridLayout uses the orientation property for two purposes: 328 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first. 339 * orientation as {@code HORIZONTAL} - because {@code TextView} is capable of 342 * Other than the effects above, orientation does not affect the actual layout operation of 348 * @param orientation either {@link #HORIZONTAL} or {@link #VERTICAL} 354 public void setOrientation(@Orientation int orientation) { argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GridLayoutManager.java | 177 * The orientation of a "row". 316 * Dimensions of the view, width or height depending on orientation. 364 public void setOrientation(int orientation) { argument 365 if (orientation != HORIZONTAL && orientation != VERTICAL) { 366 if (DEBUG) Log.v(getTag(), "invalid orientation: " + orientation); 370 mOrientation = orientation; 371 mWindowAlignment.setOrientation(orientation); 372 mItemAlignment.setOrientation(orientation); [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 80 * {@link GridLayout#setOrientation(int) orientation}, 162 * The horizontal orientation. 167 * The vertical orientation. 296 * Returns the current orientation. 310 * GridLayout uses the orientation property for two purposes: 318 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first. 329 * orientation as {@code HORIZONTAL} - because {@code TextView} is capable of 332 * Other than the effects above, orientation does not affect the actual layout operation of 338 * @param orientation either {@link #HORIZONTAL} or {@link #VERTICAL} 344 public void setOrientation(int orientation) { argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 277 * <p>The orientation of the camera image. The value is the angle that the 279 * the display in its natural orientation. It should be 0, 90, 180, or 270.</p> 284 * right edge of the screen in natural orientation, the value should be 294 public int orientation; field in class:Camera.CameraInfo 1484 * <p>If you want to make the camera image show in the same orientation as 1504 * result = (info.orientation + degrees) % 360; 1507 * result = (info.orientation - degrees + 360) % 360; 1730 * <p>The direction is relative to the sensor orientation, that is, what 1733 * rectangle does not provide any information about face orientation.</p> 2611 * The sides of width and height are based on camera orientation [all...] |
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 963 uint8_t orientation; member in struct:android::ResTable_config::__anon895::__anon896
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 370 * <li>TOP_LEFT is the normal orientation.</li> 1880 * @param orientation the ExifTag Orientation value. 1882 public static int getRotationForOrientationValue(short orientation) { argument 1883 switch (orientation) {
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 140 void setDisplayInfo(int32_t displayId, int32_t width, int32_t height, int32_t orientation) { argument 142 bool isRotated = (orientation == DISPLAY_ORIENTATION_90 143 || orientation == DISPLAY_ORIENTATION_270); 146 v.orientation = orientation; 1427 int32_t orientation) { 1428 mFakePolicy->setDisplayInfo(displayId, width, height, orientation); 1459 float orientation, float distance) { 1468 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON); 1799 // Special case: if orientation change 1426 setDisplayInfoAndReconfigure(int32_t displayId, int32_t width, int32_t height, int32_t orientation) argument 1456 assertPointerCoords(const PointerCoords& coords, float x, float y, float pressure, float size, float touchMajor, float touchMinor, float toolMajor, float toolMinor, float orientation, float distance) argument 2539 prepareDisplay(int32_t orientation) argument 3242 float orientation = atan2f(-sinf(tiltXAngle), sinf(tiltYAngle)); local 3824 processOrientation( MultiTouchInputMapper* mapper, int32_t orientation) argument 4519 float orientation = float(rawOrientation) / RAW_ORIENTATION_MAX * M_PI_2; local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioService.java | 492 // TODO merge orientation and rotation 613 // TODO merge orientation and rotation 616 Log.v(TAG, "monitoring device orientation"); 617 // initialize orientation in AudioSystem 921 public void onOrientationChanged(int orientation) { argument 922 //Even though we're responding to phone orientation events, 4126 // Reset device orientation (if monitored for this device) 4965 // Device orientation 4968 * Handles device configuration changes that may map to a change in the orientation 4969 * or orientation [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 246 Vibrator mVibrator; // Vibrator for giving feedback of orientation changes 333 // Default display does not rotate, apps that require non-default orientation will have to 334 // have the orientation emulated. 718 // orientation, then we need to turn the sensor on. 727 // orientation management, 733 // a window that forces an orientation that does not use the 736 // orientation for a little bit, which can cause orientation 747 * screen turned on and current app has sensor based orientation, enable listeners 749 * screen turned on and current app does not have sensor orientation, disabl 5006 rotationForOrientationLw(int orientation, int lastRotation) argument 5167 rotationHasCompatibleMetricsLw(int orientation, int rotation) argument [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 103 static int32_t rotateValueUsingRotationMap(int32_t value, int32_t orientation, argument 105 if (orientation != DISPLAY_ORIENTATION_0) { 108 return map[i][orientation]; 126 static int32_t rotateKeyCode(int32_t keyCode, int32_t orientation) { argument 127 return rotateValueUsingRotationMap(keyCode, orientation, 131 static void rotateDelta(int32_t orientation, float* deltaX, float* deltaY) { argument 133 switch (orientation) { 1417 orientation.clear(); 2031 mOrientation = v.orientation; 2120 // Rotate key codes according to orientation i 4242 float orientation; local [all...] |
H A D | InputReader.h | 57 int32_t orientation; member in struct:android::DisplayViewport 70 displayId(ADISPLAY_ID_NONE), orientation(DISPLAY_ORIENTATION_0), 78 && orientation == other.orientation 101 orientation = DISPLAY_ORIENTATION_0; 129 // The display size or orientation changed. 753 RawAbsoluteAxisInfo orientation; member in struct:android::RawPointerAxes 776 int32_t orientation; member in struct:android::RawPointerData::Pointer 1070 int32_t mOrientation; // orientation for dpad keys 1391 // The components of the viewport are specified in the display's rotated orientation 1451 InputDeviceInfo::MotionRange orientation; member in struct:android::TouchInputMapper::OrientedRanges [all...] |
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 1598 XAuint32 orientation; member in struct:XACameraDescriptor_
|