Home
last modified time | relevance | path

Searched refs:mMatcher (Results 1 – 9 of 9) 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 …]
DMtpSource.java29 PathMatcher mMatcher; field in MtpSource
35 mMatcher = new PathMatcher(); in MtpSource()
36 mMatcher.add("/mtp", MTP_DEVICESET); in MtpSource()
37 mMatcher.add("/mtp/*", MTP_DEVICE); in MtpSource()
38 mMatcher.add("/mtp/item/*/*", MTP_ITEM); in MtpSource()
44 switch (mMatcher.match(path)) { in createMediaObject()
49 int deviceId = mMatcher.getIntVar(0); in createMediaObject()
53 int deviceId = mMatcher.getIntVar(0); in createMediaObject()
54 int objectId = mMatcher.getIntVar(1); in createMediaObject()
DFilterSource.java27 private PathMatcher mMatcher; field in FilterSource
32 mMatcher = new PathMatcher(); in FilterSource()
33 mMatcher.add("/filter/mediatype/*/*", FILTER_BY_MEDIATYPE); in FilterSource()
34 mMatcher.add("/filter/delete/*", FILTER_BY_DELETE); in FilterSource()
42 int matchType = mMatcher.match(path); in createMediaObject()
46 int mediaType = mMatcher.getIntVar(0); in createMediaObject()
47 String setsName = mMatcher.getVar(1); in createMediaObject()
52 String setsName = mMatcher.getVar(0); in createMediaObject()
DSnailSource.java26 private PathMatcher mMatcher; field in SnailSource
32 mMatcher = new PathMatcher(); in SnailSource()
33 mMatcher.add("/snail/set/*", SNAIL_ALBUM); in SnailSource()
34 mMatcher.add("/snail/item/*", SNAIL_ITEM); in SnailSource()
41 switch (mMatcher.match(path)) { in createMediaObject()
43 String itemPath = "/snail/item/" + mMatcher.getVar(0); in createMediaObject()
48 int id = mMatcher.getIntVar(0); in createMediaObject()
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 …]
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/Gallery2/tests/src/com/android/gallery3d/data/
DMockSource.java23 PathMatcher mMatcher; field in MockSource
31 mMatcher = new PathMatcher(); in MockSource()
32 mMatcher.add("/mock/*", MOCK_SET); in MockSource()
33 mMatcher.add("/mock/item/*", MOCK_ITEM); in MockSource()
39 switch (mMatcher.match(path)) { in createMediaObject()
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
DPicasaSource.java45 private PathMatcher mMatcher; field in PicasaSource
52 mMatcher = new PathMatcher(); in PicasaSource()
53 mMatcher.add("/picasa/all", PICASA_ALBUMSET); in PicasaSource()
54 mMatcher.add("/picasa/image", PICASA_ALBUMSET); in PicasaSource()
55 mMatcher.add("/picasa/video", PICASA_ALBUMSET); in PicasaSource()
77 switch (mMatcher.match(path)) { in createMediaObject()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java172 private ContactMatcher mMatcher = new ContactMatcher(); field in ContactAggregator
461 mCandidates, mMatcher); in aggregateInTransaction()
1042 mMatcher.clear(); in updateAggregationAfterVisibilityChange()
1044 updateMatchScoresBasedOnIdentityMatch(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
1045 updateMatchScoresBasedOnNameMatches(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
1047 mMatcher.pickBestMatches(ContactMatcher.SCORE_THRESHOLD_PRIMARY); in updateAggregationAfterVisibilityChange()
1052 mMatcher.clear(); in updateAggregationAfterVisibilityChange()
1053 updateMatchScoresBasedOnEmailMatches(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
1054 updateMatchScoresBasedOnPhoneMatches(db, rawContactId, mMatcher); in updateAggregationAfterVisibilityChange()
1056 mMatcher.pickBestMatches(ContactMatcher.SCORE_THRESHOLD_SECONDARY); in updateAggregationAfterVisibilityChange()