Home
last modified time | relevance | path

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

12345

/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.cpp113 Pseudolocalizer::Method method, in PseudolocalizeStyledString()
225 Visitor(StringPool* pool, Pseudolocalizer::Method method) in Visitor()
287 Pseudolocalizer::Method method_;
292 Pseudolocalizer::Method m) { in ModifyConfigForPseudoLocale()
295 case Pseudolocalizer::Method::kAccent: in ModifyConfigForPseudoLocale()
302 case Pseudolocalizer::Method::kBidi: in ModifyConfigForPseudoLocale()
314 void PseudolocalizeIfNeeded(const Pseudolocalizer::Method method, in PseudolocalizeIfNeeded()
360 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kAccent, value, &table->string_pool, in Consume()
362 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/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
DDexBuilderTest.java21 import java.lang.reflect.Method;
26 import java.lang.reflect.Method;
48 Method method = clazz.getMethod("return5"); in return5()
56 Method method = clazz.getMethod("returnInteger5"); in returnInteger5()
64 Method method = clazz.getMethod("returnParam", int.class); in returnParam()
73 Method method = clazz.getMethod("returnStringLength", String.class); in returnStringLength()
81 Method method = clazz.getMethod("returnIfZero", int.class); in returnIfZero()
90 Method method = clazz.getMethod("returnIfNotZero", int.class); in returnIfNotZero()
99 Method method = clazz.getMethod("backwardsBranch"); in backwardsBranch()
107 Method method = clazz.getMethod("returnNull"); in returnNull()
[all …]
DLayoutCompilerTest.java21 import java.lang.reflect.Method;
25 import java.lang.reflect.Method;
39 Method layout1 = compiled_view.getMethod("layout1", Context.class, int.class); in loadAndInflateLayout1()
48 Method layout1 = compiled_view.getMethod("layout2", Context.class, int.class); in loadAndInflateLayout2()
DApkLayoutCompilerTest.java21 import java.lang.reflect.Method;
44 Method layout1 = compiled_view.getMethod("layout1", Context.class, int.class); in loadAndInflateLayout1()
53 Method layout2 = compiled_view.getMethod("layout2", Context.class, int.class); in loadAndInflateLayout2()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java22 import java.lang.reflect.Method;
86 List<Method> checkedDelegateMethods = new ArrayList<Method>(); in compare()
92 Method[] originalMethods = originalClass.getDeclaredMethods(); in compare()
93 for (Method originalMethod : originalMethods) { in compare()
124 Method delegateMethod = delegateClass.getDeclaredMethod(originalMethod.getName(), in compare()
170 Method[] delegateMethods = delegateClass.getDeclaredMethods(); in compare()
171 for (Method delegateMethod : delegateMethods) { in compare()
192 private String getMethodName(Method method) { in getMethodName()
196 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/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()
134 public Object invoke(Object proxy, Method m, Object[] args) { in createProxy()
/frameworks/base/test-base/hiddenapi/src/junit/framework/
DTestSuite.java21 import java.lang.reflect.Method;
33 private boolean isPublicTestMethod(Method m) { in isPublicTestMethod()
41 private boolean isTestMethod(Method m) { in isTestMethod()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java43 import java.lang.reflect.Method;
142 Method setTitle = getMethod(mWindowActionBarClass, "setTitle", CharSequence.class); in setTitle()
150Method setSubtitle = getMethod(mWindowActionBarClass, "setSubtitle", CharSequence.class); in setSubtitle()
163 Method setIcon = getMethod(mWindowActionBarClass, "setIcon", Drawable.class); in setIcon()
173 Method setHomeAsUp = getMethod(mWindowActionBarClass, in setHomeAsUp()
223 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod()
237 private static Method findMethod(@Nullable Class<?> owner, @NonNull String name) { in findMethod()
241 for (Method method : owner.getMethods()) { in findMethod()
275 private static Object invoke(@Nullable Method method, Object owner, Object... args) { in invoke()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTestUtil.java22 import java.lang.reflect.Method;
46 Method[] methods = clazz.getDeclaredMethods(); in getTestMethod()
47 for (Method method : methods) { in getTestMethod()
/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/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/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.java24 import java.lang.reflect.Method;
44 private final Method mCheckServerTrusted;
45 private final Method mIsSameTrustConfiguration;
75 Method isSameTrustConfiguration = null; in X509TrustManagerExtensions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DInjectionInflationController.java42 import java.lang.reflect.Method;
62 private final ArrayMap<String, Method> mInjectionMap = new ArrayMap<>();
71 ArrayMap<String, Method> getInjectionMap() { in getInjectionMap()
90 for (Method method : ViewInstanceCreator.class.getDeclaredMethods()) { in initInjectionMap()
218 Method creationMethod = mInjectionMap.get(name); in onCreateView()
/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/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/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 …]
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java24 import java.lang.reflect.Method;
46 Method method = null; in runTest()
75 final Method testMethod = method; in runTest()
116 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable { in runMethod()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentService.java31 import java.lang.reflect.Method;
49 private final ArrayMap<String, Method> mInjectionMap = new ArrayMap<>();
71 ArrayMap<String, Method> getInjectionMap() { in getInjectionMap()
80 for (Method method : FragmentCreator.class.getDeclaredMethods()) { in initInjectionMap()
/frameworks/base/test-base/src/junit/framework/
DTestSuite.java7 import java.lang.reflect.Method;
149 for (Method each : superClass.getDeclaredMethods())
284 private void addTestMethod(Method m, List<String> names, Class<?> theClass) {
297 private boolean isPublicTestMethod(Method m) {
301 private boolean isTestMethod(Method m) {

12345