Home
last modified time | relevance | path

Searched refs:layoutDir (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/design/tests/src/android/support/design/widget/
DBaseDynamicCoordinatorLayoutTest.java106 protected ViewAction setLayoutDirection(final int layoutDir) {
122 ViewCompat.setLayoutDirection(view, layoutDir);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DMakeCopy.java206 for (File layoutDir : resDir.listFiles(LAYOUT_DIR_FILTER)) { in addFromFile()
207 if (layoutDir.isDirectory()) { in addFromFile()
208 File targetDir = new File(resTarget, layoutDir.getName()); in addFromFile()
209 for (File layoutFile : layoutDir.listFiles(XML_FILENAME_FILTER)) { in addFromFile()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DStaggeredGridLayoutManager.java1781 private void updateAllRemainingSpans(int layoutDir, int targetLine) {
1786 updateRemainingSpans(mSpans[i], layoutDir, targetLine);
1790 private void updateRemainingSpans(Span span, int layoutDir, int targetLine) {
1792 if (layoutDir == LAYOUT_START) {
1932 private boolean preferLastSpan(int layoutDir) {
1934 return (layoutDir == LAYOUT_START) != mShouldReverseLayout;
1936 return ((layoutDir == LAYOUT_START) == mShouldReverseLayout) == isLayoutRTL();
2121 final int layoutDir;
2123 layoutDir = LAYOUT_END;
2126 layoutDir = LAYOUT_START;
[all …]
DLinearLayoutManager.java1981 final int layoutDir = convertFocusDirectionToLayoutDirection(focusDirection); in onFocusSearchFailed() local
1982 if (layoutDir == LayoutState.INVALID_LAYOUT) { in onFocusSearchFailed()
1988 updateLayoutState(layoutDir, maxScroll, false, state); in onFocusSearchFailed()
1998 if (layoutDir == LayoutState.LAYOUT_START) { in onFocusSearchFailed()
2006 if (layoutDir == LayoutState.LAYOUT_START) { in onFocusSearchFailed()
DGridLayoutManager.java1007 final int layoutDir = convertFocusDirectionToLayoutDirection(focusDirection); in onFocusSearchFailed() local
1008 final boolean ascend = (layoutDir == LayoutState.LAYOUT_END) != mShouldReverseLayout; in onFocusSearchFailed()
/frameworks/base/core/java/com/android/internal/app/
DSuggestedLocaleAdapter.java202 int layoutDir = TextUtils.getLayoutDirectionFromLocale(item.getParent()); in getView() local
204 convertView.setLayoutDirection(layoutDir); in getView()
205 text.setTextDirection(layoutDir == View.LAYOUT_DIRECTION_RTL in getView()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DFocusSearchNavigationTest.java70 public FocusSearchNavigationTest(int orientation, int layoutDir) { in FocusSearchNavigationTest() argument
72 mLayoutDir = layoutDir; in FocusSearchNavigationTest()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1896 final int layoutDir = convertFocusDirectionToLayoutDirection(focusDirection); in onFocusSearchFailed() local
1897 if (layoutDir == LayoutState.INVALID_LAYOUT) { in onFocusSearchFailed()
1902 if (layoutDir == LayoutState.LAYOUT_START) { in onFocusSearchFailed()
1916 updateLayoutState(layoutDir, maxScroll, false, state); in onFocusSearchFailed()
1921 if (layoutDir == LayoutState.LAYOUT_START) { in onFocusSearchFailed()
/frameworks/base/core/java/android/content/res/
DConfiguration.java927 int layoutDir = (screenLayout&SCREENLAYOUT_LAYOUTDIR_MASK); in toString() local
928 switch (layoutDir) { in toString()
933 sb.append(layoutDir >> SCREENLAYOUT_LAYOUTDIR_SHIFT); break; in toString()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2651 const int layoutDir = screenLayout&MASK_LAYOUTDIR; in match() local
2653 if (layoutDir != 0 && layoutDir != setLayoutDir) { in match()