Home
last modified time | relevance | path

Searched defs:resource (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/libs/hwui/
DResourceCache.cpp49 void ResourceCache::incrementRefcount(void* resource, ResourceType resourceType) { in incrementRefcount()
79 void ResourceCache::decrementRefcount(void* resource) { in decrementRefcount()
112 void ResourceCache::recycle(SkBitmap* resource) { in recycle()
130 void ResourceCache::destructor(SkPath* resource) { in destructor()
147 void ResourceCache::destructor(SkBitmap* resource) { in destructor()
164 void ResourceCache::destructor(SkiaShader* resource) { in destructor()
178 void ResourceCache::destructor(SkiaColorFilter* resource) { in destructor()
196 void ResourceCache::deleteResourceReference(void* resource, ResourceReference* ref) { in deleteResourceReference()
DDisplayListRenderer.cpp229 SkBitmap* resource = bitmapResources.itemAt(i); in initFromDisplayListRenderer() local
236 SkBitmap* resource = ownedBitmapResources.itemAt(i); in initFromDisplayListRenderer() local
243 SkiaColorFilter* resource = filterResources.itemAt(i); in initFromDisplayListRenderer() local
250 SkiaShader* resource = shaders.itemAt(i); in initFromDisplayListRenderer() local
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java164 private void addBitmapDrawable(LinearLayout layout, int resource, boolean scale) { in addBitmapDrawable()
179 private void addResourceDrawable(LinearLayout layout, int resource) { in addResourceDrawable()
190 private void addCanvasBitmap(LinearLayout layout, int resource, boolean scale) { in addCanvasBitmap()
201 private void addNinePatchResourceDrawable(LinearLayout layout, int resource) { in addNinePatchResourceDrawable()
/frameworks/base/core/java/android/widget/
DArrayAdapter.java115 public ArrayAdapter(Context context, int resource, int textViewResourceId) { in ArrayAdapter()
140 public ArrayAdapter(Context context, int resource, int textViewResourceId, T[] objects) { in ArrayAdapter()
165 public ArrayAdapter(Context context, int resource, int textViewResourceId, List<T> objects) { in ArrayAdapter()
308 private void init(Context context, int resource, int textViewResourceId, List<T> objects) { in init()
366 int resource) { in createViewFromResource()
406 public void setDropDownViewResource(int resource) { in setDropDownViewResource()
DSimpleAdapter.java80 int resource, String[] from, int[] to) { in SimpleAdapter()
118 ViewGroup parent, int resource) { in createViewFromResource()
137 public void setDropDownViewResource(int resource) { in setDropDownViewResource()
DViewAnimator.java57 … int resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_inAnimation, 0); in ViewAnimator() local
DAdapterViewAnimator.java179 int resource = a.getResourceId( in AdapterViewAnimator() local
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DDynamicIdMap.java62 public Integer getId(Pair<ResourceType, String> resource) { in getId()
/frameworks/base/core/tests/coretests/src/com/android/server/
DMountServiceTests.java138 private void mountObb(StorageManager sm, final int resource, final File file, in mountObb()
159 private ObbObserver mountObbWithoutWait(final StorageManager sm, final int resource, in mountObbWithoutWait()
/frameworks/base/core/java/android/preference/
DGenericInflater.java219 public T inflate(int resource, P root) { in inflate()
259 public T inflate(int resource, P root, boolean attachToRoot) { in inflate()
/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java131 public Adapter(Context context, int resource, List<T> objects) { in Adapter()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java117 public MyAdapter(Context context, int resource, in MyAdapter()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DBridgeInflater.java155 public View inflate(int resource, ViewGroup root) { in inflate()
/frameworks/base/tests/RenderScriptTests/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java140 private Bitmap loadBitmap(int resource) { in loadBitmap()
/frameworks/base/core/java/android/view/animation/
DLayoutAnimationController.java112 … int resource = a.getResourceId(com.android.internal.R.styleable.LayoutAnimation_animation, 0); in LayoutAnimationController() local
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
DImageProcessingActivity.java257 private Bitmap loadBitmap(int resource) { in loadBitmap()
/frameworks/base/core/java/android/view/
DLayoutInflater.java351 public View inflate(int resource, ViewGroup root) { in inflate()
392 public View inflate(int resource, ViewGroup root, boolean attachToRoot) { in inflate()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java266 ResourceValue resource = getResourceValue(value); in resolveResourceValue() local
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java254 private int loadTexture(int resource) { in loadTexture()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DSizeAdaptiveLayoutTest.java53 private void inflate(int resource){ in inflate()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIccUtils.java257 Resources resource = Resources.getSystem(); in adnStringFieldToString() local
/frameworks/base/core/java/android/content/res/
DAssetManager.java704 /*package*/ native final int getArraySize(int resource); in getArraySize()
705 /*package*/ native final int retrieveArray(int resource, int[] outValues); in retrieveArray()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java313 public Pair<View, Boolean> inflateView(ResourceReference resource, ViewGroup parent, in inflateView()
393 private ILayoutPullParser getParser(ResourceReference resource) { in getParser()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java1245 Pair<ResourceType, String> resource = projectCallback.resolveResourceId(id); in setupTabHost() local