Home
last modified time | relevance | path

Searched refs:klass (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/os/
DHandler.java111 final Class<? extends Handler> klass = getClass(); in Handler() local
112 if ((klass.isAnonymousClass() || klass.isMemberClass() || klass.isLocalClass()) && in Handler()
113 (klass.getModifiers() & Modifier.STATIC) == 0) { in Handler()
115 klass.getCanonicalName()); in Handler()
135 final Class<? extends Handler> klass = getClass(); in Handler() local
136 if ((klass.isAnonymousClass() || klass.isMemberClass() || klass.isLocalClass()) && in Handler()
137 (klass.getModifiers() & Modifier.STATIC) == 0) { in Handler()
139 klass.getCanonicalName()); in Handler()
DStrictMode.java595 public Builder setClassInstanceLimit(Class klass, int instanceLimit) { in setClassInstanceLimit() argument
596 if (klass == null) { in setClassInstanceLimit()
600 if (mClassInstanceLimit.containsKey(klass) && in setClassInstanceLimit()
601 mClassInstanceLimit.get(klass) == instanceLimit) { in setClassInstanceLimit()
611 mClassInstanceLimit.put(klass, instanceLimit); in setClassInstanceLimit()
1422 Class klass = entry.getKey(); in conditionallyCheckInstanceCounts() local
1424 long instances = VMDebug.countInstancesOfClass(klass, false); in conditionallyCheckInstanceCounts()
1428 Throwable tr = new InstanceCountViolation(klass, instances, limit); in conditionallyCheckInstanceCounts()
1902 public static void incrementExpectedActivityCount(Class klass) { in incrementExpectedActivityCount() argument
1903 if (klass == null) { in incrementExpectedActivityCount()
[all …]
DBinder.java179 final Class<? extends Binder> klass = getClass(); in Binder() local
180 if ((klass.isAnonymousClass() || klass.isMemberClass() || klass.isLocalClass()) && in Binder()
181 (klass.getModifiers() & Modifier.STATIC) == 0) { in Binder()
183 klass.getCanonicalName()); in Binder()
/frameworks/base/core/java/android/view/
DViewDebug.java808 private static Field[] getExportedPropertyFields(Class<?> klass) { in getExportedPropertyFields() argument
818 Field[] fields = map.get(klass); in getExportedPropertyFields()
824 fields = klass.getDeclaredFields(); in getExportedPropertyFields()
837 map.put(klass, fields); in getExportedPropertyFields()
842 private static Method[] getExportedPropertyMethods(Class<?> klass) { in getExportedPropertyMethods() argument
852 Method[] methods = map.get(klass); in getExportedPropertyMethods()
858 methods = klass.getDeclaredMethods(); in getExportedPropertyMethods()
873 map.put(klass, methods); in getExportedPropertyMethods()
887 Class<?> klass = view.getClass(); in dumpViewProperties() local
890 exportFields(context, view, out, klass, prefix); in dumpViewProperties()
[all …]
/frameworks/base/core/java/android/util/
DDebugUtils.java75 Class<?> klass = object.getClass(); in isObjectSelected() local
78 Class<?> parent = klass; in isObjectSelected()
84 } while ((parent = klass.getSuperclass()) != null && in isObjectSelected()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListUnspecifiedMeasure.java30 protected ListUnspecifiedMeasure(Class<T> klass) { in ListUnspecifiedMeasure() argument
31 super("com.android.frameworks.coretests", klass); in ListUnspecifiedMeasure()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridSetSelectionBaseTest.java30 protected GridSetSelectionBaseTest(Class<T> klass) { in GridSetSelectionBaseTest() argument
31 super("com.android.frameworks.coretests", klass); in GridSetSelectionBaseTest()
/frameworks/base/core/java/android/widget/
DRemoteViews.java665 Class klass = view.getClass(); in apply()
668 method = klass.getMethod(this.methodName); in apply()
670 throw new ActionException("view: " + klass.getName() + " doesn't have method: " in apply()
675 throw new ActionException("view: " + klass.getName() in apply()
683 Log.d("RemoteViews", "view: " + klass.getName() + " calling method: " in apply()
1014 Class klass = view.getClass(); in apply() local
1017 method = klass.getMethod(this.methodName, getParameterType()); in apply()
1020 throw new ActionException("view: " + klass.getName() + " doesn't have method: " in apply()
1025 throw new ActionException("view: " + klass.getName() in apply()
1033 Log.d("RemoteViews", "view: " + klass.getName() + " calling method: " in apply()
DEditor.java590 int klass = inputType & InputType.TYPE_MASK_CLASS; in selectCurrentWord() local
594 if (klass == InputType.TYPE_CLASS_NUMBER || in selectCurrentWord()
595 klass == InputType.TYPE_CLASS_PHONE || in selectCurrentWord()
596 klass == InputType.TYPE_CLASS_DATETIME || in selectCurrentWord()
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java352 public void connect(Context srcContext, Handler srcHandler, Class<?> klass) { in connect() argument
353 connect(srcContext, srcHandler, klass.getPackage().getName(), klass.getName()); in connect()
/frameworks/base/core/java/android/text/
DTextUtils.java1635 public static <T> T[] removeEmptySpans(T[] spans, Spanned spanned, Class<T> klass) { in removeEmptySpans() argument
1646 copy = (T[]) Array.newInstance(klass, spans.length - 1); in removeEmptySpans()
1659 T[] result = (T[]) Array.newInstance(klass, count); in removeEmptySpans()
/frameworks/base/core/jni/android/graphics/
DTextLayoutCache.cpp337 mFontRec.klass = &harfbuzzSkiaClass; in TextLayoutShaper()