/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
KeyboardUtils.java | 29 public static boolean isKeycodeDirectionStart(int keyCode, boolean isRtl) { 30 return (!isRtl && keyCode == KeyEvent.KEYCODE_DPAD_LEFT) || 31 (isRtl && keyCode == KeyEvent.KEYCODE_DPAD_RIGHT); 38 public static boolean isKeycodeDirectionEnd(int keyCode, boolean isRtl) { 39 return (isRtl && keyCode == KeyEvent.KEYCODE_DPAD_LEFT) || 40 (!isRtl && keyCode == KeyEvent.KEYCODE_DPAD_RIGHT);
|
/frameworks/base/core/java/android/text/ |
TextDirectionHeuristic.java | 33 boolean isRtl(char[] array, int start, int count); 45 boolean isRtl(CharSequence cs, int start, int count);
|
GraphicsOperations.java | 40 float x, float y, boolean isRtl, Paint p); 56 boolean isRtl, float[] advances, int advancesIndex, Paint paint);
|
BidiFormatter.java | 306 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 308 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) { 311 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) { 335 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 337 if (!mIsRtlContext && (isRtl || getEntryDir(str) == DIR_RTL)) { 340 if (mIsRtlContext && (!isRtl || getEntryDir(str) == DIR_LTR)) { 353 public boolean isRtl(String str) { 354 return isRtl((CharSequence) str) [all...] |
MeasuredText.java | 155 boolean isRtl = textDir.isRtl(mChars, 0, len); 156 bidiRequest = isRtl ? Layout.DIR_REQUEST_RTL : Layout.DIR_REQUEST_LTR; 178 boolean isRtl = mDir != Layout.DIR_LEFT_TO_RIGHT; 181 width = paint.getTextRunAdvances(mChars, p, len, p, len, isRtl, widths, p); 186 width = mBuilder.addStyleRun(paint, p, p + len, isRtl); 195 boolean isRtl = (level & 0x1) != 0; 198 paint.getTextRunAdvances(mChars, q, i - q, q, i - q, isRtl, widths, q); 203 totalAdvance += mBuilder.addStyleRun(paint, q, i, isRtl);
|
TextDirectionHeuristics.java | 148 public boolean isRtl(char[] array, int start, int count) { 149 return isRtl(CharBuffer.wrap(array), start, count); 153 public boolean isRtl(CharSequence cs, int start, int count) {
|
/frameworks/support/compat/java/android/support/v4/text/ |
TextDirectionHeuristicCompat.java | 33 boolean isRtl(char[] array, int start, int count); 45 boolean isRtl(CharSequence cs, int start, int count);
|
BidiFormatter.java | 299 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 301 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) { 304 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) { 327 final boolean isRtl = heuristic.isRtl(str, 0, str.length()); 329 if (!mIsRtlContext && (isRtl || getEntryDir(str) == DIR_RTL)) { 332 if (mIsRtlContext && (!isRtl || getEntryDir(str) == DIR_LTR)) { 345 public boolean isRtl(String str) { 346 return isRtl((CharSequence) str) [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
DrawableLayoutDirectionHelper.java | 38 boolean isRtl = Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1 41 isRtl); 51 boolean isRtl = false; 55 isRtl = layoutDirection == View.LAYOUT_DIRECTION_RTL; 58 isRtl); 74 int insetStart, int insetTop, int insetEnd, int insetBottom, boolean isRtl) { 75 if (isRtl) {
|
/frameworks/base/core/java/android/widget/ |
RtlSpacingHelper.java | 73 public void setDirection(boolean isRtl) { 74 if (isRtl == mIsRtl) { 77 mIsRtl = isRtl; 79 if (isRtl) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
RtlSpacingHelper.java | 73 public void setDirection(boolean isRtl) { 74 if (isRtl == mIsRtl) { 77 mIsRtl = isRtl; 79 if (isRtl) {
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
NavigationBar.java | 44 public NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, 46 this(context, density, orientation, isRtl, rtlEnabled, simulatedPlatformVersion, 50 protected NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, 63 if (orientation == LinearLayout.VERTICAL || (isRtl && !rtlEnabled)) { 70 loadIcon(back, "ic_sysbar_back.png", density, isRtl); 72 loadIcon(3, "ic_sysbar_home.png", density, isRtl); 74 loadIcon(recent, "ic_sysbar_recent.png", density, isRtl);
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
ViewPagerTabStrip.java | 81 final boolean isRtl = isRtl(); 83 isRtl ? mIndexForSelection > 0 : (mIndexForSelection < (getChildCount() - 1)); 86 View nextTitle = getChildAt(mIndexForSelection + (isRtl ? -1 : 1)); 106 private boolean isRtl() {
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
ViewPagerTabStrip.java | 78 final boolean isRtl = isRtl(); 79 final boolean hasNextTab = isRtl ? mIndexForSelection > 0 83 View nextTitle = getChildAt(mIndexForSelection + (isRtl ? -1 : 1)); 99 private boolean isRtl() {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
HorizontalHoverCardSwitcher.java | 50 boolean isRtl = ViewCompat.getLayoutDirection(view) == ViewCompat.LAYOUT_DIRECTION_RTL; 51 if (!isRtl && mCardLeft + view.getMeasuredWidth() > rightLimit) { 53 } else if (isRtl && mCardLeft < leftLimit) { 55 } else if (isRtl) {
|
TitleHelper.java | 48 final boolean isRtl = ViewCompat.getLayoutDirection(focused) 50 final int forward = isRtl ? View.FOCUS_LEFT : View.FOCUS_RIGHT;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
FocusHelper.java | 112 final boolean isLayoutRtl = Utilities.isRtl(v.getResources()); 262 pageCount, Utilities.isRtl(v.getResources())); 375 pageCount, Utilities.isRtl(v.getResources())); 376 boolean isRtl = Utilities.isRtl(v.getResources()); 398 newPageIndex, pageCount, Utilities.isRtl(v.getResources())); 401 isRtl); 404 isRtl); 412 newIcon = getFirstFocusableIconInReadingOrder(workspaceLayout, isRtl); 415 newIcon = getFirstFocusableIconInReadingOrder(hotseatLayout, isRtl); [all...] |
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/phone/ |
NavGesture.java | 36 public void setBarState(boolean vertical, boolean isRtl);
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
OverviewScreenAccessibilityDelegate.java | 44 boolean isRtl = Utilities.isRtl(context.getResources()); 46 context.getText(isRtl ? R.string.action_move_screen_right : 49 context.getText(isRtl ? R.string.action_move_screen_left :
|
/frameworks/minikin/include/minikin/ |
Layout.h | 118 size_t bufSize, bool isRtl, LayoutContext* ctx, size_t dstStart, 123 bool isRtl, LayoutContext* ctx, size_t bufStart, 128 bool isRtl, LayoutContext* ctx, const std::shared_ptr<FontCollection>& collection);
|
/frameworks/base/core/java/android/transition/ |
SidePropagation.java | 125 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; 126 side = isRtl ? Gravity.RIGHT : Gravity.LEFT; 128 final boolean isRtl = sceneRoot.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; 129 side = isRtl ? Gravity.LEFT : Gravity.RIGHT;
|
/frameworks/support/transition/src/android/support/transition/ |
SidePropagation.java | 125 final boolean isRtl = ViewCompat.getLayoutDirection(sceneRoot) 127 side = isRtl ? Gravity.RIGHT : Gravity.LEFT; 129 final boolean isRtl = ViewCompat.getLayoutDirection(sceneRoot) 131 side = isRtl ? Gravity.LEFT : Gravity.RIGHT;
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
FastScrollThumbDrawable.java | 37 public FastScrollThumbDrawable(Paint paint, boolean isRtl) { 39 mIsRtl = isRtl;
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
ApiCompatibilityUtils.java | 221 boolean isRtl = isLayoutRtl(textView); 222 textView.setCompoundDrawables(isRtl ? end : start, top, isRtl ? start : end, bottom); 238 boolean isRtl = isLayoutRtl(textView); 239 textView.setCompoundDrawablesWithIntrinsicBounds(isRtl ? end : start, top, 240 isRtl ? start : end, bottom); 256 boolean isRtl = isLayoutRtl(textView); 257 textView.setCompoundDrawablesWithIntrinsicBounds(isRtl ? end : start, top, 258 isRtl ? start : end, bottom);
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
FocusLogic.java | 85 int pageCount, boolean isRtl) { 99 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, -1 /*increment*/, isRtl); 100 if (!isRtl && newIndex == NOOP && pageIndex > 0) { 102 } else if (isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { 107 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, 1 /*increment*/, isRtl); 108 if (!isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { 110 } else if (isRtl && newIndex == NOOP && pageIndex > 0) { 326 int[][] matrix, int increment, boolean isRtl) { 390 if (isRtl) {
|