Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java34 private Path(Path parent, String segment) { in Path() argument
36 mSegment = segment; in Path()
39 public Path getChild(String segment) { in getChild() argument
44 Path p = mChildren.get(segment); in getChild()
48 Path p = new Path(this, segment); in getChild()
49 mChildren.put(segment, p); in getChild()
60 public Path getChild(int segment) { in getChild() argument
61 return getChild(String.valueOf(segment)); in getChild()
64 public Path getChild(long segment) { in getChild() argument
65 return getChild(String.valueOf(segment)); in getChild()
DPathMatcher.java76 Node addChild(String segment) { in addChild() argument
80 Node node = mMap.get(segment); in addChild()
85 mMap.put(segment, n); in addChild()
89 Node getChild(String segment) { in getChild() argument
91 return mMap.get(segment); in getChild()
DUriSource.java45 String segment[] = path.split(); in createMediaObject() local
46 if (segment.length != 3) { in createMediaObject()
50 String uri = URLDecoder.decode(segment[1], CHARSET_UTF_8); in createMediaObject()
51 String type = URLDecoder.decode(segment[2], CHARSET_UTF_8); in createMediaObject()
DDataManager.java202 public MediaSet[] getMediaSetsFromString(String segment) { in getMediaSetsFromString() argument
203 String[] seq = Path.splitSequence(segment); in getMediaSetsFromString()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLookupKey.java246 LookupKeySegment segment = new LookupKeySegment(); in parse() local
247 segment.accountHashCode = hashCode; in parse()
248 segment.lookupType = lookupType; in parse()
249 segment.rawContactId = rawContactId; in parse()
250 segment.key = key; in parse()
251 segment.contactId = -1; in parse()
252 list.add(segment); in parse()
DContactsProvider2.java2737 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in insertInTransaction() local
2738 values.put(Data.RAW_CONTACT_ID, uri.getPathSegments().get(segment)); in insertInTransaction()
4171 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in updateInTransaction() local
4172 final String rawContactId = uri.getPathSegments().get(segment); in updateInTransaction()
6680 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in queryLocal() local
6681 long rawContactId = Long.parseLong(uri.getPathSegments().get(segment)); in queryLocal()
7750 for (LookupKeySegment segment : segments) { in lookupContactIdBySourceIds()
7751 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID) { in lookupContactIdBySourceIds()
7752 DatabaseUtils.appendEscapedSQLString(sb, segment.key); in lookupContactIdBySourceIds()
7770 LookupKeySegment segment = segments.get(i); in lookupContactIdBySourceIds() local
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java1102 for (DNASegment segment : segments) { in weaveDNAStrands()
1104 DNAStrand strand = strands.get(segment.color); in weaveDNAStrands()
1105 int dayIndex = segment.day - firstJulianDay; in weaveDNAStrands()
1106 int dayStartMinute = segment.startMinute % DAY_IN_MINUTES; in weaveDNAStrands()
1107 int dayEndMinute = segment.endMinute % DAY_IN_MINUTES; in weaveDNAStrands()
1119 Log.d(TAG, "Adding " + Integer.toHexString(segment.color) + " at x,y0,y1: " + x in weaveDNAStrands()
1181 DNASegment segment = new DNASegment(); in addNewSegment() local
1185 segment.startMinute = Math.max(dayOffset + event.startTime, minStart); in addNewSegment()
1188 int minEnd = Math.min(segment.startMinute + minMinutes, endOfDay); in addNewSegment()
1189 segment.endMinute = Math.max(dayOffset + event.endTime, minEnd); in addNewSegment()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java231 LookupKeySegment segment = list.get(i); in assertLookupKey() local
232 assertEquals(accountHashCodes[i], segment.accountHashCode); in assertLookupKey()
233 assertEquals(types[i], segment.lookupType); in assertLookupKey()
234 assertEquals(keys[i], segment.key); in assertLookupKey()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java362 String segment = uri.getPathSegments().get(1); in update() local
363 rowId = Long.parseLong(segment); in update()
399 String segment = uri.getPathSegments().get(1); in delete() local
400 long rowId = Long.parseLong(segment); in delete()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DNavStateController.java85 mSegment = container.findViewById(R.id.segment); in NavStateController()
215 private String getSegmentString(Road segment) { in getSegmentString() argument
216 if (segment != null) { in getSegmentString()
217 return segment.getName(); in getSegmentString()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
DNavStateController.java86 mSegment = container.findViewById(R.id.segment); in NavStateController()
213 private String getSegmentString(Road segment) { in getSegmentString() argument
214 if (segment != null) { in getSegmentString()
215 return segment.getName(); in getSegmentString()
/packages/providers/MediaProvider/jni/
Dnode.cpp87 for (const std::string& segment : segments) { in LookupAbsolutePath() local
88 node = node->LookupChildByName(segment, false /* acquire */); in LookupAbsolutePath()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugStorageProvider.java202 static Uri buildUriWithSegment(int bugReportId, @UriActionSegments String segment) { in buildUriWithSegment() argument
204 + segment + "/" + bugReportId); in buildUriWithSegment()
/packages/services/Telephony/src/com/android/phone/
DSimPhonebookProvider.java900 String segment = uri.getPathSegments().get(pathIndex); in parseSubscriptionIdFromUri() local
902 return Integer.parseInt(segment); in parseSubscriptionIdFromUri()
904 throw new IllegalArgumentException("Invalid subscription ID: " + segment); in parseSubscriptionIdFromUri()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListing.java143 public void segment(int count, int offset) { in segment() method in BluetoothMapMessageListing
DBluetoothMapConvoListing.java122 public void segment(int count, int offset) { in segment() method in BluetoothMapConvoListing
DBluetoothMapContent.java2413 bmList.segment(ap.getMaxListCount(), offsetNum); in msgListing()
2885 convoList.segment(ap.getMaxListCount(), offsetNum); in convoListing()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java143 for (String segment : segments) { in buildPath()
145 cur = new File(segment); in buildPath()
147 cur = new File(cur, segment); in buildPath()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java971 for (String segment : additionalPathSegments) { in queryWorkProfileProvider()
972 remoteUri = Uri.withAppendedPath(remoteUri, segment); in queryWorkProfileProvider()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dsl_wordlist.combined.gz
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...

12