HomeSort by relevance Sort by last modified time
    Searched full:resid (Results 51 - 75 of 577) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/core/java/com/android/internal/app/
ToolbarActionBar.java 93 public void setCustomView(int resId) {
95 setCustomView(inflater.inflate(resId, mDecorToolbar.getViewGroup(), false));
99 public void setIcon(int resId) {
100 mDecorToolbar.setIcon(resId);
109 public void setLogo(int resId) {
110 mDecorToolbar.setLogo(resId);
159 public void setHomeAsUpIndicator(int resId) {
160 mDecorToolbar.setNavigationIcon(resId);
174 public void setHomeActionContentDescription(int resId) {
175 mDecorToolbar.setNavigationContentDescription(resId);
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
DecorToolbar.java 62 void setIcon(int resId);
64 void setLogo(int resId);
93 void setNavigationIcon(int resId);
95 void setNavigationContentDescription(int resId);
DecorContentParent.java 39 void setIcon(int resId);
41 void setLogo(int resId);
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
PropertyNodesVerifier.java 46 public void verify(int resId, int vcardType) throws IOException, VCardException {
47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType);
50 public void verify(int resId, int vcardType, final VCardParser parser)
52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId),
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DecorToolbar.java 56 void setIcon(int resId);
58 void setLogo(int resId);
87 void setNavigationIcon(int resId);
89 void setNavigationContentDescription(int resId);
TintManager.java 142 public static Drawable getDrawable(Context context, int resId) {
143 if (isInTintList(resId)) {
144 return TintManager.get(context).getDrawable(resId);
146 return ContextCompat.getDrawable(context, resId);
166 public Drawable getDrawable(int resId) {
167 return getDrawable(resId, false);
170 public Drawable getDrawable(int resId, boolean failIfNotKnown) {
174 Drawable drawable = ContextCompat.getDrawable(context, resId);
182 final ColorStateList tintList = getTintList(resId);
189 final PorterDuff.Mode tintMode = getTintMode(resId);
    [all...]
DecorContentParent.java 41 void setIcon(int resId);
43 void setLogo(int resId);
ResourcesWrapper.java 251 public String getResourceName(int resid) throws NotFoundException {
252 return mResources.getResourceName(resid);
256 public String getResourcePackageName(int resid) throws NotFoundException {
257 return mResources.getResourcePackageName(resid);
261 public String getResourceTypeName(int resid) throws NotFoundException {
262 return mResources.getResourceTypeName(resid);
266 public String getResourceEntryName(int resid) throws NotFoundException {
267 return mResources.getResourceEntryName(resid);
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AppCompatAutoCompleteTextView.java 86 public void setDropDownBackgroundResource(@DrawableRes int resId) {
88 setDropDownBackgroundDrawable(mTintManager.getDrawable(resId));
90 super.setDropDownBackgroundResource(resId);
95 public void setBackgroundResource(@DrawableRes int resId) {
96 super.setBackgroundResource(resId);
98 mBackgroundTintHelper.onSetBackgroundResource(resId);
171 public void setTextAppearance(Context context, int resId) {
172 super.setTextAppearance(context, resId);
174 mTextHelper.onSetTextAppearance(context, resId);
AppCompatMultiAutoCompleteTextView.java 86 public void setDropDownBackgroundResource(@DrawableRes int resId) {
88 setDropDownBackgroundDrawable(mTintManager.getDrawable(resId));
90 super.setDropDownBackgroundResource(resId);
95 public void setBackgroundResource(@DrawableRes int resId) {
96 super.setBackgroundResource(resId);
98 mBackgroundTintHelper.onSetBackgroundResource(resId);
171 public void setTextAppearance(Context context, int resId) {
172 super.setTextAppearance(context, resId);
174 mTextHelper.onSetTextAppearance(context, resId);
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
BitmapUtils.java 48 public static int getRotationFromExif(Resources res, int resId) {
49 return BitmapUtils.getRotationFromExifHelper(res, resId, null, null);
52 private static int getRotationFromExifHelper(Resources res, int resId, Context context, Uri uri) {
62 is = res.openRawResource(resId);
  /cts/tests/tests/content/src/android/content/res/cts/
ResourcesTest.java 136 private static void checkGetText1(final Resources res, final int resId,
138 final String actual = res.getText(resId).toString();
140 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId),
143 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId),
147 private static void checkGetText2(final Resources res, final int resId,
149 final String actual = res.getText(resId, null).toString();
151 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId),
154 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId),
394 int resid = mResources.getIdentifier(COM_ANDROID_CTS_STUB_IDENTIFIER, null, null); local
395 assertEquals(R.configVarying.simple, resid);
    [all...]
  /development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
CompatTab.java 37 public abstract CompatTab setText(int resId);
38 public abstract CompatTab setIcon(int resId);
  /device/sample/apps/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
PartnerReceiver.java 83 int resId;
91 resId = R.drawable.ic_ted_banner;
98 resId = R.drawable.ic_play_movies_banner;
107 postNotification(sort, resId, backupResId, titleId, backupTitleId, pkgName);
110 private void postNotification(int sort, int resId, int backupResId,
112 int id = resId;
117 resId = backupResId;
127 .setLargeIcon(BitmapFactory.decodeResource(mContext.getResources(), resId))
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowStateListDrawable.java 25 public void addState(int stateId, int resId) {
26 stateToResource.put(stateId, resId);
  /frameworks/base/core/java/android/widget/
ImageSwitcher.java 36 public void setImageResource(@DrawableRes int resid)
39 image.setImageResource(resid);
  /frameworks/support/v4/honeycomb/android/support/v4/view/
MenuItemCompatHoneycomb.java 34 public static MenuItem setActionView(MenuItem item, int resId) {
35 return item.setActionView(resId);
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
ResourceTexture.java 32 public ResourceTexture(Context context, int resId) {
35 mResId = resId;
  /packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
TargetDrawable.java 58 * @param resId
61 public TargetDrawable(Resources res, int resId, int count) {
62 mResourceId = resId;
63 setDrawable(res, resId);
67 public void setDrawable(Resources res, int resId) {
68 // Note we explicitly don't set mResourceId to resId since we allow the drawable to be
70 Drawable drawable = resId == 0 ? null : res.getDrawable(resId);
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
FocusIndicatorView.java 31 private void setDrawable(int resid) {
32 setBackgroundDrawable(getResources().getDrawable(resid));
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
macresource.py 15 def need(restype, resid, filename=None, modname=None):
16 """Open a resource file, if needed. restype and resid
27 if type(resid) is type(1):
29 h = Res.GetResource(restype, resid)
36 h = Res.GetNamedResource(restype, resid)
71 if type(resid) is type(1):
72 h = Res.GetResource(restype, resid)
74 h = Res.GetNamedResource(restype, resid)
  /cts/tests/tests/media/src/android/media/cts/
MediaMetadataRetrieverTest.java 47 protected void setDataSourceFd(int resid) {
49 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
57 protected TestMediaDataSource setDataSourceCallback(int resid) {
60 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
156 private void testThumbnail(int resId) {
157 if (!MediaUtils.hasCodecForResourceAndDomain(getContext(), resId, "video/")) {
164 AssetFileDescriptor afd = resources.openRawResourceFd(resId);
MediaPlayerTestBase.java 148 protected boolean loadResource(int resid) throws Exception {
149 if (!MediaUtils.hasCodecsForResource(mContext, resid)) {
153 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
172 protected boolean checkLoadResource(int resid) throws Exception {
173 return MediaUtils.check(loadResource(resid), "no decoder found");
176 protected void loadSubtitleSource(int resid) throws Exception {
177 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
211 protected void playVideoTest(int resid, int width, int height) throws Exception {
212 if (!checkLoadResource(resid)) {
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityActivityTestCase.java 76 * @return The string for a given <code>resId</code>.
78 public String getString(int resId) {
79 return getInstrumentation().getContext().getString(resId);
  /frameworks/base/tools/aapt2/
MockResolver.h 71 virtual Maybe<ResourceName> findName(ResourceId resId) override {
72 Maybe<ResourceName> result = mResolver->findName(resId);
78 if (p.second == resId) {

Completed in 1419 milliseconds

1 23 4 5 6 7 8 91011>>