MCPcopy Create free account
hub / github.com/cinit/TMoe / isRTL

Method isRTL

app/src/main/java/cc/ioctl/tmoe/ui/LocaleController.java:106–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 }
105
106 public static boolean isRTL() {
107 Class<?> kLocaleController = Initiator.load("org.telegram.messenger.LocaleController");
108 if (kLocaleController != null) {
109 try {
110 return Boolean.TRUE.equals(Reflex.getStaticObject(kLocaleController, "isRTL", boolean.class));
111 } catch (NoSuchFieldException ignored) {
112 }
113 }
114 // unable to load LocaleController
115 return false;
116 }
117
118 public static void invalidate() {
119 // nothing to invalidate yet

Callers 15

getAbsoluteGravityMethod · 0.95
getAbsoluteGravityEndMethod · 0.95
FastScrollMethod · 0.95
dispatchDrawMethod · 0.95
HeaderCellMethod · 0.95
TextCheckCellMethod · 0.95
getLastTouchXMethod · 0.95
isInSwitchRangeMethod · 0.95
onDrawMethod · 0.95
TextInfo2CellMethod · 0.95

Calls 3

loadMethod · 0.95
getStaticObjectMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected