HomeSort by relevance Sort by last modified time
    Searched full:resid (Results 76 - 100 of 482) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DecorContentParent.java 41 void setIcon(int resId);
43 void setLogo(int resId);
TintImageView.java 66 public void setImageResource(@DrawableRes int resId) {
68 setImageDrawable(mTintManager.getDrawable(resId));
ToolbarWidgetWrapper.java 344 public void setIcon(int resId) {
345 setIcon(resId != 0 ? mTintManager.getDrawable(resId) : null);
355 public void setLogo(int resId) {
356 setLogo(resId != 0 ? mTintManager.getDrawable(resId) : null);
636 public void setNavigationIcon(int resId) {
637 setNavigationIcon(resId != 0
638 ? mTintManager.getDrawable(resId)
649 public void setNavigationContentDescription(int resId) {
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
OtherSettingIndicatorButton.java 36 public OtherSettingIndicatorButton(Context context, int resId,
39 setImageResource(resId);
  /packages/apps/Settings/src/com/android/settings/widget/
AnimatedImageView.java 73 public void setImageResource(int resid) {
74 super.setImageResource(resid);
  /development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 119 public void setInputMethodSettingsCategoryTitle(int resId) {
120 mInputMethodSettingsCategoryTitleRes = resId;
138 public void setSubtypeEnablerTitle(int resId) {
139 mSubtypeEnablerTitleRes = resId;
157 public void setSubtypeEnablerIcon(int resId) {
158 mSubtypeEnablerIconRes = resId;
  /frameworks/base/core/java/android/preference/
SwitchPreference.java 170 * @param resId The text as a string resource ID
172 public void setSwitchTextOn(int resId) {
173 setSwitchTextOn(getContext().getString(resId));
180 * @param resId The text as a string resource ID
182 public void setSwitchTextOff(int resId) {
183 setSwitchTextOff(getContext().getString(resId));
PreferenceGroupAdapter.java 103 private int resId;
110 if (resId == other.resId) {
117 return resId - other.resId;
190 pl.resId = preference.getLayoutResource();
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardMessageArea.java 100 public void setMessage(int resId, boolean important) {
101 if (resId != 0 && important) {
102 mMessageArea.mMessage = mMessageArea.getContext().getResources().getText(resId);
107 public void setMessage(int resId, boolean important, Object... formatArgs) {
108 if (resId != 0 && important) {
109 mMessageArea.mMessage = mMessageArea.getContext().getString(resId, formatArgs);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DozeParameters.java 119 private boolean getBoolean(String propName, int resId) {
120 return SystemProperties.getBoolean(propName, mContext.getResources().getBoolean(resId));
123 private int getInt(String propName, int resId) {
124 int value = SystemProperties.getInt(propName, mContext.getResources().getInteger(resId));
128 private String getString(String propName, int resId) {
129 return SystemProperties.get(propName, mContext.getString(resId));
  /frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 99 public void setInputMethodSettingsCategoryTitle(int resId) {
100 mInputMethodSettingsCategoryTitleRes = resId;
118 public void setSubtypeEnablerTitle(int resId) {
119 mSubtypeEnablerTitleRes = resId;
137 public void setSubtypeEnablerIcon(int resId) {
138 mSubtypeEnablerIconRes = resId;
  /packages/apps/Camera/src/com/android/camera/
PieController.java 76 protected PieItem makeItem(int resId) {
78 Drawable d = mActivity.getResources().getDrawable(resId).mutate();
92 int resid = -1; local
96 resid = iconIds[index];
99 resid = pref.getSingleIcon();
101 PieItem item = makeItem(resid);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
MainKeyboardAccessibilityDelegate.java 153 final int resId;
163 resId = R.string.spoken_description_mode_alpha;
171 resId = R.string.spoken_description_shiftmode_on;
179 resId = R.string.spoken_description_shiftmode_locked;
182 resId = R.string.spoken_description_shiftmode_locked;
185 resId = R.string.spoken_description_mode_symbol;
188 resId = R.string.spoken_description_mode_symbol_shift;
191 resId = R.string.spoken_description_mode_phone;
194 resId = R.string.spoken_description_mode_phone_shift;
199 sendWindowStateChanged(resId);
    [all...]
  /frameworks/base/docs/html/training/displaying-bitmaps/
display-bitmap.jd 109 private static final String IMAGE_DATA_EXTRA = "resId";
142 final int resId = ImageDetailActivity.imageResIds[mImageNum];
143 <strong>mImageView.setImageResource(resId);</strong> // Load image into ImageView
158 public void loadBitmap(int resId, ImageView imageView) {
161 task.execute(resId);
174 final int resId = ImageDetailActivity.imageResIds[mImageNum];
176 ((ImageDetailActivity) getActivity()).loadBitmap(resId, mImageView);
200 public void loadBitmap(int resId, ImageView imageView) {
201 final String imageKey = String.valueOf(resId);
209 task.execute(resId);
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DrawableResourceLoader.java 65 public Drawable getXmlDrawable(int resId) {
67 if (!isXml(resId)) {
71 Document xmlDoc = documents.get(resourceExtractor.getResourceName(resId));
168 int resId = resourceExtractor.getResourceId(drawableName.getNodeValue());
170 shDrawable.addState(stateId, resId);
  /packages/apps/Calendar/src/com/android/calendar/
MultiStateButton.java 121 * @param resid the resource id of the drawable to use as the background
123 public void setButtonDrawable(int resid) {
124 if (resid != 0 && resid == mButtonResource) {
128 mButtonResource = resid;
  /packages/apps/Settings/src/com/android/settings/
SecuritySettings.java 151 int resid = 0; local
159 resid = R.xml.security_settings_lockscreen;
161 resid = R.xml.security_settings_chooser;
165 resid = R.xml.security_settings_biometric_weak;
169 resid = R.xml.security_settings_pattern;
173 resid = R.xml.security_settings_pin;
178 resid = R.xml.security_settings_password;
182 return resid;
200 final int resid = getResIdForLockUnlockScreen(getActivity(), mLockPatternUtils); local
201 addPreferencesFromResource(resid);
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
FractionTest.java 76 private void tryFraction(final int resid, final float base, final float pbase,
78 mResources.getValue(resid, mValue, true);
87 + Integer.toHexString(resid) + " " + mValue, diff > prec);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowImageView.java 52 public void setImageResource(int resId) {
53 this.resourceId = resId;
54 setImageDrawable(buildDrawable(resId));
  /frameworks/base/core/java/com/android/internal/widget/
ToolbarWidgetWrapper.java 319 public void setIcon(int resId) {
320 setIcon(resId != 0 ? getContext().getDrawable(resId) : null);
330 public void setLogo(int resId) {
331 setLogo(resId != 0 ? getContext().getDrawable(resId) : null);
609 public void setNavigationIcon(int resId) {
610 setNavigationIcon(resId != 0 ? mToolbar.getContext().getDrawable(resId) : null);
636 public void setNavigationContentDescription(int resId) {
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
StatusHints.java 119 private Drawable getIcon(Context context, int resId) {
128 return packageContext.getDrawable(resId);
131 resId, mPackageName.getPackageName());
  /cts/tests/tests/media/src/android/media/cts/
MediaPlayerTestBase.java 145 protected void loadResource(int resid) throws Exception {
146 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
164 protected void loadSubtitleSource(int resid) throws Exception {
165 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
199 protected void playVideoTest(int resid, int width, int height) throws Exception {
200 loadResource(resid);
  /frameworks/base/core/java/com/android/internal/app/
WindowDecorActionBar.java 356 public void setCustomView(int resId) {
357 setCustomView(LayoutInflater.from(getThemedContext()).inflate(resId,
392 public void setTitle(int resId) {
393 setTitle(mContext.getString(resId));
397 public void setSubtitle(int resId) {
398 setSubtitle(mContext.getString(resId));
900 public void setHomeAsUpIndicator(int resId) {
901 mDecorToolbar.setNavigationIcon(resId);
910 public void setHomeActionContentDescription(int resId) {
911 mDecorToolbar.setNavigationContentDescription(resId);
    [all...]
  /frameworks/support/v4/java/android/support/v4/view/
PagerTabStrip.java 139 * @param resId Resource ID of a color resource to load
141 public void setTabIndicatorColorResource(@ColorRes int resId) {
142 setTabIndicatorColor(getContext().getResources().getColor(resId));
185 public void setBackgroundResource(@DrawableRes int resId) {
186 super.setBackgroundResource(resId);
188 mDrawFullUnderline = resId == 0;
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
WindowDecorActionBar.java 366 public void setCustomView(int resId) {
367 setCustomView(LayoutInflater.from(getThemedContext()).inflate(resId,
402 public void setTitle(int resId) {
403 setTitle(mContext.getString(resId));
407 public void setSubtitle(int resId) {
408 setSubtitle(mContext.getString(resId));
908 public void setHomeAsUpIndicator(int resId) {
909 mDecorToolbar.setNavigationIcon(resId);
918 public void setHomeActionContentDescription(int resId) {
919 mDecorToolbar.setNavigationContentDescription(resId);
    [all...]

Completed in 577 milliseconds

1 2 34 5 6 7 8 91011>>