HomeSort by relevance Sort by last modified time
    Searched refs:Patterns (Results 1 - 25 of 46) sorted by null

1 2

  /frameworks/base/core/tests/coretests/src/android/util/
PatternsTest.java 19 import android.util.Patterns;
31 t = Patterns.TOP_LEVEL_DOMAIN.matcher("com").matches();
35 t = Patterns.TOP_LEVEL_DOMAIN.matcher("me").matches();
39 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn--0zwm56d").matches();
43 t = Patterns.TOP_LEVEL_DOMAIN.matcher("\uD55C\uAD6D").matches();
46 t = Patterns.TOP_LEVEL_DOMAIN.matcher("mem").matches();
49 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn").matches();
52 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xer").matches();
60 t = Patterns.WEB_URL.matcher("http://www.google.com").matches();
64 t = Patterns.WEB_URL.matcher("http://www.google.me").matches()
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPatterns.java 7 import android.util.Patterns;
12 @Implements(Patterns.class)
127 Robolectric.Reflection.setFinalStaticField(Patterns.class, "DOMAIN_NAME", DOMAIN_NAME);
128 Robolectric.Reflection.setFinalStaticField(Patterns.class, "EMAIL_ADDRESS", EMAIL_ADDRESS);
129 Robolectric.Reflection.setFinalStaticField(Patterns.class, "IP_ADDRESS", IP_ADDRESS);
130 Robolectric.Reflection.setFinalStaticField(Patterns.class, "PHONE", PHONE);
131 Robolectric.Reflection.setFinalStaticField(Patterns.class, "TOP_LEVEL_DOMAIN",
133 Robolectric.Reflection.setFinalStaticField(Patterns.class, "WEB_URL", WEB_URL);
  /external/llvm/utils/TableGen/
DAGISelEmitter.cpp 76 // In particular, we want to match maximal patterns first and lowest cost within
94 // Otherwise, if the patterns might both match, sort based on complexity,
95 // which means that we prefer to match patterns that cover more nodes in the
102 // If the patterns have equal complexity, compare generated instruction cost
130 DEBUG(errs() << "\n\nALL PATTERNS TO MATCH:\n\n";
138 // Add all the patterns to a temporary list so we can sort them.
139 std::vector<const PatternToMatch*> Patterns;
142 Patterns.push_back(&*I);
144 // We want to process the matches in order of minimal cost. Sort the patterns
146 std::sort(Patterns.begin(), Patterns.end(), PatternSortingPredicate(CGP))
    [all...]
  /frameworks/base/core/java/android/util/
Patterns.java 23 * Commonly used regular expression patterns.
25 public class Patterns {
241 private Patterns() {}
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
AccountUtils.java 22 import android.util.Patterns;
41 if (Patterns.EMAIL_ADDRESS.matcher(name).matches()) {
  /packages/apps/Browser/src/com/android/browser/
UrlUtils.java 20 import android.util.Patterns;
117 if (hasSpace && Patterns.WEB_URL.matcher(inUrl).matches()) {
123 if (Patterns.WEB_URL.matcher(inUrl).matches()) {
UrlInputView.java 28 import android.util.Patterns;
253 if (Patterns.WEB_URL.matcher(url).matches()
IntentHandler.java 33 import android.util.Patterns;
291 if (Patterns.WEB_URL.matcher(url).matches()
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardStatusView.java 138 mDateView.setFormat24Hour(Patterns.dateView);
139 mDateView.setFormat12Hour(Patterns.dateView);
141 mClockView.setFormat12Hour(Patterns.clockView12);
142 mClockView.setFormat24Hour(Patterns.clockView24);
148 Patterns.update(mContext, nextAlarm != null);
217 // This is an optimization to ensure we only recompute the patterns when the inputs change.
218 private static final class Patterns {
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppLauncherActivity.java 54 import android.util.Patterns;
274 + Patterns.WEB_URL.pattern() + ")|("
275 + Patterns.EMAIL_ADDRESS.pattern() + ")|("
276 + Patterns.PHONE.pattern() + ")");
284 if (Patterns.WEB_URL.matcher(matchStr).matches()) {
292 // Patterns.WEB_URL matches URL without protocol part,
298 } else if (Patterns.EMAIL_ADDRESS.matcher(matchStr).matches()) {
302 } else if (Patterns.PHONE.matcher(matchStr).matches()) {
  /packages/apps/Messaging/src/com/android/messaging/sms/
MmsSmsUtils.java 24 import android.util.Patterns;
99 final Matcher match = Patterns.EMAIL_ADDRESS.matcher(s);
114 final Matcher match = Patterns.PHONE.matcher(number);
  /frameworks/ex/common/java/com/android/common/
Rfc822Validator.java 22 import android.util.Patterns;
55 private static final String GOOD_IRI_CHAR = Patterns.GOOD_IRI_CHAR;
76 * It is similar to {@link android.util.Patterns#EMAIL_ADDRESS}, but also accepts Unicode
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
WebAddress.java 23 import static android.util.Patterns.GOOD_IRI_CHAR;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Patterns.java 25 public class Patterns extends GraphicsActivity {
  /external/apache-http/android/src/android/net/compatibility/
WebAddress.java 19 import static android.util.Patterns.GOOD_IRI_CHAR;
  /frameworks/base/core/java/android/net/
WebAddress.java 19 import static android.util.Patterns.GOOD_IRI_CHAR;
  /frameworks/base/core/java/android/text/util/
Linkify.java 26 import android.util.Patterns;
89 * Bit mask indicating that all available patterns should be matched in
147 return Patterns.digitsAndPlusOnly(match);
181 * how matched patterns are represented as URLs.
221 gatherLinks(links, text, Patterns.WEB_URL,
227 gatherLinks(links, text, Patterns.EMAIL_ADDRESS,
  /frameworks/base/packages/StatementService/src/com/android/statementservice/
IntentFilterVerificationReceiver.java 28 import android.util.Patterns;
152 if (!Patterns.DOMAIN_NAME.matcher(host).matches()) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
ContactDisplayUtils.java 27 import android.util.Patterns;
202 return text == null ? false : Patterns.PHONE.matcher(text.toString()).matches();
  /frameworks/base/docs/html/design/
design_toc.cs 15 <li><a href="<?cs var:toroot ?>design/patterns/new.html">New in Android</a></li>
43 <li><a href="<?cs var:toroot ?>design/wear/patterns.html">UI Patterns</a></li>
53 <li><a href="<?cs var:toroot ?>design/tv/patterns.html">UI Patterns</a></li>
65 <li><a href="<?cs var:toroot ?>design/patterns/app-structure.html">App Structure</a></li>
66 <li><a href="<?cs var:toroot ?>design/patterns/navigation.html"
76 <li><a href="<?cs var:toroot ?>design/patterns/notifications.html"
85 <li><a href="<?cs var:toroot ?>design/patterns/widgets.html">Widgets</a></li>
86 <li><a href="<?cs var:toroot ?>design/patterns/swipe-views.html">Swipe Views</a></li
    [all...]
  /frameworks/base/packages/Shell/src/com/android/shell/
BugreportReceiver.java 38 import android.util.Patterns;
252 if (Patterns.EMAIL_ADDRESS.matcher(account.name).matches()) {
  /frameworks/opt/telephony/src/java/android/provider/
Telephony.java 33 import android.util.Patterns;
    [all...]
  /external/skia/src/sfnt/
SkPanose.h 534 ((Patterns, 8))
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
wizard.rb 44 define <i>tree patterns</i>, objects that are conceptually similar to regular
45 expressions. Patterns allow a simple method for recursively searching through an
110 === Additional Syntax for Tree Matching Patterns
124 A class that is used internally by AST::Wizard to tokenize tree patterns
133 PATTERNS = [
156 type, = PATTERNS.find do |type, pattern|
316 A customized TreeAdaptor used by AST::Wizards to build tree patterns.
  /external/valgrind/none/tests/
cmdline1.stdout.exp 118 text symbol. Patterns can contain ? and *.
120 specify patterns for function wrapping or replacement.

Completed in 946 milliseconds

1 2