/external/chromium_org/gpu/command_buffer/common/ |
id_allocator.h | 20 typedef uint32 ResourceId; 22 static const ResourceId kInvalidResource = 0u; 29 virtual ResourceId AllocateID() = 0; 33 virtual ResourceId AllocateIDAtOrAbove(ResourceId desired_id) = 0; 36 virtual bool MarkAsUsed(ResourceId id) = 0; 39 virtual void FreeID(ResourceId id) = 0; 42 virtual bool InUse(ResourceId id) const = 0; 52 virtual ResourceId AllocateID() OVERRIDE; 53 virtual ResourceId AllocateIDAtOrAbove(ResourceId desired_id) OVERRIDE [all...] |
id_allocator.cc | 20 ResourceId IdAllocator::AllocateID() { 21 ResourceId id; 36 ResourceId IdAllocator::AllocateIDAtOrAbove(ResourceId desired_id) { 37 ResourceId id; 54 bool IdAllocator::MarkAsUsed(ResourceId id) { 61 void IdAllocator::FreeID(ResourceId id) { 68 bool IdAllocator::InUse(ResourceId id) const { 72 ResourceId IdAllocator::LastUsedId() const { 80 ResourceId IdAllocator::FindFirstUnusedId() const [all...] |
id_allocator_test.cc | 30 ResourceId id1 = allocator->AllocateID(); 35 ResourceId id2 = allocator->AllocateID(); 57 ResourceId ids[kNumResources]; 64 ResourceId id1 = ids[kNumResources / 2]; 67 ResourceId id2 = allocator->AllocateID(); 75 ResourceId id = allocator->AllocateID(); 80 ResourceId id2 = allocator->AllocateID(); 83 ResourceId id3 = allocator->AllocateID(); 91 const ResourceId kOffset = 123456; 93 ResourceId id1 = allocator->AllocateIDAtOrAbove(kOffset) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
IntegerResourceLoader.java | 13 public int getValue( int resourceId ) { 14 final String resourceIdDebugString = String.valueOf(resourceId) + " (" + "0x" + Integer.toHexString(resourceId) + ")"; 15 String resourceName = resourceExtractor.getResourceName(resourceId); 17 throw new IllegalArgumentException("No such resource: " + resourceId); 28 Integer resourceId = resourceExtractor.getResourceId(resourceName, isSystem); 32 return getValue(resourceId);
|
StringResourceLoader.java | 12 public String getValue(int resourceId) { 13 return stringResolver.getValue(resourceExtractor.getResourceName(resourceId));
|
DimenResourceLoader.java | 14 public float getValue(int resourceId) { 15 return dimenResolver.getValue(resourceExtractor.getResourceName(resourceId));
|
RawResourceLoader.java | 18 public InputStream getValue(int resourceId) { 19 String resourceFileName = resourceExtractor.getResourceName(resourceId);
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
PictureData.java | 22 int resourceId; 26 public PictureData(int resourceId, String description, Bitmap thumbnail) { 27 this.resourceId = resourceId;
|
BitmapUtils.java | 62 int resourceId = mPhotos[(int) (Math.random() * mPhotos.length)]; 63 Bitmap bitmap = getBitmap(resources, resourceId); 66 pictures.add(new PictureData(resourceId, description, thumbnail)); 75 static Bitmap getBitmap(Resources resources, int resourceId) { 76 Bitmap bitmap = sBitmapResourceMap.get(resourceId); 78 bitmap = BitmapFactory.decodeResource(resources, resourceId); 79 sBitmapResourceMap.put(resourceId, bitmap);
|
/external/chromium_org/cc/resources/ |
resource_provider.h | 55 typedef unsigned ResourceId; 56 typedef std::vector<ResourceId> ResourceIdArray; 57 typedef std::set<ResourceId> ResourceIdSet; 58 typedef base::hash_map<ResourceId, ResourceId> ResourceIdMap; 90 bool InUseByConsumer(ResourceId id); 92 bool IsLost(ResourceId id); 97 ResourceType GetResourceType(ResourceId id); 100 ResourceId CreateResource(gfx::Size size, 107 ResourceId CreateManagedResource(gfx::Size size [all...] |
resource.h | 23 ResourceProvider::ResourceId id() const { return id_; } 34 void set_id(ResourceProvider::ResourceId id) { id_ = id; } 41 ResourceProvider::ResourceId id_;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowImageView.java | 23 private int resourceId; 53 this.resourceId = resId; 60 * @param resourceId Resource id 63 protected Drawable buildDrawable(int resourceId) { 64 if (isDrawableXml(resourceId)) { 66 int[] resourceIds = resourceLoader.getDrawableIds(resourceId); 72 if (resourceLoader.isAnimatableXml(resourceId)) { 80 shadowOf(layerDrawable).setLoadedFromResourceId(resourceId); 85 getResources(), resourceId)); 92 * @param resourceId Resource i [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
Intent_ShortcutIconResourceTest.java | 32 final int resourceId = com.android.cts.stub.R.string.notify; 43 resourceId); 45 resourceId); 53 resourceId); 55 resourceId);
|
/external/chromium_org/cc/test/ |
fake_ui_resource_layer_tree_host_impl.h | 23 virtual ResourceProvider::ResourceId ResourceIdForUIResource( 29 ResourceProvider::ResourceId fake_next_resource_id_;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/ |
ImageViewHasDrawableMatcher.java | 35 private String nameOrUnset(ResourceLoader resourceLoader, int resourceId) { 36 return resourceId == 0 ? "unset" : resourceLoader.getNameForId(resourceId);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptC.java | 55 * @param resourceID 57 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { 62 ScriptCThunker s = new ScriptCThunker(rst, resources, resourceID); 67 int id = internalCreate(rs, resources, resourceID); 75 private static synchronized int internalCreate(RenderScript rs, Resources resources, int resourceID) { 78 InputStream is = resources.openRawResource(resourceID); 104 String resName = resources.getResourceEntryName(resourceID);
|
/frameworks/base/graphics/java/android/renderscript/ |
ScriptC.java | 55 * @param resourceID 57 protected ScriptC(RenderScript rs, Resources resources, int resourceID) { 59 int id = internalCreate(rs, resources, resourceID); 73 private static synchronized int internalCreate(RenderScript rs, Resources resources, int resourceID) { 76 InputStream is = resources.openRawResource(resourceID); 102 String resName = resources.getResourceEntryName(resourceID);
|
/external/chromium_org/cc/quads/ |
render_pass_draw_quad.h | 27 ResourceProvider::ResourceId mask_resource_id, 40 ResourceProvider::ResourceId mask_resource_id, 52 ResourceProvider::ResourceId mask_resource_id;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TypedValueTest.java | 66 expectedValue.resourceId = 5; 76 assertThat(expectedValue.resourceId, equalTo(actualValue.resourceId));
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
SingleRecipientArrayAdapter.java | 33 public SingleRecipientArrayAdapter(Context context, int resourceId, RecipientEntry entry) { 34 super(context, resourceId, new RecipientEntry[] { 38 mLayoutId = resourceId;
|
/external/chromium_org/chrome/android/java/ |
ResourceId.template | 9 public class ResourceId {
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
glx_error.c | 38 __glXSendError(Display * dpy, int_fast8_t errorCode, uint_fast32_t resourceID, 60 error.resourceID = resourceID; 79 error.resourceID = err->resource_id;
|
/external/mesa3d/src/glx/ |
glx_error.c | 38 __glXSendError(Display * dpy, int_fast8_t errorCode, uint_fast32_t resourceID, 60 error.resourceID = resourceID; 79 error.resourceID = err->resource_id;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ScriptCTest.java | 35 int resourceID) { 36 super(rs, resources, resourceID);
|
/external/chromium_org/cc/layers/ |
tiled_layer_impl.h | 34 virtual ResourceProvider::ResourceId ContentsResourceId() const OVERRIDE; 40 ResourceProvider::ResourceId resource,
|