Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 25 of 35) 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.java2648 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in insertInTransaction() local
2649 values.put(Data.RAW_CONTACT_ID, uri.getPathSegments().get(segment)); in insertInTransaction()
4039 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in updateInTransaction() local
4040 final String rawContactId = uri.getPathSegments().get(segment); in updateInTransaction()
6641 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in queryLocal() local
6642 long rawContactId = Long.parseLong(uri.getPathSegments().get(segment)); in queryLocal()
7703 for (LookupKeySegment segment : segments) { in lookupContactIdBySourceIds()
7704 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID) { in lookupContactIdBySourceIds()
7705 DatabaseUtils.appendEscapedSQLString(sb, segment.key); in lookupContactIdBySourceIds()
7723 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/src/android/car/cluster/
DNavStateController.java78 mSegment = container.findViewById(R.id.segment); in NavStateController()
176 private String getSegmentString(Road segment) { in getSegmentString() argument
177 if (segment != null) { in getSegmentString()
178 return segment.getName(); in getSegmentString()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugStorageProvider.java183 static Uri buildUriWithSegment(int bugReportId, @UriActionSegments String segment) { in buildUriWithSegment() argument
185 + segment + "/" + bugReportId); in buildUriWithSegment()
/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/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java954 for (String segment : additionalPathSegments) { in queryWorkProfileProvider()
955 remoteUri = Uri.withAppendedPath(remoteUri, segment); in queryWorkProfileProvider()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java625 for (String segment : segments) { in acceptWithExpansion()
626 builder.appendPath(segment); in acceptWithExpansion()
/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.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
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, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dpl_wordlist.combined.gz

12