Home
last modified time | relevance | path

Searched refs:Method (Results 1 – 25 of 148) sorted by relevance

123456

/frameworks/base/tools/aapt2/compile/
DPseudolocalizer_test.cpp31 Pseudolocalizer::Method method) { in SimpleHelper()
42 Pseudolocalizer::Method method) { in CompoundHelper()
53 EXPECT_TRUE(SimpleHelper("", "", Pseudolocalizer::Method::kNone)); in TEST()
55 Pseudolocalizer::Method::kNone)); in TEST()
58 Pseudolocalizer::Method::kNone)); in TEST()
62 EXPECT_TRUE(SimpleHelper("", "[]", Pseudolocalizer::Method::kAccent)); in TEST()
64 Pseudolocalizer::Method::kAccent)); in TEST()
67 Pseudolocalizer::Method::kAccent)); in TEST()
70 Pseudolocalizer::Method::kAccent)); in TEST()
72 SimpleHelper("^1 %", "[^1 % one]", Pseudolocalizer::Method::kAccent)); in TEST()
[all …]
DPseudolocalizer.h41 enum class Method { enum
47 explicit Pseudolocalizer(Method method);
48 void SetMethod(Method method);
DPseudolocaleGenerator.cpp112 Pseudolocalizer::Method method, in PseudolocalizeStyledString()
224 Visitor(StringPool* pool, Pseudolocalizer::Method method) in Visitor()
286 Pseudolocalizer::Method method_;
291 Pseudolocalizer::Method m) { in ModifyConfigForPseudoLocale()
294 case Pseudolocalizer::Method::kAccent: in ModifyConfigForPseudoLocale()
301 case Pseudolocalizer::Method::kBidi: in ModifyConfigForPseudoLocale()
313 void PseudolocalizeIfNeeded(const Pseudolocalizer::Method method, in PseudolocalizeIfNeeded()
359 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kAccent, value, &table->string_pool, in Consume()
361 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kBidi, value, &table->string_pool, in Consume()
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
DmissingSinces.txt27 NO DOC BLOCK: android.support.v17.leanback.app.BackgroundManager Method attachToView(android.view.V…
28 NO DOC BLOCK: android.support.v17.leanback.app.BackgroundManager Method clearDrawable()
29 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepFragment Method collapseAction(boolean)
30 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepSupportFragment Method collapseAction(bool…
31 NO DOC BLOCK: android.support.v17.leanback.widget.GuidedActionsStylist Method collapseAction(boolea…
32 NO DOC BLOCK: android.support.v7.widget.SnapHelper Method createSnapScroller(android.support.v7.wid…
33 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepFragment Method expandAction(android.suppo…
34 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepSupportFragment Method expandAction(androi…
35 NO DOC BLOCK: android.support.v17.leanback.widget.GuidedActionsStylist Method expandAction(android.…
36 NO DOC BLOCK: android.support.v17.leanback.app.BrowseFragment.MainFragmentRowsAdapter Method findRo…
[all …]
/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/
DmissingSinces.txt7 NO DOC BLOCK: android.support.v4.app.NotificationCompat.WearableExtender Method getBridgeTag()
8 NO DOC BLOCK: android.support.v7.widget.RecyclerView Method getDecoratedBoundsWithMargins(android.v…
9 NO DOC BLOCK: android.support.v4.view.ViewCompat Method getDisplay(android.view.View)
10 NO DOC BLOCK: android.support.v4.widget.SwipeRefreshLayout Method getProgressViewEndOffset()
11 NO DOC BLOCK: android.support.v4.widget.SwipeRefreshLayout Method getProgressViewStartOffset()
12 NO DOC BLOCK: android.support.v4.net.ConnectivityManagerCompat Method getRestrictBackgroundStatus(a…
13 NO DOC BLOCK: android.support.design.widget.FloatingActionButton Method getRippleColor()
14 NO DOC BLOCK: android.support.v7.widget.RecyclerView.LayoutManager Method isItemPrefetchEnabled()
15 NO DOC BLOCK: android.support.v4.text.BidiFormatter Method isRtl(java.lang.CharSequence)
16 NO DOC BLOCK: android.support.v4.view.ViewCompat Method setBackground(android.view.View, android.gr…
[all …]
/frameworks/support/compat/src/main/java/androidx/core/graphics/
DTypefaceCompatApi26Impl.java44 import java.lang.reflect.Method;
69 protected final Method mAddFontFromAssetManager;
70 protected final Method mAddFontFromBuffer;
71 protected final Method mFreeze;
72 protected final Method mAbortCreation;
73 protected final Method mCreateFromFamiliesWithDefault;
78 Method addFontFromAssetManager; in TypefaceCompatApi26Impl()
79 Method addFontFromBuffer; in TypefaceCompatApi26Impl()
80 Method freeze; in TypefaceCompatApi26Impl()
81 Method abortCreation; in TypefaceCompatApi26Impl()
[all …]
DTypefaceCompatApi28Impl.java28 import java.lang.reflect.Method;
61 protected Method obtainCreateFromFamiliesWithDefaultMethod(Class fontFamily) in obtainCreateFromFamiliesWithDefaultMethod()
64 Method m = Typeface.class.getDeclaredMethod(CREATE_FROM_FAMILIES_WITH_DEFAULT_METHOD, in obtainCreateFromFamiliesWithDefaultMethod()
DTypefaceCompatApi24Impl.java40 import java.lang.reflect.Method;
60 private static final Method sAddFontWeightStyle;
61 private static final Method sCreateFromFamiliesWithDefault;
66 Method addFontMethod;
67 Method createFromFamiliesWithDefaultMethod;
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java22 import java.lang.reflect.Method;
85 List<Method> checkedDelegateMethods = new ArrayList<Method>(); in compare()
91 Method[] originalMethods = originalClass.getDeclaredMethods(); in compare()
92 for (Method originalMethod : originalMethods) { in compare()
123 Method delegateMethod = delegateClass.getDeclaredMethod(originalMethod.getName(), in compare()
169 Method[] delegateMethods = delegateClass.getDeclaredMethods(); in compare()
170 for (Method delegateMethod : delegateMethods) { in compare()
191 private String getMethodName(Method method) { in getMethodName()
195 private String getMethodName(Method method, Class<?>[] parameters) { in getMethodName()
/frameworks/base/core/java/android/view/inputmethod/
DInputConnectionInspector.java27 import java.lang.reflect.Method;
147 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/support/lifecycle/common/src/main/java/androidx/lifecycle/
DClassesInfoCache.java22 import java.lang.reflect.Method;
49 Method[] methods = getDeclaredMethods(klass); in hasLifecycleMethods()
50 for (Method method : methods) { in hasLifecycleMethods()
67 private Method[] getDeclaredMethods(Class klass) { in getDeclaredMethods()
92 Method method = newHandler.mMethod; in verifyAndPutHandler()
103 private CallbackInfo createInfo(Class klass, @Nullable Method[] declaredMethods) { in createInfo()
121 Method[] methods = declaredMethods != null ? declaredMethods : getDeclaredMethods(klass); in createInfo()
123 for (Method method : methods) { in createInfo()
202 final Method mMethod;
204 MethodReference(int callType, Method method) { in MethodReference()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java24 import java.lang.reflect.Method;
33 public static Method getMethod(@NonNull Class<?> clazz, @NonNull String name, in getMethod()
43 public static Method getAccessibleMethod(@NonNull Class<?> clazz, @NonNull String name, in getAccessibleMethod()
45 Method method = getMethod(clazz, name, params); in getAccessibleMethod()
52 public static Object invoke(@NonNull Method method, @Nullable Object object, in invoke()
125 public Object invoke(Object proxy, Method m, Object[] args) { in createProxy()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java44 import java.lang.reflect.Method;
146 Method setTitle = getMethod(mWindowActionBarClass, "setTitle", CharSequence.class); in setTitle()
154Method setSubtitle = getMethod(mWindowActionBarClass, "setSubtitle", CharSequence.class); in setSubtitle()
167 Method setIcon = getMethod(mWindowActionBarClass, "setIcon", Drawable.class); in setIcon()
177 Method setHomeAsUp = getMethod(mWindowActionBarClass, in setHomeAsUp()
235 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod()
249 private static Method findMethod(@Nullable Class<?> owner, @NotNull String name) { in findMethod()
253 for (Method method : owner.getMethods()) { in findMethod()
287 private static Object invoke(@Nullable Method method, Object owner, Object... args) { in invoke()
/frameworks/support/transition/src/main/java/androidx/transition/
DViewUtilsApi21.java27 import java.lang.reflect.Method;
34 private static Method sTransformMatrixToGlobalMethod;
36 private static Method sTransformMatrixToLocalMethod;
38 private static Method sSetAnimationMatrixMethod;
DViewUtilsApi19.java26 import java.lang.reflect.Method;
33 private static Method sSetTransitionAlphaMethod;
35 private static Method sGetTransitionAlphaMethod;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTestUtil.java20 import java.lang.reflect.Method;
43 Method[] methods = clazz.getDeclaredMethods(); in getTestMethod()
44 for (Method method : methods) { in getTestMethod()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java23 import java.lang.reflect.Method;
39 Method method = invocation.getMethod(); in answer()
41 Method implementation = getClass().getMethod("answer", method.getParameterTypes()); in answer()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java26 import java.lang.reflect.Method;
71 for (Method testMethod : getTestMethods(testCase)) { in getTests()
78 private List<Method> getTestMethods(Class<? extends TestCase> testCaseClass) { in getTestMethods()
79 List<Method> methods = Arrays.asList(testCaseClass.getMethods()); in getTestMethods()
221 private static class TestMethodPredicate implements Predicate<Method> {
223 public boolean apply(Method method) { in apply()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DTestCaseCollector.java21 import java.lang.reflect.Method;
88 Method[] methods = clazz.getMethods(); in addTestClass()
89 for (Method method : methods) { in addTestClass()
143 public boolean accept(Method method); in accept()
/frameworks/base/core/java/android/net/http/
DX509TrustManagerExtensions.java25 import java.lang.reflect.Method;
45 private final Method mCheckServerTrusted;
46 private final Method mIsSameTrustConfiguration;
76 Method isSameTrustConfiguration = null; in X509TrustManagerExtensions()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTestUtils.java26 import java.lang.reflect.Method;
72 Method methodReflection = clazz.getDeclaredMethod(method, paramType); in invokeStaticMethod()
96 Method methodReflection = clazz.getDeclaredMethod(method, paramType); in invokeStaticMethodThrowsException()
120 Method methodReflection = clazz.getDeclaredMethod(method, paramType); in invokeNonStaticMethod()
145 Method methodReflection = clazz.getDeclaredMethod(method, paramType); in invokeNonStaticMethodThrowsException()
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java37 import java.lang.reflect.Method;
156 for (Method testMethod : loadedClass.getMethods()) { in isTestClass()
182 for (Method testMethod : loadedClass.getMethods()) { in hasJUnit3TestMethod()
191 private boolean isPublicTestMethod(Method m) { in isPublicTestMethod()
196 private boolean isTestMethod(Method m) { in isTestMethod()
/frameworks/layoutlib/bridge/src/android/animation/
DPropertyValuesHolder_Delegate.java24 import java.lang.reflect.Method;
60 private static final Map<Long, Method> ID_TO_METHOD = new HashMap<Long, Method>();
78 Method method = null; in registerMethod()
103 Method method = ID_TO_METHOD.get(methodID); in callMethod()
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DSynchronousActivityLifecycleTest.java43 import java.lang.reflect.Method;
133 Method m = Activity.class.getDeclaredMethod("performStart"); in performStart()
143 Method m = Activity.class.getDeclaredMethod("performResume"); in performResume()
155 Method m = Activity.class.getDeclaredMethod("performStop", boolean.class); in performStop()
159 Method m = Activity.class.getDeclaredMethod("performStop"); in performStop()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java44 import java.lang.reflect.Method;
119 Method[] m = clazz2.getDeclaredMethods(); in testNoOp()
120 Method nativeInstanceMethod = null; in testNoOp()
121 for (Method method : m) { in testNoOp()
271 Method[] m = clazz2.getDeclaredMethods(); in testDelegateNative()
272 Method nativeInstanceMethod = null; in testDelegateNative()
273 for (Method method : m) { in testDelegateNative()
496 Method m = instance.getClass().getMethod("get", in callGet()
508 Method m = instance.getClass().getMethod("get_Original", in callGet_Original()
520 Method m = instance.getClass().getDeclaredMethod(methodName, (Class<?>[])null); in callMethod()
[all …]

123456