/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);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
ContactBadgeUtil.java | 82 final int resId = resources.getIdentifier(statusLabelRes, "string", 84 if (resId == 0) { 88 labelDisplayValue = resources.getString(resId);
|
/frameworks/base/core/java/android/preference/ |
PreferenceGroupAdapter.java | 92 private int resId; 99 if (resId == other.resId) { 106 return resId - other.resId; 179 pl.resId = preference.getLayoutResource();
|
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTabStrip.java | 137 * @param resId Resource ID of a color resource to load 139 public void setTabIndicatorColorResource(int resId) { 140 setTabIndicatorColor(getContext().getResources().getColor(resId)); 183 public void setBackgroundResource(int resId) { 184 super.setBackgroundResource(resId); 186 mDrawFullUnderline = resId == 0;
|
/external/strace/ |
scsi.c | 78 tprintf("resid=%d, ", sg_io->resid);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
FocusIndicatorRotateLayout.java | 44 private void setDrawable(int resid) { 45 mChild.setBackgroundDrawable(getResources().getDrawable(resid));
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
CursorFactoryListAdapter.java | 45 public ResourceViewFactory(int resId) { 46 mResId = resId;
|
/cts/tests/src/android/widget/cts/ |
WidgetTestUtils.java | 118 public static Bitmap getUnscaledBitmap(Resources resources, int resId) { 121 return BitmapFactory.decodeResource(resources, resId, options); 131 int resId, Bitmap.Config config) { 136 return BitmapFactory.decodeResource(resources, resId, options);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerTestBase.java | 130 protected void loadResource(int resid) throws Exception { 131 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); 165 protected void playVideoTest(int resid, int width, int height) throws Exception { 166 loadResource(resid);
|
FaceView.java | 46 public FaceView(Context context, int resId) { 63 mSourceImage = BitmapFactory.decodeResource(getResources(), resId, bfo);
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
CallerInfoTest.java | 129 public String getString(int resId) throws Resources.NotFoundException { 130 switch (resId) { 134 throw new UnsupportedOperationException("Missing handling for resid " + resId);
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockResources.java | 204 public String getResourceName(int resid) throws NotFoundException { 209 public String getResourcePackageName(int resid) throws NotFoundException { 214 public String getResourceTypeName(int resid) throws NotFoundException { 219 public String getResourceEntryName(int resid) throws NotFoundException {
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactsUnavailableFragment.java | 176 * @param resId - String resource ID of the message , -1 means view will not be visible 178 public void setMessageText(int resId, int secResId) { 179 mNoContactsMsgResId = resId; 183 if (resId != -1) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
ContactsMockPackageManager.java | 41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) {
|
/frameworks/base/core/java/android/widget/ |
CompoundButton.java | 174 * @param resid the resource id of the drawable to use as the background 176 public void setButtonDrawable(int resid) { 177 if (resid != 0 && resid == mButtonResource) { 181 mButtonResource = resid;
|
TabWidget.java | 241 * @param resId the resource identifier of the drawable to use as a 244 public void setDividerDrawable(int resId) { 245 setDividerDrawable(getResources().getDrawable(resId)); 262 * @param resId the resource identifier of the drawable to use as the 265 public void setLeftStripDrawable(int resId) { 266 setLeftStripDrawable(getResources().getDrawable(resId)); 283 * @param resId the resource identifier of the drawable to use as the 286 public void setRightStripDrawable(int resId) { 287 setRightStripDrawable(getResources().getDrawable(resId));
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
XmlKeyboardLoader.java | 754 int resId = xrp.getAttributeResourceValue(null, name, 0); 756 if (resId == 0) { 766 return Integer.parseInt(mContext.getResources().getString(resId)); 771 int resId = xrp.getAttributeResourceValue(null, name, 0); 773 if (resId == 0) { [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
LockScreen.java | 263 public boolean isTargetPresent(int resId) { 264 return mGlowPadView.getTargetPosition(resId) != -1; 268 int resId; 271 resId = mSilentMode ? R.array.lockscreen_targets_when_silent 274 resId = R.array.lockscreen_targets_with_camera; 276 if (mGlowPadView.getTargetResourceId() != resId) { 277 mGlowPadView.setTargetResources(resId); 313 final int resId = mGlowPadView.getResourceIdForTarget(target); 314 switch (resId) {
|
/packages/apps/Settings/src/com/android/settings/ |
SecuritySettings.java | 112 int resid = 0; local 115 resid = R.xml.security_settings_lockscreen; 117 resid = R.xml.security_settings_chooser; 121 resid = R.xml.security_settings_biometric_weak; 125 resid = R.xml.security_settings_pattern; 128 resid = R.xml.security_settings_pin; 133 resid = R.xml.security_settings_password; 137 addPreferencesFromResource(resid); 176 if (resid == R.xml.security_settings_biometric_weak &&
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselController.java | 151 * @param resId 154 public Mesh loadGeometry(int resId) { 156 return mRenderScript.loadGeometry(resId); 174 * Load A3D file from resource. If resId == 0, will clear geometry for this item. 176 * @param resId The resource ID for the geometry for that item 179 public void setGeometryForItem(int n, int resId) { 181 Mesh mesh = mRenderScript.loadGeometry(resId); 531 public void setDefaultGeometry(int resId) { 532 mDefaultGeometry = resId; 534 Mesh mesh = mRenderScript.loadGeometry(resId); [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VCardVerifier.java | 106 public void initForImportTest(int vcardType, int resId) { 112 setInputResourceId(resId); 136 private void setInputResourceId(int resId) { 138 mAndroidTestCase.getContext().getResources().openRawResource(resId); 140 AndroidTestCase.fail("Wrong resId: " + resId);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventViewUtils.java | 47 int value, resId; 52 resId = R.plurals.Nmins; 54 resId = R.plurals.Nminutes; 58 resId = R.plurals.Nhours; 61 resId = R.plurals.Ndays; 64 String format = resources.getQuantityString(resId, value);
|
/cts/tests/src/android/app/cts/ |
AppStubActivity.java | 138 int resid, 140 super.onApplyThemeResource(theme,resid,first);
|
/cts/tests/tests/view/src/android/view/cts/ |
ContextThemeWrapperTest.java | 39 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { 41 super.onApplyThemeResource(theme, resid, first);
|
/frameworks/base/core/java/android/inputmethodservice/ |
ExtractEditLayout.java | 112 public void setTitle(int resId) { 122 public void setSubtitle(int resId) {
|