/external/chromium_org/gpu/command_buffer/common/ |
id_allocator.h | 22 typedef uint32_t ResourceId; 24 static const ResourceId kInvalidResource = 0u; 31 virtual ResourceId AllocateID() = 0; 35 virtual ResourceId AllocateIDAtOrAbove(ResourceId desired_id) = 0; 38 virtual bool MarkAsUsed(ResourceId id) = 0; 41 virtual void FreeID(ResourceId id) = 0; 44 virtual bool InUse(ResourceId id) const = 0; 54 virtual ResourceId AllocateID() OVERRIDE; 55 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 | 15 public float getValue(int resourceId) { 16 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;
|
/external/chromium_org/cc/resources/ |
resource_provider.h | 59 typedef unsigned ResourceId; 60 typedef std::vector<ResourceId> ResourceIdArray; 61 typedef std::set<ResourceId> ResourceIdSet; 62 typedef base::hash_map<ResourceId, ResourceId> ResourceIdMap; 96 bool InUseByConsumer(ResourceId id); 98 bool IsLost(ResourceId id); 99 bool AllowOverlay(ResourceId id); 104 ResourceType GetResourceType(ResourceId id); 107 ResourceId CreateResource(const gfx::Size& size [all...] |
/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...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
DisconnectCauseUtil.java | 147 Integer resourceId = null; 150 resourceId = R.string.callFailed_userBusy; 154 resourceId = R.string.callFailed_congestion; 158 resourceId = R.string.callFailed_timedOut; 162 resourceId = R.string.callFailed_server_unreachable; 166 resourceId = R.string.callFailed_number_unreachable; 170 resourceId = R.string.callFailed_invalid_credentials; 174 resourceId = R.string.callFailed_server_error; 178 resourceId = R.string.callFailed_out_of_network; 183 resourceId = R.string.callFailed_noSignal [all...] |
/developers/build/prebuilts/gradle/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
Meat.java | 24 public int resourceId; 27 public Meat(int resourceId, String title) { 28 this.resourceId = resourceId;
|
/developers/build/prebuilts/gradle/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/ |
Meat.java | 24 public int resourceId; 27 public Meat(int resourceId, String title) { 28 this.resourceId = resourceId;
|
MeatAdapter.java | 31 public MeatAdapter(LayoutInflater inflater, int resourceId) { 33 mResourceId = resourceId; 48 return Meat.MEATS[position].resourceId; 72 holder.image.setImageResource(meat.resourceId);
|
/developers/samples/android/ui/transition/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
Meat.java | 24 public int resourceId; 27 public Meat(int resourceId, String title) { 28 this.resourceId = resourceId;
|
/developers/samples/android/ui/transition/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/ |
Meat.java | 24 public int resourceId; 27 public Meat(int resourceId, String title) { 28 this.resourceId = resourceId;
|
MeatAdapter.java | 31 public MeatAdapter(LayoutInflater inflater, int resourceId) { 33 mResourceId = resourceId; 48 return Meat.MEATS[position].resourceId; 72 holder.image.setImageResource(meat.resourceId);
|
/development/samples/browseable/AdapterTransition/src/com.example.android.adaptertransition/ |
Meat.java | 24 public int resourceId; 27 public Meat(int resourceId, String title) { 28 this.resourceId = resourceId;
|
/development/samples/browseable/FragmentTransition/src/com.example.android.fragmenttransition/ |
Meat.java | 24 public int resourceId; 27 public Meat(int resourceId, String title) { 28 this.resourceId = resourceId;
|
MeatAdapter.java | 31 public MeatAdapter(LayoutInflater inflater, int resourceId) { 33 mResourceId = resourceId; 48 return Meat.MEATS[position].resourceId; 72 holder.image.setImageResource(meat.resourceId);
|
/packages/apps/Camera2/src/com/android/camera/ |
SoundPlayer.java | 45 public void loadSound(int resourceId) { 46 int soundId = mSoundPool.load(mAppContext, resourceId, 1/* priority */); 47 mResourceToSoundId.put(resourceId, soundId); 54 public void play(int resourceId, float volume) { 55 Integer soundId = mResourceToSoundId.get(resourceId); 65 public void unloadSound(int resourceId) { 66 Integer soundId = mResourceToSoundId.get(resourceId);
|
/cts/tests/tests/content/src/android/content/cts/ |
Intent_ShortcutIconResourceTest.java | 32 final int resourceId = com.android.cts.content.R.string.notify; 43 resourceId); 45 resourceId); 53 resourceId); 55 resourceId);
|
/external/chromium_org/cc/surfaces/ |
surface_unittest.cc | 52 void SubmitFrameWithResources(ResourceProvider::ResourceId* resource_ids, 68 ResourceProvider::ResourceId* expected_returned_ids, 80 void UnrefResources(ResourceProvider::ResourceId* ids_to_unref, 101 ResourceProvider::ResourceId first_frame_ids[] = {1, 2, 3}; 117 ResourceProvider::ResourceId expected_returned_ids[] = {1, 2, 3}; 132 ResourceProvider::ResourceId first_frame_ids[] = {1, 2, 3}; 159 ResourceProvider::ResourceId expected_returned_ids[] = {1, 2, 3}; 174 ResourceProvider::ResourceId first_frame_ids[] = {7}; 209 ResourceProvider::ResourceId first_frame_ids[] = {3, 4}; 217 ResourceProvider::ResourceId second_frame_ids[] = {4, 5} [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
WifiNetworksBrowseInfo.java | 216 int resourceId = 0; 223 resourceId = R.drawable.ic_settings_wifi_active_1; 226 resourceId = R.drawable.ic_settings_wifi_active_2; 229 resourceId = R.drawable.ic_settings_wifi_active_3; 232 resourceId = R.drawable.ic_settings_wifi_active_4; 239 resourceId = R.drawable.ic_settings_wifi_secure_active_1; 242 resourceId = R.drawable.ic_settings_wifi_secure_active_2; 245 resourceId = R.drawable.ic_settings_wifi_secure_active_3; 248 resourceId = R.drawable.ic_settings_wifi_secure_active_4; 253 return resourceId; [all...] |
/external/chromium_org/cc/test/ |
fake_ui_resource_layer_tree_host_impl.h | 24 virtual ResourceProvider::ResourceId ResourceIdForUIResource( 30 ResourceProvider::ResourceId fake_next_resource_id_;
|