Searched defs:Entry (Results 1 - 25 of 26) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/util/
H A DInterop.java34 private static class Entry { class in class:Interop
38 Entry(int workaroundId, String address) { method in class:Interop.Entry
47 private static List<Entry> sEntries = null;
65 sEntries = new ArrayList<Entry>();
68 sEntries.add(new Entry(INTEROP_MAP_ASCIIONLY, "00:26:e8"));
82 for (Entry entry : sEntries) {
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DEntry.java24 public abstract class Entry { class
H A DLruCache.java32 private final HashMap<K, Entry<K, V>> mWeakMap =
33 new HashMap<K, Entry<K, V>>();
40 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
46 private static class Entry<K, V> extends WeakReference<V> { class in class:LruCache
49 public Entry(K key, V value, ReferenceQueue<V> queue) { method in class:LruCache.Entry
57 Entry<K, V> entry = (Entry<K, V>) mQueue.poll();
60 entry = (Entry<K, V>) mQueue.poll();
72 Entry<K, V> entry = mWeakMap.put(
73 key, new Entry<
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIdentityCache.java27 private final HashMap<K, Entry<K, V>> mWeakMap =
28 new HashMap<K, Entry<K, V>>();
34 private static class Entry<K, V> extends WeakReference<V> { class in class:IdentityCache
37 public Entry(K key, V value, ReferenceQueue<V> queue) { method in class:IdentityCache.Entry
44 Entry<K, V> entry = (Entry<K, V>) mQueue.poll();
47 entry = (Entry<K, V>) mQueue.poll();
53 Entry<K, V> entry = mWeakMap.put(
54 key, new Entry<K, V>(key, value, mQueue));
60 Entry<
[all...]
/packages/services/Car/procfs-inspector/server/
H A Ddirectory.cpp28 bool procfsinspector::Directory::Entry::isEmpty() const {
32 procfsinspector::Directory::Entry::Entry(std::string parent, std::string child) : function in class:procfsinspector::Directory::Entry
41 std::string procfsinspector::Directory::Entry::str() {
45 uid_t procfsinspector::Directory::Entry::getOwnerUserId() {
57 procfsinspector::Directory::Entry procfsinspector::Directory::next(unsigned char type) {
66 return Entry(mPath, entry->d_name);
71 return Entry();
H A Ddirectory.h32 class Entry { class in class:procfsinspector::Directory
34 Entry(std::string parent = "", std::string child = "");
54 Entry next(unsigned char type = DT_UNKNOWN);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DLruCache.java28 private final HashMap<K, Entry<K, V>> mWeakMap =
29 new HashMap<K, Entry<K, V>>();
36 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
42 private static class Entry<K, V> extends WeakReference<V> { class in class:LruCache
45 public Entry(K key, V value, ReferenceQueue<V> queue) { method in class:LruCache.Entry
53 Entry<K, V> entry = (Entry<K, V>) mQueue.poll();
56 entry = (Entry<K, V>) mQueue.poll();
63 Entry<K, V> entry = mWeakMap.put(
64 key, new Entry<
[all...]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DResolveCache.java107 private static class Entry { class in class:ResolveCache
112 private HashMap<String, Entry> mCache = new HashMap<String, Entry>();
121 * Get the {@link Entry} best associated with the given mimetype and intent,
124 protected Entry getEntry(String mimeType, Intent intent) {
125 Entry entry = mCache.get(mimeType);
127 entry = new Entry();
H A DExpandingEntryCardView.java89 * Entry data.
91 public static final class Entry { class in class:ExpandingEntryCardView
122 public Entry(int id, Drawable mainIcon, String header, String subHeader, method in class:ExpandingEntryCardView.Entry
261 private List<List<Entry>> mEntries;
314 * Sets the Entry list to display.
316 * @param entries The Entry list to display.
318 public void initialize(List<List<Entry>> entries, int numInitialVisibleEntries,
330 for (List<Entry> entryList : mEntries) {
505 List<Entry> entryList = mEntries.get(i);
532 List<Entry> entryLis
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DCachingIconLoader.java43 private final WeakHashMap<String, Entry> mIconCache;
52 mIconCache = new WeakHashMap<String, Entry>();
60 Entry newEntry = null;
65 newEntry = new Entry();
94 private synchronized void storeInIconCache(String resourceUri, Entry drawable) {
100 private static class Entry extends CachedLater<Drawable.ConstantState> class in class:CachingIconLoader
106 public Entry() { method in class:CachingIconLoader.Entry
H A DListSuggestionCursor.java37 private final ArrayList<Entry> mSuggestions;
57 mSuggestions = new ArrayList<Entry>(capacity);
66 mSuggestions.add(new Entry(suggestion));
97 mSuggestions.set(mPos, new Entry(suggestion));
146 for (Entry e : mSuggestions) {
163 private static class Entry { class in class:ListSuggestionCursor
166 public Entry(Suggestion s) { method in class:ListSuggestionCursor.Entry
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DPercentageBarChart.java33 * {@link Entry}.
38 private Collection<Entry> mEntries;
42 public static class Entry implements Comparable<Entry> { class in class:PercentageBarChart
47 protected Entry(int order, float percentage, Paint paint) { method in class:PercentageBarChart.Entry
54 public int compareTo(Entry another) {
87 for (final Entry e : mEntries) {
111 for (final Entry e : mEntries) {
150 public static Entry createEntry(int order, float percentage, int color) {
154 return new Entry(orde
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DHandleMap.java36 class Entry { class in class:HandleMap
48 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { method in class:HandleMap.Entry
57 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, method in class:HandleMap.Entry
68 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { method in class:HandleMap.Entry
76 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { method in class:HandleMap.Entry
86 List<Entry> mEntries = null;
91 mEntries = new ArrayList<Entry>();
102 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred));
107 mEntries.add(new Entry(serverIf, TYPE_CHARACTERISTIC, handle, uuid, serviceHandle));
111 mEntries.add(new Entry(serverI
[all...]
H A DScanFilterQueue.java49 class Entry { class in class:ScanFilterQueue
62 private Set<Entry> mEntries = new HashSet<Entry>();
65 Entry entry = new Entry();
73 Entry entry = new Entry();
79 Entry entry = new Entry();
87 Entry entr
[all...]
/packages/apps/Camera2/src/com/android/camera/async/
H A DConcurrentBufferQueue.java58 private static class Entry<T> { class in class:ConcurrentBufferQueue
62 private Entry(T value, boolean closing) { method in class:ConcurrentBufferQueue.Entry
82 private final BlockingQueue<Entry<T>> mQueue;
111 List<Entry<T>> remainingElements = new ArrayList<>();
123 // {@link Entry}s indicating that the sequence has ended so they
135 for (Entry<T> entry : remainingElements) {
156 private T doWithNextEntry(Entry<T> nextEntry) throws BufferQueueClosedException {
169 Entry<T> nextEntry = mQueue.take();
176 Entry<T> nextEntry = mQueue.poll(timeout, unit);
185 Entry<
[all...]
/packages/apps/Email/tests/src/com/android/email/
H A DThrottleTest.java174 private static class Entry { class in class:ThrottleTest.MockTimer
179 private final BlockingQueue<Entry> mTasks = new LinkedBlockingQueue<Entry>();
190 Entry e = new Entry();
203 Entry e = mTasks.peek();
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoFallbackEffect.java37 public static class Entry { class in class:PhotoFallbackEffect
44 public Entry(Path path, Rect source, RawTexture texture) { method in class:PhotoFallbackEffect.Entry
61 private ArrayList<Entry> mList = new ArrayList<Entry>();
69 mList.add(new Entry(path, rect, texture));
72 public Entry getEntry(Path path) {
74 Entry entry = mList.get(i);
83 Entry entry = mList.get(i);
91 private void drawEntry(GLCanvas canvas, Entry entry) {
165 Entry entr
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactEntryAdapter.java29 public abstract class ContactEntryAdapter<E extends ContactEntryAdapter.Entry>
40 public static class Entry { class in class:ContactEntryAdapter
179 public final static <T extends Entry> T getEntry(ArrayList<ArrayList<T>> sections,
203 public static <T extends Entry> int countEntries(ArrayList<ArrayList<T>> sections,
223 Entry entry = getEntry(mSections, position, mSeparators);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPhotoStore.java51 private final Map<Long, Entry> mEntries;
81 mEntries = new ArrayMap<Long, Entry>();
111 public Entry get(long key) {
126 Entry entry = new Entry(file);
214 Entry entry = new Entry(target);
258 private void putEntry(long id, Entry entry) {
262 Entry oldEntry = mEntries.get(id);
273 Entry entr
282 public static class Entry { class in class:PhotoStore
292 public Entry(File file) { method in class:PhotoStore.Entry
[all...]
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java80 Entry entry = mCache.get(cacheKey);
92 Entry entry = mCache.get(cacheKey);
105 Entry entry = mCache.get(cacheKey);
135 Entry entry = new Entry(thumbnail, lastModified);
220 private static Result obtain(@Status int status, Point size, Entry entry) {
283 private static final class Entry { class in class:ThumbnailCache
287 private Entry(Bitmap thumbnail, long lastModified) { method in class:ThumbnailCache.Entry
293 private final class Cache extends LruCache<Pair<Uri, Point>, Entry> {
300 protected int sizeOf(Pair<Uri, Point> key, Entry valu
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetDatabaseHelper.java68 public static class Entry { class in class:WidgetDatabaseHelper
76 private Entry() {} method in class:WidgetDatabaseHelper.Entry
78 private Entry(int id, Cursor cursor) { method in class:WidgetDatabaseHelper.Entry
90 private Entry(Cursor cursor) { method in class:WidgetDatabaseHelper.Entry
110 private void saveData(SQLiteDatabase db, int oldVersion, ArrayList<Entry> data) {
118 Entry entry = new Entry();
134 Entry entry = new Entry();
147 private void restoreData(SQLiteDatabase db, ArrayList<Entry> dat
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDownloadCache.java69 private final LruCache<String, Entry> mEntryMap =
70 new LruCache<String, Entry>(LRU_CAPACITY);
89 private Entry findEntryInDatabase(String stringUrl) {
98 Entry entry = null;
102 entry = new Entry(id, file);
114 public Entry download(JobContext jc, URL url) {
121 Entry entry = mEntryMap.get(stringUrl);
131 Entry entry = findEntryInDatabase(stringUrl);
250 public class Entry { class in class:DownloadCache
254 Entry(lon method in class:DownloadCache.Entry
[all...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Dtrie_map.h104 const Entry bitmapEntry = mTrieMap->readEntry(mBaseBitmapEntryIndex);
217 * Entry is one of these entry types. All entries are fixed size and have 2 fields FIELD_0 and
229 struct Entry { struct in class:latinime::TrieMap
233 Entry(const uint32_t data0, const uint32_t data1) : mData0(data0), mData1(data1) {} function in struct:latinime::TrieMap::Entry
294 static const Entry EMPTY_BITMAP_ENTRY;
300 bool updateValue(const Entry &terminalEntry, const uint64_t value,
305 const Entry &bitmapEntry, const int level) const;
309 const int bitmapEntryIndex, const Entry &bitmapEntry, const int level);
311 const uint32_t hashedKey, const Entry &conflictedEntry, const int conflictedEntryIndex,
319 AK_FORCE_INLINE const Entry readEntr
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DViewImage.java1194 public static class Entry { class in class:BitmapCache
1197 public Entry() { method in class:BitmapCache.Entry
1206 private final Entry[] mCache;
1209 mCache = new Entry[size];
1211 mCache[i] = new Entry();
1217 private Entry findEntry(int pos) {
1218 for (Entry e : mCache) {
1228 Entry e = findEntry(pos);
1245 Entry best = null;
1247 for (Entry
[all...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 694 milliseconds

12