Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 11 of 11) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DQuickContactsDemo.java77 final ContactListItemCache cache = (ContactListItemCache) view.getTag(); in bindView() local
79 cursor.copyStringToBuffer(SUMMARY_NAME_COLUMN_INDEX, cache.nameBuffer); in bindView()
80 int size = cache.nameBuffer.sizeCopied; in bindView()
81 cache.nameView.setText(cache.nameBuffer.data, 0, size); in bindView()
84 cache.photoView.assignContactUri(Contacts.getLookupUri(contactId, lookupKey)); in bindView()
90 ContactListItemCache cache = new ContactListItemCache(); in newView() local
91 cache.nameView = (TextView) view.findViewById(R.id.name); in newView()
92 cache.photoView = (QuickContactBadge) view.findViewById(R.id.badge); in newView()
93 view.setTag(cache); in newView()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java116 int reqWidth, int reqHeight, ImageCache cache) { in decodeSampledBitmapFromResource() argument
130 addInBitmapOptions(options, cache); in decodeSampledBitmapFromResource()
149 int reqWidth, int reqHeight, ImageCache cache) { in decodeSampledBitmapFromFile() argument
161 addInBitmapOptions(options, cache); in decodeSampledBitmapFromFile()
180 FileDescriptor fileDescriptor, int reqWidth, int reqHeight, ImageCache cache) { in decodeSampledBitmapFromDescriptor() argument
195 addInBitmapOptions(options, cache); in decodeSampledBitmapFromDescriptor()
202 private static void addInBitmapOptions(BitmapFactory.Options options, ImageCache cache) { in addInBitmapOptions() argument
208 if (cache != null) { in addInBitmapOptions()
210 Bitmap inBitmap = cache.getBitmapFromReusableSet(options); in addInBitmapOptions()
DDiskLruCache.java317 DiskLruCache cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open() local
318 if (cache.journalFile.exists()) { in open()
320 cache.readJournal(); in open()
321 cache.processJournal(); in open()
322 cache.journalWriter = new BufferedWriter(new FileWriter(cache.journalFile, true), in open()
324 return cache; in open()
328 cache.delete(); in open()
334 cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open()
335 cache.rebuildJournal(); in open()
336 return cache; in open()
/development/tools/idegen/src/com/android/idegen/
DIntellijProject.java45 ModuleCache cache = ModuleCache.getInstance(); field in IntellijProject
62 cache.init(indexFile); in build()
80 Module module = cache.getAndCacheByDir(dir); in build()
89 Iterable<Module> modules = cache.getModules(); in build()
101 createModulesFile(ideaDir, cache.getModules()); in createProjectFiles()
102 createVcsFile(ideaDir, cache.getModules()); in createProjectFiles()
113 cache.put(frameworkModule); in buildFrameWorkModule()
DModuleCache.java34 private static ModuleCache cache = new ModuleCache(); field in ModuleCache
46 return cache; in getInstance()
/development/python-packages/adb/
D.gitignore43 .cache
61 .webassets-cache
/development/tools/repo_diff/service/repodiff/
DDockerfile3 RUN apk --no-cache add \
19 RUN apk --no-cache add \
/development/python-packages/
D.gitignore42 .cache
/development/tools/labpretest/
DREADME5 determines device type, erases user cache, flashes a generic userdata image,
Dlabpretest.sh413 fastboot_command erase cache
/development/tools/winscope/
Dyarn.lock404 find-cache-dir "^0.1.1"
954 lazy-cache "^1.0.3"
1227 lru-cache "^4.0.1"
1517 lru-cache "^3.2.0"
1730 find-cache-dir@^0.1.1:
1732 …resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-0.1.1.tgz#c8defae57c8a52a8a…
2399 lazy-cache@^1.0.3:
2401 …resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3…
2510 lru-cache@^3.2.0:
2512 …resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-3.2.0.tgz#71789b3b7f5399bec8565dda38a…
[all …]