Searched defs:orientation (Results 51 - 72 of 72) sorted by relevance

123

/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp597 jstring locale, jint orientation,
619 config.orientation = (uint8_t)orientation;
595 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 Dandroid_hardware_camera2_DngCreator.cpp876 // Set orientation
877 uint16_t orientation = 1; // Normal local
878 BAIL_IF_INVALID(writer->addEntry(TAG_ORIENTATION, 1, &orientation, TIFF_IFD_0), env,
1496 uint16_t orientation = static_cast<uint16_t>(orient); local
1497 BAIL_IF_INVALID(writer->addEntry(TAG_ORIENTATION, 1, &orientation, TIFF_IFD_0), env,
1500 // Set main image orientation also if in a separate IFD
1502 BAIL_IF_INVALID(writer->addEntry(TAG_ORIENTATION, 1, &orientation, TIFF_IFD_SUB1), env,
1701 // Make sure both IFDs get the same orientation tag
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java181 * Create a new gradient drawable given an orientation and an array
184 public GradientDrawable(Orientation orientation, int[] colors) { argument
185 this(new GradientState(orientation, colors));
470 * Returns the orientation of the gradient defined in this drawable.
477 * <p>Changes the orientation of the gradient defined in this drawable.</p>
478 * <p><strong>Note</strong>: changing orientation will affect all instances
480 * {@link #mutate()} before changing the orientation.</p>
482 * @param orientation The desired orientation (angle) of the gradient
486 public void setOrientation(Orientation orientation) { argument
1580 GradientState(Orientation orientation, int[] colors) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp341 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 DCameraStreamer.java131 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 DLayer.cpp423 // this gives us only the "orientation" component of the transform
464 * 1) buffer orientation/flip/mirror
466 * 3) layer orientation (screen orientation)
496 // this gives us only the "orientation" component of the transform
497 const uint32_t orientation = transform.getOrientation(); local
498 if (orientation & Transform::ROT_INVALID) {
502 layer.setTransform(orientation);
548 // this gives us only the "orientation" component of the transform
1145 // (Take the buffer's orientation int
1325 uint32_t orientation = 0; local
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java61 * 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);
288 * @return Current orientation.
297 * Sets the orientation of the layout. {@link android.support.v7.widget.LinearLayoutManager}
300 * @param orientation {@link #HORIZONTAL} or {@link #VERTICAL}
302 public void setOrientation(int orientation) { argument
[all...]
H A DStaggeredGridLayoutManager.java102 * Primary orientation is the layout's orientation, secondary orientation is the orientation
111 * The width or height per span, depending on the orientation.
202 * @param spanCount If orientation is vertical, spanCount is number of columns. If
203 * orientation is horizontal, spanCount is number of rows.
204 * @param orientation {@link #VERTICAL} or {@link #HORIZONTAL}
206 public StaggeredGridLayoutManager(int spanCount, int orientation) { argument
207 mOrientation = orientation;
384 setOrientation(int orientation) argument
[all...]
/frameworks/base/core/java/android/view/
H A DMotionEvent.java39 * information about the pressure, size and orientation of the contact area.
631 * <li>For a touch screen or touch pad, reports the orientation of the finger
634 * upwards, is perfectly circular or is of unknown orientation. A positive angle
639 * <li>For a stylus, the orientation indicates the direction in which the stylus
640 * is pointing in relation to the vertical axis of the current orientation of the screen.
649 * @see MotionEvent.PointerCoords#orientation
2128 * Returns the orientation of the touch area and tool area in radians clockwise from vertical
2132 * upwards, is perfectly circular or is of unknown orientation. A positive angle
2625 * Returns a historical orientation coordinate, as per {@link #getOrientation(int)}, that
3336 * The orientation o
3346 public float orientation; field in class:MotionEvent.PointerCoords
[all...]
H A DWindowManagerPolicy.java1066 * Given an orientation constant, returns the appropriate surface rotation,
1069 * @param orientation An orientation constant, such as
1074 public int rotationForOrientationLw(@ActivityInfo.ScreenOrientation int orientation, argument
1078 * Given an orientation constant and a rotation, returns true if the rotation
1079 * has compatible metrics to the requested orientation. For example, if
1085 * @param orientation An orientation constant, such as
1088 * @return True if the rotation is compatible with the requested orientation.
1090 public boolean rotationHasCompatibleMetricsLw(@ActivityInfo.ScreenOrientation int orientation, argument
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java82 * {@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 DGridLayoutManager.java201 * The orientation of a "row".
340 * Dimensions of the view, width or height depending on orientation.
373 * Set to true for RTL layout in horizontal orientation
378 * Set to true for RTL layout in vertical orientation
393 public void setOrientation(int orientation) { argument
394 if (orientation != HORIZONTAL && orientation != VERTICAL) {
395 if (DEBUG) Log.v(getTag(), "invalid orientation: " + orientation);
399 mOrientation = orientation;
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java79 * {@link GridLayout#setOrientation(int) orientation},
161 * The horizontal orientation.
166 * The vertical orientation.
295 * Returns the current orientation.
309 * GridLayout uses the orientation property for two purposes:
317 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first.
328 * orientation as {@code HORIZONTAL} - because {@code TextView} is capable of
331 * Other than the effects above, orientation does not affect the actual layout operation of
337 * @param orientation either {@link #HORIZONTAL} or {@link #VERTICAL}
343 public void setOrientation(int orientation) { argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java277 * <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 DResourceTypes.h983 uint8_t orientation; member in struct:android::ResTable_config::__anon908::__anon909
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java370 * <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 DInputReader_test.cpp140 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 DAudioService.java509 // TODO merge orientation and rotation
644 // TODO merge orientation and rotation
647 Log.v(TAG, "monitoring device orientation");
648 // initialize orientation in AudioSystem
953 public void onOrientationChanged(int orientation) { argument
954 //Even though we're responding to phone orientation events,
4297 // Reset device orientation (if monitored for this device)
5170 // Device orientation
5173 * Handles device configuration changes that may map to a change in the orientation
5174 * or orientation
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java251 Vibrator mVibrator; // Vibrator for giving feedback of orientation changes
350 // Default display does not rotate, apps that require non-default orientation will have to
351 // have the orientation emulated.
762 // orientation, then we need to turn the sensor on.
771 // orientation management,
777 // a window that forces an orientation that does not use the
780 // orientation for a little bit, which can cause orientation
791 * screen turned on and current app has sensor based orientation, enable listeners
793 * screen turned on and current app does not have sensor orientation, disabl
5305 rotationForOrientationLw(int orientation, int lastRotation) argument
5470 rotationHasCompatibleMetricsLw(int orientation, int rotation) argument
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp103 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 DInputReader.h57 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 DOpenMAXAL.h1598 XAuint32 orientation; member in struct:XACameraDescriptor_

Completed in 7527 milliseconds

123