Home
last modified time | relevance | path

Searched refs:Method (Results 1 – 25 of 128) 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.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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dapi.pb.h43 class Method; variable
123 const ::google::protobuf::Method& methods(int index) const;
124 ::google::protobuf::Method* mutable_methods(int index);
125 ::google::protobuf::Method* add_methods();
126 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >*
128 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method >&
187 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > methods_;
203 class LIBPROTOBUF_EXPORT Method : public ::google::protobuf::Message /* @@protoc_insertion_point(cl…
205 Method();
206 virtual ~Method();
[all …]
Dapi.pb.cc68 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Method, name_), in protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
69 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Method, request_type_url_), in protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
70 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Method, request_streaming_), in protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
71 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Method, response_type_url_), in protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
72 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Method, response_streaming_), in protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
73 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Method, options_), in protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
74 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Method, syntax_), in protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
79 Method::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
84 sizeof(Method), in protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
85 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Method, _internal_metadata_), in protobuf_AssignDesc_google_2fprotobuf_2fapi_2eproto()
[all …]
/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
DDexBuilderTest.java23 import java.lang.reflect.Method;
45 Method method = clazz.getMethod("return5"); in return5()
53 Method method = clazz.getMethod("returnInteger5"); in returnInteger5()
61 Method method = clazz.getMethod("returnParam", int.class); in returnParam()
70 Method method = clazz.getMethod("returnStringLength", String.class); in returnStringLength()
78 Method method = clazz.getMethod("returnIfZero", int.class); in returnIfZero()
87 Method method = clazz.getMethod("returnIfNotZero", int.class); in returnIfNotZero()
96 Method method = clazz.getMethod("backwardsBranch"); in backwardsBranch()
104 Method method = clazz.getMethod("returnNull"); in returnNull()
112 Method method = clazz.getMethod("makeString"); in makeString()
[all …]
DLayoutCompilerTest.java25 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()
/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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DMessageLiteToString.java33 import java.lang.reflect.Method;
76 Map<String, Method> nameToNoArgMethod = new HashMap<String, Method>(); in reflectivePrintWithIndent()
77 Map<String, Method> nameToMethod = new HashMap<String, Method>(); in reflectivePrintWithIndent()
79 for (Method method : messageLite.getClass().getDeclaredMethods()) { in reflectivePrintWithIndent()
97 Method listMethod = nameToNoArgMethod.get("get" + suffix); in reflectivePrintWithIndent()
108 Method setter = nameToMethod.get("set" + suffix); in reflectivePrintWithIndent()
123 Method getMethod = nameToNoArgMethod.get("get" + suffix); in reflectivePrintWithIndent()
124 Method hasMethod = nameToNoArgMethod.get("has" + suffix); in reflectivePrintWithIndent()
/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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DApi.cs45 …fo(typeof(global::Google.Protobuf.WellKnownTypes.Method), global::Google.Protobuf.WellKnownTypes.M… in ApiReflection()
111 …private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Method> _repeated_me…
112 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Method.Parser);
113 …::Google.Protobuf.WellKnownTypes.Method> methods_ = new pbc::RepeatedField<global::Google.Protobuf…
118 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Method> Methods {
368 public sealed partial class Method : pb::IMessage<Method> { class
369 …private static readonly pb::MessageParser<Method> _parser = new pb::MessageParser<Method>(() => ne…
371 public static pb::MessageParser<Method> Parser { get { return _parser; } }
384 public Method() { in Method() method in Google.Protobuf.WellKnownTypes.Method
391 public Method(Method other) : this() { in Method() method in Google.Protobuf.WellKnownTypes.Method
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DDeprecatedFieldTest.java38 import java.lang.reflect.Method;
62 Method method = deprecatedFields.getMethod(name); in testDeprecatedField()
67 Method method = deprecatedFieldsBuilder.getMethod(name); in testDeprecatedField()
72 Method method = deprecatedFieldsBuilder.getMethod(name, int.class); in testDeprecatedField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDeprecatedFieldTest.java39 import java.lang.reflect.Method;
62 Method method = deprecatedFields.getMethod(name); in testDeprecatedField()
67 Method method = deprecatedFieldsBuilder.getMethod(name); in testDeprecatedField()
72 Method method = deprecatedFieldsBuilder.getMethod(name, int.class); in testDeprecatedField()
/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/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/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/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/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/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/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/src/com/android/systemui/util/
DInjectionInflationController.java40 import java.lang.reflect.Method;
60 private final ArrayMap<String, Method> mInjectionMap = new ArrayMap<>();
69 ArrayMap<String, Method> getInjectionMap() { in getInjectionMap()
88 for (Method method : ViewInstanceCreator.class.getDeclaredMethods()) { in initInjectionMap()
206 Method creationMethod = mInjectionMap.get(name); in onCreateView()

123456