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/Calendar/src/com/android/calendar/
DUtils.java873 LinkedList<DNASegment> segments = new LinkedList<DNASegment>(); in createDNAStrands() local
947 if (segments.size() == 0) { in createDNAStrands()
948 addNewSegment(segments, event, strands, firstJulianDay, 0, minMinutes); in createDNAStrands()
953 DNASegment lastSegment = segments.getLast(); in createDNAStrands()
968 int i = segments.size(); in createDNAStrands()
970 while (--i >= 0 && endMinute < segments.get(i).startMinute); in createDNAStrands()
974 for (; i >= 0 && startMinute <= (currSegment = segments.get(i)).endMinute; i--) { in createDNAStrands()
988 segments.add(i + 1, rhs); in createDNAStrands()
992 + segments.get(i).toString()); in createDNAStrands()
1007 segments.add(i++, lhs); in createDNAStrands()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridOptionsProvider.java125 List<String> segments = uri.getPathSegments(); in getType() local
126 if (segments.size() > 0 && KEY_PREVIEW.equals(segments.get(0))) { in getType()
167 List<String> segments = uri.getPathSegments(); in openFile() local
168 if (segments.size() < 2 || !KEY_PREVIEW.equals(segments.get(0))) { in openFile()
171 String profileName = segments.get(1); in openFile()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java197 List<String> segments = uri.getPathSegments(); in writeDataToPipe() local
198 long messageId = Long.parseLong(segments.get(2)); in writeDataToPipe()
200 if (segments.size() >= 4) { in writeDataToPipe()
201 String format = segments.get(3); in writeDataToPipe()
722 final List<String> segments = uri.getPathSegments(); in getAccountId() local
723 if (segments.size() < 1) { in getAccountId()
726 return segments.get(0); in getAccountId()
DBluetoothMapIMProvider.java701 final List<String> segments = uri.getPathSegments(); in getAccountId() local
702 if (segments.size() < 1) { in getAccountId()
705 return segments.get(0); in getAccountId()
/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/Dialer/java/com/android/dialer/util/
DUriUtils.java84 final List<String> segments = lookupUri.getPathSegments(); in getLookupKeyFromUri() local
87 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/apps/Dialer/java/com/android/dialer/glidephotomanager/impl/
DGlidePhotoManagerImpl.java171 List<String> segments = Uri.parse(lookupUri).getPathSegments(); in getIdentifier() local
172 if (segments.size() < LOOKUP_URI_PATH_SEGMENTS) { in getIdentifier()
175 String lookupKey = segments.get(LOOKUP_URI_PATH_SEGMENTS); in getIdentifier()
/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/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.java7638 ArrayList<LookupKeySegment> segments = key.parse(lookupKey); in lookupContactIdByLookupKey() local
7641 if (lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_PROFILE)) { in lookupContactIdByLookupKey()
7646 if (lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_SOURCE_ID)) { in lookupContactIdByLookupKey()
7647 contactId = lookupContactIdBySourceIds(db, segments); in lookupContactIdByLookupKey()
7654 lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_RAW_CONTACT_ID); in lookupContactIdByLookupKey()
7656 contactId = lookupContactIdByRawContactIds(db, segments); in lookupContactIdByLookupKey()
7663 || lookupKeyContainsType(segments, ContactLookupKey.LOOKUP_TYPE_DISPLAY_NAME)) { in lookupContactIdByLookupKey()
7664 contactId = lookupContactIdByDisplayNames(db, segments); in lookupContactIdByLookupKey()
7699 SQLiteDatabase db, ArrayList<LookupKeySegment> segments) { in lookupContactIdBySourceIds() argument
7703 for (LookupKeySegment segment : segments) { in lookupContactIdBySourceIds()
[all …]
DVoicemailContentProvider.java336 List<String> segments = uri.getPathSegments(); in createUriData() local
344 return new UriData(uri, uriType, segments.get(1), sourcePackage); in createUriData()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java622 final List<String> segments = new ArrayList<>(uri.getPathSegments()); in acceptWithExpansion() local
623 segments.set(0, MediaStore.VOLUME_EXTERNAL); in acceptWithExpansion()
625 for (String segment : segments) { in acceptWithExpansion()
1546 final String[] segments = relativePath.split("/"); in computeDataValues()
1547 if (segments.length > 0) { in computeDataValues()
1548 values.put(ImageColumns.PRIMARY_DIRECTORY, segments[0]); in computeDataValues()
1550 if (segments.length > 1) { in computeDataValues()
1551 values.put(ImageColumns.SECONDARY_DIRECTORY, segments[1]); in computeDataValues()
2151 final String[] segments = path.split("/"); in sanitizePath() local
2152 for (int i = 0; i < segments.length; i++) { in sanitizePath()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java946 List<String> segments = uri.getPathSegments(); in query() local
947 final int threadId = Integer.parseInt(segments.get(segments.size() - 2)); in query()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java3375 List<String> segments = uri.getPathSegments(); in deleteInTransactionInner() local
3376 long eventId = Long.parseLong(segments.get(1)); in deleteInTransactionInner()
3377 long excepId = Long.parseLong(segments.get(2)); in deleteInTransactionInner()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
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