Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 13 of 13) 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/ide/clion/frameworks/ml/
DCMakeLists.txt11 add_subdirectory(nn/driver/cache/BlobCache/libBlobCache-arm-android)
12 add_subdirectory(nn/driver/cache/BlobCache/BlobCache_test-arm-android)
13 add_subdirectory(nn/driver/cache/nnCache/lib_nnCache-arm-android)
14 add_subdirectory(nn/driver/cache/nnCache/nnCache_test-arm-android)
/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/tools/ndk/
D.gitignore45 .cache
66 .webassets-cache
/development/python-packages/
D.gitignore45 .cache
66 .webassets-cache
/development/tools/winscope/
Dyarn.lock815 find-cache-dir "^2.0.0"
1110 lru-cache "^4.1.2"
1558 find-cache-dir "^3.3.1"
1609 cache-base "^1.0.1"
1855 lru-cache "^5.1.1"
1875 lru-cache "^6.0.0"
1888 cache-base@^1.0.1:
1890 …resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4…
2218 find-cache-dir "^3.3.1"
2534 cssnano-util-raw-cache "^4.0.1"
[all …]
/development/tools/labpretest/
DREADME5 determines device type, erases user cache, flashes a generic userdata image,
Dlabpretest.sh413 fastboot_command erase cache