OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CompatUtils
(Results
1 - 10
of
10
) 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,
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_setTextAlignment =
CompatUtils
.getMethod(
46
return (Integer)
CompatUtils
.invoke(view, 0, METHOD_getPaddingEnd);
55
CompatUtils
.invoke(view, null, METHOD_setPaddingRelative, start, top, end, bottom);
68
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<>(
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
...]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/compat/
CompatUtilsTest.java
24
assertFalse(
CompatUtils
.isClassAvailable(null));
28
assertFalse(
CompatUtils
.isClassAvailable(""));
32
assertFalse(
CompatUtils
.isClassAvailable("com.android.contacts.common.NonexistentClass"));
36
assertTrue(
CompatUtils
.isClassAvailable(BaseClass.class.getName()));
40
assertFalse(
CompatUtils
.isMethodAvailable(null, "methodName"));
44
assertFalse(
CompatUtils
.isMethodAvailable("", "methodName"));
48
assertFalse(
CompatUtils
.isMethodAvailable("className", null));
52
assertFalse(
CompatUtils
.isMethodAvailable("className", ""));
56
assertFalse(
CompatUtils
.isMethodAvailable("com.android.contacts.common.NonexistentClass",
61
assertFalse(
CompatUtils
.isMethodAvailable(BaseClass.class.getName(), "derivedMethod"))
[
all
...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/
CompatUtils.java
28
public final class
CompatUtils
{
30
private static final String TAG =
CompatUtils
.class.getSimpleName();
/packages/apps/Dialer/tests/src/com/android/dialer/compat/
FilteredNumberCompatTest.java
36
import com.android.contacts.common.compat.
CompatUtils
;
56
private static final Uri EXPECTED_BASE_URI =
CompatUtils
.isNCompatible()
78
assertEquals(
CompatUtils
.isNCompatible(), FilteredNumberCompat.canUseNewFiltering());
131
if (!
CompatUtils
.isNCompatible()) {
139
if (!
CompatUtils
.isNCompatible()) {
153
if (!
CompatUtils
.isNCompatible()) {
162
if (
CompatUtils
.isNCompatible()) {
170
if (
CompatUtils
.isNCompatible()) {
178
if (
CompatUtils
.isNCompatible()) {
194
if (
CompatUtils
.isNCompatible())
[
all
...]
/prebuilts/tools/common/m2/repository/com/google/android/apps/common/testing/accessibility/framework/accessibility-test-framework/2.0/
accessibility-test-framework-2.0.jar
/prebuilts/tools/common/m2/repository/com/google/android/apps/common/testing/accessibility/framework/accessibility-test-framework/2.1/
accessibility-test-framework-2.1.jar
Completed in 102 milliseconds