/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 74 IBinder displayToken, int orientation, 556 int orientation, Rect layerStackRect, Rect displayRect) { 566 nativeSetDisplayProjection(displayToken, orientation, 693 * screenshots in its native portrait orientation by default, so this is 695 * orientation. 73 nativeSetDisplayProjection( IBinder displayToken, int orientation, int l, int t, int r, int b, int L, int T, int R, int B) argument 555 setDisplayProjection(IBinder displayToken, int orientation, Rect layerStackRect, Rect displayRect) argument
|
H A D | MotionEvent.java | 39 * 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...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayContent.java | 180 final int orientation = mDisplayInfo.rotation; 181 boolean rotated = (orientation == Surface.ROTATION_90 182 || orientation == Surface.ROTATION_270);
|
H A D | AppTransition.java | 573 int appWidth, int appHeight, int orientation, int transit, Rect containingFrame, 588 if (orientation == Configuration.ORIENTATION_PORTRAIT) { 652 if (orientation == Configuration.ORIENTATION_PORTRAIT) { 811 int appWidth, int appHeight, int orientation, Rect containingFrame, Rect contentInsets, 874 getThumbnailTransitionState(enter), appWidth, appHeight, orientation, 572 createAspectScaledThumbnailEnterExitAnimationLocked(int thumbTransitState, int appWidth, int appHeight, int orientation, int transit, Rect containingFrame, Rect contentInsets, boolean isFullScreen) argument 810 loadAnimation(WindowManager.LayoutParams lp, int transit, boolean enter, int appWidth, int appHeight, int orientation, Rect containingFrame, Rect contentInsets, boolean isFullScreen, boolean isVoiceInteraction) argument
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | CameraClient.h | 121 int getOrientation(int orientation, bool mirror); 131 int mOrientation; // Current display orientation
|
H A D | CameraClient.cpp | 617 int orientation; local 624 orientation = getOrientation(arg1, mCameraFacing == CAMERA_FACING_FRONT); 625 if (orientation == -1) return BAD_VALUE; 627 if (mOrientation != orientation) { 628 mOrientation = orientation;
|
/frameworks/base/libs/input/ |
H A D | PointerController.h | 96 void setDisplayViewport(int32_t width, int32_t height, int32_t orientation);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | TextureViewActivity.java | 143 return (info.orientation - degrees + 360) % 360;
|
/frameworks/base/tools/aapt/ |
H A D | AaptConfig.cpp | 404 if (out) out->orientation = out->ORIENTATION_ANY; 407 if (out) out->orientation = out->ORIENTATION_PORT; 410 if (out) out->orientation = out->ORIENTATION_LAND; 413 if (out) out->orientation = out->ORIENTATION_SQUARE;
|
/frameworks/base/core/java/android/app/ |
H A D | ResourcesManager.java | 120 config.orientation = Configuration.ORIENTATION_LANDSCAPE; 124 config.orientation = Configuration.ORIENTATION_PORTRAIT;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 67 * @param orientation Bitwise-or of {@link #HORIZONTAL} and/or {@link #VERTICAL} 69 public ClipDrawable(Drawable drawable, int gravity, int orientation) { argument 74 mState.mOrientation = orientation;
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 423 // 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...] |
H A D | Transform.cpp | 40 Transform::Transform(uint32_t orientation) { argument 41 set(orientation, 0, 0);
|
/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); 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...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 372 ps.mCoords.touchMinor, ps.mCoords.orientation, mPaint); 377 ps.mCoords.toolMinor, ps.mCoords.orientation, mPaint); 379 // Draw the orientation arrow. 385 float orientationVectorX = (float) (Math.sin(ps.mCoords.orientation) 387 float orientationVectorY = (float) (-Math.cos(ps.mCoords.orientation) 391 // Show full circle orientation. 397 // Show half circle orientation. 406 // Draw the tilt point along the orientation arrow. 506 .append(" Orientation=").append((float)(coords.orientation * 180 / Math.PI), 1)
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureOverlayView.java | 203 public void setOrientation(int orientation) { argument 204 mOrientation = orientation; 649 float angle = Math.abs(box.orientation);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyRequestMapper.java | 400 // jpeg.orientation 402 Integer orientation = request.get(CaptureRequest.JPEG_ORIENTATION); 404 (orientation == null) ? 0 : orientation));
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsContract.java | 868 // communicate the orientation, since EXIF thumbnails don't contain 871 final int orientation = (extras != null) ? extras.getInt(EXTRA_ORIENTATION, 0) : 0; 872 if (orientation != 0) { 877 m.setRotate(orientation, width / 2, height / 2); 992 * thumbnail if available, and providing orientation hints from the parent
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 241 cameraInfo->orientation = info.orientation; 254 int32_t orientation = static_cast<int32_t>(info.orientation); local 255 if ((ret = shimInfo.update(ANDROID_SENSOR_ORIENTATION, &orientation, 1)) != OK) { 1667 result.appendFormat(" Orientation: %d\n", info.orientation);
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
H A D | ConfigGenerator.java | 250 public ConfigGenerator setOrientation(ScreenOrientation orientation) { argument 251 mOrientation = orientation;
|
/frameworks/native/services/inputflinger/ |
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/support/v4/kitkat/android/support/v4/print/ |
H A D | PrintHelperKitkat.java | 134 * @param orientation The page orientation which is one of 137 public void setOrientation(int orientation) { argument 138 mOrientation = orientation; 142 * Gets the page orientation with which the image will be printed. 144 * @return The preferred orientation which is one of
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerTest.java | 66 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { 71 mBaseVariations.add(new Config(orientation, reverseLayout, spanCount, 907 assertEquals("on saved state, orientation should be preserved", 1079 assertEquals(config + " on saved state, orientation should be preserved", 1621 public WrappedLayoutManager(int spanCount, int orientation) { argument 1622 super(spanCount, orientation); 1834 GridTestAdapter(int count, int orientation) { argument 1836 mOrientation = orientation; 1916 Config(int orientation, boolean reverseLayout, int spanCount, int gapStrategy) { argument 1917 mOrientation = orientation; 1927 orientation(int orientation) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 47 jfieldID orientation; member in struct:fields_t 506 env->SetIntField(info_obj, fields.orientation, cameraInfo.orientation); 878 jniThrowRuntimeException(env, "set display orientation failed"); 1062 { "android/hardware/Camera$CameraInfo", "orientation", "I", &fields.orientation },
|
H A D | android_view_MotionEvent.cpp | 56 jfieldID orientation; member in struct:android::__anon865 212 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.orientation)); 274 env->SetFloatField(outPointerCoordsObj, gPointerCoordsClassInfo.orientation, 910 GET_FIELD_ID(gPointerCoordsClassInfo.orientation, clazz, 911 "orientation", "F");
|