[go: nahoru, domu]

Searched defs:resId (Results 76 - 100 of 181) sorted by relevance

12345678

/frameworks/base/core/java/android/view/
H A DMenuItem.java512 * @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 DCalendarView.java712 public void setSelectedDateVerticalBar(@DrawableRes int resId) { argument
H A DCheckedTextView.java146 * @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 DCompoundButton.java205 * @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 DDayPickerView.java248 public void setDayOfWeekTextAppearance(int resId) { argument
249 mAdapter.setDayOfWeekTextAppearance(resId);
256 public void setDayTextAppearance(int resId) { argument
257 mAdapter.setDayTextAppearance(resId);
H A DTabWidget.java242 * @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 DActionMenuView.java89 * @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 DFloatingActionMode.java124 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 DPhoneWindowActionModeTest.java332 public void setTitle(int resId) {} argument
338 public void setSubtitle(int resId) {} argument
/frameworks/base/media/java/android/media/
H A DSoundPool.java241 * @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 DSignalController.java166 * 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 DBitmapRegionTileSource.java326 public ResourceBitmapSource(Resources res, int resId, int previewSize) { argument
329 mResId = resId;
/frameworks/base/tools/aapt2/
H A DResource.h127 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 DNavigationView.java240 * @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 DAnimatedVectorDrawableCompat.java115 * @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 DActionBarDrawerToggle.java336 * @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 DActionBarDrawerToggle.java326 * @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 DAppCompatDelegate.java288 public abstract void setContentView(@LayoutRes int resId); argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DDecorToolbar.java56 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 DPreferenceManager.java109 * @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 DAlertDialog.java393 * 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 DPreferenceManager.java267 * @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 DActionMenuItem.java237 public MenuItem setActionView(int resId) { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DDecorToolbar.java62 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 DRotarySelector.java214 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...]

Completed in 1293 milliseconds

12345678