Home
last modified time | relevance | path

Searched refs:pathSegments (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DEventInfoActivity.java95 List<String> pathSegments = data.getPathSegments(); in onCreate() local
96 int size = pathSegments.size(); in onCreate()
97 if (size > 2 && "EventTime".equals(pathSegments.get(2))) { in onCreate()
100 mEventId = Long.parseLong(pathSegments.get(1)); in onCreate()
102 mStartMillis = Long.parseLong(pathSegments.get(3)); in onCreate()
103 mEndMillis = Long.parseLong(pathSegments.get(4)); in onCreate()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/
DLogUtils.java96 List<String> pathSegments = uri.getPathSegments(); in contentUriToString() local
106 final String account = pathSegments.get(0); in contentUriToString()
109 for (int i = 1; i < pathSegments.size(); i++) { in contentUriToString()
110 builder.appendPath(pathSegments.get(i)); in contentUriToString()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DLogUtils.java123 List<String> pathSegments = uri.getPathSegments(); in contentUriToString() local
132 final String account = pathSegments.get(0); in contentUriToString()
135 for (int i = 1; i < pathSegments.size(); i++) { in contentUriToString()
136 builder.appendPath(pathSegments.get(i)); in contentUriToString()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageIconProvider.java130 List<String> pathSegments = uri.getPathSegments(); in getPackageNameFromUri() local
131 String packageName = pathSegments.get(pathSegments.size() - 1); in getPackageNameFromUri()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekFragment.java197 List<String> pathSegments = mEventUri.getPathSegments(); in updateLoadedDays() local
198 int size = pathSegments.size(); in updateLoadedDays()
202 long first = Long.parseLong(pathSegments.get(size - 2)); in updateLoadedDays()
203 long last = Long.parseLong(pathSegments.get(size - 1)); in updateLoadedDays()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java280 List<String> pathSegments = uri.getPathSegments(); in getDrawable() local
281 if (pathSegments.size() != 1) { in getDrawable()
288 final String name = pathSegments.get(0); in getDrawable()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactBrowseListFragment.java357 List<String> pathSegments = mSelectedContactUri.getPathSegments(); in parseSelectedContactUri() local
358 mSelectedContactLookupKey = Uri.encode(pathSegments.get(2)); in parseSelectedContactUri()
359 if (pathSegments.size() == 4) { in parseSelectedContactUri()
DDefaultContactBrowseListFragment.java1106 final List<String> pathSegments = lookupUri.getPathSegments(); in shareSelectedContacts() local
1107 if (pathSegments.size() < 2) { in shareSelectedContacts()
1110 final String lookupKey = pathSegments.get(pathSegments.size() - 2); in shareSelectedContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java3653 final List<String> pathSegments = uri.getPathSegments(); in deleteInTransaction() local
3654 final int segmentCount = pathSegments.size(); in deleteInTransaction()
3659 final String lookupKey = pathSegments.get(2); in deleteInTransaction()
3667 final List<String> pathSegments = uri.getPathSegments(); in deleteInTransaction() local
3668 final String lookupKey = pathSegments.get(2); in deleteInTransaction()
4083 final List<String> pathSegments = uri.getPathSegments(); in updateInTransaction() local
4084 final int segmentCount = pathSegments.size(); in updateInTransaction()
4089 final String lookupKey = pathSegments.get(2); in updateInTransaction()
5847 List<String> pathSegments = uri.getPathSegments(); in queryLocal() local
5848 int segmentCount = pathSegments.size(); in queryLocal()
[all …]
DCallLogProvider.java265 List<String> pathSegments = uri.getPathSegments(); in query() local
266 String phoneNumber = pathSegments.size() >= 2 ? pathSegments.get(2) : null; in query()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java287 List<String> pathSegments = uri.getPathSegments(); in isTwoSegmentUriStartingWith() local
288 return pathSegments.size() == 2 && pathSegment.equals(pathSegments.get(0)); in isTwoSegmentUriStartingWith()