OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:resourceId
(Results
51 - 75
of
380
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
StringArrayResourceLoader.java
24
public String[] getArrayValue(int
resourceId
) {
25
String resourceName = resourceExtractor.getResourceName(
resourceId
);
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
));
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
);
ResourceExtractor.java
86
public String getResourceName(int
resourceId
) {
87
return resourceIdToString.get(
resourceId
);
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
PresResInstanceInfo.java
78
public void setResId(String
resourceId
) {
79
this.mId =
resourceId
;
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/
TextCardView.java
46
int
resourceId
= card.getLocalImageResourceId(getContext());
48
.decodeResource(getContext().getResources(),
resourceId
);
CharacterCardView.java
58
int
resourceId
= card.getLocalImageResourceId(getContext());
60
.decodeResource(getContext().getResources(),
resourceId
);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
SideInfoCardPresenter.java
57
int
resourceId
= getContext().getResources()
60
Picasso.with(getContext()).load(
resourceId
).resize(width, height).centerCrop()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
ActionImage.java
36
public ActionImage(Path path, GalleryApp application, int
resourceId
) {
39
mResourceId =
resourceId
;
/frameworks/base/core/java/android/view/
PointerIcon.java
217
int
resourceId
= a.getResourceId(typeIndex, -1);
220
if (
resourceId
== -1) {
226
if ((
resourceId
& 0xff000000) == 0x01000000) {
227
icon.mSystemIconResourceId =
resourceId
;
229
icon.loadResource(context, context.getResources(),
resourceId
);
284
* @param
resourceId
The resource id.
291
public static PointerIcon load(@NonNull Resources resources, @XmlRes int
resourceId
) {
297
icon.loadResource(null, resources,
resourceId
);
399
private void loadResource(Context context, Resources resources, @XmlRes int
resourceId
) {
400
final XmlResourceParser parser = resources.getXml(
resourceId
);
[
all
...]
/frameworks/base/core/java/android/util/
TypedValue.java
185
public int
resourceId
;
497
resourceId
= other.
resourceId
;
512
if (
resourceId
!= 0) {
513
sb.append(" r=0x").append(Integer.toHexString(
resourceId
));
/packages/apps/Contacts/src/com/android/contacts/editor/
CompactPhotoEditorView.java
88
final int
resourceId
= getResources().getIdentifier(
90
mStatusBarHeight =
resourceId
> 0 ? getResources().getDimensionPixelSize(
resourceId
) : 0;
93
private float getTypedFloat(int
resourceId
) {
95
getResources().getValue(
resourceId
, typedValue, /* resolveRefs =*/ true);
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
BackgroundHelper.java
102
final int
resourceId
= (Integer) imageToken;
103
if (DEBUG) Log.v(TAG, "load
resourceId
" +
resourceId
);
104
Drawable drawable = ContextCompat.getDrawable(activity,
resourceId
);
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
EncryptionAppTest.java
118
.
resourceId
(mEncryptionSettingPackage + ":id/lock_pin"));
125
.
resourceId
(mEncryptionSettingPackage + ":id/encrypt_dont_require_password"));
133
.
resourceId
(mEncryptionSettingPackage + ":id/next_button"));
141
.
resourceId
(mEncryptionSettingPackage + ":id/password_entry"));
167
.
resourceId
(mEncryptionSettingPackage + ":id/password_entry"));
180
.
resourceId
(mEncryptionSettingPackage + ":id/lock_none"));
187
.
resourceId
("com.android.settings:id/lock_none"));
195
.
resourceId
("android:id/button1"));
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
Utils.java
74
public static void showToast(Context context, int
resourceId
) {
75
Toast.makeText(context, context.getString(
resourceId
), Toast.LENGTH_LONG).show();
/cts/tests/tests/widget/src/android/widget/cts/
DigitalClockTest.java
114
private AttributeSet getAttributeSet(int
resourceId
) {
115
XmlResourceParser parser = mActivity.getResources().getXml(
resourceId
);
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
RecommendationBuilder.java
95
public RecommendationBuilder setSmallIcon(int
resourceId
) {
96
mSmallIcon =
resourceId
;
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowRemoteViews.java
82
public void setImageViewResource(int viewId, final int
resourceId
) {
86
((ImageView) view).setImageResource(
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) {
/frameworks/base/core/java/android/security/net/config/
ResourceCertificateSource.java
45
public ResourceCertificateSource(int
resourceId
, Context context) {
46
mResourceId =
resourceId
;
/frameworks/base/media/mca/filterfw/java/android/filterfw/
GraphEnvironment.java
128
* @param
resourceId
The ID of the graph resource to load.
131
public int loadGraph(Context context, int
resourceId
) {
135
graph = getGraphReader().readGraphResource(context,
resourceId
);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedPreferenceHelper.java
57
if (userRestriction.
resourceId
!= 0) {
58
data = context.getText(userRestriction.
resourceId
);
/packages/apps/Email/provider_src/com/android/email/mail/
Sender.java
70
private static Sender findSender(Context context, int
resourceId
, Account account)
74
XmlResourceParser xml = context.getResources().getXml(
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 641 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>