Searched refs:storage (Results 26 - 50 of 83) sorted by relevance

1234

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java88 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, argument
90 return nativeDecodeStream(is, storage, padding, opts, false, 1.f);
94 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, argument
/frameworks/base/libs/hwui/utils/
H A DSortedList.h96 virtual void do_construct(void* storage, size_t num) const;
97 virtual void do_destroy(void* storage, size_t num) const;
205 void SortedList<TYPE>::do_construct(void* storage, size_t num) const {
206 construct_type(reinterpret_cast<TYPE*> (storage), num);
210 void SortedList<TYPE>::do_destroy(void* storage, size_t num) const {
211 destroy_type(reinterpret_cast<TYPE*> (storage), num);
/frameworks/native/include/utils/
H A DSortedVector.h127 virtual void do_construct(void* storage, size_t num) const;
128 virtual void do_destroy(void* storage, size_t num) const;
247 void SortedVector<TYPE>::do_construct(void* storage, size_t num) const {
248 construct_type( reinterpret_cast<TYPE*>(storage), num );
252 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const {
253 destroy_type( reinterpret_cast<TYPE*>(storage), num );
H A DVectorImpl.h101 virtual void do_construct(void* storage, size_t num) const = 0;
102 virtual void do_destroy(void* storage, size_t num) const = 0;
122 inline void _do_construct(void* storage, size_t num) const;
123 inline void _do_destroy(void* storage, size_t num) const;
H A DVector.h196 virtual void do_construct(void* storage, size_t num) const;
197 virtual void do_destroy(void* storage, size_t num) const;
390 void Vector<TYPE>::do_construct(void* storage, size_t num) const { argument
391 construct_type( reinterpret_cast<TYPE*>(storage), num );
395 void Vector<TYPE>::do_destroy(void* storage, size_t num) const { argument
396 destroy_type( reinterpret_cast<TYPE*>(storage), num );
/frameworks/av/media/mtp/
H A DMtpServer.h100 void addStorage(MtpStorage* storage);
101 void removeStorage(MtpStorage* storage);
H A DMtpDatabase.h36 MtpStorageID storage,
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp32 SkAutoSTMalloc<16, SkScalar> storage(n);
33 SkScalar* scalars = storage.get();
H A DPathEffect.cpp34 SkAutoSTMalloc<32, SkScalar> storage(count);
35 SkScalar* intervals = storage.get();
H A DCanvas.cpp116 SkRect storage; local
118 GraphicsJNI::jrectf_to_rect(env, bounds, &storage);
119 bounds_ = &storage;
136 SkRect storage; local
138 GraphicsJNI::jrectf_to_rect(env, bounds, &storage);
139 bounds_ = &storage;
346 SkAutoSTMalloc<32, SkPoint> storage(count);
347 SkPoint* pts = storage.get();
572 /* Our temp storage holds 2 or 3 arrays.
580 storageSize += ptCount * sizeof(SkPoint); // storage fo
[all...]
H A DBitmapFactory.cpp121 void* storage = alloca(chunkSize); local
122 android::Res_png_9patch* chunk = static_cast<android::Res_png_9patch*>(storage);
382 static jobject nativeDecodeStreamScaled(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, argument
386 SkStream* stream = CreateJavaInputStreamAdaptor(env, is, storage, 0);
396 static jobject nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, argument
399 return nativeDecodeStreamScaled(env, clazz, is, storage, padding, options, false, 1.0f);
H A DShader.cpp121 SkAutoSTMalloc<8, SkScalar> storage(posArray ? count : 0);
127 pos = (SkScalar*)storage.get();
238 SkAutoSTMalloc<8, SkScalar> storage(posArray ? count : 0);
244 pos = (SkScalar*)storage.get();
342 SkAutoSTMalloc<8, SkScalar> storage(jpositions ? count : 0);
348 pos = (SkScalar*)storage.get();
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java8 import android.os.storage.StorageManager;
9 import android.os.storage.StorageVolume;
32 * Full backup of the shared-storage filesystem
36 // If there are shared-storage volumes available, run the inherited directory-
38 // "primary" shared storage volume is first in the list.
53 * Full restore of one file to shared storage
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp404 jbyte* storage = env->GetByteArrayElements(chunks, NULL); local
405 Res_png_9patch* patch = reinterpret_cast<Res_png_9patch*>(storage);
412 env->ReleaseByteArrayElements(chunks, storage, 0);
461 jfloat* storage = env->GetFloatArrayElements(points, NULL); local
462 renderer->drawPoints(storage + offset, count, paint);
463 env->ReleaseFloatArrayElements(points, storage, 0);
473 jfloat* storage = env->GetFloatArrayElements(points, NULL); local
474 renderer->drawLines(storage + offset, count, paint);
475 env->ReleaseFloatArrayElements(points, storage, 0);
740 jint* storage local
753 jint* storage = env->GetIntArrayElements(layerInfo, NULL); local
766 jint* storage = env->GetIntArrayElements(layerInfo, NULL); local
[all...]
/frameworks/av/include/media/stagefright/
H A DMetaData.h244 void *storage() { function in struct:android::MetaData::typed_data
248 const void *storage() const { function in struct:android::MetaData::typed_data
/frameworks/base/core/java/android/os/
H A DEnvironment.java20 import android.os.storage.IMountService;
21 import android.os.storage.StorageVolume;
67 * Gets the system directory available for secure storage.
70 * @return File object representing the secure storage system directory.
82 * Gets the data directory for secure storage.
85 * @return File object representing the data directory for secure storage.
97 * Return directory used for internal media storage, which is protected by
130 = getDirectory("EXTERNAL_STORAGE", "/storage/sdcard0");
133 getDirectory("EXTERNAL_STORAGE", "/storage/sdcard0"), "Android"), "data");
136 getDirectory("EXTERNAL_STORAGE", "/storage/sdcard
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_storage.h73 /* storage data structure, holds all data of a decoder instance */
128 /* slice header, second structure used as a temporary storage while
168 storage_t *storage,
/frameworks/base/core/java/android/os/storage/
H A DIMountShutdownObserver.java17 package android.os.storage;
H A DIObbActionListener.java17 package android.os.storage;
H A DIMountServiceListener.java17 package android.os.storage;
28 * @hide - Applications should use IStorageEventListener for storage event
H A DStorageVolume.java17 package android.os.storage;
24 * A class representing a storage volume
38 // maximum file size for the storage, or zero for no limit
112 * Returns the MTP storage ID for the volume.
115 * @return MTP storage ID
125 // storage ID is 0x00010001 for primary storage,
134 * be added via MTP if there is less than this amount left free in the storage.
135 * If MTP has dedicated storage this value should be zero, but if MTP is
136 * sharing storage wit
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp262 Vector<Rect>& storage;
269 : bounds(reg.mBounds), storage(reg.mStorage), head(), tail(), cur() {
273 storage.clear();
280 if (storage.size()) {
281 bounds.top = storage.itemAt(0).top;
282 bounds.bottom = storage.top().bottom;
283 if (storage.size() == 1) {
284 storage.clear();
337 storage.appendVector(span);
338 tail = storage
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp279 const_iterator begin() const { return storage; }
280 const_iterator end() const { return storage+count; }
283 Rect* storage = reg.storage; local
286 storage->left = lhs.left;
287 storage->top = lhs.top;
288 storage->right = lhs.right;
289 storage->bottom = rhs.top;
290 storage++;
296 storage
325 Rect storage[4]; member in struct:android::egl_window_surface_v2_t::Region
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbStorageActivity.java39 import android.os.storage.IMountService;
40 import android.os.storage.StorageManager;
41 import android.os.storage.StorageEventListener;
56 * This activity is shown to the user for him/her to enable USB mass storage
79 // thread for working with the storage services, which can be slow
258 // will be hidden once USB mass storage kicks in (or fails)
319 // Check for list of storage users and display dialog if needed.
/frameworks/base/core/java/com/android/internal/app/
H A DExternalMediaFormatActivity.java19 import com.android.internal.os.storage.ExternalStorageFormatter;

Completed in 517 milliseconds

1234