Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 25 of 32) 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.java2705 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in insertInTransaction() local
2706 values.put(Data.RAW_CONTACT_ID, uri.getPathSegments().get(segment)); in insertInTransaction()
4097 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in updateInTransaction() local
4098 final String rawContactId = uri.getPathSegments().get(segment); in updateInTransaction()
6769 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in queryLocal() local
6770 long rawContactId = Long.parseLong(uri.getPathSegments().get(segment)); in queryLocal()
7831 for (LookupKeySegment segment : segments) { in lookupContactIdBySourceIds()
7832 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID) { in lookupContactIdBySourceIds()
7833 DatabaseUtils.appendEscapedSQLString(sb, segment.key); in lookupContactIdBySourceIds()
7851 LookupKeySegment segment = segments.get(i); in lookupContactIdBySourceIds() local
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java1179 for (DNASegment segment : segments) { in weaveDNAStrands()
1181 DNAStrand strand = strands.get(segment.color); in weaveDNAStrands()
1182 int dayIndex = segment.day - firstJulianDay; in weaveDNAStrands()
1183 int dayStartMinute = segment.startMinute % DAY_IN_MINUTES; in weaveDNAStrands()
1184 int dayEndMinute = segment.endMinute % DAY_IN_MINUTES; in weaveDNAStrands()
1196 Log.d(TAG, "Adding " + Integer.toHexString(segment.color) + " at x,y0,y1: " + x in weaveDNAStrands()
1258 DNASegment segment = new DNASegment(); in addNewSegment() local
1262 segment.startMinute = Math.max(dayOffset + event.startTime, minStart); in addNewSegment()
1265 int minEnd = Math.min(segment.startMinute + minMinutes, endOfDay); in addNewSegment()
1266 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.java391 String segment = uri.getPathSegments().get(1); in update() local
392 rowId = Long.parseLong(segment); in update()
432 String segment = uri.getPathSegments().get(1); in delete() local
433 long rowId = Long.parseLong(segment); in delete()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListing.java119 public void segment(int count, int offset) { in segment() method in BluetoothMapMessageListing
DBluetoothMapConvoListing.java124 public void segment(int count, int offset) { in segment() method in BluetoothMapConvoListing
DBluetoothMapContent.java2223 bmList.segment(ap.getMaxListCount(), offsetNum); in msgListing()
2642 convoList.segment(ap.getMaxListCount(), offsetNum); in convoListing()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java3417 private static String getExternalUriString(String segment, String account) { in getExternalUriString() argument
3418 return BASE_EXTERNAL_URI.buildUpon().appendPath(segment) in getExternalUriString()
3422 private static String getExternalUriStringEmail2(String segment, String account) { in getExternalUriStringEmail2() argument
3423 return BASE_EXTERAL_URI2.buildUpon().appendPath(segment) in getExternalUriStringEmail2()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dfr_wordlist.combined.gz
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dcs_wordlist.combined.gz
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dlt_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz
Dro_wordlist.combined.gz

12