Searched refs:cls (Results 1 - 25 of 25) sorted by relevance

/frameworks/support/v4/java/android/support/v4/util/
H A DDebugUtils.java27 public static void buildShortClassTag(Object cls, StringBuilder out) { argument
28 if (cls == null) {
31 String simpleName = cls.getClass().getSimpleName();
33 simpleName = cls.getClass().getName();
41 out.append(Integer.toHexString(System.identityHashCode(cls)));
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationUtils.java33 * @param cls Class object of the class that handles the menu ite,.
37 public static int getMenuIdentifier(Class cls, String identifier) { argument
40 Integer field = (Integer)cls.getDeclaredField(identifier).get(cls);
/frameworks/ex/common/java/com/android/common/
H A DSharedPreferencesCompat.java32 Class cls = SharedPreferences.Editor.class;
33 sApplyMethod = cls.getMethod("apply");
/frameworks/base/core/java/android/util/
H A DDebugUtils.java108 public static void buildShortClassTag(Object cls, StringBuilder out) { argument
109 if (cls == null) {
112 String simpleName = cls.getClass().getSimpleName();
114 simpleName = cls.getClass().getName();
122 out.append(Integer.toHexString(System.identityHashCode(cls)));
/frameworks/base/core/java/android/content/
H A DComponentName.java44 * @param cls The name of the class inside of <var>pkg</var> that
47 public ComponentName(String pkg, String cls) { argument
49 if (cls == null) throw new NullPointerException("class name is null");
51 mClass = cls;
59 * @param cls The name of the class inside of <var>pkg</var> that
62 public ComponentName(Context pkg, String cls) { argument
63 if (cls == null) throw new NullPointerException("class name is null");
65 mClass = cls;
73 * @param cls The Class object of the desired component, from which the
76 public ComponentName(Context pkg, Class<?> cls) { argument
[all...]
H A DIntent.java3806 * @param cls The component class that is to be used for the intent.
3812 public Intent(Context packageContext, Class<?> cls) { argument
3813 mComponent = new ComponentName(packageContext, cls);
3832 * @param cls The component class that is to be used for the intent.
3840 Context packageContext, Class<?> cls) {
3843 mComponent = new ComponentName(packageContext, cls);
4153 String cls = uri.substring(sep + 1, j);
4154 intent.mComponent = new ComponentName(pkg, cls);
6351 * @param cls The class name to set, equivalent to
6352 * <code>setClassName(context, cls
3839 Intent(String action, Uri uri, Context packageContext, Class<?> cls) argument
6359 setClass(Context packageContext, Class<?> cls) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.h131 jclass cls = env->GetObjectClass(j_object); local
132 jfieldID id_field = env->GetFieldID(cls, id_field_name_.c_str(), "I");
134 env->DeleteLocalRef(cls);
143 jclass cls = env->GetObjectClass(j_object); local
144 jfieldID id_field = env->GetFieldID(cls, id_field_name_.c_str(), "I");
146 env->DeleteLocalRef(cls);
166 jclass cls = env->FindClass(jclass_name_.c_str()); local
168 cls,
171 jobject result = env->NewObject(cls, constructor, JNI_NULL);
172 env->DeleteLocalRef(cls);
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_EGLExt.cpp114 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument
115 if (cls == eglcontextClass &&
120 if (cls == egldisplayClass &&
125 if (cls == eglsurfaceClass &&
130 return _env->NewObject(cls, con, (jint)handle);
H A Dandroid_opengl_EGL14.cpp113 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument
114 if (cls == eglcontextClass &&
119 if (cls == egldisplayClass &&
124 if (cls == eglsurfaceClass &&
129 return _env->NewObject(cls, con, (jint)handle);
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DEGL14cHeader.cpp113 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument
114 if (cls == eglcontextClass &&
119 if (cls == egldisplayClass &&
124 if (cls == eglsurfaceClass &&
129 return _env->NewObject(cls, con, (jint)handle);
H A DEGLExtcHeader.cpp114 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { argument
115 if (cls == eglcontextClass &&
120 if (cls == egldisplayClass &&
125 if (cls == eglsurfaceClass &&
130 return _env->NewObject(cls, con, (jint)handle);
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DClientTest.java63 EditText cls = (EditText) findViewById(R.id.cls);
73 cls.getText().toString(),
83 cls.getText().toString(),
99 EditText cls = (EditText) findViewById(R.id.cls);
108 cls.getText().toString());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSystemBars.java93 Class<?> cls = null;
95 cls = mContext.getClassLoader().loadClass(clsName);
100 mStatusBar = (BaseStatusBar) cls.newInstance();
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DIntents.java76 Context context, Class<? extends Activity> cls) {
77 return new PhotoViewIntentBuilder(context, cls);
119 private PhotoViewIntentBuilder(Context context, Class<?> cls) { argument
120 mIntent = new Intent(context, cls);
75 newPhotoViewIntentBuilder( Context context, Class<? extends Activity> cls) argument
/frameworks/base/core/java/android/app/
H A DInstrumentation.java462 * @param cls The activity class this monitor is responsible for.
472 String cls, ActivityResult result, boolean block) {
474 mClass = cls;
574 String cls = null;
576 cls = activity.getClass().getName();
578 cls = intent.getComponent().getClassName();
580 if (cls == null || !mClass.equals(cls)) {
641 * @param cls The activity class this monitor is responsible for.
654 String cls, ActivityResul
471 ActivityMonitor( String cls, ActivityResult result, boolean block) argument
653 addMonitor( String cls, ActivityResult result, boolean block) argument
[all...]
H A DActivity.java4485 final String cls = mComponent.getClassName();
4487 if (!cls.startsWith(pkg) || cls.length() <= packageLen
4488 || cls.charAt(packageLen) != '.') {
4489 return cls;
4491 return cls.substring(packageLen+1);
H A DIActivityManager.java253 public void startRunning(String pkg, String cls, String action, argument
H A DActivityManagerNative.java1299 String cls = data.readString();
1302 startRunning(pkg, cls, action, indata);
3676 public void startRunning(String pkg, String cls, String action, argument
3682 data.writeString(cls);
/frameworks/base/core/java/android/os/
H A DDebug.java1172 public static long countInstancesOfClass(Class cls) { argument
1173 return VMDebug.countInstancesOfClass(cls, true);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java1796 String cls = parser.getAttributeValue(null, "class");
1802 Log.w(TAG, "Unable to get shortcut for: " + pkg + "/" + cls);
1808 if (pkg != null && cls != null) {
1810 ComponentName cn = new ComponentName(pkg, cls);
1816 cn = new ComponentName(packages[0], cls);
1820 Log.w(TAG, "Unable to add bookmark: " + pkg + "/" + cls, e);
/frameworks/base/services/java/com/android/server/am/
H A DActivityStack.java475 ComponentName cls = intent.getComponent();
477 cls = new ComponentName(info.packageName, info.targetActivity);
496 if (DEBUG_TASKS) Slog.d(TAG, "Comparing existing cls="
498 + "/aff=" + r.task.affinity + " to new cls="
505 } else if (task.intent != null && task.intent.getComponent().equals(cls)) {
512 && task.affinityIntent.getComponent().equals(cls)) {
532 ComponentName cls = intent.getComponent();
534 cls = new ComponentName(info.packageName, info.targetActivity);
546 if (!r.finishing && r.intent.getComponent().equals(cls) && r.userId == userId) {
H A DActivityManagerService.java9058 public final void startRunning(String pkg, String cls, String action, argument
9065 mTopComponent = pkg != null && cls != null
9066 ? new ComponentName(pkg, cls) : null;
9141 String cls = dis.readUTF();
9142 lastDoneReceivers.add(new ComponentName(pkg, cls));
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java1486 String cls = clsSeq.toString();
1487 char c = cls.charAt(0);
1489 return (pkg + cls).intern();
1491 if (cls.indexOf('.') < 0) {
1494 b.append(cls);
1498 return cls.intern();
1500 outError[0] = "Bad class name " + cls + " in package " + pkg;
/frameworks/base/core/java/android/widget/
H A DTextView.java4079 final int cls = type & EditorInfo.TYPE_MASK_CLASS;
4081 if (cls == EditorInfo.TYPE_CLASS_TEXT) {
4094 } else if (cls == EditorInfo.TYPE_CLASS_NUMBER) {
4098 } else if (cls == EditorInfo.TYPE_CLASS_DATETIME) {
4110 } else if (cls == EditorInfo.TYPE_CLASS_PHONE) {
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp2278 jclass cls = env->GetObjectClass(callback); local
2279 jmethodID mid = env->GetMethodID(cls, "onThumbnail", "(I)V");

Completed in 829 milliseconds