Home
last modified time | relevance | path

Searched refs:invoke (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAlphabeticIndexCompat.java127 .invoke(mAlphabeticIndex, Locale.ENGLISH); in AlphabeticIndexV16()
138 return (Integer) mGetBucketIndexMethod.invoke(mAlphabeticIndex, s); in getBucketIndex()
150 return (String) mGetBucketLabelMethod.invoke(mAlphabeticIndex, index); in getBucketLabel()
172 Object locales = Configuration.class.getDeclaredMethod("getLocales").invoke( in AlphabeticIndexVN()
174 … int localeCount = (Integer) locales.getClass().getDeclaredMethod("size").invoke(locales); in AlphabeticIndexVN()
177 (Locale) localeGetter.invoke(locales, 0); in AlphabeticIndexVN()
184 Locale l = (Locale) localeGetter.invoke(locales, i); in AlphabeticIndexVN()
185 addLocales.invoke(mAlphabeticIndex, new Object[]{ new Locale[] {l}}); in AlphabeticIndexVN()
187 addLocales.invoke(mAlphabeticIndex, new Object[]{ new Locale[] {Locale.ENGLISH}}); in AlphabeticIndexVN()
191 .invoke(mAlphabeticIndex); in AlphabeticIndexVN()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java93 public static Object invoke(final Object receiver, final Object defaultValue, in invoke() method in CompatUtils
99 return method.invoke(receiver, args); in invoke()
178 public T invoke(final Object receiver, final Object... args) { in invoke() method in CompatUtils.ToObjectMethodWrapper
179 return (T) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke()
190 public int invoke(final Object receiver, final Object... args) { in invoke() method in CompatUtils.ToIntMethodWrapper
191 return (int) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke()
202 public float invoke(final Object receiver, final Object... args) { in invoke() method in CompatUtils.ToFloatMethodWrapper
203 return (float) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke()
214 public boolean invoke(final Object receiver, final Object... args) { in invoke() method in CompatUtils.ToBooleanMethodWrapper
215 return (boolean) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke()
DNotificationCompatUtils.java59 CompatUtils.invoke(builder, null, METHOD_setColor, color); in setColor()
63 CompatUtils.invoke(builder, null, METHOD_setVisibility, VISIBILITY_SECRET); in setVisibilityToSecret()
67 CompatUtils.invoke(builder, null, METHOD_setCategory, CATEGORY_RECOMMENDATION); in setCategoryToRecommendation()
71 CompatUtils.invoke(builder, null, METHOD_setPriority, PRIORITY_LOW); in setPriorityToLow()
78 return (Notification) CompatUtils.invoke(builder, null, METHOD_build); in build()
DViewCompatUtils.java46 return (Integer)CompatUtils.invoke(view, 0, METHOD_getPaddingEnd); in getPaddingEnd()
55 CompatUtils.invoke(view, null, METHOD_setPaddingRelative, start, top, end, bottom); in setPaddingRelative()
68 CompatUtils.invoke(view, null, METHOD_setTextAlignment, textAlignment); in setTextAlignment()
DLocaleListCompatUtils.java34 return (Boolean) CompatUtils.invoke(localeList, Boolean.FALSE, METHOD_isEmpty); in isEmpty()
38 return (Locale) CompatUtils.invoke(localeList, null, METHOD_get, index); in get()
DInputMethodManagerCompatWrapper.java44 return (Boolean)CompatUtils.invoke(mImm, false /* defaultValue */, in switchToNextInputMethod()
49 return (Boolean)CompatUtils.invoke(mImm, false /* defaultValue */, in shouldOfferSwitchingToNextInputMethod()
DInputMethodSubtypeCompatUtils.java91 final String languageTag = (String) CompatUtils.invoke(subtype, null, GET_LANGUAGE_TAG); in getLocaleObject()
101 return (Boolean)CompatUtils.invoke(subtype, false, METHOD_isAsciiCapable); in isAsciiCapableWithAPI()
DInputMethodServiceCompatUtils.java34 return (Boolean)CompatUtils.invoke(ims, false /* defaultValue */, in enableHardwareAcceleration()
DLooperCompatUtils.java37 CompatUtils.invoke(looper, null /* default return value */, METHOD_quitSafely); in quitSafely()
DConnectivityManagerCompatUtils.java30 return (Boolean)CompatUtils.invoke(manager, in isActiveNetworkMetered()
DCharacterCompat.java33 return (Boolean)CompatUtils.invoke(null, false, METHOD_isAlphabetic, code); in isAlphabetic()
DActivityManagerCompatUtils.java40 sBoolean = (Boolean)CompatUtils.invoke(am, false, METHOD_isLowRamDevice); in isLowRamDevice()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
DDvbDeviceAccessor.java86 List dvbDeviceInfoList = (List) sGetDvbDeviceListMethod.invoke(mTvInputManager); in getDvbDeviceList()
102 List dvbDeviceInfoList = (List) sGetDvbDeviceListMethod.invoke(mTvInputManager); in isDvbDeviceAvailable()
115 return (ParcelFileDescriptor) sOpenDvbDeviceMethod.invoke( in openDvbDevice()
195 return (int) sGetAdapterIdMethod.invoke(mDvbDeviceInfo); in initAdapterId()
210 return (int) sGetDeviceIdMethod.invoke(mDvbDeviceInfo); in initDeviceId()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java199 method.invoke(instance, filePath); in createVideoThumbnail()
203 return (Bitmap) clazz.getMethod("captureFrame").invoke(instance); in createVideoThumbnail()
205 byte[] data = (byte[]) clazz.getMethod("getEmbeddedPicture").invoke(instance); in createVideoThumbnail()
210 return (Bitmap) clazz.getMethod("getFrameAtTime").invoke(instance); in createVideoThumbnail()
229 clazz.getMethod("release").invoke(instance); in createVideoThumbnail()
DHttpClientFactory.java60 Object instance = newInstance.invoke(null, userAgent); in newHttpClient()
96 method.invoke(client, (Object[]) null); in close()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/util/
DSystemPropertiesProxy.java39 return (boolean) getBooleanMethod.invoke(SystemPropertiesClass, key, def); in getBoolean()
54 return (int) getIntMethod.invoke(SystemPropertiesClass, key, def); in getInt()
/packages/apps/TV/src/com/android/tv/util/
DSearchManagerHelper.java57 "launchLegacyAssist", String.class, Integer.TYPE, Bundle.class).invoke( in launchAssistAction()
61 "launchAssistAction", Integer.TYPE, String.class, Integer.TYPE).invoke( in launchAssistAction()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLSocketFactoryWrapper.java187 sslSocket.getClass().getMethod("setHostname", String.class).invoke(sslSocket, hostname); in potentiallyEnableSni()
206 .invoke(sslSocket, true); in potentiallyEnableSessionTickets()
252 sslSocket.getClass().getMethod("setHandshakeTimeout", int.class).invoke(sslSocket, in setHandshakeTimeout()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java302 return (Integer) method.invoke( in startMmsConnectivity()
317 method.invoke( in endMmsConnectivity()
376 return (Boolean) method.invoke(mConnectivityManager); in isMobileDataEnabled()
DMmsHttpClient.java478 return (Integer) method.invoke(null, subId); in getSlotId()
496 return (String) method.invoke(mTelephonyManager, slotId); in getNaiBySystemApi()
515 return (String) method.invoke(null, NAI_PROPERTY); in getNaiBySystemProperty()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DActivityTransitionBitmapHelper.java58 binder = (IBinder) sGetBinder.invoke(bundle, EXTRA_BINDER); in getBitmapFromBinderBundle()
85 sPutBinder.invoke(bundle, EXTRA_BINDER, provider); in bitmapAsBinderBundle()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java120 mCallback.invoke(mOrigin, true, false); in grant()
124 mCallback.invoke(mOrigin, false, false); in deny()
396 summary.append(method.getName() + " : " + method.invoke(settings) + "\n"); in about()
/packages/apps/Music/src/com/android/music/
DSharedPreferencesCompat.java44 sApplyMethod.invoke(editor); in apply()
/packages/apps/TV/src/com/android/tv/ui/
DViewUtils.java39 method.invoke(v, alpha); in setTransitionAlpha()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSystemProperties.java43 return (String) sSystemPropertiesGetMethod.invoke(null, name); in get()

123