Home
last modified time | relevance | path

Searched refs:getMethod (Results 1 – 25 of 77) sorted by relevance

1234

/frameworks/base/core/java/android/view/inputmethod/
DInputConnectionInspector.java147 final Method method = clazz.getMethod("getSelectedText", int.class); in hasGetSelectedText()
156 final Method method = clazz.getMethod("setComposingRegion", int.class, int.class); in hasSetComposingRegion()
165 final Method method = clazz.getMethod("commitCorrection", CorrectionInfo.class); in hasCommitCorrection()
174 final Method method = clazz.getMethod("requestCursorUpdates", int.class); in hasRequestCursorUpdate()
183 final Method method = clazz.getMethod("deleteSurroundingTextInCodePoints", int.class, in hasDeleteSurroundingTextInCodePoints()
193 final Method method = clazz.getMethod("getHandler"); in hasGetHandler()
202 final Method method = clazz.getMethod("closeConnection"); in hasCloseConnection()
211 final Method method = clazz.getMethod("commitContent", InputContentInfo.class, in hasCommitContent()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java131 Method setTitle = getMethod(mWindowActionBarClass, "setTitle", CharSequence.class); in setTitle()
139 … Method setSubtitle = getMethod(mWindowActionBarClass, "setSubtitle", CharSequence.class); in setSubtitle()
148 if (invoke(getMethod(mWindowActionBarClass, "hasIcon"), mWindowDecorActionBar) in setIcon()
152 Method setIcon = getMethod(mWindowActionBarClass, "setIcon", Drawable.class); in setIcon()
162 Method setHomeAsUp = getMethod(mWindowActionBarClass, in setHomeAsUp()
175 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() method in AppCompatActionBar
177 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java46 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod;
152 (Integer) invoke(getMethod(preferenceGroupAdapter.getClass(), "getItemCount"), in setUpPreferencesListView()
158 Method getItemId = getMethod(preferenceGroupAdapter.getClass(), "getItemId", int.class); in setUpPreferencesListView()
160 getMethod(preferenceGroupAdapter.getClass(), "getItemViewType", int.class); in setUpPreferencesListView()
162 getMethod(preferenceGroupAdapter.getClass(), "onCreateViewHolder", ViewGroup.class, in setUpPreferencesListView()
177 invoke(getMethod(preferenceGroupAdapter.getClass(), "onBindViewHolder", in setUpPreferencesListView()
223 invoke(getMethod(preferenceManager.getClass(), "createPreferenceScreen", in inflatePreference()
DDesignLibUtil.java27 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod;
54 invoke(getMethod(view.getClass(), "setTitle", CharSequence.class), view, title); in setTitle()
DFragmentTabHostUtil.java27 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod;
42 invoke(getMethod(tabHost.getClass(), "setup", Context.class, in setup()
DRecyclerViewUtil.java33 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod;
103 return invoke(getMethod(recyclerView.getClass(), "getLayoutManager"), recyclerView); in getLayoutManager()
131 invoke(getMethod(object.getClass(), propertySetter, propertyClass), object, propertyValue); in setProperty()
DDrawerLayoutUtil.java31 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod;
56 invoke(getMethod(drawerLayout.getClass(), "openDrawer", int.class), drawerLayout, in openDrawer()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java31 public static Method getMethod(@NonNull Class<?> clazz, @NonNull String name, in getMethod() method in ReflectionUtils
34 return clazz.getMethod(name, params); in getMethod()
43 Method method = getMethod(clazz, name, params); in getAccessibleMethod()
/frameworks/support/compat/java/android/support/v4/text/
DICUCompat.java38 sAddLikelySubtagsMethod = clazz.getMethod("addLikelySubtags",
47 sGetScriptMethod = clazz.getMethod("getScript",
49 sAddLikelySubtagsMethod = clazz.getMethod("addLikelySubtags",
/frameworks/base/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java39 Method method = invocation.getMethod(); in answer()
41 Method implementation = getClass().getMethod("answer", method.getParameterTypes()); in answer()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java198 Method method = clazz.getMethod("setDataSource", String.class); 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()
/frameworks/base/core/java/android/util/
DReflectiveProperty.java53 mGetter = propertyHolder.getMethod(getterName, (Class<?>[])null); in ReflectiveProperty()
58 mGetter = propertyHolder.getMethod(getterName, (Class<?>[])null); in ReflectiveProperty()
84 mSetter = propertyHolder.getMethod(setterName, getterType); in ReflectiveProperty()
/frameworks/support/compat/java/android/support/v4/app/
DBundleCompat.java44 sGetIBinderMethod = Bundle.class.getMethod("getIBinder", String.class); in getBinder()
68 Bundle.class.getMethod("putIBinder", String.class, IBinder.class); in putBinder()
/frameworks/base/core/java/android/net/http/
DX509TrustManagerExtensions.java68 mCheckServerTrusted = tm.getClass().getMethod("checkServerTrusted", in X509TrustManagerExtensions()
79 isSameTrustConfiguration = tm.getClass().getMethod("isSameTrustConfiguration", in X509TrustManagerExtensions()
/frameworks/support/compat/java/android/support/v4/graphics/
DTypefaceCompatApi26Impl.java83 addFontMethod = fontFamilyClass.getMethod(ADD_FONT_FROM_ASSET_MANAGER_METHOD,
86 addFromBufferMethod = fontFamilyClass.getMethod(ADD_FONT_FROM_BUFFER_METHOD,
89 freezeMethod = fontFamilyClass.getMethod(FREEZE_METHOD);
90 abortCreationMethod = fontFamilyClass.getMethod(ABORT_CREATION_METHOD);
DTypefaceCompatApi24Impl.java70 addFontMethod = fontFamilyClass.getMethod(ADD_FONT_WEIGHT_STYLE_METHOD,
74 Typeface.class.getMethod(CREATE_FROM_FAMILIES_WITH_DEFAULT_METHOD,
/frameworks/base/core/java/com/android/internal/os/
DWebViewZygoteInit.java94 Method preloadInZygote = providerClass.getMethod("preloadInZygote"); in handlePreloadPackage()
99 preloadSucceeded = (boolean) providerClass.getMethod("preloadInZygote") in handlePreloadPackage()
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/
DMediaRouterJellybeanMr1.java84 mScanWifiDisplaysMethod = DisplayManager.class.getMethod("scanWifiDisplays"); in ActiveScanWorkaround()
148 android.media.MediaRouter.RouteInfo.class.getMethod("getStatusCode"); in IsConnectingWorkaround()
/frameworks/base/core/java/android/webkit/
DWebResourceRequest.java63 String getMethod(); in getMethod() method
/frameworks/ex/common/java/com/android/common/
DSharedPreferencesCompat.java33 sApplyMethod = cls.getMethod("apply");
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/
DSystemProperties.java40 final Method get = systemProperties.getMethod("get", String.class, String.class); in get()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
DReflectIntermediateClass.java35 Method get = bigClass.getMethod("get" + i); in get()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DWnmData.java63 public int getMethod() { in getMethod() method in WnmData
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DMenuBuilderTest.java43 .getMethod("setOptionalIconsVisible", boolean.class); in setOptionalIconsVisibleMethodShouldRemainPublic()
/frameworks/support/media-compat/api21/android/support/v4/media/
DAudioAttributesCompatApi21.java39 sAudioAttributesToLegacyStreamType = AudioAttributes.class.getMethod( in toLegacyStreamType()

1234