OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:resourceId
(Results
1 - 25
of
250
) sorted by null
1
2
3
4
5
6
7
8
9
10
/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();
IpSecTunnelInterfaceResponse.java
30
public final int
resourceId
;
43
out.writeInt(
resourceId
);
52
resourceId
= IpSecManager.INVALID_RESOURCE_ID;
58
resourceId
= inResourceId;
64
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()));
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/simple/
BasicHeuristicsService.java
60
String
resourceId
= node.getIdEntry();
61
hint = inferHint(
resourceId
);
63
Log.d(TAG, "Found hint using
resourceId
(" +
resourceId
+ "): " + hint);
65
} else if (!TextUtils.isEmpty(
resourceId
)) {
66
Log.v(TAG, "No hint using
resourceId
: " +
resourceId
);
/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
);
/packages/services/Telephony/src/com/android/services/telephony/
DisconnectCauseUtil.java
209
Integer
resourceId
= null;
212
resourceId
= R.string.callFailed_userBusy;
216
resourceId
= R.string.callFailed_congestion;
220
resourceId
= R.string.callFailed_timedOut;
224
resourceId
= R.string.callFailed_server_unreachable;
228
resourceId
= R.string.callFailed_number_unreachable;
232
resourceId
= R.string.callFailed_invalid_credentials;
236
resourceId
= R.string.callFailed_server_error;
240
resourceId
= R.string.callFailed_out_of_network;
245
resourceId
= R.string.callFailed_noSignal
[
all
...]
/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
125
final Integer
resourceId
= RESOURCES.get(docId);
126
if (
resourceId
== null) {
129
return mTestUtils.getSeekableDescriptor(
resourceId
);
133
final Integer
resourceId
= RESOURCES.get(documentId);
134
if (
resourceId
== null) {
140
fd = getContext().getResources().openRawResourceFd(
resourceId
);
/cts/tests/tests/graphics/src/android/graphics/cts/
ColorTest.java
89
final int
resourceId
= pair[1];
93
int observedColor = resources.getColor(
resourceId
, null);
101
resources.getValue(
resourceId
, value, true);
106
if (expectedColorStateLists.contains(
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/main/java/androidx/appcompat/widget/
AppCompatCompoundButtonHelper.java
60
final int
resourceId
= a.getResourceId(
62
if (
resourceId
!= 0) {
64
AppCompatResources.getDrawable(mView.getContext(),
resourceId
));
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
PeopleOptionsItemData.java
113
final int
resourceId
= otherParticipant.isBlocked() ?
115
mTitle = mContext.getString(
resourceId
, otherParticipant.getDisplayDestination());
Completed in 859 milliseconds
1
2
3
4
5
6
7
8
9
10