Searched defs:match (Results 26 - 50 of 61) sorted by relevance

123

/frameworks/support/design/base/android/support/design/widget/
H A DStateListAnimator.java57 * @param specs The drawable state specs to match against
58 * @param animation The Animation to run when the specs match
112 Tuple match = null;
117 match = tuple;
121 if (match == mLastMatch) {
128 mLastMatch = match;
131 if (match != null && view != null && view.getVisibility() == View.VISIBLE ) {
132 start(match);
136 private void start(Tuple match) { argument
137 mRunningAnimation = match
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.h210 const Vector<uint8_t>& signature, bool& match) {
215 UNUSED(match);
206 verify( const Vector<uint8_t>& sessionId, const Vector<uint8_t>& keyId, const Vector<uint8_t>& message, const Vector<uint8_t>& signature, bool& match) argument
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp265 const char *match = strstr(mData + start, substring); local
267 if (match == NULL) {
271 return match - mData;
/frameworks/base/core/java/android/content/pm/
H A DResolveInfo.java43 * match, if this resolution is for an activity or broadcast receiver.
50 * The service that corresponds to this resolution match, if this resolution
57 * The provider that corresponds to this resolution match, if this
64 * The ephemeral application that corresponds to this resolution match. This will
82 * The declared priority of this match. Comes from the "priority"
97 * IntentFilter. This is a match constant, a combination of
101 public int match; field in class:ResolveInfo
120 * match's label. From the "label" attribute or, if not set, 0.
132 * match's icon. From the "icon" attribute or, if not set, 0. It is
248 * Return the icon resource identifier to use for this match
[all...]
/frameworks/base/core/java/android/text/util/
H A DLinkify.java58 * required. Any pattern match that does not begin with the supplied scheme
158 public final String transformUrl(final Matcher match, String url) {
159 return Patterns.digitsAndPlusOnly(match);
165 * what is allowed to match and become a link, and what is not.
168 * http://www.example.com to match, as well as just example.com itelf.
169 * However, you would not want to match against the domain in
171 * might also include a MatchFilter that disallows the match if it is
177 * if the match should be turned into an actionable link.
186 * @return Whether this match should be turned into a link
204 * @param match Th
209 transformUrl(final Matcher match, String url) argument
[all...]
/frameworks/base/tools/aapt2/util/
H A DUtil.cpp106 bool match = false; local
109 match = true;
114 if (!match) {
/frameworks/minikin/libs/minikin/
H A DFontFamily.cpp109 // Compute a matching metric between two styles - 0 is an exact match
134 int match = computeMatch(font.style, style); local
135 if (i == 0 || match < bestMatch) {
137 bestMatch = match;
/frameworks/rs/api/
H A DUtilities.cpp77 string stringReplace(string s, string match, string rep) { argument
80 size_t p = s.find(match);
83 s.erase(p, match.size());
H A DGenerateStubsWhiteList.cpp152 * corresponds to this list of tokens. If a match is found, consume these tokens
159 bool match = true; local
160 // We match up to three tokens.
167 match = false;
170 if (match) {
276 // We have a match, construct an index reference to that previously emitted mangling.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
H A DHomeSP.java142 public PasspointMatch match(NetworkDetail networkDetail, method in class:HomeSP
156 // PLMN match, promote sp match to roaming if necessary.
164 naiRealmElement.match(mCredential) :
167 Log.d(Utils.hs2LogTag(getClass()), networkDetail.toKeyString() + " match on " + mFQDN +
175 // No realm match, return sp match as is.
179 // Realm match, promote sp match to roaming if necessary.
191 Log.d(Utils.hs2LogTag(getClass()), "match SSI
[all...]
/frameworks/rs/
H A DrsElement.cpp233 // Look for an existing match.
279 // Look for an existing match.
284 bool match = true; local
301 match = false;
305 if (match) {
/frameworks/av/drm/libmediadrm/
H A DDrm.cpp729 bool &match) {
742 return mPlugin->verify(sessionId, keyId, message, signature, match);
725 verify(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> const &signature, bool &match) argument
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp668 bool &match)
692 // String mock-match "1" or "0" -> match
693 index = mStringProperties.indexOfKey(String8("mock-match"));
698 match = atol(mStringProperties.valueAt(index).string());
664 verify(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> const &signature, bool &match) argument
/frameworks/av/media/libmedia/
H A DIDrm.cpp491 bool &match) {
504 match = (bool)reply.readInt32();
894 bool match; local
895 uint32_t result = verify(sessionId, keyId, message, signature, match);
896 reply->writeInt32(match);
487 verify(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &keyId, Vector<uint8_t> const &message, Vector<uint8_t> const &signature, bool &match) argument
/frameworks/base/services/core/java/com/android/server/
H A DIntentResolver.java390 // the filters that match that MIME type.
399 // completely match or wildcards whose base type matches.
406 // We can match anything with our base type.
428 // the filters that match its scheme (we will further refine matches
515 protected R newResult(F filter, int match, int userId) { argument
712 int match;
749 match = filter.match(action, resolvedType, scheme, data, categories, TAG);
750 if (match >= 0) {
751 if (debug) Slog.v(TAG, " Filter matched! match
[all...]
/frameworks/base/services/core/java/com/android/server/firewall/
H A DIntentFirewall.java160 // For the second pass, try to match the potentially more specific conditions in each
399 * is to select a subset of rules that might match a given intent.
403 * component filters, only a single filter must match for the rule to be passed on to the
407 * intent. All top level conditions (but not filters) in the rule must match for the rule as a
408 * whole to match.
411 * rules match, we combine the block/log flags from any matching rule.
512 protected Rule newResult(FirewallIntentFilter filter, int match, int userId) { argument
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp716 bool match; local
717 status = mObj->mDrm->verify(*iter, keyIdVec, messageVec, signatureVec, match);
719 return match ? AMEDIA_OK : AMEDIA_DRM_VERIFY_FAILED;
/frameworks/base/core/java/android/content/
H A DIntentFilter.java41 * match against actions, categories, and data (either via its type, scheme,
59 * only match intents that contain no data.
64 * specified must match the contents of the Intent. If you specify a scheme
66 * match; a content: URI will never match because they always have a MIME type
68 * has somewhat special meaning: it will match either an Intent with no URI
70 * then only an Intent with no data or type will match. To specify an authority,
83 * <p>A match is based on the following rules. Note that
84 * for an IntentFilter to match an Intent, three conditions must hold:
85 * the <strong>action</strong> and <strong>category</strong> must match, an
874 public boolean match(AuthorityEntry other) { method in class:IntentFilter.AuthorityEntry
906 public int match(Uri data) { method in class:IntentFilter.AuthorityEntry
1448 public final int match(ContentResolver resolver, Intent intent, method in class:IntentFilter
1483 public final int match(String action, String type, String scheme, method in class:IntentFilter
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUManager.java683 // !!! Consistently check passpoint match.
685 public void wnmRemediate(long bssid, String url, PasspointMatch match) argument
743 PasspointMatch match = mWifiNetworkAdapter.
746 if (match == PasspointMatch.HomeProvider ||
747 match == PasspointMatch.RoamingProvider) {
750 throw new IOException("No roaming network match: " + match);
/frameworks/base/core/java/android/app/
H A DInstrumentation.java401 // there is a single match that is in our package.
581 final boolean match(Context who, method in class:Instrumentation.ActivityMonitor
586 && mWhich.match(who.getContentResolver(), intent,
1103 am.match(activity, activity, activity.getIntent());
1160 am.match(activity, activity, activity.getIntent());
1276 am.match(activity, activity, activity.getIntent());
1505 if (am.match(who, null, intent)) {
1533 * {@link ActivityMonitor} objects only match against the first activity in
1547 * {@link ActivityMonitor} objects only match against the first activity in
1561 if (am.match(wh
[all...]
/frameworks/base/core/java/android/transition/
H A DTransition.java126 * With {@link #setMatchOrder(int...)}, chooses to match by View instance.
132 * With {@link #setMatchOrder(int...)}, chooses to match by
138 * With {@link #setMatchOrder(int...)}, chooses to match by
144 * With {@link #setMatchOrder(int...)}, chooses to match by the {@link android.widget.Adapter}
145 * item id. When {@link android.widget.Adapter#hasStableIds()} returns false, no match
312 throw new InflateException("Unknown match type in matchOrder: '" + token + "'");
479 * The default behavior is to match first by {@link android.view.View#getTransitionName()},
484 * the match algorithms supplied will be used to determine whether Views are the
485 * the same in both the start and end Scene. Views that do not match will be considered
490 * If none are provided, then the default match orde
509 isValidMatch(int match) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java299 // Try to initialize the title icon if we have a view for it and a title to match
691 int cat = ri.match & IntentFilter.MATCH_CATEGORY_MASK;
720 if (p.match(ssp)) {
730 if (a.match(data) >= 0) {
743 if (p.match(path)) {
760 if (r.match > bestMatch) bestMatch = r.match;
953 * Check a simple match for the component of two ResolveInfos.
1026 // to the application's icon, making it a match.
1159 * @return ResolveInfo representing this target's match
1856 isSpecificUriMatch(int match) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaDrm.cpp1397 bool match; local
1399 status_t err = drm->verify(sessionId, keyId, message, signature, match);
1402 return match;
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java305 * @hide - to match hiding in superclass
603 * @hide - to match hiding in superclass
677 * @hide - to match hiding in superclass
686 * @hide - to match hiding in superclass
695 * @hide - to match hiding in superclass
717 * @hide - to match hiding in superclass
726 * @hide - to match hiding in superclass
778 int match, ComponentName[] set, ComponentName activity) {
783 * @hide - to match hiding in superclass
787 int match, ComponentNam
777 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
786 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp974 bool match = false; local
979 match = true;
984 if (!match) {
999 match = true;
1004 if (!match) {

Completed in 3830 milliseconds

123