Searched refs:getLayoutDirection (Results 1 – 25 of 106) sorted by relevance
12345
38 && view.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in createRelativeInsetDrawable()57 final int layoutDirection = context.getResources().getConfiguration().getLayoutDirection(); in createRelativeInsetDrawable()
169 public int getLayoutDirection() { in update()170 return anchor.getLayoutDirection(); in update()242 final int layoutDirection = anchor != null ? anchor.getLayoutDirection() in update()285 anchor.getLayoutDirection()); in showAsDropDown()
56 boolean isLtr = getLayoutDirection() == LayoutDirection.LTR; in draw()102 boolean isLtr = getLayoutDirection() == LayoutDirection.LTR; in updatePaint()
125 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in distance()128 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in distance()
93 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;121 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
129 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetLegacyRtl()149 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetsRtl()
192 && shouldMirrorDrawable(background, getLayoutDirection())) { in onDraw()203 && shouldMirrorDrawable(illustration, getLayoutDirection())) { in onDraw()
45 ((BridgeContext) context).getConfiguration().getLayoutDirection() == in ThemePreviewNavigationBar()
61 ((BridgeContext) context).getConfiguration().getLayoutDirection() == in StatusBar()
133 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetLegacyRtl()153 doReturn(View.LAYOUT_DIRECTION_RTL).when(mTemplateLayout).getLayoutDirection(); in testDividerInsetsRtl()
96 if (getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in setLayoutDirection()
442 public int getLayoutDirection(); in getLayoutDirection() method
111 if (getAnchorView().getLayoutDirection() == LayoutDirection.LTR) { in show()
140 if (configuration.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in renderPage()281 .getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in applyPrintAttributes()
297 final int layoutDirection = mAnchorView.getLayoutDirection(); in getInitialMenuPosition()689 dropDownGravity, mAnchorView.getLayoutDirection()); in setGravity()700 mRawDropDownGravity, mAnchorView.getLayoutDirection()); in setAnchorView()
86 boolean isLayoutRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in updateOrder()
496 … final boolean dirChange = oldConfig.getLayoutDirection() != mConfiguration.getLayoutDirection(); in updateIcons()534 final boolean isRtl = mConfiguration.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in orientBackButton()1099 … || mTmpLastConfiguration.getLayoutDirection() != mConfiguration.getLayoutDirection()) { in onConfigurationChanged()
147 public int getLayoutDirection() { in getLayoutDirection() method in DrawableLayoutDirectionHelperTest.ForceRtlView
139 final boolean rtl = anchor.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in assertContextMenuAlignment()
107 if (config.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in MenuDropDownListView()
104 boolean isRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; in layoutIndicator()
117 boolean isLeft = isLeft(gravity, mTextSwitcher.getLayoutDirection()); in setupAnimations()
194 return mContext.getResources().getConfiguration().getLayoutDirection()
200 final int layoutDirection = getLayoutDirection(); in draw()
132 if (this.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in onLayout()