Home
last modified time | relevance | path

Searched refs:mMatcher (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DClusterSource.java35 PathMatcher mMatcher; field in ClusterSource
40 mMatcher = new PathMatcher(); in ClusterSource()
41 mMatcher.add("/cluster/*/time", CLUSTER_ALBUMSET_TIME); in ClusterSource()
42 mMatcher.add("/cluster/*/location", CLUSTER_ALBUMSET_LOCATION); in ClusterSource()
43 mMatcher.add("/cluster/*/tag", CLUSTER_ALBUMSET_TAG); in ClusterSource()
44 mMatcher.add("/cluster/*/size", CLUSTER_ALBUMSET_SIZE); in ClusterSource()
45 mMatcher.add("/cluster/*/face", CLUSTER_ALBUMSET_FACE); in ClusterSource()
47 mMatcher.add("/cluster/*/time/*", CLUSTER_ALBUM_TIME); in ClusterSource()
48 mMatcher.add("/cluster/*/location/*", CLUSTER_ALBUM_LOCATION); in ClusterSource()
49 mMatcher.add("/cluster/*/tag/*", CLUSTER_ALBUM_TAG); in ClusterSource()
[all …]
DFilterSource.java36 private PathMatcher mMatcher; field in FilterSource
43 mMatcher = new PathMatcher(); in FilterSource()
44 mMatcher.add("/filter/mediatype/*/*", FILTER_BY_MEDIATYPE); in FilterSource()
45 mMatcher.add("/filter/delete/*", FILTER_BY_DELETE); in FilterSource()
46 mMatcher.add("/filter/empty/*", FILTER_BY_EMPTY); in FilterSource()
47 mMatcher.add(FILTER_EMPTY_ITEM, FILTER_BY_EMPTY_ITEM); in FilterSource()
48 mMatcher.add(FILTER_CAMERA_SHORTCUT, FILTER_BY_CAMERA_SHORTCUT); in FilterSource()
49 mMatcher.add(FILTER_CAMERA_SHORTCUT_ITEM, FILTER_BY_CAMERA_SHORTCUT_ITEM); in FilterSource()
62 int matchType = mMatcher.match(path); in createMediaObject()
66 int mediaType = mMatcher.getIntVar(0); in createMediaObject()
[all …]
DLocalSource.java38 private PathMatcher mMatcher; field in LocalSource
59 mMatcher = new PathMatcher(); in LocalSource()
60 mMatcher.add("/local/image", LOCAL_IMAGE_ALBUMSET); in LocalSource()
61 mMatcher.add("/local/video", LOCAL_VIDEO_ALBUMSET); in LocalSource()
62 mMatcher.add("/local/all", LOCAL_ALL_ALBUMSET); in LocalSource()
64 mMatcher.add("/local/image/*", LOCAL_IMAGE_ALBUM); in LocalSource()
65 mMatcher.add("/local/video/*", LOCAL_VIDEO_ALBUM); in LocalSource()
66 mMatcher.add("/local/all/*", LOCAL_ALL_ALBUM); in LocalSource()
67 mMatcher.add("/local/image/item/*", LOCAL_IMAGE_ITEM); in LocalSource()
68 mMatcher.add("/local/video/item/*", LOCAL_VIDEO_ITEM); in LocalSource()
[all …]
DSnailSource.java27 private PathMatcher mMatcher; field in SnailSource
33 mMatcher = new PathMatcher(); in SnailSource()
34 mMatcher.add("/snail/set/*", SNAIL_ALBUM); in SnailSource()
35 mMatcher.add("/snail/item/*", SNAIL_ITEM); in SnailSource()
42 switch (mMatcher.match(path)) { in createMediaObject()
44 String itemPath = "/snail/item/" + mMatcher.getVar(0); in createMediaObject()
49 int id = mMatcher.getIntVar(0); in createMediaObject()
DSecureSource.java23 private static PathMatcher mMatcher = new PathMatcher(); field in SecureSource
28 mMatcher.add("/secure/all/*", SECURE_ALBUM);
29 mMatcher.add("/secure/unlock", SECURE_UNLOCK);
38 return (SECURE_ALBUM == mMatcher.match(Path.fromString(path))); in isSecurePath()
43 switch (mMatcher.match(path)) { in createMediaObject()
DComboSource.java25 private PathMatcher mMatcher; field in ComboSource
30 mMatcher = new PathMatcher(); in ComboSource()
31 mMatcher.add("/combo/*", COMBO_ALBUMSET); in ComboSource()
32 mMatcher.add("/combo/*/*", COMBO_ALBUM); in ComboSource()
44 switch (mMatcher.match(path)) { in createMediaObject()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmsgTokenizer.java29 private final Matcher mMatcher; field in BmsgTokenizer
40 mMatcher = Pattern.compile("(([^:]*):(.*))?\r\n").matcher(str); in BmsgTokenizer()
41 mPos = mMatcher.regionStart(); in BmsgTokenizer()
48 mMatcher.region(mPos, mMatcher.regionEnd()); in next()
50 if (!mMatcher.lookingAt()) { in next()
58 mPos = mMatcher.end(); in next()
60 if (mMatcher.group(1) != null) { in next()
65 return new Property(mMatcher.group(2), mMatcher.group(3)); in next()
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
DPicasaSource.java44 private PathMatcher mMatcher; field in PicasaSource
51 mMatcher = new PathMatcher(); in PicasaSource()
52 mMatcher.add("/picasa/all", PICASA_ALBUMSET); in PicasaSource()
53 mMatcher.add("/picasa/image", PICASA_ALBUMSET); in PicasaSource()
54 mMatcher.add("/picasa/video", PICASA_ALBUMSET); in PicasaSource()
76 switch (mMatcher.match(path)) { in createMediaObject()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java54 private UriMatcher mMatcher; field in BluetoothMapIMProvider
68 mMatcher = new UriMatcher(UriMatcher.NO_MATCH); in attachInfo()
69 mMatcher.addURI(mAuthority, BluetoothMapContract.TABLE_ACCOUNT, MATCH_ACCOUNT); in attachInfo()
70 mMatcher.addURI(mAuthority, "#/"+ BluetoothMapContract.TABLE_MESSAGE, MATCH_MESSAGE); in attachInfo()
71 mMatcher.addURI(mAuthority, "#/"+ BluetoothMapContract.TABLE_CONVERSATION, in attachInfo()
73 mMatcher.addURI(mAuthority, "#/"+ BluetoothMapContract.TABLE_CONVOCONTACT, in attachInfo()
305 switch (mMatcher.match(uri)) { in query()
DBluetoothMapEmailProvider.java58 private UriMatcher mMatcher; field in BluetoothMapEmailProvider
91 mMatcher = new UriMatcher(UriMatcher.NO_MATCH); in attachInfo()
92 mMatcher.addURI(mAuthority, BluetoothMapContract.TABLE_ACCOUNT, MATCH_ACCOUNT); in attachInfo()
93 mMatcher.addURI(mAuthority, "#/"+BluetoothMapContract.TABLE_FOLDER, MATCH_FOLDER); in attachInfo()
94 mMatcher.addURI(mAuthority, "#/"+BluetoothMapContract.TABLE_MESSAGE, MATCH_MESSAGE); in attachInfo()
501 switch (mMatcher.match(uri)) { in query()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DVeiledAddressMatcher.java68 private Pattern mMatcher = null; field in VeiledAddressMatcher
106 mMatcher = Pattern.compile(pattern); in loadPattern()
143 if (!mVeiledMatchingEnabled || mMatcher == null) { in isVeiledAddress()
147 return mMatcher.matcher(address).matches(); in isVeiledAddress()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java62 private final ContactMatcher mMatcher = new ContactMatcher(); field in ContactAggregator
488 mMatcher.clear(); in updateAggregationAfterVisibilityChange()
490 updateMatchScoresBasedOnIdentityMatch(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
491 updateMatchScoresBasedOnNameMatches(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
493 mMatcher.pickBestMatches(ContactMatcher.SCORE_THRESHOLD_PRIMARY); in updateAggregationAfterVisibilityChange()
498 mMatcher.clear(); in updateAggregationAfterVisibilityChange()
499 updateMatchScoresBasedOnEmailMatches(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
500 updateMatchScoresBasedOnPhoneMatches(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
502 mMatcher.pickBestMatches(ContactMatcher.SCORE_THRESHOLD_SECONDARY); in updateAggregationAfterVisibilityChange()
DContactAggregator2.java74 private final RawContactMatcher mMatcher = new RawContactMatcher(); field in ContactAggregator2
473 mMatcher.clear(); in updateAggregationAfterVisibilityChange()
475 updateMatchScoresBasedOnIdentityMatch(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
476 updateMatchScoresBasedOnNameMatches(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
478 mMatcher.pickBestMatches(SCORE_THRESHOLD_PRIMARY); in updateAggregationAfterVisibilityChange()
483 mMatcher.clear(); in updateAggregationAfterVisibilityChange()
484 updateMatchScoresBasedOnEmailMatches(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
485 updateMatchScoresBasedOnPhoneMatches(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
487 mMatcher.pickBestMatches(SCORE_THRESHOLD_SECONDARY); in updateAggregationAfterVisibilityChange()
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java47 private UriMatcher mMatcher; field in MockContentProvider.Query
68 mMatcher = matcher; in Query()
139 if (mMatcher != null && mMatcher.match(uri) == UriMatcher.NO_MATCH) { in equals()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationViewAdapter.java90 private final VeiledAddressMatcher mMatcher; field in ConversationViewAdapter
278 v.setVeiledMatcher(mAdapter.mMatcher); in createView()
571 mMatcher = controllableActivity.getAccountController().getVeiledAddressMatcher(); in ConversationViewAdapter()
DMessageHeaderView.java733 private final VeiledAddressMatcher mMatcher; field in MessageHeaderView.RecipientListsBuilder
747 mMatcher = matcher; in RecipientListsBuilder()
791 if (mMatcher != null && mMatcher.isVeiledAddress(emailAddress)) { in appendRecipients()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...