/frameworks/base/core/java/android/view/ |
H A D | MenuItem.java | 512 * @param resId Layout resource to use for presenting this item to the user. 517 public MenuItem setActionView(@LayoutRes int resId); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | CalendarView.java | 712 public void setSelectedDateVerticalBar(@DrawableRes int resId) { argument
|
H A D | CheckedTextView.java | 146 * @param resId the resource identifier of drawable to use as the check 152 public void setCheckMarkDrawable(@DrawableRes int resId) { argument 153 if (resId != 0 && resId == mCheckMarkResource) { 157 final Drawable d = resId != 0 ? getContext().getDrawable(resId) : null; 158 setCheckMarkDrawableInternal(d, resId); 176 private void setCheckMarkDrawableInternal(@Nullable Drawable d, @DrawableRes int resId) { argument 199 mCheckMarkResource = resId;
|
H A D | CompoundButton.java | 205 * @param resId the resource identifier of the drawable 208 public void setButtonDrawable(@DrawableRes int resId) { argument 210 if (resId != 0) { 211 d = getContext().getDrawable(resId);
|
H A D | DayPickerView.java | 248 public void setDayOfWeekTextAppearance(int resId) { argument 249 mAdapter.setDayOfWeekTextAppearance(resId); 256 public void setDayTextAppearance(int resId) { argument 257 mAdapter.setDayTextAppearance(resId);
|
H A D | TabWidget.java | 242 * @param resId the resource identifier of the drawable to use as a divider 245 public void setDividerDrawable(@DrawableRes int resId) { argument 246 setDividerDrawable(mContext.getDrawable(resId)); 267 * @param resId the resource identifier of the drawable to use as the left 272 public void setLeftStripDrawable(@DrawableRes int resId) { argument 273 setLeftStripDrawable(mContext.getDrawable(resId)); 306 * @param resId the resource identifier of the drawable to use as the right 311 public void setRightStripDrawable(@DrawableRes int resId) { argument 312 setRightStripDrawable(mContext.getDrawable(resId));
|
H A D | ActionMenuView.java | 89 * @param resId theme used to inflate popup menus 92 public void setPopupTheme(@StyleRes int resId) { argument 93 if (mPopupTheme != resId) { 94 mPopupTheme = resId; 95 if (resId == 0) { 98 mPopupContext = new ContextThemeWrapper(mContext, resId);
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | FloatingActionMode.java | 124 public void setTitle(int resId) {} argument 130 public void setSubtitle(int resId) {} argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
H A D | PhoneWindowActionModeTest.java | 332 public void setTitle(int resId) {} argument 338 public void setSubtitle(int resId) {} argument
|
/frameworks/base/media/java/android/media/ |
H A D | SoundPool.java | 241 * @param resId the resource ID 246 public int load(Context context, int resId, int priority) { argument 247 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SignalController.java | 166 * Returns the resource if resId is not 0, and an empty string otherwise. 168 protected String getStringIfExists(int resId) { argument 169 return resId != 0 ? mContext.getString(resId) : "";
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 326 public ResourceBitmapSource(Resources res, int resId, int previewSize) { argument 329 mResId = resId;
|
/frameworks/base/tools/aapt2/ |
H A D | Resource.h | 127 ResourceId(uint32_t resId); 195 inline ResourceId::ResourceId(uint32_t resId) : id(resId) { argument 233 inline ::std::ostream& operator<<(::std::ostream& out, const ResourceId& resId) { argument 237 << std::hex << resId.id;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | NavigationView.java | 240 * @param resId ID of a menu resource to inflate 242 public void inflateMenu(int resId) { argument 244 getMenuInflater().inflate(resId, mMenu); 365 * @param resId The identifier of the resource. 369 public void setItemBackgroundResource(@DrawableRes int resId) { argument 370 setItemBackground(ContextCompat.getDrawable(getContext(), resId)); 400 public void setItemTextAppearance(@StyleRes int resId) { argument 401 mPresenter.setItemTextAppearance(resId);
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
H A D | AnimatedVectorDrawableCompat.java | 115 * @param resId the resource ID for AnimatedVectorDrawableCompat object. 120 @DrawableRes int resId) { 123 drawable.mDelegateDrawable = ResourcesCompat.getDrawable(context.getResources(), resId, 132 final XmlPullParser parser = resources.getXml(resId); 119 create(@onNull Context context, @DrawableRes int resId) argument
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ActionBarDrawerToggle.java | 336 * @param resId Resource ID of a drawable to use for the up indicator, or 0 340 public void setHomeAsUpIndicator(int resId) { argument 342 if (resId != 0) { 343 indicator = ContextCompat.getDrawable(mActivity, resId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarDrawerToggle.java | 326 * @param resId Resource ID of a drawable to use for the up indicator, or 0 330 public void setHomeAsUpIndicator(int resId) { argument 332 if (resId != 0) { 333 indicator = mDrawerLayout.getResources().getDrawable(resId);
|
H A D | AppCompatDelegate.java | 288 public abstract void setContentView(@LayoutRes int resId); argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | DecorToolbar.java | 56 void setIcon(int resId); argument 58 void setLogo(int resId); argument 87 void setNavigationIcon(int resId); argument 89 void setNavigationContentDescription(int resId); argument
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | PreferenceManager.java | 109 * @param resId The resource ID of the XML to inflate. 116 public PreferenceScreen inflateFromResource(Context context, int resId, argument 122 rootPreferences = (PreferenceScreen) inflater.inflate(resId, rootPreferences); 367 * @param resId The resource ID of the preference XML file. 381 public static void setDefaultValues(Context context, int resId, boolean readAgain) { argument 385 getDefaultSharedPreferencesMode(), resId, readAgain); 398 * @param resId The resource ID of the preference XML file. 417 int sharedPreferencesMode, int resId, boolean readAgain) { 425 pm.inflateFromResource(context, resId, null); 416 setDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain) argument
|
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 393 * Set resId to 0 if you don't want an icon. 394 * @param resId the resourceId of the drawable to use as the icon or 0 397 public void setIcon(@DrawableRes int resId) { argument 398 mAlert.setIcon(resId);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceManager.java | 267 * @param resId The resource ID of the XML to inflate. 274 public PreferenceScreen inflateFromResource(Context context, @XmlRes int resId, argument 280 rootPreferences = (PreferenceScreen) inflater.inflate(resId, rootPreferences, true); 551 * @param resId The resource ID of the preference XML file. 565 public static void setDefaultValues(Context context, @XmlRes int resId, boolean readAgain) { argument 569 getDefaultSharedPreferencesMode(), resId, readAgain); 582 * @param resId The resource ID of the preference XML file. 601 int sharedPreferencesMode, int resId, boolean readAgain) { 609 pm.inflateFromResource(context, resId, null); 600 setDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain) argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuItem.java | 237 public MenuItem setActionView(int resId) { argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DecorToolbar.java | 62 void setIcon(int resId); argument 64 void setLogo(int resId); argument 93 void setNavigationIcon(int resId); argument 95 void setNavigationContentDescription(int resId); argument
|
H A D | RotarySelector.java | 214 private Bitmap getBitmapFor(int resId) { argument 215 return BitmapFactory.decodeResource(getContext().getResources(), resId); 251 * @param resId the resource ID. 253 public void setLeftHandleResource(int resId) { argument 254 if (resId != 0) { 255 mLeftHandleIcon = getBitmapFor(resId); 266 * @param resId the resource ID. 268 public void setRightHandleResource(int resId) { argument 269 if (resId != 0) { 270 mRightHandleIcon = getBitmapFor(resId); [all...] |