Searched refs:mOrientation (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DItemAlignment.java31 private int mOrientation; field in class:ItemAlignment.Axis
34 mOrientation = orientation;
41 return ItemAlignmentFacetHelper.getAlignmentPosition(itemView, this, mOrientation);
45 private int mOrientation = HORIZONTAL; field in class:ItemAlignment
64 mOrientation = orientation;
65 if (mOrientation == HORIZONTAL) {
75 return mOrientation;
H A DWindowAlignment.java354 private int mOrientation = HORIZONTAL; field in class:WindowAlignment
373 mOrientation = orientation;
374 if (mOrientation == HORIZONTAL) {
384 return mOrientation;
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteHardwareConfig.java39 private ScreenOrientation mOrientation; field in class:RemoteHardwareConfig
61 mOrientation = orientation;
69 mOrientation, mScreenRoundness, mHasSoftwareButtons);
/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/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DLinearLayoutManagerWrapContentWithAspectRatioTest.java115 int testOrientation = mConfig.mOrientation == VERTICAL ? HORIZONTAL : VERTICAL;
157 assertThat("first child dependant size", getSize(itemView1, mConfig.mOrientation),
163 assertThat("second child dependant size", getSize(itemView2, mConfig.mOrientation),
169 assertThat("third child dependant size", getSize(itemView3, mConfig.mOrientation),
203 final int totalScrollSize = getSize(itemView1, mConfig.mOrientation)
204 + getSize(itemView2, mConfig.mOrientation)
205 + getSize(itemView3, mConfig.mOrientation);
207 getSize(mRecyclerView, mConfig.mOrientation), CoreMatchers.is(totalScrollSize));
213 LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.mOrientation,
H A DGridLayoutManagerCacheTest.java116 if ((config.mOrientation == HORIZONTAL && mDx == 0)
117 || (config.mOrientation == VERTICAL && mDy == 0)) {
122 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
H A DLinearLayoutManagerCacheTest.java106 if ((config.mOrientation == HORIZONTAL && mDx == 0)
107 || (config.mOrientation == VERTICAL && mDy == 0)) {
110 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
H A DGridLayoutManagerRtlTest.java78 if (mOneLine && mConfig.mOrientation != VERTICAL) {
103 if (mConfig.mOrientation == HORIZONTAL) {
124 final int secondChildPos = mConfig.mOrientation == VERTICAL ? 1
131 if (mConfig.mOrientation == VERTICAL || !mConfig.mReverseLayout) {
H A DLinearLayoutManagerWrapContentTest.java53 unspecifiedWithHintTest(mConfig.mOrientation == StaggeredGridLayoutManager.HORIZONTAL);
151 LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.mOrientation,
159 if (mConfig.mOrientation == HORIZONTAL) {
171 if (mConfig.mOrientation == VERTICAL) {
H A DStaggeredGridLayoutManagerWrapContentTest.java41 int mOrientation = StaggeredGridLayoutManager.VERTICAL; field in class:StaggeredGridLayoutManagerWrapContentTest
61 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL);
86 mOrientation = HORIZONTAL;
149 return new StaggeredGridLayoutManager(3, mOrientation);
H A DGridLayoutManagerWrapContentWithAspectRatioTest.java96 if (mConfig.mOrientation == VERTICAL) {
107 mLayoutManager, 1 - mConfig.mOrientation);
154 assertThat(behavior1.getSpec(1, mConfig.mOrientation),
166 assertThat(behavior1.getSpec(2, mConfig.mOrientation),
174 assertThat(behavior2.getSpec(1, mConfig.mOrientation),
232 assertThat(behavior1.getSpec(1, mConfig.mOrientation),
244 assertThat(behavior1.getSpec(2, mConfig.mOrientation),
252 assertThat(behavior2.getSpec(1, mConfig.mOrientation),
316 assertThat(behavior1.getSpec(1, mConfig.mOrientation),
324 assertThat(behavior2.getSpec(1, mConfig.mOrientation),
[all...]
H A DFocusSearchNavigationTest.java69 private final int mOrientation; field in class:FocusSearchNavigationTest
73 mOrientation = orientation;
107 linearLayout.setOrientation(mOrientation);
111 layout.setOrientation(mOrientation);
113 mRecyclerView.setAdapter(new FocusSearchAdapter(itemCount, mOrientation));
114 if (mOrientation == VERTICAL) {
242 private int mOrientation; field in class:FocusSearchNavigationTest.FocusSearchAdapter
245 mOrientation = orientation;
253 if (mOrientation == VERTICAL) {
H A DGridLayoutManagerCustomSizeInScrollDirectionTest.java88 if (mConfig.mOrientation == HORIZONTAL) {
106 if (mConfig.mOrientation == HORIZONTAL) {
120 final int size = mConfig.mOrientation == HORIZONTAL ? child.getWidth()
H A DStaggeredGridLayoutManagerCacheTest.java130 if ((config.mOrientation == HORIZONTAL && mDx == 0)
131 || (config.mOrientation == VERTICAL && mDy == 0)) {
136 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java98 new GridTestAdapter(mConfig.mItemCount, mConfig.mOrientation) {
104 if (mOrientation == HORIZONTAL) {
127 View child1 = mLayoutManager.findViewByPosition(mConfig.mOrientation == VERTICAL ? 1
132 if (mConfig.mOrientation == VERTICAL || !mConfig.mReverseLayout) {
267 config.mOrientation);
361 if (mConfig.mOrientation == LinearLayoutManager.HORIZONTAL) {
390 if (mConfig.mOrientation == HORIZONTAL) {
411 if (config.mOrientation == HORIZONTAL) {
431 if (config.mOrientation == HORIZONTAL) {
445 if (config.mOrientation
[all...]
H A DBaseGridLayoutManagerTest.java54 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation,
109 int mOrientation = GridLayoutManager.VERTICAL; field in class:BaseGridLayoutManagerTest.Config
121 mOrientation = orientation;
126 mOrientation = orientation;
134 + ",mOrientation=" + (mOrientation == GridLayoutManager.HORIZONTAL ? "h" : "v")
H A DLinearLayoutManagerSavedStateTest.java150 config.mOrientation = 1 - config.mOrientation;
151 layoutManager().setOrientation(config.mOrientation);
308 mConfig.mOrientation, mConfig.mReverseLayout);
332 mConfig.mOrientation, mLayoutManager.getOrientation());
/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;
/frameworks/av/include/media/
H A DMicrophoneInfo.h53 mOrientation.push_back(characteristic.orientation.x);
54 mOrientation.push_back(characteristic.orientation.y);
55 mOrientation.push_back(characteristic.orientation.z);
84 RETURN_IF_FAILED(writeFloatVector(parcel, mOrientation));
113 RETURN_IF_FAILED(readFloatVector(parcel, &mOrientation, 3));
178 return mOrientation;
237 Vector<float> mOrientation; member in class:android::media::MicrophoneInfo
/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/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/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DDividerItemDecoration.java54 private int mOrientation; field in class:DividerItemDecoration
87 mOrientation = orientation;
107 if (mOrientation == VERTICAL) {
175 if (mOrientation == VERTICAL) {
/frameworks/base/media/java/android/media/
H A DMicrophoneInfo.java151 private Coordinate3F mOrientation; field in class:MicrophoneInfo
178 mOrientation = orientation;
288 return mOrientation;
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridWidgetTest.java91 protected int mOrientation; field in class:GridWidgetTest
98 if (mOrientation == BaseGridView.HORIZONTAL) {
199 if (mOrientation == BaseGridView.HORIZONTAL) {
209 if (mOrientation == BaseGridView.HORIZONTAL) {
224 if (mOrientation == BaseGridView.HORIZONTAL) {
234 if (mOrientation == BaseGridView.HORIZONTAL) {
255 if (mOrientation == BaseGridView.HORIZONTAL) {
291 if (mOrientation == BaseGridView.HORIZONTAL) {
305 if (mOrientation == BaseGridView.HORIZONTAL) {
337 if (mOrientation
[all...]
/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) {

Completed in 486 milliseconds

123