/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
D | LruCacheUnitTests.java | 9 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testPut() 10 Integer key = Integer.valueOf(1); in testPut() 11 Integer value = Integer.valueOf(3); in testPut() 17 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testTracingInUsedObject() 18 Integer key = Integer.valueOf(1); in testTracingInUsedObject() 19 Integer value = new Integer(3); in testTracingInUsedObject() 29 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testLruAlgorithm() 30 cache.put(0, new Integer(0)); in testLruAlgorithm() 36 assertEquals(Integer.valueOf(0), cache.get(0)); in testLruAlgorithm() 42 private final LruCache<Integer,Integer> mMap; [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardIconsSet.java | 34 private static final HashMap<Integer, Integer> ATTR_ID_TO_ICON_ID 35 = new HashMap<Integer, Integer>(); 38 private static final HashMap<String, Integer> sNameToIdsMap = new HashMap<String, Integer>(); 68 final Integer attrId = (Integer)NAMES_AND_ATTR_IDS[i + 1]; 79 for (final Integer attrId : ATTR_ID_TO_ICON_ID.keySet()) { in loadIcons() 83 final Integer iconId = ATTR_ID_TO_ICON_ID.get(attrId); in loadIcons() 102 Integer iconId = sNameToIdsMap.get(name); in getIconId()
|
/packages/apps/Mms/src/com/android/mms/ |
D | MmsConfig.java | 56 private static int mRecipientLimit = Integer.MAX_VALUE; // default value 312 mMaxMessageSize = Integer.parseInt(text); in loadMmsSettings() 314 mMaxImageHeight = Integer.parseInt(text); in loadMmsSettings() 316 mMaxImageWidth = Integer.parseInt(text); in loadMmsSettings() 318 mDefaultSMSMessagesPerThread = Integer.parseInt(text); in loadMmsSettings() 320 mDefaultMMSMessagesPerThread = Integer.parseInt(text); in loadMmsSettings() 322 mMinMessageCountPerThread = Integer.parseInt(text); in loadMmsSettings() 324 mMaxMessageCountPerThread = Integer.parseInt(text); in loadMmsSettings() 326 mRecipientLimit = Integer.parseInt(text); in loadMmsSettings() 328 mRecipientLimit = Integer.MAX_VALUE; in loadMmsSettings() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MediaDetails.java | 29 public class MediaDetails implements Iterable<Entry<Integer, Object>> { 33 private TreeMap<Integer, Object> mDetails = new TreeMap<Integer, Object>(); 34 private HashMap<Integer, Integer> mUnits = new HashMap<Integer, Integer>(); 90 public Iterator<Entry<Integer, Object>> iterator() { in iterator() 112 Integer.valueOf(value.toString())); in setExifData()
|
D | MediaSet.java | 240 public Future<Integer> requestSync(SyncListener listener) { in requestSync() 245 private static final Future<Integer> FUTURE_STUB = new Future<Integer>() { 260 public Integer get() { 268 protected Future<Integer> requestSyncOnMultipleSets(MediaSet[] sets, SyncListener listener) { in requestSyncOnMultipleSets() 272 private class MultiSetSyncFuture implements Future<Integer>, SyncListener { 276 private final Future<Integer> mFutures[]; 300 for (Future<Integer> future : mFutures) future.cancel(); in cancel() 315 public synchronized Integer get() { in get()
|
D | Face.java | 37 mPosition.left = Integer.parseInt(tokenizer.nextToken()); in Face() 38 mPosition.top = Integer.parseInt(tokenizer.nextToken()); in Face() 39 mPosition.right = Integer.parseInt(tokenizer.nextToken()); in Face() 40 mPosition.bottom = Integer.parseInt(tokenizer.nextToken()); in Face()
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | ExpirableCacheTest.java | 31 private ExpirableCache<String, Integer> mCache; 36 LruCache<String, CachedValue<Integer>> lruCache = in setUp() 37 new LruCache<String, ExpirableCache.CachedValue<Integer>>(20); in setUp() 105 new LruCache<String, ExpirableCache.CachedValue<Integer>>(10) { in testComputingCache() 107 protected CachedValue<Integer> create(String key) { in testComputingCache() 113 CachedValue<Integer> cachedValue = mCache.getCachedValue("a"); in testComputingCache() 120 CachedValue<Integer> expiredCachedValue = mCache.getCachedValue("a"); in testComputingCache()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLocaleUtils.java | 152 return getForSort(Integer.valueOf(nameStyle)).getSortKey(displayName); in getSortKey() 156 return getForNameLookup(Integer.valueOf(nameStyle)).getNameLookupKeys(name); in getNameLookupKeys() 167 private ContactLocaleUtilsBase getForNameLookup(Integer nameStyle) { in getForNameLookup() 169 Integer adjustedUtil = Integer.valueOf(getAdjustedStyle(nameStyleInt)); in getForNameLookup() 171 adjustedUtil = Integer.valueOf(FullNameStyle.CHINESE); in getForNameLookup() 176 private synchronized ContactLocaleUtilsBase get(Integer nameStyle) { in get() 193 private ContactLocaleUtilsBase getForSort(Integer nameStyle) { in getForSort() 194 return get(Integer.valueOf(getAdjustedStyle(nameStyle.intValue()))); in getForSort()
|
D | ProfileAwareUriMatcher.java | 44 private static final List<Integer> PROFILE_URIS = Lists.newArrayList(); 48 private static final Map<Integer, Integer> PROFILE_URI_ID_MAP = Maps.newHashMap(); 53 private static final Map<Integer, Integer> PROFILE_URI_LOOKUP_KEY_MAP = Maps.newHashMap();
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | Eas.java | 68 public static final String FILTER_AUTO = Integer.toString(SyncWindow.SYNC_WINDOW_AUTO); 71 public static final String FILTER_1_DAY = Integer.toString(SyncWindow.SYNC_WINDOW_1_DAY); 72 public static final String FILTER_3_DAYS = Integer.toString(SyncWindow.SYNC_WINDOW_3_DAYS); 73 public static final String FILTER_1_WEEK = Integer.toString(SyncWindow.SYNC_WINDOW_1_WEEK); 74 public static final String FILTER_2_WEEKS = Integer.toString(SyncWindow.SYNC_WINDOW_2_WEEKS); 75 public static final String FILTER_1_MONTH = Integer.toString(SyncWindow.SYNC_WINDOW_1_MONTH);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | InputModeSwitcher.java | 378 mToggleStateCn = Integer.parseInt(r.getString(R.string.toggle_cn)); in InputModeSwitcher() 379 mToggleStateCnCand = Integer.parseInt(r in InputModeSwitcher() 381 mToggleStateEnLower = Integer.parseInt(r in InputModeSwitcher() 383 mToggleStateEnUpper = Integer.parseInt(r in InputModeSwitcher() 385 mToggleStateEnSym1 = Integer.parseInt(r in InputModeSwitcher() 387 mToggleStateEnSym2 = Integer.parseInt(r in InputModeSwitcher() 389 mToggleStateSmiley = Integer.parseInt(r in InputModeSwitcher() 391 mToggleStatePhoneSym = Integer.parseInt(r in InputModeSwitcher() 394 mToggleStateGo = Integer in InputModeSwitcher() 396 mToggleStateSearch = Integer.parseInt(r in InputModeSwitcher() [all …]
|
/packages/apps/Phone/src/com/android/phone/ |
D | CarrierLogo.java | 30 private static Map<String, Integer> sLogoMap = null; 32 private static Map<String, Integer> getLogoMap() { in getLogoMap() 34 sLogoMap = new HashMap<String, Integer>(); in getLogoMap() 48 Integer res = getLogoMap().get(name); in getLogo()
|
D | AnimationUtils.java | 221 + "(" + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade() 222 + Integer.toHexString(to.hashCode()) + ")"); in startCrossFade() 234 + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade() 235 + Integer.toHexString(to.hashCode()) + ")"); in startCrossFade() 243 + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade() 244 + Integer.toHexString(to.hashCode()) + ")"); in startCrossFade()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | SuggestionSpanUtils.java | 59 public static final Integer OBJ_FLAG_EASY_CORRECT = (Integer) CompatUtils 61 public static final Integer OBJ_FLAG_MISSPELLED = (Integer) CompatUtils 63 public static final Integer OBJ_FLAG_AUTO_CORRECTION = (Integer) CompatUtils 65 public static final Integer OBJ_SUGGESTIONS_MAX_SIZE = (Integer) CompatUtils
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | TransitionsAdapter.java | 30 public class TransitionsAdapter extends BaseAdapterWithImages<Integer> { 73 final ImageTextViewHolder<Integer> viewHolder; in getView() 79 viewHolder = new ImageTextViewHolder<Integer>(rowView); in getView() 83 viewHolder = (ImageTextViewHolder<Integer>)convertView.getTag(); in getView() 102 TransitionType.TRANSITION_RESOURCE_IDS[(Integer)data]); in loadImage()
|
D | OverlaysAdapter.java | 34 public class OverlaysAdapter extends BaseAdapterWithImages<Integer> { 79 final ImageTextViewHolder<Integer> viewHolder; in getView() 85 viewHolder = new ImageTextViewHolder<Integer>(rowView); in getView() 89 viewHolder = (ImageTextViewHolder<Integer>)convertView.getTag(); in getView() 111 canvas.drawBitmap(ImageUtils.buildOverlayBitmap(mContext, null, (Integer)data, mTitle, in loadImage()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | DefaultCorpusRanker.java | 80 mShortcuts.getCorpusScores(new Consumer<Map<String,Integer>>(){ in create() 81 public boolean consume(Map<String, Integer> clickScores) { in create() 99 private final Map<String,Integer> mClickScores; 101 public CorpusComparator(Map<String,Integer> clickScores) { in CorpusComparator() 130 return Integer.MAX_VALUE; in getCorpusScore() 138 Integer clickScore = mClickScores.get(corpus.getName()); in getClickScore()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppPreference.java | 64 private HashMap<String, Integer> mChannels = new HashMap<String, Integer>(); 93 mChannels = (HashMap<String, Integer>) mChannelPreference.getAll(); in init() 99 return remoteDevice.getAddress() + "_" + Integer.toHexString(uuid); in getChannelKey() 118 Integer channel = null; in getChannel() 121 if (V) Log.v(TAG, "getChannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + in getChannel() 138 … if (V) Log.v(TAG, "Setchannel for " + remoteDevice + "_" + Integer.toHexString(uuid) + " to " in setChannel()
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
D | ImapUtility.java | 76 Integer.parseInt(item); // Don't need the value; just ensure it's valid in getImapSequenceValues() 108 int first = Integer.parseInt(range.substring(0, colonPos)); in getImapRangeValues() 109 int second = Integer.parseInt(range.substring(colonPos + 1)); in getImapRangeValues() 112 list.add(Integer.toString(i)); in getImapRangeValues() 116 list.add(Integer.toString(i)); in getImapRangeValues()
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
D | RestorableView.java | 35 private final HashMap<Integer, Runnable> clickRunnables = new HashMap<Integer, Runnable>(); 36 private final HashSet<Integer> changedViews = new HashSet<Integer>(); 68 for (Entry<Integer, Runnable> entry : clickRunnables.entrySet()) { in onConfigurationChanged()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | DefaultCorpusRankerTest.java | 67 private void setCorpusScores(Integer corpus1, Integer corpus2, Integer webCorpus) { in setCorpusScores() 68 Map<String,Integer> scores = new HashMap<String,Integer>(); in setCorpusScores()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SpellCheckerProximityInfo.java | 43 final TreeMap<Integer, Integer> indices) { in buildProximityIndices() argument 49 final TreeMap<Integer, Integer> indices) { in computeIndex() argument 50 final Integer result = indices.get(characterCode); in computeIndex() 62 final private static TreeMap<Integer, Integer> INDICES = new TreeMap<Integer, Integer>(); 124 final private static TreeMap<Integer, Integer> INDICES = new TreeMap<Integer, Integer>();
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsMockPackageManager.java | 39 private final HashMap<Integer, String> mForward = new HashMap<Integer, String>(); 40 private final HashMap<String, Integer> mReverse = new HashMap<String, Integer>(); 71 Integer uid = mReverse.get(packageName); in getApplicationInfo()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastConfigService.java | 58 int startId = Integer.decode(channelRange.substring(0, dashIndex)); in setChannelRange() 59 int endId = Integer.decode(channelRange.substring(dashIndex + 1)); in setChannelRange() 68 int messageId = Integer.decode(channelRange); in setChannelRange() 93 int startId = Integer.decode(channelRange.substring(0, dashIndex)); in isOperatorDefinedEmergencyId() 94 int endId = Integer.decode(channelRange.substring(dashIndex + 1)); in isOperatorDefinedEmergencyId() 99 int emergencyMessageId = Integer.decode(channelRange); in isOperatorDefinedEmergencyId()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EventViewUtils.java | 75 public static int findMinutesInReminderList(ArrayList<Integer> values, int minutes) { in findMinutesInReminderList() 97 public static int findMethodInReminderList(ArrayList<Integer> values, int method) { in findMethodInReminderList() 116 ArrayList<LinearLayout> reminderItems, ArrayList<Integer> reminderMinuteValues, in reminderItemsToReminders() 117 ArrayList<Integer> reminderMethodValues) { in reminderItemsToReminders() 135 public static void addMinutesToList(Context context, ArrayList<Integer> values, in addMinutesToList() 166 public static void reduceMethodList(ArrayList<Integer> values, ArrayList<String> labels, in reduceMethodList() 175 allowedValues[i] = Integer.parseInt(allowedStrings[i], 10); in reduceMethodList() 225 ArrayList<LinearLayout> items, ArrayList<Integer> minuteValues, in addReminder() 226 ArrayList<String> minuteLabels, ArrayList<Integer> methodValues, in addReminder()
|