Searched refs:mOrientation (Results 1 - 25 of 53) sorted by path

123

/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp57 mOrientation = getOrientation(0, mCameraFacing == CAMERA_FACING_FRONT);
303 mHardware->setPreviewTransform(mOrientation);
412 mHardware->setPreviewTransform(mOrientation);
682 if (mOrientation != orientation) {
683 mOrientation = orientation;
685 mHardware->setPreviewTransform(mOrientation);
H A DCameraClient.h135 int mOrientation; // Current display orientation member in class:android::CameraClient
/frameworks/base/core/java/android/gesture/
H A DGestureOverlayView.java86 private int mOrientation = ORIENTATION_VERTICAL; field in class:GestureOverlayView
173 mOrientation = a.getInt(R.styleable.GestureOverlayView_orientation, mOrientation);
201 return mOrientation;
205 mOrientation = orientation;
658 (mOrientation == ORIENTATION_VERTICAL ?
/frameworks/base/core/java/android/view/
H A DOrientationEventListener.java34 private int mOrientation = ORIENTATION_UNKNOWN; field in class:OrientationEventListener
141 if (orientation != mOrientation) {
142 mOrientation = orientation;
/frameworks/base/core/java/android/widget/
H A DGridLayout.java263 int mOrientation = DEFAULT_ORIENTATION; field in class:GridLayout
315 return mOrientation;
355 if (this.mOrientation != orientation) {
356 this.mOrientation = orientation;
733 final boolean horizontal = (mOrientation == HORIZONTAL);
1014 boolean horizontal = (mOrientation == HORIZONTAL);
1057 if (mOrientation == HORIZONTAL) {
H A DLinearLayout.java111 * if {@link #mOrientation} is horizontal.
135 private int mOrientation; field in class:LinearLayout
351 if (mOrientation == VERTICAL) {
538 if (mOrientation == VERTICAL) {
639 if (mOrientation == VERTICAL) {
1493 if (mOrientation == VERTICAL) {
1599 if (mOrientation == HORIZONTAL) {
1752 if (mOrientation != orientation) {
1753 mOrientation = orientation;
1765 return mOrientation;
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java167 private int mOrientation; field in class:RotarySelector
182 mOrientation = a.getInt(R.styleable.RotarySelector_orientation, HORIZONTAL);
242 return mOrientation == HORIZONTAL;
H A DSlidingTab.java84 private final int mOrientation; field in class:SlidingTab
460 mOrientation = a.getInt(R.styleable.SlidingTab_orientation, HORIZONTAL);
722 return mOrientation == HORIZONTAL;
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp192 uint16_t mOrientation; member in class:NativeContext
205 mThumbnailHeight(0), mOrientation(TAG_ORIENTATION_UNKNOWN), mThumbnailSet(false),
255 mOrientation = orientation;
259 return mOrientation;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java80 mState.mOrientation = orientation;
143 state.mOrientation = a.getInt(
144 R.styleable.ClipDrawable_clipOrientation, state.mOrientation);
186 if ((mState.mOrientation & HORIZONTAL) != 0) {
192 if ((mState.mOrientation & VERTICAL) != 0) {
216 int mOrientation = HORIZONTAL; field in class:ClipDrawable.ClipState
223 mOrientation = orig.mOrientation;
H A DGradientDrawable.java601 return mGradientState.mOrientation;
617 mGradientState.mOrientation = orientation;
1067 switch (st.mOrientation) {
1553 st.mOrientation = Orientation.LEFT_RIGHT;
1556 st.mOrientation = Orientation.BL_TR;
1559 st.mOrientation = Orientation.BOTTOM_TOP;
1562 st.mOrientation = Orientation.BR_TL;
1565 st.mOrientation = Orientation.RIGHT_LEFT;
1568 st.mOrientation = Orientation.TR_BL;
1571 st.mOrientation
1742 public Orientation mOrientation; field in class:GradientDrawable.GradientState
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java122 private int mOrientation = 0; field in class:BackDropperFilter
974 if (mOrientation == 0 || mOrientation == 180) {
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DMediaSource.java95 private int mOrientation = 0; field in class:MediaSource
295 switch (mOrientation) {
319 Log.v(TAG, "OrientationHint = " + mOrientation);
412 if (mOrientation == 0 || mOrientation == 180) {
516 if (mOrientation == 0 || mOrientation == 180) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java805 private int mOrientation = -1; field in class:CameraStreamer.CameraRunnable
1261 mOrientation = -1; // Forces recalculation to match display
1394 if (mOrientation != fixedOrientation) {
1395 mOrientation = fixedOrientation;
1396 mCamFrameHandler.onUpdateCameraOrientation(mOrientation);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java155 private ScreenOrientation mOrientation = ScreenOrientation.PORTRAIT; field in class:ConfigGenerator
182 config.setScreenOrientationQualifier(new ScreenOrientationQualifier(mOrientation));
199 mOrientation, null, mSoftButtons);
279 mOrientation = orientation;
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
H A DBaseDataBinderTest.java31 private int mOrientation; field in class:BaseDataBinderTest
41 mOrientation = orientation;
47 getActivity().setRequestedOrientation(mOrientation);
/frameworks/native/services/inputflinger/
H A DInputReader.cpp2136 dump.appendFormat(INDENT3 "Orientation: %d\n", mOrientation);
2156 mOrientation = v.orientation;
2158 mOrientation = DISPLAY_ORIENTATION_0;
2161 mOrientation = DISPLAY_ORIENTATION_0;
2251 keyCode = rotateKeyCode(keyCode, mOrientation);
2454 dump.appendFormat(INDENT3 "Orientation: %d\n", mOrientation);
2503 mOrientation = v.orientation;
2505 mOrientation = DISPLAY_ORIENTATION_0;
2508 mOrientation = DISPLAY_ORIENTATION_0;
2608 rotateDelta(mOrientation,
[all...]
H A DInputReader.h1137 int32_t mOrientation; // orientation for dpad keys member in class:android::KeyboardInputMapper
1230 int32_t mOrientation; member in class:android::CursorInputMapper
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp102 mOrientation(),
428 switch (mOrientation) {
554 mOrientation = orientation;
557 switch (mOrientation) {
591 mOrientation, tr.getType(), getPageFlipCount(),
H A DDisplayDevice.h130 int getOrientation() const { return mOrientation; }
241 int mOrientation; member in class:android::DisplayDevice
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DReusableBitmap.java30 private int mOrientation; field in class:ReusableBitmap
66 return mOrientation;
70 mOrientation = orientation;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java237 if (mOrientation == HORIZONTAL) {
350 if (mOrientation == HORIZONTAL) {
411 private int mOrientation = HORIZONTAL; field in class:GridLayoutManager
649 mOrientation = orientation;
650 mOrientationHelper = OrientationHelper.createOrientationHelper(this, mOrientation);
657 if (mOrientation == HORIZONTAL) {
767 if (mOrientation == HORIZONTAL) {
775 if (mOrientation == HORIZONTAL) {
936 return mOrientation == HORIZONTAL || mNumRows > 1;
943 return mOrientation
[all...]
H A DItemAlignment.java35 private int mOrientation; field in class:ItemAlignment.Axis
38 mOrientation = orientation;
45 return ItemAlignmentFacetHelper.getAlignmentPosition(itemView, this, mOrientation);
49 private int mOrientation = HORIZONTAL; field in class:ItemAlignment
68 mOrientation = orientation;
69 if (mOrientation == HORIZONTAL) {
79 return mOrientation;
H A DWindowAlignment.java273 private int mOrientation = HORIZONTAL; field in class:WindowAlignment
292 mOrientation = orientation;
293 if (mOrientation == HORIZONTAL) {
303 return mOrientation;
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DGridActivity.java88 int mOrientation; field in class:GridActivity
114 mOrientation = mGridView instanceof HorizontalGridView ? BaseGridView.HORIZONTAL :
183 if (mOrientation == BaseGridView.HORIZONTAL) {
451 if (mOrientation == BaseGridView.HORIZONTAL) {

Completed in 520 milliseconds

123