/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...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarContextView.java | 320 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); 321 int x = isLayoutRtl ? r - l - getPaddingRight() : getPaddingLeft(); 327 final int startMargin = (isLayoutRtl ? lp.rightMargin : lp.leftMargin); 328 final int endMargin = (isLayoutRtl ? lp.leftMargin : lp.rightMargin); 329 x = next(x, startMargin, isLayoutRtl); 330 x += positionChild(mClose, x, y, contentHeight, isLayoutRtl); 331 x = next(x, endMargin, isLayoutRtl); 335 x += positionChild(mTitleLayout, x, y, contentHeight, isLayoutRtl); 339 x += positionChild(mCustomView, x, y, contentHeight, isLayoutRtl); [all...] |
ViewUtils.java | 52 public static boolean isLayoutRtl(View view) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DeviceProfile.java | 185 Rect workspacePadding = getWorkspacePadding(false /* isLayoutRtl */); 254 public Rect getSearchBarBounds(boolean isLayoutRtl) { 257 if (isLayoutRtl) { 287 Rect getWorkspacePadding(boolean isLayoutRtl) { 288 Rect searchBarBounds = getSearchBarBounds(isLayoutRtl); 292 if (isLayoutRtl) { 325 private int getWorkspacePageSpacing(boolean isLayoutRtl) { 333 return Math.max(defaultPageSpacingPx, 2 * getWorkspacePadding(isLayoutRtl).left); 344 public float getOverviewModeScale(boolean isLayoutRtl) { 345 Rect workspacePadding = getWorkspacePadding(isLayoutRtl); [all...] |
/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardContainerView.java | 89 final boolean isLayoutRtl = isLayoutRtl(); 122 final int childLeft = (isLayoutRtl) ? width - x - childWidth : x;
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
PercentageBarChart.java | 82 final boolean isLayoutRtl = isLayoutRtl(); 83 if (isLayoutRtl) {
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SlidingPaneLayout.java | 356 final boolean isLayoutRtl = isLayoutRtlSupport(); 357 final int startBound = isLayoutRtl ? (getWidth() - getPaddingRight()) : 359 final int endBound = isLayoutRtl ? getPaddingLeft() : 384 final int clampedChildLeft = Math.max((isLayoutRtl ? endBound : 387 final int clampedChildRight = Math.min((isLayoutRtl ? startBound : 657 final boolean isLayoutRtl = isLayoutRtlSupport(); 658 if (isLayoutRtl) { 664 final int paddingStart = isLayoutRtl ? getPaddingRight() : getPaddingLeft(); 665 final int paddingEnd = isLayoutRtl ? getPaddingLeft() : getPaddingRight(); 693 final int lpMargin = isLayoutRtl ? lp.rightMargin : lp.leftMargin [all...] |
/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;
|
RelativeLayout.java | 447 if (isLayoutRtl() && myWidth == -1) { 485 if (isLayoutRtl()) { 626 if (isLayoutRtl()) { [all...] |
ActionMenuView.java | 447 final boolean isLayoutRtl = isLayoutRtl(); 464 if (isLayoutRtl) { 503 if (isLayoutRtl) {
|
GridView.java | 327 final boolean isLayoutRtl = isLayoutRtl(); 332 if (isLayoutRtl) { 348 nextLeft += (isLayoutRtl ? -1 : +1) * deltaLeft; 359 final int nextChildDir = isLayoutRtl ? -1 : +1; [all...] |
Switch.java | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
NavigationBarView.java | 522 boolean isLayoutRtl = getResources().getConfiguration() 524 if (mIsLayoutRtl != isLayoutRtl) { 529 adjustExtraKeyGravity(rotation90, isLayoutRtl); 534 adjustExtraKeyGravity(rotation270, isLayoutRtl); 536 mIsLayoutRtl = isLayoutRtl; 540 private void adjustExtraKeyGravity(View navBar, boolean isLayoutRtl) { 545 lp.gravity = isLayoutRtl ? Gravity.BOTTOM : Gravity.TOP; 550 lp.gravity = isLayoutRtl ? Gravity.BOTTOM : Gravity.TOP;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
FloatingActionButtonController.java | 221 if (isLayoutRtl()) { 227 private boolean isLayoutRtl() {
|
/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...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionMenuView.java | 451 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); 467 if (isLayoutRtl) { 506 if (isLayoutRtl) {
|
LinearLayoutCompat.java | 319 final boolean isLayoutRtl = ViewUtils.isLayoutRtl(this); 327 if (isLayoutRtl) { 341 if (isLayoutRtl) { 348 if (isLayoutRtl) { [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
AccessibilityUtil.java | 103 public static boolean isLayoutRtl(final View view) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
SwipeHelper.java | 170 public static boolean isLayoutRtl(View view) { 187 mRtl = isLayoutRtl(mCurrView);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
MatchParentShrinkingLinearLayout.java | 359 final boolean isLayoutRtl = isLayoutRtl(); 367 if (isLayoutRtl) { 381 if (isLayoutRtl) { 388 if (isLayoutRtl) { [all...] |