Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 25 of 33) 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/apps/Browser/tests/src/com/android/browser/tests/utils/
DMockObserverNode.java80 String segment = getUriSegment(uri, index); in addObserver() local
81 if (segment == null) { in addObserver()
87 if (node.mName.equals(segment)) { in addObserver()
94 MockObserverNode node = new MockObserverNode(segment); in addObserver()
146 String segment = null; in notifyMyObservers() local
152 segment = getUriSegment(uri, index); in notifyMyObservers()
160 if (segment == null || node.mName.equals(segment)) { in notifyMyObservers()
163 if (segment != null) { in notifyMyObservers()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLookupKey.java245 LookupKeySegment segment = new LookupKeySegment(); in parse() local
246 segment.accountHashCode = hashCode; in parse()
247 segment.lookupType = lookupType; in parse()
248 segment.rawContactId = rawContactId; in parse()
249 segment.key = key; in parse()
250 segment.contactId = -1; in parse()
251 list.add(segment); in parse()
DContactsProvider2.java2519 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in insertInTransaction() local
2520 values.put(Data.RAW_CONTACT_ID, uri.getPathSegments().get(segment)); in insertInTransaction()
3918 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in updateInTransaction() local
3919 final String rawContactId = uri.getPathSegments().get(segment); in updateInTransaction()
6104 int segment = match == RAW_CONTACTS_ID_DATA ? 1 : 2; in queryLocal() local
6105 long rawContactId = Long.parseLong(uri.getPathSegments().get(segment)); in queryLocal()
6924 for (LookupKeySegment segment : segments) { in lookupContactIdBySourceIds()
6925 if (segment.lookupType == ContactLookupKey.LOOKUP_TYPE_SOURCE_ID) { in lookupContactIdBySourceIds()
6926 DatabaseUtils.appendEscapedSQLString(sb, segment.key); in lookupContactIdBySourceIds()
6944 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.java411 String segment = uri.getPathSegments().get(1); in update() local
412 rowId = Long.parseLong(segment); in update()
452 String segment = uri.getPathSegments().get(1); in delete() local
453 long rowId = Long.parseLong(segment); in delete()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListing.java116 public void segment(int count, int offset) { in segment() method in BluetoothMapMessageListing
DBluetoothMapContent.java1360 bmList.segment(ap.getMaxListCount(), offsetNum); in msgListing()
/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.gz1dictionary=main:fr,locale=fr,description=Français,date=1400639634, ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1402373178, ...
Dcs_wordlist.combined.gz
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1393228143, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...

12