/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
Resources_Theme_Delegate.java | 68 int resid, int[] attrs) 71 BridgeTypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, 93 int resid, TypedValue outValue, 96 boolean found = RenderSessionImpl.getCurrentContext().resolveThemeAttribute(resid, 115 final int[] resId = key.mResId; 120 StyleResourceValue style = resolveStyle(resId[i]);
|
/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;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatButton.java | 75 public void setBackgroundResource(@DrawableRes int resId) { 76 super.setBackgroundResource(resId); 78 mBackgroundTintHelper.onSetBackgroundResource(resId); 151 public void setTextAppearance(Context context, int resId) { 152 super.setTextAppearance(context, resId); 154 mTextHelper.onSetTextAppearance(context, resId);
|
AppCompatEditText.java | 73 public void setBackgroundResource(@DrawableRes int resId) { 74 super.setBackgroundResource(resId); 76 mBackgroundTintHelper.onSetBackgroundResource(resId); 149 public void setTextAppearance(Context context, int resId) { 150 super.setTextAppearance(context, resId); 152 mTextHelper.onSetTextAppearance(context, resId);
|
AppCompatCheckBox.java | 74 public void setButtonDrawable(@DrawableRes int resId) { 76 ? mTintManager.getDrawable(resId) 77 : ContextCompat.getDrawable(getContext(), resId));
|
AppCompatRadioButton.java | 74 public void setButtonDrawable(@DrawableRes int resId) { 76 ? mTintManager.getDrawable(resId) 77 : ContextCompat.getDrawable(getContext(), resId));
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
PreferenceGroupAdapter.java | 78 private int resId; 88 return resId == other.resId 96 result = 31 * result + resId; 176 pl.resId = preference.getLayoutResource(); 260 final ViewGroup view = (ViewGroup) inflater.inflate(pl.resId, parent, false);
|
/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/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageWizardBase.java | 152 protected void setHeaderText(int resId, String... args) { 153 final CharSequence headerText = TextUtils.expandTemplate(getText(resId), args); 158 protected void setBodyText(int resId, String... args) { 160 TextUtils.expandTemplate(getText(resId), args)); 163 protected void setSecondaryBodyText(int resId, String... args) { 165 secondBody.setText(TextUtils.expandTemplate(getText(resId), args));
|
/packages/apps/Settings/src/com/android/settings/notification/ |
VolumeSeekBarPreference.java | 166 public void showIcon(int resId) { 169 if (mIconResId == resId) return; 170 mIconResId = resId; 174 public void setMuteIcon(int resId) { 175 if (mMuteIconResId == resId) return; 176 mMuteIconResId = 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);
|
/frameworks/base/tools/aapt2/ |
ResourceTable.h | 154 bool addResource(const ResourceNameRef& name, const ResourceId resId, 158 bool markPublic(const ResourceNameRef& name, const ResourceId resId, const SourceLine& source); 159 bool markPublicAllowMangled(const ResourceNameRef& name, const ResourceId resId, 189 bool addResourceImpl(const ResourceNameRef& name, const ResourceId resId, 192 bool markPublicImpl(const ResourceNameRef& name, const ResourceId 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
DictionaryFactory.java | 131 final int resId = DictionaryInfoUtils.getMainDictionaryResourceIdIfAvailableForLocale( 133 if (0 == resId) return null; 134 afd = context.getResources().openRawResourceFd(resId); 136 Log.e(TAG, "Found the resource but it is compressed. resId=" + resId);
|
/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 | 321 public void setIcon(int resId) { 322 setIcon(resId != 0 ? getContext().getDrawable(resId) : null); 332 public void setLogo(int resId) { 333 setLogo(resId != 0 ? getContext().getDrawable(resId) : null); 625 public void setNavigationIcon(int resId) { 626 setNavigationIcon(resId != 0 ? mToolbar.getContext().getDrawable(resId) : null); 652 public void setNavigationContentDescription(int resId) { [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/ |
Settings.java | 120 int resId = mResources.getIdentifier(resourceName, "bool", mPackageName); 121 return resId > 0 ? mResources.getBoolean(resId) : defaultValue;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ToolbarWidgetWrapper.java | 324 public void setIcon(int resId) { 325 setIcon(resId != 0 ? mTintManager.getDrawable(resId) : null); 335 public void setLogo(int resId) { 336 setLogo(resId != 0 ? mTintManager.getDrawable(resId) : null); 630 public void setNavigationIcon(int resId) { 631 setNavigationIcon(resId != 0 632 ? mTintManager.getDrawable(resId) 643 public void setNavigationContentDescription(int resId) { [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SetupChooseLockPassword.java | 81 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { 82 resid = SetupWizardUtils.getTheme(getIntent()); 83 super.onApplyThemeResource(theme, resid, first);
|
SetupChooseLockPattern.java | 73 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { 74 resid = SetupWizardUtils.getTheme(getIntent()); 75 super.onApplyThemeResource(theme, resid, first);
|
SetupEncryptionInterstitial.java | 64 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { 65 resid = SetupWizardUtils.getTheme(getIntent()); 66 super.onApplyThemeResource(theme, resid, first);
|
SetupRedactionInterstitial.java | 65 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { 66 resid = SetupWizardUtils.getTheme(getIntent()); 67 super.onApplyThemeResource(theme, resid, first);
|