HomeSort by relevance Sort by last modified time
    Searched defs:CompatUtils (Results 1 - 6 of 6) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
LooperCompatUtils.java 32 private static final Method METHOD_quitSafely = CompatUtils.getMethod(
37 CompatUtils.invoke(looper, null /* default return value */, METHOD_quitSafely);
TextViewCompatUtils.java 28 CompatUtils.getMethod(TextView.class, "setCompoundDrawablesRelativeWithIntrinsicBounds",
41 CompatUtils.invoke(textView, null, METHOD_setCompoundDrawablesRelativeWithIntrinsicBounds,
UserDictionaryCompatUtils.java 28 private static final Method METHOD_addWord = CompatUtils.getMethod(Words.class, "addWord",
35 CompatUtils.invoke(Words.class, null, METHOD_addWord, context, word, freq, shortcut,
NotificationCompatUtils.java 28 CompatUtils.getMethod(Notification.Builder.class, "setColor", int.class);
30 CompatUtils.getMethod(Notification.Builder.class, "setVisibility", int.class);
32 CompatUtils.getMethod(Notification.Builder.class, "setCategory", String.class);
34 CompatUtils.getMethod(Notification.Builder.class, "setPriority", int.class);
36 CompatUtils.getMethod(Notification.Builder.class, "build");
38 CompatUtils.getField(Notification.class, "VISIBILITY_SECRET");
40 : (Integer) CompatUtils.getFieldValue(null /* receiver */, null /* defaultValue */,
43 CompatUtils.getField(Notification.class, "CATEGORY_RECOMMENDATION");
45 : (String) CompatUtils.getFieldValue(null /* receiver */, null /* defaultValue */,
48 CompatUtils.getField(Notification.class, "PRIORITY_LOW")
    [all...]
ViewCompatUtils.java 29 private static final Method METHOD_getPaddingEnd = CompatUtils.getMethod(
31 private static final Method METHOD_setPaddingRelative = CompatUtils.getMethod(
35 private static final Method METHOD_setElevation = CompatUtils.getMethod(
38 private static final Method METHOD_setTextAlignment = CompatUtils.getMethod(
49 return (Integer)CompatUtils.invoke(view, 0, METHOD_getPaddingEnd);
58 CompatUtils.invoke(view, null, METHOD_setPaddingRelative, start, top, end, bottom);
62 CompatUtils.invoke(view, null, METHOD_setElevation, elevation);
75 CompatUtils.invoke(view, null, METHOD_setTextAlignment, textAlignment);
CompatUtils.java 27 public final class CompatUtils {
28 private static final String TAG = CompatUtils.class.getSimpleName();
30 private CompatUtils() {
147 return new ToObjectMethodWrapper<T>(CompatUtils.getMethod(mClass, name, parameterTypes),
153 return new ToIntMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes),
159 return new ToFloatMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes),
165 return new ToBooleanMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes),
179 return (T) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args);
191 return (int) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args);
203 return (float) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args)
    [all...]

Completed in 512 milliseconds