/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContextView.java | 383 final boolean isLayoutRtl = isLayoutRtl(); 384 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); 390 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); 391 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); 392 x = next(x, startMargin, isLayoutRtl); 393 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); 394 x = next(x, endMargin, isLayoutRtl); 399 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); 403 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); [all...] |
ActionBarView.java | [all...] |
NotificationActionListLayout.java | 202 final boolean isLayoutRtl = isLayoutRtl(); 232 if (isLayoutRtl) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionBarContextView.java | 317 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); 318 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); 324 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); 325 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); 326 x = next(x, startMargin, isLayoutRtl); 327 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); 328 x = next(x, endMargin, isLayoutRtl); 332 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); 336 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); [all...] |
ViewUtils.java | 52 public static boolean isLayoutRtl(View view) {
|
ActionMenuView.java | 448 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); 464 if (isLayoutRtl) { 503 if (isLayoutRtl) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
ReverseLinearLayout.java | 85 boolean isLayoutRtl = getLayoutDirection() == LAYOUT_DIRECTION_RTL; 86 boolean isLayoutReverse = isLayoutRtl ^ mIsAlternativeOrder;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DeviceProfile.java | 196 Rect workspacePadding = getWorkspacePadding(false /* isLayoutRtl */); 297 public Rect getSearchBarBounds(boolean isLayoutRtl) { 300 if (isLayoutRtl) { 330 Rect getWorkspacePadding(boolean isLayoutRtl) { 331 Rect searchBarBounds = getSearchBarBounds(isLayoutRtl); 335 if (isLayoutRtl) { 371 private int getWorkspacePageSpacing(boolean isLayoutRtl) { 379 return Math.max(defaultPageSpacingPx, 2 * getWorkspacePadding(isLayoutRtl).left); 450 final boolean isLayoutRtl = Utilities.isRtl(launcher.getResources()); 453 Rect searchBarBounds = getSearchBarBounds(isLayoutRtl); [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
PercentageBarChart.java | 82 final boolean isLayoutRtl = isLayoutRtl(); 83 if (isLayoutRtl) {
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
SlidingPaneLayout.java | 359 final boolean isLayoutRtl = isLayoutRtlSupport(); 360 final int startBound = isLayoutRtl ? (getWidth() - getPaddingRight()) : getPaddingLeft(); 361 final int endBound = isLayoutRtl ? getPaddingLeft() : (getWidth() - getPaddingRight()); 388 (isLayoutRtl ? endBound : startBound), child.getLeft()); 391 (isLayoutRtl ? startBound : endBound), child.getRight()); 664 final boolean isLayoutRtl = isLayoutRtlSupport(); 665 if (isLayoutRtl) { 671 final int paddingStart = isLayoutRtl ? getPaddingRight() : getPaddingLeft(); 672 final int paddingEnd = isLayoutRtl ? getPaddingLeft() : getPaddingRight(); 700 final int lpMargin = isLayoutRtl ? lp.rightMargin : lp.leftMargin [all...] |
FocusStrategy.java | 38 @Nullable T focused, @FocusRelativeDirection int direction, boolean isLayoutRtl, 46 final SequentialComparator<T> comparator = new SequentialComparator<>(isLayoutRtl, adapter); 101 SequentialComparator(boolean isLayoutRtl, BoundsAdapter<T> adapter) { 102 mIsLayoutRtl = isLayoutRtl;
|
/frameworks/base/core/java/android/widget/ |
ExpandableListView.java | 304 final boolean isLayoutRtl = isLayoutRtl(); 305 if (isLayoutRtl) { 330 final boolean isLayoutRtl = isLayoutRtl(); 331 if (isLayoutRtl) { 410 final boolean isLayoutRtl = isLayoutRtl(); 426 if (isLayoutRtl) { [all...] |
CalendarViewLegacyDelegate.java | [all...] |
CompoundButton.java | 371 if (!isLayoutRtl()) { 383 if (isLayoutRtl()) { 421 final int left = isLayoutRtl() ? getWidth() - drawableWidth : 0; 422 final int right = isLayoutRtl() ? getWidth() : drawableWidth;
|
SimpleMonthView.java | 393 focusChanged = moveOneDay(isLayoutRtl()); 398 focusChanged = moveOneDay(!isLayoutRtl()); 551 return isLayoutRtl() ? DAYS_IN_WEEK - columnFromLeft - 1: columnFromLeft; 644 if (isLayoutRtl()) { 671 if (isLayoutRtl()) { [all...] |
ActionMenuView.java | 447 final boolean isLayoutRtl = isLayoutRtl(); 464 if (isLayoutRtl) { 503 if (isLayoutRtl) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
FloatingActionButtonController.java | 220 if (isLayoutRtl()) { 226 private boolean isLayoutRtl() {
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
DrawerArrowDrawable.java | 32 * with carArrow and the abstract {@link #isLayoutRtl()} set to false. 101 public boolean isLayoutRtl() { 115 final boolean isRtl = isLayoutRtl();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
PagedTileLayout.java | 47 mPageListener.onPageChanged(isLayoutRtl() ? position == mPages.size() - 1 60 (isLayoutRtl() ? position == mPages.size() - 1 : position == 0)); 80 if (isLayoutRtl()) { 305 if (isLayoutRtl()) {
|
/packages/apps/Settings/src/com/android/settings/ |
PreviewSeekBarPreferenceFragment.java | 149 final boolean isLayoutRtl = origConfig.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; 156 mPreviewPagerAdapter = new PreviewPagerAdapter(context, isLayoutRtl, 159 mPreviewPager.setCurrentItem(isLayoutRtl ? mPreviewSampleResIds.length - 1 : 0);
|
PreviewPagerAdapter.java | 60 public PreviewPagerAdapter(Context context, boolean isLayoutRtl, 62 mIsLayoutRtl = isLayoutRtl;
|
/packages/apps/Settings/src/com/android/settings/display/ |
ConversationMessageView.java | 130 final boolean isRtl = isLayoutRtl(this); 166 private static boolean isLayoutRtl(final View view) { 223 if (isLayoutRtl(this)) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
StreamingTextView.java | 254 boolean rtl = isLayoutRtl(StreamingTextView.this); 285 public static boolean isLayoutRtl(View view) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ShortcutAndWidgetContainer.java | 127 return mInvertIfRtl && isLayoutRtl(); 130 public boolean isLayoutRtl() {
|
PagedView.java | 260 * Note: this is a reimplementation of View.isLayoutRtl() since that is currently hidden api. 262 public boolean isLayoutRtl() { 411 final boolean isRtl = isLayoutRtl(); 587 final int index = isLayoutRtl() ? 0 : childCount - 1; 653 final boolean isRtl = isLayoutRtl(); 736 final boolean isRtl = isLayoutRtl(); 784 final boolean isRtl = isLayoutRtl(); [all...] |