Home
last modified time | relevance | path

Searched refs:className (Results 1 – 21 of 21) sorted by relevance

/development/samples/BusinessCard/src/com/example/android/businesscard/
DContactAccessor.java41 String className; in getInstance() local
57 className = "com.example.android.businesscard.ContactAccessorSdk3_4"; in getInstance()
59 className = "com.example.android.businesscard.ContactAccessorSdk5"; in getInstance()
67 Class.forName(className).asSubclass(ContactAccessor.class); in getInstance()
/development/samples/SimpleJNI/jni/
Dnative.cpp40 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods() argument
45 clazz = env->FindClass(className); in registerNativeMethods()
47 ALOGE("Native registration unable to find class '%s'", className); in registerNativeMethods()
51 ALOGE("RegisterNatives failed for '%s'", className); in registerNativeMethods()
/development/samples/UiAutomator/src/com/android/test/uiautomator/demos/
DLogBuildNumber.java52 new UiSelector().className(android.widget.TextView.class.getName());
62 new UiSelector().className(android.widget.ListView.class.getName());
64 new UiSelector().className(android.widget.LinearLayout.class.getName());
84 new UiSelector().className(android.widget.TabWidget.class.getName()) in testDemo()
146 new UiSelector().className(android.widget.TextView.class.getName()).instance(1)); in getAboutItem()
DSetTwoMinuteAlarm.java41 new UiSelector().className(android.widget.TextView.class.getName());
62 new UiSelector().className(android.widget.TabWidget.class.getName()) in testDemo()
80 .className(TextView.class.getName()).text("Alarm")); in testDemo()
105 UiSelector minuteAreaSelector = new UiSelector().className( in setAlarm()
108 new UiSelector().className(android.widget.Button.class.getName()).instance(1)); in setAlarm()
DLaunchSettings.java87 new UiSelector().className(android.widget.TextView.class.getName()), "Settings"); in testDemo()
/development/tools/apkcheck/src/com/android/apkcheck/
DApiDescrHandler.java108 String className = mCurrentClass.getName(); in startElement() local
109 int dollarIndex = className.indexOf('$'); in startElement()
111 String outerClass = className.substring(0, dollarIndex); in startElement()
DPackageInfo.java57 public ClassInfo getOrCreateClass(String className, String superclassName, in getOrCreateClass() argument
59 String fixedName = TypeUtils.simpleClassNameToBinary(className); in getOrCreateClass()
DClassInfo.java60 public ClassInfo(String className, String superclassName, String isStatic) { in ClassInfo() argument
61 mName = className; in ClassInfo()
350 String className = TypeUtils.classNameOnly(fullname); in lookupClass() local
355 return pkg.getClass(className); in lookupClass()
DTypeUtils.java98 public static String simpleClassNameToBinary(String className) { in simpleClassNameToBinary() argument
99 return className.replace('.', '$'); in simpleClassNameToBinary()
/development/samples/Home/src/com/example/android/home/
DApplicationInfo.java54 final void setActivity(ComponentName className, int launchFlags) { in setActivity() argument
57 intent.setComponent(className); in setActivity()
/development/apps/Development/src/com/android/development/
DInstrumentationList.java149 ComponentName className = ((InstrumentationAdapter)getListAdapter()). in onListItemClick() local
151 if (className != null) { in onListItemClick()
154 profilingFile = "/tmp/trace/" + className + ".dmtrace"; in onListItemClick()
158 startInstrumentation(className, profilingFile, 0, null, mWatcher, null, in onListItemClick()
DPackageSummary.java105 appClass = info.applicationInfo.className; in onCreate()
249 String className) in setItemText() argument
251 item.setText(className.substring(className.lastIndexOf('.')+1)); in setItemText()
257 ActivityOnClick(ComponentName className) { in ActivityOnClick() argument
258 mClassName = className; in ActivityOnClick()
/development/tools/mkstubs/src/com/android/mkstubs/
DAsmAnalyzer.java54 String className = classReaderToAsmName(cr); in parseInputJar() local
55 classes.put(className, cr); in parseInputJar()
DSourceGenerator.java80 String classNameToJavaPath(String className) { in classNameToJavaPath() argument
81 return className.replace('.', '/').concat(".java"); in classNameToJavaPath()
DStubGenerator.java77 String classNameToEntryPath(String className) { in classNameToEntryPath() argument
78 return className.replaceAll("\\.", "/").concat(".class"); in classNameToEntryPath()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLocalServiceActivities.java97 public void onServiceConnected(ComponentName className, IBinder service) {
110 public void onServiceDisconnected(ComponentName className) {
DRemoteService.java307 public void onServiceConnected(ComponentName className,
334 public void onServiceDisconnected(ComponentName className) {
351 public void onServiceConnected(ComponentName className,
359 public void onServiceDisconnected(ComponentName className) {
495 public void onServiceConnected(ComponentName className, in onServiceConnected() argument
505 public void onServiceDisconnected(ComponentName className) { in onServiceDisconnected() argument
DMessengerServiceActivities.java66 public void onServiceConnected(ComponentName className,
100 public void onServiceDisconnected(ComponentName className) {
DIsolatedService.java165 public void onServiceConnected(ComponentName className,
173 public void onServiceDisconnected(ComponentName className) {
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DAdapters.java839 String className = a.getString(R.styleable.CursorAdapter_TransformItem_withClass); in findTransformation() local
840 if (className == null) { in findTransformation()
846 final Class<?> klas = Class.forName(className, true, mContext.getClassLoader()); in findTransformation()
853 mContext.getResources().getResourceEntryName(mId) + ": " + className, e); in findTransformation()
856 mContext.getResources().getResourceEntryName(mId) + ": " + className, e); in findTransformation()
859 mContext.getResources().getResourceEntryName(mId) + ": " + className, e); in findTransformation()
862 mContext.getResources().getResourceEntryName(mId) + ": " + className, e); in findTransformation()
865 mContext.getResources().getResourceEntryName(mId) + ": " + className, e); in findTransformation()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DMethodSourcer.java45 public MethodSourcer(Output output, String className, int access, String name, in MethodSourcer() argument
49 mClassName = className; in MethodSourcer()