Home
last modified time | relevance | path

Searched refs:segments (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java86 String[] segments = split(); in toString() local
87 for (int i = 0; i < segments.length; i++) { in toString()
89 sb.append(segments[i]); in toString()
102 String[] segments = split(s); in fromString() local
104 for (int i = 0; i < segments.length; i++) { in fromString()
105 current = current.getChild(segments[i]); in fromString()
117 String[] segments = new String[n]; in split() local
120 segments[i--] = p.mSegment; in split()
122 return segments; in split()
132 ArrayList<String> segments = new ArrayList<String>(); in split() local
[all …]
DPathMatcher.java33 String[] segments = Path.split(pattern); in add() local
35 for (int i = 0; i < segments.length; i++) { in add()
36 current = current.addChild(segments[i]); in add()
42 String[] segments = path.split(); in match() local
45 for (int i = 0; i < segments.length; i++) { in match()
46 Node next = current.getChild(segments[i]); in match()
50 mVariables.add(segments[i]); in match()
DComboSource.java38 String[] segments = path.split(); in createMediaObject() local
39 if (segments.length < 2) { in createMediaObject()
47 dataManager.getMediaSetsFromString(segments[1])); in createMediaObject()
51 dataManager.getMediaSetsFromString(segments[2]), segments[1]); in createMediaObject()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DFilterUtils.java123 String[] segments = path.split(); in getAppliedFilters() local
125 for (int i = 0; i < segments.length; i++) { in getAppliedFilters()
126 if (segments[i].startsWith("{")) { in getAppliedFilters()
127 String[] sets = Path.splitSequence(segments[i]); in getAppliedFilters()
136 if (segments[0].equals("cluster")) { in getAppliedFilters()
138 if (segments.length == 4) { in getAppliedFilters()
142 int ctype = toClusterType(segments[2]); in getAppliedFilters()
232 String[] segments = Path.split(base); in removeOneClusterFromPath()
233 if (segments[0].equals("cluster")) { in removeOneClusterFromPath()
235 return Path.splitSequence(segments[1])[0]; in removeOneClusterFromPath()
[all …]
/packages/apps/Email/provider_src/com/android/email/provider/
DAttachmentProvider.java106 List<String> segments = uri.getPathSegments(); in getType() local
107 String id = segments.get(1); in getType()
108 String format = segments.get(2); in getType()
153 List<String> segments = uri.getPathSegments(); in openFile() local
154 String accountId = segments.get(0); in openFile()
155 String id = segments.get(1); in openFile()
168 List<String> segments = uri.getPathSegments(); in openFile() local
169 final long accountId = Long.parseLong(segments.get(0)); in openFile()
170 final long id = Long.parseLong(segments.get(1)); in openFile()
171 String format = segments.get(2); in openFile()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java950 LinkedList<DNASegment> segments = new LinkedList<DNASegment>(); in createDNAStrands() local
1024 if (segments.size() == 0) { in createDNAStrands()
1025 addNewSegment(segments, event, strands, firstJulianDay, 0, minMinutes); in createDNAStrands()
1030 DNASegment lastSegment = segments.getLast(); in createDNAStrands()
1045 int i = segments.size(); in createDNAStrands()
1047 while (--i >= 0 && endMinute < segments.get(i).startMinute); in createDNAStrands()
1051 for (; i >= 0 && startMinute <= (currSegment = segments.get(i)).endMinute; i--) { in createDNAStrands()
1065 segments.add(i + 1, rhs); in createDNAStrands()
1069 + segments.get(i).toString()); in createDNAStrands()
1084 segments.add(i++, lhs); in createDNAStrands()
[all …]
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java193 List<String> segments = uri.getPathSegments(); in writeDataToPipe() local
194 long messageId = Long.parseLong(segments.get(2)); in writeDataToPipe()
196 if(segments.size() >= 4) { in writeDataToPipe()
197 String format = segments.get(3); in writeDataToPipe()
688 final List<String> segments = uri.getPathSegments(); in getAccountId() local
689 if (segments.size() < 1) { in getAccountId()
692 return segments.get(0); in getAccountId()
DBluetoothMapIMProvider.java677 final List<String> segments = uri.getPathSegments(); in getAccountId() local
678 if (segments.size() < 1) { in getAccountId()
681 return segments.get(0); in getAccountId()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DUriUtils.java82 final List<String> segments = lookupUri.getPathSegments(); in getLookupKeyFromUri() local
85 return (segments.size() < 3) ? null : Uri.encode(segments.get(2)); in getLookupKeyFromUri()
/packages/apps/Contacts/src/com/android/contacts/util/
DUriUtils.java86 final List<String> segments = lookupUri.getPathSegments(); in getLookupKeyFromUri() local
89 return (segments.size() < 3) ? null : Uri.encode(segments.get(2)); in getLookupKeyFromUri()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMediaScratchFileProvider.java57 final List<String> segments = uri.getPathSegments(); in isMediaScratchSpaceUri() local
60 segments.size() == 1 && FileProvider.isValidFileId(segments.get(0))); in isMediaScratchSpaceUri()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeDrawingPoints.java152 final int segments = Math.min(mDrawingParams.mMaxInterpolationSegments, in interpolateStrokeAndReturnStartIndexOfLastSegment() local
157 for (int i = 1; i < segments; i++) { in interpolateStrokeAndReturnStartIndexOfLastSegment()
158 final float t = i / (float)segments; in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java423 final List<String> segments = uri.getPathSegments(); in getListUriFromAttachmentUri() local
426 .appendPath(segments.get(1)) in getListUriFromAttachmentUri()
427 .appendPath(segments.get(2)) in getListUriFromAttachmentUri()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java381 List<String> segments = uri.getPathSegments(); in addMetadataKeysToSelectionArgs() local
383 segments.get(1), in addMetadataKeysToSelectionArgs()
384 segments.get(2), in addMetadataKeysToSelectionArgs()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java7766 ArrayList<LookupKeySegment> segments = key.parse(lookupKey); in lookupContactIdByLookupKey() local
7769 if (lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_PROFILE)) { in lookupContactIdByLookupKey()
7774 if (lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_SOURCE_ID)) { in lookupContactIdByLookupKey()
7775 contactId = lookupContactIdBySourceIds(db, segments); in lookupContactIdByLookupKey()
7782 lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID); in lookupContactIdByLookupKey()
7784 contactId = lookupContactIdByRawContactIds(db, segments); in lookupContactIdByLookupKey()
7791 || lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME)) { in lookupContactIdByLookupKey()
7792 contactId = lookupContactIdByDisplayNames(db, segments); in lookupContactIdByLookupKey()
7827 SQLiteDatabase db, ArrayList<LookupKeySegment> segments) { in lookupContactIdBySourceIds() argument
7831 for (LookupKeySegment segment : segments) { in lookupContactIdBySourceIds()
[all …]
DVoicemailContentProvider.java301 List<String> segments = uri.getPathSegments(); in createUriData() local
309 return new UriData(uri, uriType, segments.get(1), sourcePackage); in createUriData()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java915 List<String> segments = uri.getPathSegments(); in query() local
916 final int threadId = Integer.parseInt(segments.get(segments.size() - 2)); in query()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java3737 List <String> segments = uri.getPathSegments(); in update() local
3738 long playlist = Long.parseLong(segments.get(3)); in update()
3739 int oldpos = Integer.parseInt(segments.get(5)); in update()
5037 final List<String> segments = uri.getPathSegments(); in getVolumeName() local
5038 if (segments != null && segments.size() > 0) { in getVolumeName()
5039 return segments.get(0); in getVolumeName()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java3111 List<String> segments = uri.getPathSegments(); in deleteInTransaction() local
3112 long eventId = Long.parseLong(segments.get(1)); in deleteInTransaction()
3113 long excepId = Long.parseLong(segments.get(2)); in deleteInTransaction()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...

12