HomeSort by relevance Sort by last modified time
    Searched full:resourceid (Results 1 - 25 of 262) sorted by null

1 2 3 4 5 6 7 8 91011

  /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 19 ResourceId IdAllocator::AllocateID() {
20 ResourceId id;
35 ResourceId IdAllocator::AllocateIDAtOrAbove(ResourceId desired_id) {
36 ResourceId id;
53 bool IdAllocator::MarkAsUsed(ResourceId id) {
60 void IdAllocator::FreeID(ResourceId id) {
67 bool IdAllocator::InUse(ResourceId id) const {
71 ResourceId IdAllocator::LastUsedId() const {
79 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);
  /external/chromium_org/cc/resources/
resource_provider.h 42 typedef unsigned ResourceId;
43 typedef std::vector<ResourceId> ResourceIdArray;
44 typedef std::set<ResourceId> ResourceIdSet;
45 typedef base::hash_map<ResourceId, ResourceId> ResourceIdMap;
72 bool InUseByConsumer(ResourceId id);
78 ResourceType GetResourceType(ResourceId id);
81 ResourceId CreateResource(gfx::Size size,
87 ResourceId CreateManagedResource(gfx::Size size,
92 ResourceId CreateGLTexture(gfx::Size size
    [all...]
resource.h 23 ResourceProvider::ResourceId id() const { return id_; }
33 void set_id(ResourceProvider::ResourceId id) { id_ = id; }
40 ResourceProvider::ResourceId id_;
  /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/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/layers/
scrollbar_layer_impl.h 51 void set_track_resource_id(ResourceProvider::ResourceId id) {
54 void set_thumb_resource_id(ResourceProvider::ResourceId id) {
78 ResourceProvider::ResourceId track_resource_id_;
79 ResourceProvider::ResourceId thumb_resource_id_;
nine_patch_layer_impl.h 41 virtual ResourceProvider::ResourceId ContentsResourceId() const OVERRIDE;
59 ResourceProvider::ResourceId 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,
41 ResourceProvider::ResourceId mask_resource_id,
54 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);

Completed in 1499 milliseconds

1 2 3 4 5 6 7 8 91011