HomeSort by relevance Sort by last modified time
    Searched defs:resourceId (Results 1 - 25 of 236) sorted by null

1 2 3 4 5 6 7 8 910

  /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;
  /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);
  /frameworks/base/core/java/android/net/
IpSecSpiResponse.java 30 public final int resourceId;
43 out.writeInt(resourceId);
49 resourceId = inResourceId;
58 resourceId = IpSecManager.INVALID_RESOURCE_ID;
64 resourceId = in.readInt();
IpSecTransformResponse.java 30 public final int resourceId;
42 out.writeInt(resourceId);
50 resourceId = IpSecManager.INVALID_RESOURCE_ID;
55 resourceId = inResourceId;
60 resourceId = in.readInt();
IpSecUdpEncapResponse.java 33 public final int resourceId;
53 out.writeInt(resourceId);
63 resourceId = IpSecManager.INVALID_RESOURCE_ID;
74 resourceId = inResourceId;
81 resourceId = in.readInt();
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/
ScriptListAdapter.java 68 int resourceId;
70 resourceId = R.drawable.folder;
72 resourceId = FeaturedInterpreters.getInterpreterIcon(mContext, script.getName());
73 if (resourceId == 0) {
74 resourceId = R.drawable.sl4a_logo_32;
77 icon.setImageResource(resourceId);
  /packages/apps/DocumentsUI/src/com/android/documentsui/ui/
MessageBuilder.java 85 int resourceId;
89 resourceId = R.plurals.copy_converted_warning_content;
95 resourceId = R.plurals.copy_failure_alert_content;
98 resourceId = R.plurals.compress_failure_alert_content;
101 resourceId = R.plurals.extract_failure_alert_content;
104 resourceId = R.plurals.delete_failure_alert_content;
107 resourceId = R.plurals.move_failure_alert_content;
132 return mContext.getResources().getQuantityString(resourceId, totalItems, list.toString());
  /packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
SavedNetworkSettingsTest.java 41 // Keys used to lookup resources by name (see the resourceId helper method).
52 private int resourceId(String type, String name) {
72 onView(withText(resourceId(STRING, WIFI_ADD_NETWORK))).check(matches(isDisplayed()))
74 onView(withText(resourceId(STRING, WIFI_NETWORK_LABEL))).check(matches(isDisplayed()));
  /packages/services/Telephony/src/com/android/services/telephony/
DisconnectCauseUtil.java 171 Integer resourceId = null;
174 resourceId = R.string.callFailed_userBusy;
178 resourceId = R.string.callFailed_congestion;
182 resourceId = R.string.callFailed_timedOut;
186 resourceId = R.string.callFailed_server_unreachable;
190 resourceId = R.string.callFailed_number_unreachable;
194 resourceId = R.string.callFailed_invalid_credentials;
198 resourceId = R.string.callFailed_server_error;
202 resourceId = R.string.callFailed_out_of_network;
207 resourceId = R.string.callFailed_noSignal
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/finders/
XPaths.java 98 public static String resourceId(String value) {
By.java 61 public static MatchFinder resourceId(int resourceId) {
63 return resourceId(targetContext.getResources().getResourceName(resourceId));
70 public static MatchFinder resourceId(String resourceId) {
71 return new MatchFinder(Predicates.attributeEquals(Attribute.RESOURCE_ID, resourceId));
  /external/robolectric/v1/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);
  /frameworks/base/core/java/android/util/
IconDrawableFactory.java 106 int resourceId = CORP_BADGE_COLORS[badge % CORP_BADGE_COLORS.length];
107 return Resources.getSystem().getColor(resourceId, null);
  /frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
SamplesList.java 36 static Map<String,?> makeSample(String name, Class<?> activity, int resourceId) {
40 ret.put(KEY_RESOURCE, resourceId);
61 int resourceId = ((Integer) SAMPLES.get(position).get(KEY_RESOURCE)).intValue();
64 intent.putExtra("resourceId", resourceId);
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/
CharacterCardView.java 58 int resourceId = card.getLocalImageResourceId(getContext());
60 .decodeResource(getContext().getResources(), resourceId);
TextCardView.java 46 int resourceId = card.getLocalImageResourceId(getContext());
48 .decodeResource(getContext().getResources(), resourceId);
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
ImageCardViewPresenter.java 60 int resourceId = getContext().getResources()
63 Picasso.with(getContext()).load(resourceId).into(cardView.getMainImageView());
SideInfoCardPresenter.java 57 int resourceId = getContext().getResources()
60 Picasso.with(getContext()).load(resourceId).resize(width, height).centerCrop()
  /cts/tests/tests/content/src/android/content/cts/
Intent_ShortcutIconResourceTest.java 32 final int resourceId = android.content.cts.R.string.notify;
43 resourceId);
45 resourceId);
53 resourceId);
55 resourceId);
  /external/smali/util/src/main/java/org/jf/util/
NumberUtils.java 68 int resourceId = value & 0xffff;
69 if ((packageId == 0x7f || packageId == 1) && resourceType < 0x1f && resourceId < 0xfff) {
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
ResourcesProvider.java 124 final Integer resourceId = RESOURCES.get(docId);
125 if (resourceId == null) {
128 return mTestUtils.getSeekableDescriptor(resourceId);
132 final Integer resourceId = RESOURCES.get(documentId);
133 if (resourceId == null) {
139 fd = getContext().getResources().openRawResourceFd(resourceId);
  /external/robolectric/v1/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/support/v7/appcompat/src/android/support/v7/widget/
AppCompatCompoundButtonHelper.java 59 final int resourceId = a.getResourceId(
61 if (resourceId != 0) {
63 AppCompatResources.getDrawable(mView.getContext(), resourceId));

Completed in 781 milliseconds

1 2 3 4 5 6 7 8 910