HomeSort by relevance Sort by last modified time
    Searched refs:resId (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /packages/apps/Camera/src/com/android/camera/ui/
ResourceTexture.java 31 public ResourceTexture(Context context, int resId) {
33 mResId = resId;
NinePatchTexture.java 27 public NinePatchTexture(Context context, int resId) {
28 super(context, resId);
  /frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/
PropertyNodesVerifier.java 45 public void verify(int resId, int vcardType) throws IOException, VCardException {
46 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType);
49 public void verify(int resId, int vcardType, final VCardParser parser)
51 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId),
ContentValuesVerifierElem.java 50 public void verify(int resId, int vcardType)
52 verify(mTestCase.getContext().getResources().openRawResource(resId), vcardType);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsReport.java 88 int resId = 0;
91 resId = R.string.pass_result;
95 resId = R.string.fail_result;
99 resId = R.string.not_executed_result;
105 return mContext.getString(resId);
  /packages/apps/Phone/src/com/android/phone/
InCallMenuItemView.java 117 public void setIconResource(int resId) {
118 if (DBG) log("setIconResource(" + resId + ")...");
119 Drawable iconDrawable = getResources().getDrawable(resId);
128 int resId = mIndicatorState ? android.R.drawable.button_onoff_indicator_on
130 mIndicatorDrawable = getResources().getDrawable(resId);
NotificationMgr.java 498 int resId;
524 resId = R.drawable.stat_sys_phone_call_ringing;
528 resId = R.drawable.stat_sys_vp_phone_call_on_hold;
530 resId = R.drawable.stat_sys_phone_call_on_hold;
535 resId = R.drawable.stat_sys_vp_phone_call_bluetooth;
537 resId = R.drawable.stat_sys_phone_call_bluetooth;
541 resId = R.drawable.stat_sys_vp_phone_call;
543 resId = R.drawable.stat_sys_phone_call;
547 // Note we can't just bail out now if (resId == mInCallResId),
553 if (DBG) log("- Updating status bar icon: resId = " + resId)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
AccountSelectionUtil.java 61 public AccountSelectedListener(Context context, List<Account> accountList, int resId) {
67 mResId = resId;
76 public static Dialog getSelectAccountDialog(Context context, int resId) {
77 return getSelectAccountDialog(context, resId, null, null);
80 public static Dialog getSelectAccountDialog(Context context, int resId,
82 return getSelectAccountDialog(context, resId, onClickListener, null);
89 public static Dialog getSelectAccountDialog(Context context, int resId,
135 new AccountSelectedListener(context, writableAccountList, resId);
152 public static void doImport(Context context, int resId, Account account) {
153 switch (resId) {
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionary.java 73 * @param resId the resource containing the raw binary dictionary
75 public BinaryDictionary(Context context, int[] resId, int dicTypeId) {
76 if (resId != null && resId.length > 0 && resId[0] != 0) {
77 loadDictionary(context, resId);
114 private final void loadDictionary(Context context, int[] resId) {
119 is = new InputStream[resId.length];
120 for (int i = 0; i < resId.length; i++) {
121 is[i] = context.getResources().openRawResource(resId[i])
    [all...]
  /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();
PreferenceManager.java 238 * @param resId The resource ID of the XML to inflate.
245 public PreferenceScreen inflateFromResource(Context context, int resId,
251 rootPreferences = (PreferenceScreen) inflater.inflate(resId, rootPreferences, true);
410 * @param resId The resource ID of the preference hierarchy XML file.
419 public static void setDefaultValues(Context context, int resId, boolean readAgain) {
423 getDefaultSharedPreferencesMode(), resId, readAgain);
436 int sharedPreferencesMode, int resId, boolean readAgain) {
444 pm.inflateFromResource(context, resId, null);
  /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);
  /frameworks/base/services/java/com/android/server/
AttributeCache.java 97 public Entry get(String packageName, int resId, int[] styleable) {
103 map = pkg.mMap.get(resId);
126 pkg.mMap.put(resId, map);
131 pkg.context.obtainStyledAttributes(resId, styleable));
  /cts/tests/src/android/provider/cts/
FileCopyHelper.java 54 * @param resId the res id
59 public String copy(int resId, String fileName) {
64 source = mContext.getResources().openRawResource(resId);
  /packages/apps/Settings/src/com/android/settings/
DockSettings.java 106 int resId = R.string.dock_audio_summary_unknown;
109 resId = R.string.dock_audio_summary_car;
112 resId = R.string.dock_audio_summary_desk;
115 resId = R.string.dock_audio_summary_none;
117 mAudioSettings.setSummary(resId);
  /external/webkit/WebCore/platform/android/
PlatformBridge.h 124 static String* globalLocalizedName(rawResId resId);
  /packages/apps/Stk/src/com/android/stk/
StkDialogActivity.java 154 private void sendResponse(int resId, boolean confirmed) {
157 args.putInt(StkAppService.RES_ID, resId);
162 private void sendResponse(int resId) {
163 sendResponse(resId, true);
  /packages/apps/Launcher2/src/com/android/launcher2/
LiveFolderIcon.java 37 static LiveFolderIcon fromXml(int resId, Launcher launcher, ViewGroup group,
41 LayoutInflater.from(launcher).inflate(resId, group, false);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
UserBigramTests.java 34 int[] resId = new int[] { R.raw.test };
35 sh = new SuggestHelper(TAG, getTestContext(), resId, MAX_DATA, DELETE_DATA);
SuggestHelper.java 41 public SuggestHelper(String tag, Context context, int[] resId) {
47 is = new InputStream[resId.length];
48 for (int i = 0; i < resId.length; i++) {
49 is[i] = context.getResources().openRawResource(resId[i]);
56 for (int i = 0; i < resId.length; i++) {
83 public SuggestHelper(String tag, Context context, int[] resId, int userBigramMax,
85 this(tag, context, 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/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);
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsUtils.java 139 int resId = xml.getAttributeResourceValue(null, name, 0);
140 if (resId == 0) {
144 return context.getString(resId);
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
SymbolList.java 127 int resId = xrp.getAttributeResourceValue(null, name, 0);
128 if (resId == 0) {
131 return mWnn.getString(resId);
  /frameworks/base/core/java/android/content/
Context.java 170 * @param resId Resource id for the CharSequence text
172 public final CharSequence getText(int resId) {
173 return getResources().getText(resId);
180 * @param resId Resource id for the string
182 public final String getString(int resId) {
183 return getResources().getString(resId);
191 * @param resId Resource id for the format string
195 public final String getString(int resId, Object... formatArgs) {
196 return getResources().getString(resId, formatArgs);
205 * @param resid The style resource describing the theme
    [all...]

Completed in 1426 milliseconds

1 2 3 4