/external/chromium_org/cc/layers/ |
tiled_layer_impl.h | 34 virtual ResourceProvider::ResourceId ContentsResourceId() const OVERRIDE; 40 ResourceProvider::ResourceId resource,
|
tiled_layer_impl.cc | 35 ResourceProvider::ResourceId resource_id() const { return resource_id_; } 36 void set_resource_id(ResourceProvider::ResourceId resource_id) { 47 ResourceProvider::ResourceId resource_id_; 63 ResourceProvider::ResourceId TiledLayerImpl::ContentsResourceId() const { 70 ResourceProvider::ResourceId resource_id = tile ? tile->resource_id() : 0; 281 ResourceProvider::ResourceId resource_id,
|
/external/chromium_org/cc/test/ |
fake_delegated_renderer_layer_impl.cc | 25 static ResourceProvider::ResourceId AddResourceToFrame( 27 ResourceProvider::ResourceId resource_id) {
|
render_pass_test_common.cc | 36 cc::ResourceProvider::ResourceId resource1 = 42 cc::ResourceProvider::ResourceId resource2 = 48 cc::ResourceProvider::ResourceId resource3 = 54 cc::ResourceProvider::ResourceId resource4 = 60 cc::ResourceProvider::ResourceId resource5 = 66 cc::ResourceProvider::ResourceId resource6 = 72 cc::ResourceProvider::ResourceId resource7 = 211 ResourceProvider::ResourceId plane_resources[4];
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
DrawableResourceLoader.java | 58 * @param resourceId Resource id 61 public boolean isXml(int resourceId) { 62 return documents.containsKey(resourceExtractor.getResourceName(resourceId)); 130 * @param resourceId Resource id 133 protected int[] getDrawableIds(int resourceId) { 134 String resourceName = resourceExtractor.getResourceName(resourceId); 155 public boolean isAnimationDrawable(int resourceId) { 156 Document document = documents.get(resourceExtractor.getResourceName(resourceId));
|
StringArrayResourceLoader.java | 24 public String[] getArrayValue(int resourceId) { 25 String resourceName = resourceExtractor.getResourceName(resourceId);
|
ResourceLoader.java | 425 public boolean isDrawableXml( int resourceId ) { 427 return drawableResourceLoader.isXml( resourceId ); 430 public boolean isAnimatableXml( int resourceId ) { 432 return drawableResourceLoader.isAnimationDrawable( resourceId ); 435 public int[] getDrawableIds( int resourceId ) { 437 return drawableResourceLoader.getDrawableIds( resourceId ); 440 public Drawable getXmlDrawable( int resourceId ) { 441 return drawableResourceLoader.getXmlDrawable( resourceId ); 444 public Drawable getAnimDrawable( int resourceId ) { 445 return getInnerRClassDrawable( resourceId, "$anim", AnimationDrawable.class ) [all...] |
PluralResourceLoader.java | 24 public String getValue(int resourceId, int quantity) { 25 String name = resourceExtractor.getResourceName(resourceId);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
InflateTest.java | 58 public void inflateTest(int resourceId) { 59 mView = mInflater.inflate(resourceId, null); 63 public void inflateCachedTest(int resourceId) { 65 mInflater.inflate(resourceId, null); 67 mInflater.inflate(resourceId, null);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/ |
TestAttributeSet.java | 127 public boolean getAttributeBooleanValue(int resourceId, boolean defaultValue) { 134 Integer resourceId = defaultValue; 136 resourceId = resourceExtractor.getResourceId(value); 138 return resourceId == null ? defaultValue : resourceId; 142 public int getAttributeResourceValue(int resourceId, int defaultValue) { 143 String attrName = resourceExtractor.getResourceName(resourceId);
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
MultiWaveView.java | 222 a.peekValue(R.styleable.MultiWaveView_handleDrawable).resourceId); 225 a.peekValue(R.styleable.MultiWaveView_waveDrawable).resourceId); 231 ArrayList<TargetDrawable> chevrons = loadDrawableArray(outValue.resourceId); 242 internalSetTargetResources(outValue.resourceId); 250 final int resourceId = outValue.resourceId; 251 if (resourceId == 0) { 254 setTargetDescriptionsResourceId(resourceId); 259 final int resourceId = outValue.resourceId; [all...] |
GlowPadView.java | 228 mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0); 244 internalSetTargetResources(outValue.resourceId); 252 final int resourceId = outValue.resourceId; 253 if (resourceId == 0) { 256 setTargetDescriptionsResourceId(resourceId); 261 final int resourceId = outValue.resourceId; 262 if (resourceId == 0) { 265 setDirectionDescriptionsResourceId(resourceId); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PhotoStoreTest.java | 125 * @param resourceId The resource ID of the photo file to test. 127 public void runStorageTestForResource(int resourceId, int expectedWidth, 129 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL); 137 byte[] expectedStoredVersion = loadPhotoFromResource(resourceId, PhotoSize.DISPLAY_PHOTO); 157 public void runStorageTestForResourceWithCrop(int resourceId, int expectedWidth, 159 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL); 203 for (int resourceId : resourceIds) { 205 new PhotoProcessor(loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL), 207 resourceIdToPhotoMap.put(resourceId, photoFileId);
|
PhotoLoadingTestCase.java | 89 protected byte[] loadPhotoFromResource(int resourceId, PhotoSize size) { 90 PhotoEntry entry = photoResourceCache.get(resourceId); 93 InputStream is = resources.openRawResource(resourceId); 96 photoResourceCache.put(resourceId, entry);
|
/external/replicaisland/src/com/replica/replicaisland/ |
TextureLibrary.java | 69 * @param resourceID 72 public Texture allocateTexture(int resourceID) { 73 Texture texture = getTextureByResource(resourceID); 75 texture = addTexture(resourceID, -1, 0, 0); 82 public Texture loadTexture(Context context, GL10 gl, int resourceID) { 83 Texture texture = allocateTexture(resourceID); 210 public boolean isTextureLoaded(int resourceID) { 211 return getTextureByResource(resourceID) != null; 216 * @param resourceID The resource ID of a bitmap defined in R.java. 220 public Texture getTextureByResource(int resourceID) { [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
GlowPadView.java | 223 mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0, 2); 238 internalSetTargetResources(outValue.resourceId); 246 final int resourceId = outValue.resourceId; 247 if (resourceId == 0) { 250 setTargetDescriptionsResourceId(resourceId); 255 final int resourceId = outValue.resourceId; 256 if (resourceId == 0) { 259 setDirectionDescriptionsResourceId(resourceId); [all...] |
/external/chromium_org/chrome/browser/android/ |
resource_mapper.h | 24 // built in the corresponding ResourceID Java class.
|
/frameworks/base/core/java/android/gesture/ |
GestureLibraries.java | 47 public static GestureLibrary fromRawResource(Context context, int resourceId) { 48 return new ResourceGestureLibrary(context, resourceId); 112 public ResourceGestureLibrary(Context context, int resourceId) { 114 mResourceId = resourceId;
|
/frameworks/base/core/java/android/text/style/ |
ImageSpan.java | 113 public ImageSpan(Context context, int resourceId) { 114 this(context, resourceId, ALIGN_BOTTOM); 121 public ImageSpan(Context context, int resourceId, int verticalAlignment) { 124 mResourceId = resourceId;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
GraphReader.java | 41 public FilterGraph readGraphResource(Context context, int resourceId) throws GraphIOException { 42 InputStream inputStream = context.getResources().openRawResource(resourceId);
|
/external/chromium_org/cc/resources/ |
resource_provider.cc | 193 bool ResourceProvider::InUseByConsumer(ResourceId id) { 201 ResourceProvider::ResourceId ResourceProvider::CreateResource( 219 ResourceProvider::ResourceId ResourceProvider::CreateManagedResource( 237 ResourceProvider::ResourceId ResourceProvider::CreateGLTexture( 243 ResourceId id = next_id_++; 250 ResourceProvider::ResourceId ResourceProvider::CreateBitmap(gfx::Size size) { 255 ResourceId id = next_id_++; 262 ResourceProvider::ResourceId 280 ResourceId id = next_id_++; 288 ResourceProvider::ResourceId ResourceProvider::CreateResourceFromTextureMailbox [all...] |
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
GlowPadView.java | 226 mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0, 2); 241 internalSetTargetResources(outValue.resourceId); 249 final int resourceId = outValue.resourceId; 250 if (resourceId == 0) { 253 setTargetDescriptionsResourceId(resourceId); 258 final int resourceId = outValue.resourceId; 259 if (resourceId == 0) { 262 setDirectionDescriptionsResourceId(resourceId); [all...] |
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/ActionBarCompat-ShareActionProviderSample/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/ |
ContentItem.java | 42 * @param resourceId - Resource ID to use for this item's content 44 public ContentItem(int type, int resourceId) { 46 contentResourceId = resourceId;
|
/development/samples/browseable/ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/ |
ContentItem.java | 42 * @param resourceId - Resource ID to use for this item's content 44 public ContentItem(int type, int resourceId) { 46 contentResourceId = resourceId;
|
/external/chromium/chrome/browser/ui/cocoa/translate/ |
before_translate_infobar_controller.mm | 17 int resourceId, const string16& param) { 18 string16 title = l10n_util::GetStringFUTF16(resourceId, param);
|