/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
H A D | CallLogGroupBuilderTest.java | 85 assertGroupIs(0, 3, false, mFakeGroupCreator.groups.get(0)); 94 assertGroupIs(0, 3, false, mFakeGroupCreator.groups.get(0)); 106 assertGroupIs(1, 2, false, mFakeGroupCreator.groups.get(0)); 107 assertGroupIs(4, 2, false, mFakeGroupCreator.groups.get(1)); 166 assertGroupIs(1, 4, false, mFakeGroupCreator.groups.get(0)); 167 assertGroupIs(8, 3, false, mFakeGroupCreator.groups.get(1)); 244 assertGroupIs(0, types.length, false, mFakeGroupCreator.groups.get(0));
|
/packages/apps/Email/tests/src/com/android/email/service/ |
H A D | MailServiceTests.java | 97 android.accounts.Account[] accountManagerAccounts = AccountManager.get(context) 123 AccountManager.get(context).getAccountsByType(TEST_ACCOUNT_TYPE); 176 AccountManager.get(context).getAccountsByType(TEST_ACCOUNT_TYPE); 266 AccountSyncReport syncReport = syncReportMap.get(easAccount.mId); 270 syncReport = syncReportMap.get(imapAccount.mId); 273 syncReport = syncReportMap.get(pop3Account.mId); 282 syncReport = syncReportMap.get(easAccount.mId);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
H A D | CalendarUtilities.java | 163 static final int sCurrentYear = new GregorianCalendar().get(Calendar.YEAR); 271 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, cal.get(Calendar.MONTH) + 1); 273 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK, cal.get(Calendar.DAY_OF_WEEK) - 1); 276 int wom = cal.get(Calendar.DAY_OF_WEEK_IN_MONTH); 386 String tziString = sTziStringCache.get(tz); 462 int month = calendar.get(Calendar.MONTH); 463 int date = calendar.get(Calendar.DAY_OF_MONTH); 464 int dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK); 465 int week = calendar.get(Calendar.DAY_OF_WEEK_IN_MONTH); 473 if (cal.get(Calenda [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
H A D | ApiService.java | 241 final Intent intent = mIntentPool.get(); 297 final Intent intent = mIntentPool.get(context, ApiService.class); 317 final Intent intent = mIntentPool.get(context, ApiService.class); 335 final Intent intent = mIntentPool.get(context, ApiService.class); 353 final Intent intent = mIntentPool.get(context, ApiService.class); 398 final Intent intent = mIntentPool.get(context, ApiService.class); 414 final Intent intent = mIntentPool.get(context, ApiService.class); 430 final Intent intent = mIntentPool.get(context, ApiService.class); 484 final Intent intent = mIntentPool.get(context, ApiService.class); 498 final Intent intent = mIntentPool.get(contex [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | HandoverManager.java | 248 payload.get(payloadBytes); 264 payload.get(payloadBytes); 442 int cps = buf.get() & 0x03; // Carrier Power State is in lower 2 bits 443 int carrierRefLength = buf.get() & 0xFF; 447 buf.get(carrierRefId); 507 payload.get(address); 511 int nameLength = payload.get(); 513 payload.get(nameBytes); 531 payload.get(address); 533 // ByteBuffer.get(byt [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | FusionDictionary.java | 205 WeightedString shortcut = mShortcutTargets.get(i); 223 WeightedString bigram = mBigrams.get(i); 249 final WeightedString shortcut = shortcutTargets.get(i); 265 final WeightedString bigram = bigrams.get(i); 314 1000 * Long.parseLong(mAttributes.get(optionKey))).toString()); 316 s.append(mAttributes.get(optionKey)); 404 int currentValue = stack.get(i).mChars[0]; 465 currentGroup = currentNode.mData.get(nodeIndex); 615 return character == node.mData.get(insertionIndex).mChars[0] ? insertionIndex 632 currentGroup = node.mData.get(indexOfGrou [all...] |
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
H A D | VoicemailPlaybackPresenter.java | 430 // to the user that it doesn't get any faster or slower. 460 constrain(clipPositionInMillis, 0, mDuration.get()); 461 mView.setClipPosition(startPosition, mDuration.get()); 472 mPositionUpdater.startUpdating(startPosition, mDuration.get()); 487 stopPlaybackAtPosition(0, mDuration.get()); 511 stopPlaybackAtPosition(mPlayer.getCurrentPosition(), mDuration.get()); 520 stopPlaybackAtPosition(mPlayer.getCurrentPosition(), mDuration.get()); 558 stopPlaybackAtPosition(mPlayer.getCurrentPosition(), mDuration.get()); 585 mView.setClipPosition(currentPosition, mDuration.get()); 621 stopPlaybackAtPosition(mPlayer.getCurrentPosition(), mDuration.get()); [all...] |
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
H A D | LocalDataTest.java | 118 LocalMediaItem item = (LocalMediaItem) sub.getMediaItem(0, 1).get(0); 152 LocalMediaItem item = (LocalMediaItem) first.getMediaItem(0, 1).get(0); 158 item = (LocalMediaItem) second.getMediaItem(0, 1).get(0); 161 item = (LocalMediaItem) second.getMediaItem(1, 1).get(0); 219 LocalMediaItem item = (LocalMediaItem) sub.getMediaItem(0, 1).get(0); 296 LocalMediaItem item = (LocalMediaItem) sub.getMediaItem(0, 1).get(0); 331 LocalMediaItem item = (LocalMediaItem) first.getMediaItem(0, 1).get(0); 337 item = (LocalMediaItem) second.getMediaItem(0, 1).get(0); 340 item = (LocalMediaItem) second.getMediaItem(1, 1).get(0);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | InputMethodAndSubtypeEnabler.java | 131 if (mSubtypeAutoSelectionCBMap.get(imiId) == chkPref) { 145 InputMethodInfo imi = mInputMethodProperties.get(i); 228 final InputMethodInfo imi = mInputMethodProperties.get(i); 276 activeInputMethodsCategory.addPreference(subtypePreferences.get(j)); 296 final List<Preference> subtypePrefs = mInputMethodAndSubtypePrefsMap.get(imiId); 308 CheckBoxPreference autoSelectionCB = mSubtypeAutoSelectionCBMap.get(imiId); 311 final List<Preference> subtypePrefs = mInputMethodAndSubtypePrefsMap.get(imiId); 343 final CheckBoxPreference autoCB = mSubtypeAutoSelectionCBMap.get(imiId); 347 final List<Preference> subtypePrefs = mInputMethodAndSubtypePrefsMap.get(imiId);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | Suggest.java | 214 final Dictionary dictionary = mDictionaries.get(key); 264 final SuggestedWordInfo wordInfo = suggestionsContainer.get(i); 273 final SuggestedWordInfo wordInfo = suggestionsContainer.get(i); 317 final Dictionary dictionary = mDictionaries.get(key); 333 final SuggestedWordInfo wordInfo = suggestionsContainer.get(i); 341 if (suggestionsContainer.size() > 1 && TextUtils.equals(suggestionsContainer.get(0).mWord, 351 if (suggestionsContainer.get(i).mScore < SUPPRESS_SUGGEST_THRESHOLD) { 368 final SuggestedWordInfo typedWordInfo = suggestions.get(0); 377 final SuggestedWordInfo cur = suggestions.get(i + 1);
|
H A D | SuggestedWords.java | 65 return mSuggestedWordInfoList.get(pos).mWord; 69 return mSuggestedWordInfoList.get(pos); 101 // Should get rid of the first one (what the user typed previously) from suggestions 125 public static final int KIND_MASK_KIND = 0xFF; // Mask to get only the kind 137 public static final int KIND_MASK_FLAGS = 0xFFFFFF00; // Mask to get the flags 191 final SuggestedWordInfo cur = candidates.get(i); 193 final SuggestedWordInfo previous = candidates.get(j); 210 final SuggestedWordInfo info = mSuggestedWordInfoList.get(i);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
H A D | AndroidSpellCheckerService.java | 121 final Integer script = mLanguageToScript.get(locale.getLanguage()); 165 final DictionaryCollection dict = dictRef.get(); 183 final DictionaryCollection dict = dictRef.get(); 316 Log.i(TAG, "" + mScores[i] + " " + mSuggestions.get(i)); 323 // get(i) returns a CharSequence which is actually a String so .toString() 325 mSuggestions.set(i, mSuggestions.get(i).toString().toUpperCase(locale)); 331 mSuggestions.get(i).toString(), locale)); 339 final String bestSuggestion = mSuggestions.get(0); 392 DictionaryPool pool = mDictionaryPools.get(locale); 412 UserBinaryDictionary userDictionary = mUserDictionaries.get(localeSt [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EventViewUtils.java | 121 LinearLayout layout = reminderItems.get(index); 124 int minutes = reminderMinuteValues.get(minuteSpinner.getSelectedItemPosition()); 125 int method = reminderMethodValues.get(methodSpinner.getSelectedItemPosition()); 148 if (minutes < values.get(i)) { 185 int val = values.get(i);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | MoreSettingPopup.java | 87 ListPreference pref = mListItem.get(position); 145 ListPreference pref = mListItem.get(j); 166 ListPreference pref = mListItem.get(j); 186 ListPreference pref = mListItem.get(position); 195 ListPreference pref = mListItem.get(i);
|
/packages/apps/Gallery2/src/com/android/camera/ui/ |
H A D | MoreSettingPopup.java | 87 ListPreference pref = mListItem.get(position); 145 ListPreference pref = mListItem.get(j); 166 ListPreference pref = mListItem.get(j); 186 ListPreference pref = mListItem.get(position); 195 ListPreference pref = mListItem.get(i);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MediaSet.java | 78 if (items.size() > 0) return items.get(0); 144 MediaObject item = list.get(i); 209 MediaItem item = items.get(i); 234 * defined in this class and can be obtained by Future.get(). 239 * SYNC_RESULT_SUCCESS by get(). 261 public Integer get() { 317 public synchronized Integer get() { method in class:MediaSet.MultiSetSyncFuture
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | BaseFiltersManager.java | 49 return mFilters.get(c); 53 return mFilters.get(representation.getFilterClass()); 61 ImageFilter filter = mFilters.get(c); 74 ImageFilter filter = mFilters.get(c); 83 ImageFilter filter = mFilters.get(c);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumLabelMaker.java | 69 return mCameraIcon.get(); 71 return mLocalSetIcon.get(); 73 return mPicasaIcon.get(); 98 public synchronized Bitmap get() { method in class:AlbumLabelMaker.LazyLoadedBitmap 156 bitmap = GalleryBitmapPool.getInstance().get(mBitmapWidth, mBitmapHeight);
|
H A D | PhotoFallbackEffect.java | 74 Entry entry = mList.get(i); 81 boolean more = calculate(AnimationTime.get()); 83 Entry entry = mList.get(i); 165 Entry entry = mList.get(i); 174 Entry entry = mList.get(i);
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/ |
H A D | ExifParserTest.java | 82 List<String> truth = mGroundTruth.get(tag.getIfd()).get(tag.getTagId()); 101 Map<Short, List<String>> expectedResult = mGroundTruth.get(ifd); 159 if (mGroundTruth.get(IfdId.TYPE_IFD_0).get(ExifInterface.TAG_MODEL) == null) {
|
H A D | ExifReaderTest.java | 51 checkIfd(exifData.getIfdData(i), mGroundTruth.get(i)); 60 Map<Short, List<String>> ifd1Truth = mGroundTruth.get(IfdId.TYPE_IFD_1); 62 List<String> typeTagValue = ifd1Truth.get(ExifInterface.TAG_COMPRESSION); 70 String typeTagTruth = typeTagValue.get(0); 152 List<String> truth = ifdValue.get(tag.getTagId());
|
/packages/apps/Mms/tests/src/com/android/mms/ |
H A D | RecyclerTest.java | 136 msg.append(mWords.get(mRandom.nextInt(mWordCount)) + " "); 162 Contact cacheContact = Contact.get(address,true); 190 mRecipients.get(mRandom.nextInt(mRecipientCnt)), 244 threads.get(i).start(); 251 threads.get(i).join();
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | NfceeAccessControl.java | 79 Boolean cached = mUidCache.get(uid); 111 Boolean access = mUidCache.get(info.uid); 142 String[] packages = mNfceeAccess.get(s); 275 String[] ps = mNfceeAccess.get(s); 284 Boolean b = mUidCache.get(uid);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | UsageStats.java | 69 String alabel = mAppLabelList.get(a.packageName).toString(); 70 String blabel = mAppLabelList.get(b.packageName).toString(); 151 return mUsageStats.get(position); 177 // Get the ViewHolder back to get fast access to the TextView 183 PkgUsageStats pkgStats = mUsageStats.get(position); 185 CharSequence label = mAppLabelMap.get(pkgStats.packageName);
|
/packages/apps/Music/src/com/android/music/ |
H A D | MediaPlaybackService.java | 445 int n = mHistory.get(i); 1035 // if we get here then opening the file failed. We can close the cursor now, because 1074 // so it's easier to get back in to the narrative. 1347 int idx = mHistory.get(i).intValue(); 1514 long entry = mHistory.get(maxidx - i); 2083 mService.get().open(path); 2086 mService.get().open(list, position); 2089 return mService.get().getQueuePosition(); 2092 mService.get().setQueuePosition(index); 2095 return mService.get() [all...] |