Home | History | Annotate | Download | only in compat

Lines Matching defs:CompatUtils

27 public final class CompatUtils {
28 private static final String TAG = CompatUtils.class.getSimpleName();
30 private CompatUtils() {
147 return new ToObjectMethodWrapper<>(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);
215 return (boolean) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args);