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/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/ndk/platforms/android-9/arch-arm/include/asm/
Dprocinfo.h35 struct cpu_cache_fns *cache; member
Dcacheflush.h27 #error Unknown cache maintainence model
/development/python-packages/
D.gitignore42 .cache
/development/ndk/platforms/android-9/arch-mips/include/asm/
Dsgiarcs.h57 system, processor, cache, adapter, controller, peripheral, memory enumerator
/development/tools/labpretest/
DREADME5 determines device type, erases user cache, flashes a generic userdata image,
Dlabpretest.sh413 fastboot_command erase cache
/development/ndk/platforms/android-21/arch-mips64/include/asm/
Dinst.h472 BITFIELD_FIELD(unsigned int cache : 2,
/development/ndk/platforms/android-21/arch-mips/include/asm/
Dinst.h472 BITFIELD_FIELD(unsigned int cache : 2,