/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
H A D | DateTimeActivity.java | 77 public String get() { 84 public String get() { 91 public String get() { 104 public String get() { 113 public Layout get() { 131 public Layout get() { 176 if (currentTz.getID().equals(tz.get(ZoneGetter.KEY_ID))) { 179 tzBuilder.add((String) tz.get(ZoneGetter.KEY_DISPLAYNAME), 180 formatOffset((Integer) tz.get(ZoneGetter.KEY_OFFSET)), i); 259 mDummyDate.set(now.get(Calenda [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/ |
H A D | AutoFlashZslImageFilter.java | 90 public <T> T get(CaptureResult.Key<T> key) { method in class:AutoFlashZslImageFilter.AEConvergedTotalCaptureResult 92 Integer aeState = (Integer) mDelegate.get(key); 97 return mDelegate.get(key); 138 if (!mRequireAEConvergence.get()) { 149 Integer aeState = captureResult.get(CaptureResult.CONTROL_AE_STATE);
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
H A D | BugleCarrierConfigValuesLoader.java | 57 public Bundle get(int subId) { method in class:BugleCarrierConfigValuesLoader 62 values = mValuesCache.get(subId); 112 PhoneUtils.get(subId).getSmsManager().getCarrierConfigValues(); 134 final ApnsXmlProcessor processor = ApnsXmlProcessor.get(parser); 163 final int[] mccMnc = PhoneUtils.get(subId).getMccMnc();
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | ForegroundUtils.java | 53 Log.e(TAG, "ForegroundUtils: could not get IActivityManager"); 69 * get a callback if this method returns true. 83 List<Callback> callbacks = mBackgroundCallbacks.get(uid, new ArrayList<Callback>()); 115 return mForegroundUidPids.get(uid) != null; 121 List<Callback> callbacks = mBackgroundCallbacks.get(uid); 141 SparseBooleanArray foregroundPids = mForegroundUidPids.get(uid, 166 SparseBooleanArray foregroundPids = mForegroundUidPids.get(foregroundUid);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | DictionaryCollection.java | 69 // To avoid creating unnecessary objects, we get the list out of the first 70 // dictionary and add the rest to it if not null, hence the get(0) 71 ArrayList<SuggestedWordInfo> suggestions = dictionaries.get(0).getSuggestions(composedData, 77 final ArrayList<SuggestedWordInfo> sugg = dictionaries.get(i).getSuggestions( 88 if (mDictionaries.get(i).isInDictionary(word)) return true; 96 final int tempFreq = mDictionaries.get(i).getFrequency(word); 106 final int tempFreq = mDictionaries.get(i).getMaxFrequencyOfExactMatches(word);
|
/packages/apps/Nfc/nxp/jni/ |
H A D | com_android_nfc_NativeNfcTag.cpp | 299 jfieldID f = e->GetFieldID(tag_cls.get(), "mTechPollBytes", "[[B"); 302 if (existingPollBytes.get() != NULL) { 306 jfieldID techListField = e->GetFieldID(tag_cls.get(), "mTechList", "[I"); 308 ScopedIntArrayRO techIds(e, techList.get()); 312 ScopedLocalRef<jclass> byteArrayClass(e, e->GetObjectClass(pollBytes.get())); 313 ScopedLocalRef<jobjectArray> techPollBytes(e, e->NewObjectArray(techListLength, byteArrayClass.get(), NULL)); 326 e->SetByteArrayRegion(pollBytes.get(), 0, 2, (jbyte*) JewelAtqA); 329 e->SetByteArrayRegion(pollBytes.get(), 0, sizeof(psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.AtqA), 337 e->SetByteArrayRegion(pollBytes.get(), 0, sizeof(psRemoteDevInfo->RemoteDevInfo.Iso14443B_Info.AtqB.AtqResInfo.AppData), 339 e->SetByteArrayRegion(pollBytes.get(), sizeo [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapSettingsAdapter.java | 81 BluetoothMapAccountItem group = mMainGroup.get(groupPosition); 82 if (mProupList.get(group).size() > 0) 96 BluetoothMapAccountItem item = mMainGroup.get(groupPosition); 97 return mProupList.get(item).get(childPosition); 100 return mProupList.get(group); 141 BluetoothMapAccountItem siblings = childList.get(i); 199 BluetoothMapAccountItem item = mMainGroup.get(groupPosition); 200 return mProupList.get(item).size(); 205 return mMainGroup.get(groupPositio [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
H A D | AlertServiceTest.java | 311 Alert a = mAlerts.get(expected.mAlertId); 325 Alert a = mAlerts.get(expected.mAlertIdsInDigest[i]); 327 + debugStr, a.mEventId, actual.mNw.get(i).mEventId); 329 + debugStr, a.mBegin, actual.mNw.get(i).mBegin); 331 + debugStr, a.mEnd, actual.mNw.get(i).mEnd); 357 s.append(actual.mNw.get(digestIndex).mEventId + ","); 746 assertEquals(acceptedEventId, highPriority.get(0).eventId); 747 assertEquals(acceptedStartTime, highPriority.get(0).startMillis); 748 assertEquals(acceptedEndTime, highPriority.get(0).endMillis); 749 assertTrue(highPriority.get( [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | DateTimeSettingsSetupWizard.java | 241 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH), 242 now.get(Calendar.DAY_OF_MONTH)); 243 mTimePicker.setCurrentHour(now.get(Calendar.HOUR_OF_DAY)); 244 mTimePicker.setCurrentMinute(now.get(Calendar.MINUTE)); 314 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH), 315 now.get(Calendar.DAY_OF_MONTH)); 316 mTimePicker.setCurrentHour(now.get(Calendar.HOUR_OF_DAY)); 317 mTimePicker.setCurrentMinute(now.get(Calenda [all...] |
H A D | UsageStatsActivity.java | 69 String alabel = mAppLabelList.get(a.getPackageName()); 70 String blabel = mAppLabelList.get(b.getPackageName()); 124 final android.app.usage.UsageStats pkgStats = stats.get(i); 133 map.get(pkgStats.getPackageName()); 158 return mPackageStats.get(position); 186 // Get the ViewHolder back to get fast access to the TextView 192 UsageStats pkgStats = mPackageStats.get(position); 194 String label = mAppLabelMap.get(pkgStats.getPackageName());
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
H A D | SendersFormattingTests.java | 53 assertEquals("me", strings.get(0).toString()); 65 assertEquals("me", strings.get(0).toString()); 78 assertNull(strings.get(0)); 79 assertEquals("me", strings.get(1).toString()); 93 assertNull(strings.get(0)); 94 assertEquals("Something", strings.get(1).toString()); 105 assertEquals(before.participantInfos.get(0).name, after.participantInfos.get(0).name); 266 assertEquals("Andrew", displayableSenderNames.get(0)); 267 assertEquals("Andrew", displayableSenderNames.get( [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | BugleNotifications.java | 218 NotificationManagerCompat.from(Factory.get().getApplicationContext()); 243 final Context context = Factory.get().getApplicationContext(); 305 final Context context = Factory.get().getApplicationContext(); 325 final Context context = Factory.get().getApplicationContext(); 334 final DatabaseWrapper db = DataModel.get().getDatabase(); 349 final Context context = Factory.get().getApplicationContext(); 397 final Resources resources = Factory.get().getApplicationContext().getResources(); 413 final Context context = Factory.get().getApplicationContext(); 449 destinationIntent = UIIntents.get() 453 destinationIntent = UIIntents.get() [all...] |
H A D | MessageNotificationState.java | 278 if (mLineInfos.size() > 0 && mLineInfos.get(0) instanceof MessageLineInfo) { 279 return (MessageLineInfo) mLineInfos.get(0); 346 return UIIntents.get().getPendingIntentForClearingNotifications( 347 Factory.get().getApplicationContext(), 369 mTitle = Factory.get().getApplicationContext().getResources().getQuantityString( 377 final ConversationLineInfo convInfo = convList.mConvInfos.get(i); 378 if (!(convInfo.mLineInfos.get(0) instanceof MessageLineInfo)) { 399 final Context context = Factory.get().getApplicationContext(); 405 final ConversationLineInfo convInfo = mConvList.mConvInfos.get(i); 411 final NotificationLineInfo lineInfo = convInfo.mLineInfos.get( [all...] |
/packages/apps/Camera2/src/com/android/camera/settings/ |
H A D | SettingsUtil.java | 196 if (sCachedSelectedPictureSizes.get(cameraId) != null) { 197 return sCachedSelectedPictureSizes.get(cameraId); 260 selectedSizes.medium = searchList.get(0); 261 selectedSizes.small = searchList.get(0); 264 selectedSizes.medium = searchList.get(0); 265 selectedSizes.small = searchList.get(1); 280 if (searchList.get(mediumSizeIndex).equals(searchList.get(smallSizeIndex))) { 287 selectedSizes.medium = searchList.get(mediumSizeIndex); 288 selectedSizes.small = searchList.get(smallSizeInde [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | EmlAttachmentProvider.java | 130 final List<Uri> attachmentUris = mUriListMap.get(uri); 138 addRow(cursor, mUriAttachmentMap.get(uri)); 145 final String cid = uri.getPathSegments().get(3); 148 final List<Uri> attachmentUris = mUriListMap.get(attachmentsListUri); 153 final Attachment attachment = mUriAttachmentMap.get(attachmentsUri); 175 return mUriAttachmentMap.get(uri).getContentType(); 188 // get list of attachment uris, creating if necessary 189 List<Uri> list = mUriListMap.get(listUri); 242 final Attachment attachment = mUriAttachmentMap.get(uri); 296 final Attachment attachment = mUriAttachmentMap.get(ur [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
H A D | ReadWriteDraftMessageActionTest.java | 61 // 2. Make sure attachments get cleaned up appropriately 69 final DatabaseWrapper db = DataModel.get().getDatabase(); 85 calls.get(0).action instanceof WriteDraftMessageAction); 87 final Action save = calls.get(0).action; 128 final DatabaseWrapper db = DataModel.get().getDatabase(); 148 calls.get(0).action instanceof ReadDraftDataAction); 150 final Action read = calls.get(0).action; 170 final DatabaseWrapper db = DataModel.get().getDatabase(); 207 calls.get(0).action instanceof ReadDraftDataAction); 209 final Action read = calls.get( [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | AppOpsState.java | 245 return mOpSwitches.get(AppOpsManager.opToSwitch(op)); 322 AppOpsManager.OpEntry pos = list.get(i); 363 return mOps.get(pos); 369 return items[ops.get(0).getOp()]; 376 builder.append(items[ops.get(i).getOp()]); 408 return mOps.get(0).isRunning(); 412 return mOps.get(0).getTime(); 446 AppOpEntry last = entries.get(entries.size()-1); 475 AppEntry appEntry = appEntries.get(packageName); 523 AppOpsManager.PackageOps pkgOps = pkgs.get( [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AllAppsList.java | 80 public ApplicationInfo get(int index) { method in class:AllAppsList 81 return data.get(index); 104 ApplicationInfo info = data.get(i); 127 final ApplicationInfo applicationInfo = data.get(i); 143 final LauncherActivityInfo info = matches.get(i); 160 final ApplicationInfo applicationInfo = data.get(i); 195 final ApplicationInfo info = apps.get(i);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | ActionServiceImpl.java | 136 final Intent intent = new Intent(Factory.get().getApplicationContext(), 152 final Intent intent = new Intent(Factory.get().getApplicationContext(), 161 final Context context = Factory.get().getApplicationContext(); 208 mBackgroundWorker = DataModel.get().getBackgroundWorkerForActionService(); 209 DataModel.get().getConnectivityUtil().registerForSignalStrength(); 215 DataModel.get().getConnectivityUtil().unregisterForSignalStrength(); 226 final Context context = Factory.get().getApplicationContext();
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
H A D | PerSubscriptionSettingsActivity.java | 101 final BuglePrefs subPrefs = Factory.get().getSubscriptionPrefs(mSubId); 113 PhoneUtils.get(mSubId).getCanonicalForSelf(false/*allowOverride*/), mSubId); 117 if (!MmsConfig.get(mSubId).getGroupMmsEnabled()) { 134 if (!MmsConfig.get(mSubId).getSMSDeliveryReportsEnabled()) { 149 startActivity(UIIntents.get().getWirelessAlertsIntent()); 173 apnsScreen.setIntent(UIIntents.get() 191 if (!MmsConfig.get(mSubId).getShowCellBroadcast()) {
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
H A D | ContactEntryAdapter.java | 110 ArrayList<E> section = mSections.get(i); 113 E e = section.get(j); 150 ArrayList<E> section = mSections.get(i); 183 ArrayList<T> section = sections.get(i); 190 return section.get(position); 208 ArrayList<T> section = sections.get(i); 214 count += sections.get(i).size();
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | SQLiteContentProvider.java | 86 return mApplyingBatch.get() != null && mApplyingBatch.get(); 225 final boolean isCallerSyncAdapter = getIsCallerSyncAdapter(operations.get(0).getUri()); 231 final ContentProviderOperation operation = operations.get(i); 290 return mCallingPackage.get(); 327 if (mOriginalCallingUid.get() != null && mOriginalCallingUid.get() == callingUid) {
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
H A D | EasSendMeetingResponse.java | 48 /** Value to use if we get a UI response value that we can't handle. */ 140 meetingInfo.get(MeetingInfo.MEETING_RESPONSE_REQUESTED); 161 final Address[] addrs = Address.parse(meetingInfo.get(MeetingInfo.MEETING_ORGANIZER_EMAIL)); 166 final String dtStamp = meetingInfo.get(MeetingInfo.MEETING_DTSTAMP); 167 final String dtStart = meetingInfo.get(MeetingInfo.MEETING_DTSTART); 168 final String dtEnd = meetingInfo.get(MeetingInfo.MEETING_DTEND); 191 meetingInfo.get(MeetingInfo.MEETING_LOCATION)); 192 entityValues.put(CalendarContract.Events.TITLE, meetingInfo.get(MeetingInfo.MEETING_TITLE)); 193 entityValues.put(CalendarContract.Events.TITLE, meetingInfo.get(MeetingInfo.MEETING_TITLE)); 228 meetingInfo.get(MeetingInf [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | PreferenceInflater.java | 56 Constructor<?> constructor = sConstructorMap.get(name); 94 ((PreferenceGroup) list.get(depth - 2)).addChild(pref); 101 return list.get(0);
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
H A D | ResourceSurfaceTextureImpl.java | 60 new PreviewTransformCalculator(resourceConstructed.get().getOrientationManager())); 106 mResourceConstructed.get().getMainThread().execute(new Runnable() { 151 mResourceConstructed.get().getModuleUI().updatePreviewTransform(transformMatrix);
|