Home
last modified time | relevance | path

Searched refs:clazz (Results 1 – 18 of 18) sorted by relevance

/packages/inputmethods/PinyinIME/jni/android/
Dcom_android_inputmethod_pinyin_PinyinDecoderService.cpp124 JNIEXPORT jint JNICALL nativeImAddLetter(JNIEnv *env, jclass clazz, jbyte ch) { in nativeImAddLetter() argument
178 JNIEXPORT jstring JNICALL nativeImGetChoice(JNIEnv *env, jclass clazz, in nativeImGetChoice() argument
190 JNIEXPORT jint JNICALL nativeImChoose(JNIEnv *env, jclass clazz, in nativeImChoose() argument
195 JNIEXPORT jint JNICALL nativeImCancelLastChoice(JNIEnv *env, jclass clazz) { in nativeImCancelLastChoice() argument
199 JNIEXPORT jint JNICALL nativeImGetFixedLen(JNIEnv *env, jclass clazz) { in nativeImGetFixedLen() argument
203 JNIEXPORT jboolean JNICALL nativeImCancelInput(JNIEnv *env, jclass clazz) { in nativeImCancelInput() argument
210 JNIEXPORT jboolean JNICALL nativeImFlushCache(JNIEnv *env, jclass clazz) { in nativeImFlushCache() argument
215 JNIEXPORT jint JNICALL nativeImGetPredictsNum(JNIEnv *env, jclass clazz, in nativeImGetPredictsNum() argument
236 JNIEXPORT jstring JNICALL nativeImGetPredictItem(JNIEnv *env, jclass clazz, in nativeImGetPredictItem() argument
249 JNIEXPORT jboolean JNICALL nativeSyncBegin(JNIEnv *env, jclass clazz, in nativeSyncBegin() argument
[all …]
/packages/inputmethods/LatinIME/native/jni/
Djni_common.cpp66 jclass clazz = env->FindClass(className); in registerNativeMethods() local
67 if (clazz == 0) { in registerNativeMethods()
71 if (env->RegisterNatives(clazz, methods, numMethods) < 0) { in registerNativeMethods()
73 env->DeleteLocalRef(clazz); in registerNativeMethods()
76 env->DeleteLocalRef(clazz); in registerNativeMethods()
/packages/apps/Email/src/org/apache/commons/io/input/
DClassLoaderObjectInputStream.java67 Class clazz = Class.forName(objectStreamClass.getName(), false, classLoader); in resolveClass() local
69 if (clazz != null) { in resolveClass()
71 return clazz; in resolveClass()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java193 Class<?> clazz = null; in createVideoThumbnail() local
196 clazz = Class.forName("android.media.MediaMetadataRetriever"); in createVideoThumbnail()
197 instance = clazz.newInstance(); in createVideoThumbnail()
199 Method method = clazz.getMethod("setDataSource", String.class); in createVideoThumbnail()
204 return (Bitmap) clazz.getMethod("captureFrame").invoke(instance); in createVideoThumbnail()
206 byte[] data = (byte[]) clazz.getMethod("getEmbeddedPicture").invoke(instance); in createVideoThumbnail()
211 return (Bitmap) clazz.getMethod("getFrameAtTime").invoke(instance); in createVideoThumbnail()
230 clazz.getMethod("release").invoke(instance); in createVideoThumbnail()
DHttpClientFactory.java59 Class<?> clazz = Class.forName("android.net.http.AndroidHttpClient"); in newHttpClient() local
60 Method newInstance = clazz.getMethod("newInstance", String.class); in newHttpClient()
95 Class<?> clazz = client.getClass(); in close() local
96 Method method = clazz.getMethod("close", (Class<?>[]) null); in close()
DEntrySchema.java50 public EntrySchema(Class<? extends Entry> clazz) { in EntrySchema() argument
52 ColumnInfo[] columns = parseColumnInfo(clazz); in EntrySchema()
53 mTableName = parseTableName(clazz); in EntrySchema()
448 private String parseTableName(Class<? extends Object> clazz) { in parseTableName() argument
450 Entry.Table table = clazz.getAnnotation(Entry.Table.class); in parseTableName()
459 private ColumnInfo[] parseColumnInfo(Class<? extends Object> clazz) { in parseColumnInfo() argument
461 while (clazz != null) { in parseColumnInfo()
462 parseColumnInfo(clazz, columns); in parseColumnInfo()
463 clazz = clazz.getSuperclass(); in parseColumnInfo()
472 private void parseColumnInfo(Class<? extends Object> clazz, ArrayList<ColumnInfo> columns) { in parseColumnInfo() argument
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/util/
DTempStorage.java37 String clazz = System.getProperty("org.apache.james.mime4j.tempStorage");
41 inst = (TempStorage) Class.forName(clazz).newInstance();
46 + clazz + "' using SimpleTempStorage instead", t);
/packages/apps/Email/src/com/android/email/
DVendorPolicyLoader.java78 public static void injectPolicyForTest(Context context, String apkPackageName, Class<?> clazz) { in injectPolicyForTest() argument
79 String name = clazz.getName(); in injectPolicyForTest()
110 Class<?> clazz = null; in VendorPolicyLoader() local
116 clazz = classLoader.loadClass(className); in VendorPolicyLoader()
117 method = clazz.getMethod(GET_POLICY_METHOD, ARGS); in VendorPolicyLoader()
/packages/apps/Email/src/org/apache/james/mime4j/
DLogFactory.java26 public static Log getLog(Class clazz) { in getLog() argument
27 return new Log(clazz); in getLog()
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DIntegrationTestUtils.java173 private static <T extends View> List<T> getAllViews(final Class<T> clazz, final View parent) {
175 if (parent.getClass().equals(clazz)) {
176 results.add(clazz.cast(parent));
181 results.addAll(getAllViews(clazz, viewGroup.getChildAt(i)));
/packages/apps/Camera/src/com/android/camera/
DPreferenceInflater.java61 Class<?> clazz = mContext.getClassLoader().loadClass(name); in newPreference() local
62 constructor = clazz.getConstructor(CTOR_SIGNATURE); in newPreference()
/packages/apps/LegacyCamera/src/com/android/camera/
DPreferenceInflater.java61 Class<?> clazz = mContext.getClassLoader().loadClass(name); in newPreference() local
62 constructor = clazz.getConstructor(CTOR_SIGNATURE); in newPreference()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DIntentUtilities.java144 public static Intent createRestartAppIntent(Context context, Class<? extends Activity> clazz) { in createRestartAppIntent() argument
145 Intent i = new Intent(context, clazz); in createRestartAppIntent()
DEmailAsyncTask.java81 final Class<?> clazz = current.getClass(); in cancelOthers() local
86 if ((task != current) && task.getClass().equals(clazz)) { in cancelOthers()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadReceiver.java176 String clazz = cursor.getString( in sendNotificationClickedIntent() local
196 if (clazz == null) { in sendNotificationClickedIntent()
200 appIntent.setClassName(pckg, clazz); in sendNotificationClickedIntent()
DDownloadProvider.java595 String clazz = values.getAsString(Downloads.Impl.COLUMN_NOTIFICATION_CLASS); in insert() local
596 if (pckg != null && (clazz != null || isPublicApi)) { in insert()
601 if (clazz != null) { in insert()
602 filteredValues.put(Downloads.Impl.COLUMN_NOTIFICATION_CLASS, clazz); in insert()
/packages/apps/Email/src/com/android/email/service/
DEmailBroadcastProcessorService.java208 private void setComponentEnabled(Class<?> clazz, boolean enabled) { in setComponentEnabled() argument
209 final ComponentName c = new ComponentName(this, clazz.getName()); in setComponentEnabled()
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java608 Class clazz = com.android.settings.widget.SettingsAppWidgetProvider.class; in onEnabled() local
611 new ComponentName(context.getPackageName(), clazz.getName()), in onEnabled()
619 Class clazz = com.android.settings.widget.SettingsAppWidgetProvider.class; in onDisabled() local
622 new ComponentName(context.getPackageName(), clazz.getName()), in onDisabled()