/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | AlphabeticIndexCompat.java | 127 .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/ |
D | CompatUtils.java | 93 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()
|
D | NotificationCompatUtils.java | 59 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()
|
D | ViewCompatUtils.java | 46 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()
|
D | LocaleListCompatUtils.java | 34 return (Boolean) CompatUtils.invoke(localeList, Boolean.FALSE, METHOD_isEmpty); in isEmpty() 38 return (Locale) CompatUtils.invoke(localeList, null, METHOD_get, index); in get()
|
D | InputMethodManagerCompatWrapper.java | 44 return (Boolean)CompatUtils.invoke(mImm, false /* defaultValue */, in switchToNextInputMethod() 49 return (Boolean)CompatUtils.invoke(mImm, false /* defaultValue */, in shouldOfferSwitchingToNextInputMethod()
|
D | InputMethodSubtypeCompatUtils.java | 91 final String languageTag = (String) CompatUtils.invoke(subtype, null, GET_LANGUAGE_TAG); in getLocaleObject() 101 return (Boolean)CompatUtils.invoke(subtype, false, METHOD_isAsciiCapable); in isAsciiCapableWithAPI()
|
D | InputMethodServiceCompatUtils.java | 34 return (Boolean)CompatUtils.invoke(ims, false /* defaultValue */, in enableHardwareAcceleration()
|
D | LooperCompatUtils.java | 37 CompatUtils.invoke(looper, null /* default return value */, METHOD_quitSafely); in quitSafely()
|
D | ConnectivityManagerCompatUtils.java | 30 return (Boolean)CompatUtils.invoke(manager, in isActiveNetworkMetered()
|
D | CharacterCompat.java | 33 return (Boolean)CompatUtils.invoke(null, false, METHOD_isAlphabetic, code); in isAlphabetic()
|
D | ActivityManagerCompatUtils.java | 40 sBoolean = (Boolean)CompatUtils.invoke(am, false, METHOD_isLowRamDevice); in isLowRamDevice()
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/ |
D | DvbDeviceAccessor.java | 86 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/ |
D | BitmapUtils.java | 199 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()
|
D | HttpClientFactory.java | 60 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/ |
D | SystemPropertiesProxy.java | 39 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/ |
D | SearchManagerHelper.java | 57 "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/ |
D | SSLSocketFactoryWrapper.java | 187 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/ |
D | MmsNetworkManager.java | 302 return (Integer) method.invoke( in startMmsConnectivity() 317 method.invoke( in endMmsConnectivity() 376 return (Boolean) method.invoke(mConnectivityManager); in isMobileDataEnabled()
|
D | MmsHttpClient.java | 478 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/ |
D | ActivityTransitionBitmapHelper.java | 58 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/ |
D | WebViewBrowserActivity.java | 120 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/ |
D | SharedPreferencesCompat.java | 44 sApplyMethod.invoke(editor); in apply()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ViewUtils.java | 39 method.invoke(v, alpha); in setTransitionAlpha()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SystemProperties.java | 43 return (String) sSystemPropertiesGetMethod.invoke(null, name); in get()
|