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

1 2 3 4 5

  /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);
  /frameworks/base/graphics/java/android/renderscript/
ScriptC.java 54 * @param resourceID
56 protected ScriptC(RenderScript rs, Resources resources, int resourceID) {
58 int id = internalCreate(rs, resources, resourceID);
66 private static synchronized int internalCreate(RenderScript rs, Resources resources, int resourceID) {
69 InputStream is = resources.openRawResource(resourceID);
95 String resName = resources.getResourceEntryName(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;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
ScriptCTest.java 35 int resourceID) {
36 super(rs, resources, 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);
  /frameworks/base/core/java/com/android/internal/widget/multiwaveview/
MultiWaveView.java 221 a.peekValue(R.styleable.MultiWaveView_handleDrawable).resourceId);
224 a.peekValue(R.styleable.MultiWaveView_waveDrawable).resourceId);
230 ArrayList<TargetDrawable> chevrons = loadDrawableArray(outValue.resourceId);
241 internalSetTargetResources(outValue.resourceId);
249 final int resourceId = outValue.resourceId;
250 if (resourceId == 0) {
253 setTargetDescriptionsResourceId(resourceId);
258 final int resourceId = outValue.resourceId;
    [all...]
GlowPadView.java 218 a.peekValue(R.styleable.GlowPadView_handleDrawable).resourceId);
233 internalSetTargetResources(outValue.resourceId);
241 final int resourceId = outValue.resourceId;
242 if (resourceId == 0) {
245 setTargetDescriptionsResourceId(resourceId);
250 final int resourceId = outValue.resourceId;
251 if (resourceId == 0) {
254 setDirectionDescriptionsResourceId(resourceId);
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
PhotoStoreTest.java 127 * @param resourceId The resource ID of the photo file to test.
129 public void runStorageTestForResource(int resourceId, int expectedWidth,
131 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL);
139 byte[] expectedStoredVersion = loadPhotoFromResource(resourceId, PhotoSize.DISPLAY_PHOTO);
159 public void runStorageTestForResourceWithCrop(int resourceId, int expectedWidth,
161 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL);
205 for (int resourceId : resourceIds) {
207 new PhotoProcessor(loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL),
209 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...]
  /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/chrome/browser/ui/cocoa/translate/
before_translate_infobar_controller.mm 17 int resourceId, const string16& param) {
18 string16 title = l10n_util::GetStringFUTF16(resourceId, param);
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Texture2D.java 50 public Texture2D(int resourceID) {
52 mResourceID = resourceID;
TextureCube.java 51 public TextureCube(int resourceID) {
53 mResourceID = resourceID;
VertexShader.java 42 public Builder setShader(Resources resources, int resourceID) {
43 mBuilder.setShader(resources, resourceID);
  /frameworks/base/policy/src/com/android/internal/policy/impl/
LockScreen.java 126 // Enable or disable a target. ResourceId is the id of the *drawable* associated with the
128 public void setEnabled(int resourceId, boolean enabled);
131 public int getTargetPosition(int resourceId);
196 public void setEnabled(int resourceId, boolean enabled) {
200 public int getTargetPosition(int resourceId) {
244 public void setEnabled(int resourceId, boolean enabled) {
247 public int getTargetPosition(int resourceId) {
380 public void setEnabled(int resourceId, boolean enabled) {
381 mGlowPadView.setEnableTarget(resourceId, enabled);
384 public int getTargetPosition(int resourceId) {
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
TypedValueTest.java 57 tv1.resourceId = 4;
66 assertEquals(4, tv2.resourceId);
119 tv.resourceId = 4;
155 tv.resourceId = 4;
  /packages/apps/Contacts/src/com/android/contacts/util/
ThemeUtils.java 32 return outValue.resourceId;
  /frameworks/base/core/java/android/view/
PointerIcon.java 131 int resourceId = a.getResourceId(styleIndex, -1);
134 if (resourceId == -1) {
140 if ((resourceId & 0xff000000) == 0x01000000) {
141 icon.mSystemIconResourceId = resourceId;
143 icon.loadResource(context.getResources(), resourceId);
188 * @param resourceId The resource id.
195 public static PointerIcon loadCustomIcon(Resources resources, int resourceId) {
201 icon.loadResource(resources, resourceId);
376 private void loadResource(Resources resources, int resourceId) {
377 XmlResourceParser parser = resources.getXml(resourceId);
    [all...]
  /frameworks/base/core/java/android/widget/
ViewAnimator.java 309 * @param resourceID The resource id of the animation.
314 public void setInAnimation(Context context, int resourceID) {
315 setInAnimation(AnimationUtils.loadAnimation(context, resourceID));
322 * @param resourceID The resource id of the animation.
327 public void setOutAnimation(Context context, int resourceID) {
328 setOutAnimation(AnimationUtils.loadAnimation(context, resourceID));
  /cts/tests/tests/holo/src/android/holo/cts/
BitmapAssets.java 98 int resourceId = resources.getIdentifier(bitmapName, "drawable", context.getPackageName());
99 return ((BitmapDrawable) resources.getDrawable(resourceId)).getBitmap();
  /cts/tests/tests/widget/src/android/widget/cts/
DigitalClockTest.java 113 private AttributeSet getAttributeSet(int resourceId) {
114 XmlResourceParser parser = mActivity.getResources().getXml(resourceId);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
PackageIconLoader.java 103 int resourceId = Integer.parseInt(drawableId);
105 Drawable icon = mPackageContext.getResources().getDrawable(resourceId);
130 int resourceId = Integer.parseInt(drawableId);
131 return Util.getResourceUri(mPackageContext, resourceId);

Completed in 3131 milliseconds

1 2 3 4 5