/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
NavigationHistory.java | 16 private ArrayList<NavigationEntry> mEntries = new ArrayList<NavigationEntry>(); 20 mEntries.add(entry); 31 return mEntries.size(); 38 return mEntries.get(index);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
History.java | 29 Vector<HistoryEntry> mEntries = new Vector<HistoryEntry>(); 41 mEntries.add(new HistoryEntry(version, in)); 60 mEntries.clear(); 61 mEntries.add(new HistoryEntry("")); 67 out.writeInt(mEntries.size()); 68 for (HistoryEntry entry : mEntries) { 87 if (mPos < mEntries.size() - 1) { 96 if (mEntries.size() >= MAX_ENTRIES) { 97 mEntries.remove(0); 99 if (mEntries.size() < 2 | [all...] |
HistoryAdapter.java | 31 private Vector<HistoryEntry> mEntries; 36 mEntries = history.mEntries; 43 return mEntries.size() - 1; 48 return mEntries.elementAt(position); 73 HistoryEntry entry = mEntries.elementAt(position);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
SearchQueue.java | 40 private List<Entry> mEntries = new ArrayList<Entry>(); 51 mEntries.add(entry); 67 mEntries.add(entry); 71 Entry entry = mEntries.get(0); 72 mEntries.remove(0); 77 for (Iterator<Entry> it = mEntries.iterator(); it.hasNext();) { 86 return mEntries.isEmpty(); 90 mEntries.clear();
|
ServiceDeclaration.java | 74 List<Entry> mEntries = null; 78 mEntries = new ArrayList<Entry>(); 83 mEntries.add(new Entry(uuid, serviceType, instance, advertisePreferred)); 94 mEntries.add(entry); 99 mEntries.add(new Entry(uuid, properties, permissions, 0 /*instance*/)); 104 mEntries.add(new Entry(uuid, permissions)); 109 if (mEntries.isEmpty()) return null; 110 Entry entry = mEntries.get(0); 111 mEntries.remove(0); 116 for (Entry entry : mEntries) { [all...] |
HandleMap.java | 87 List<Entry> mEntries = null; 92 mEntries = new ArrayList<Entry>(); 97 mEntries.clear(); 103 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred)); 108 mEntries.add(new Entry(serverIf, TYPE_CHARACTERISTIC, handle, uuid, serviceHandle)); 112 mEntries.add(new Entry(serverIf, TYPE_DESCRIPTOR, handle, uuid, serviceHandle, mLastCharacteristic)); 116 for(Entry entry : mEntries) { 128 for(Entry entry : mEntries) { 137 for(Entry entry : mEntries) { 150 for(Entry entry : mEntries) { [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
UsageBarPreference.java | 36 private final List<PercentageBarChart.Entry> mEntries = Lists.newArrayList(); 54 mEntries.add(PercentageBarChart.createEntry(order, percentage, color)); 55 Collections.sort(mEntries); 63 mChart.setEntries(mEntries); 73 mEntries.clear();
|
PercentageBarChart.java | 38 private Collection<Entry> mEntries; 86 if (mEntries != null) { 87 for (final Entry e : mEntries) { 110 if (mEntries != null) { 111 for (final Entry e : mEntries) { 158 mEntries = entries;
|
/frameworks/rs/driver/ |
rsdShaderCache.cpp | 32 mEntries.setCapacity(16); 119 uint32_t entryCount = mEntries.size(); 121 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { 123 //ALOGV("SC using program %i", mEntries[ct]->program); 124 glUseProgram(mEntries[ct]->program); 125 mCurrent = mEntries[ct]; 135 mEntries.push(e); 241 int32_t numEntries = (int32_t)mEntries.size(); 246 if (mEntries[ct]->vtx == id) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsMockResources.java | 28 private Map<Integer, String> mEntries = Maps.newHashMap(); 33 mEntries.put(resId, entryName); 41 return mPackages.get(resId) + ":" + mTypes.get(resId) + "/" + mEntries.get(resId); 65 return mEntries.get(resId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationData.java | 67 private final ArrayList<Entry> mEntries = new ArrayList<Entry>(); 85 return mEntries.size(); 89 return mEntries.get(i); 93 for (Entry e : mEntries) { 103 int N = mEntries.size(); 105 if (mEntryCmp.compare(mEntries.get(i), entry) > 0) { 109 mEntries.add(i, entry); 129 mEntries.remove(e); 138 for (Entry e : mEntries) { 150 for (Entry e : mEntries) { [all...] |
/packages/apps/Camera/src/com/android/camera/ |
ListPreference.java | 39 private CharSequence[] mEntries; 77 return mEntries; 85 mEntries = entries == null ? new CharSequence[0] : entries; 133 return mEntries[findIndexOfValue(getValue())].toString(); 152 entries.add(mEntries[i]); 157 mEntries = entries.toArray(new CharSequence[size]); 165 if (!entries.contains(mEntries[i])) { 166 entries.add(mEntries[i]); 171 mEntries = entries.toArray(new CharSequence[size]);
|
/frameworks/base/core/java/android/net/http/ |
IdleCache.java | 46 private Entry[] mEntries = new Entry[IDLE_CACHE_MAX]; 58 mEntries[i] = new Entry(); 78 Entry entry = mEntries[i]; 102 Entry entry = mEntries[i]; 119 Entry entry = mEntries[i]; 133 Entry entry = mEntries[i];
|
/frameworks/base/libs/hwui/ |
AssetAtlas.cpp | 66 for (size_t i = 0; i < mEntries.size(); i++) { 67 delete mEntries.valueAt(i); 69 mEntries.clear(); 78 ssize_t index = mEntries.indexOfKey(bitmap); 79 return index >= 0 ? mEntries.valueAt(index) : NULL; 83 ssize_t index = mEntries.indexOfKey(bitmap); 84 return index >= 0 ? mEntries.valueAt(index)->texture : NULL; 137 mEntries.add(entry->bitmap, entry);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoStore.java | 48 private final Map<Long, Entry> mEntries; 76 mEntries = new HashMap<Long, Entry>(); 94 mEntries.clear(); 107 return mEntries.get(key); 146 keysToRemove.addAll(mEntries.keySet()); 157 missingKeys.removeAll(mEntries.keySet()); 254 if (!mEntries.containsKey(id)) { 257 Entry oldEntry = mEntries.get(id); 260 mEntries.put(id, entry); 268 Entry entry = mEntries.get(id) [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
ListPreference.java | 39 private CharSequence[] mEntries; 77 return mEntries; 85 mEntries = entries == null ? new CharSequence[0] : entries; 133 return mEntries[findIndexOfValue(getValue())].toString(); 152 entries.add(mEntries[i]); 157 mEntries = entries.toArray(new CharSequence[size]);
|
/packages/apps/Camera2/src/com/android/camera/ |
ListPreference.java | 43 private CharSequence[] mEntries; 84 return mEntries; 96 mEntries = entries == null ? new CharSequence[0] : entries; 152 return mEntries[findIndexOfValue(getValue())].toString(); 176 entries.add(mEntries[i]); 181 mEntries = entries.toArray(new CharSequence[size]); 189 if (!entries.contains(mEntries[i])) { 190 entries.add(mEntries[i]); 195 mEntries = entries.toArray(new CharSequence[size]);
|
/frameworks/base/core/java/android/preference/ |
ListPreference.java | 39 private CharSequence[] mEntries; 51 mEntries = a.getTextArray(com.android.internal.R.styleable.ListPreference_entries); 79 mEntries = entries; 96 return mEntries; 211 return index >= 0 && mEntries != null ? mEntries[index] : null; 239 if (mEntries == null || mEntryValues == null) { 245 builder.setSingleChoiceItems(mEntries, mClickedDialogEntryIndex,
|
MultiCheckPreference.java | 38 private CharSequence[] mEntries; 49 mEntries = a.getTextArray(com.android.internal.R.styleable.ListPreference_entries); 50 if (mEntries != null) { 51 setEntries(mEntries); 81 mEntries = entries; 100 return mEntries; 235 if (mEntries == null || mEntryValues == null) { 241 builder.setMultiChoiceItems(mEntries, mSetValues,
|
MultiSelectListPreference.java | 42 private CharSequence[] mEntries; 53 mEntries = a.getTextArray(com.android.internal.R.styleable.MultiSelectListPreference_entries); 73 mEntries = entries; 90 return mEntries; 162 if (mEntries == null || mEntryValues == null) { 169 builder.setMultiChoiceItems(mEntries, checkedItems,
|
/frameworks/base/services/java/com/android/server/wm/ |
DisplaySettings.java | 46 private final HashMap<String, Entry> mEntries = new HashMap<String, Entry>(); 68 Entry entry = mEntries.get(name); 83 mEntries.remove(name); 86 Entry entry = mEntries.get(name); 89 mEntries.put(name, entry); 151 mEntries.clear(); 178 mEntries.put(name, entry); 198 for (Entry entry : mEntries.values()) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
RawContactDelta.java | 76 private final HashMap<String, ArrayList<ValuesDelta>> mEntries = Maps.newHashMap(); 125 for (ArrayList<ValuesDelta> mimeEntries : remote.mEntries.values()) { 247 ArrayList<ValuesDelta> mimeEntries = mEntries.get(mimeType); 250 mEntries.put(mimeType, mimeEntries); 273 return mEntries.containsKey(mimeType); 284 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { 304 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { 319 for (String mimeType : mEntries.keySet()) { 333 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) { 347 for (ArrayList<ValuesDelta> mimeEntries : mEntries.values()) [all...] |
/frameworks/base/tools/aapt/ |
StringPool.cpp | 126 eidx = mEntries.add(entry(value)); 134 entry& ent = mEntries.editItemAt(eidx); 146 entry& ent = mEntries.editItemAt(eidx); 172 entry& ent = mEntries.editItemAt(eidx); 213 mEntries.editItemAt(mEntryArray[idx]).hasStyles = true; 220 const entry& lhe = pool->mEntries[pool->mEntryArray[*static_cast<const size_t*>(lhs)]]; 221 const entry& rhe = pool->mEntries[pool->mEntryArray[*static_cast<const size_t*>(rhs)]]; 262 mEntries[mEntryArray[newPosToOriginalPos[i]]].makeConfigsString().string()); 263 entries.add(mEntries[mEntryArray[i]]); 283 const entry& oldEnt = mEntries[mEntryArray[oldI]] [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
LimitedMultiSelectDialogFragment.java | 155 private final List<String> mEntries; 166 mEntries = ImmutableList.copyOf(entries); 173 if (mEntries.size() != mEntryValues.size()) { 180 return mEntries.size(); 209 checkedTextView.setText(mEntries.get(position)); 227 return mEntries.isEmpty();
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
AttendeesView.java | 84 private final CharSequence[] mEntries; 115 mEntries = resources.getTextArray(R.array.response_labels1); 116 mDividerForYes = constructDividerView(mEntries[1]); 117 mDividerForNo = constructDividerView(mEntries[3]); 118 mDividerForMaybe = constructDividerView(mEntries[2]); 119 mDividerForNoResponse = constructDividerView(mEntries[0]); 291 updateDividerViewLabel(mDividerForYes, mEntries[1], mYes + 1); 302 updateDividerViewLabel(mDividerForNo, mEntries[3], mNo + 1); 313 updateDividerViewLabel(mDividerForMaybe, mEntries[2], mMaybe + 1); 325 updateDividerViewLabel(mDividerForNoResponse, mEntries[0], mNoResponse + 1) [all...] |