Searched defs:res (Results 101 - 114 of 114) sorted by relevance

12345

/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DBaseAccountType.java21 import android.content.res.Resources;
514 protected CharSequence getTypeLabel(Resources res, Integer type, CharSequence label) { argument
517 return res.getText(labelRes);
519 return res.getString(labelRes, label == null ? "" : label);
521 return res.getText(labelRes);
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
H A DBaseAccountType.java21 import android.content.res.Resources;
656 protected CharSequence getTypeLabel(Resources res, Integer type, CharSequence label) { argument
659 return res.getText(labelRes);
661 return res.getString(labelRes, label == null ? "" : label);
663 return res.getText(labelRes);
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
H A DCallLogAdapter.java22 import android.content.res.Resources;
888 private static String getNumberType(Resources res, PhoneCallDetails details) { argument
898 return (String) Phone.getTypeLabel(res, details.numberType, details.numberLabel);
/packages/apps/Music/src/com/android/music/
H A DArtistAlbumBrowserActivity.java32 import android.content.res.Resources;
568 QueryHandler(ContentResolver res) { argument
569 super(res);
H A DTrackBrowserActivity.java834 ContentResolver res = getContentResolver();
838 res.update(baseUri, values, where, wherearg);
843 res.update(baseUri, values, where, wherearg);
848 res.update(baseUri, values, where, wherearg);
1323 TrackQueryHandler(ContentResolver res) { argument
1324 super(res);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationUtils.java25 import android.content.res.Resources;
974 final Resources res = context.getResources();
1058 res.getInteger(R.integer.swipe_senders_length);
1111 conversationCursor, notificationIntent, folder, when, res,
1155 notificationIntent, folder, when, res, isInbox, notificationLabelName,
1169 notificationTicker = res.getString(R.string.label_notification_ticker,
1194 Intent notificationIntent, Folder folder, long when, Resources res,
1257 int sendersLength = res.getInteger(R.integer.swipe_senders_length);
1693 final Resources res = context.getResources();
1695 res
1190 configureNotifForOneConversation(Context context, Account account, FolderPreferences folderPreferences, NotificationCompat.Builder notificationBuilder, NotificationCompat.WearableExtender wearExtender, Cursor conversationCursor, Intent notificationIntent, Folder folder, long when, Resources res, boolean isInbox, String notificationLabelName, int notificationId, final ContactFetcher contactFetcher) argument
[all...]
H A DUtils.java27 import android.content.res.Configuration;
28 import android.content.res.Resources;
335 public static boolean useTabletUI(Resources res) { argument
336 return res.getBoolean(R.bool.use_tablet_ui);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSettings.java22 import android.content.res.Configuration;
23 import android.content.res.Resources;
180 protected SettingsValues job(final Resources res) {
181 return new SettingsValues(context, prefs, res, inputAttributes);
199 public static int readScreenMetrics(final Resources res) { argument
200 return res.getInteger(R.integer.config_screen_metrics);
205 final Resources res) {
207 res.getBoolean(R.bool.config_default_sound_enabled));
211 final Resources res) {
214 res
204 readKeypressSoundEnabled(final SharedPreferences prefs, final Resources res) argument
210 readVibrationEnabled(final SharedPreferences prefs, final Resources res) argument
217 readAutoCorrectEnabled(final SharedPreferences prefs, final Resources res) argument
222 readPlausibilityThreshold(final Resources res) argument
226 readBlockPotentiallyOffensive(final SharedPreferences prefs, final Resources res) argument
232 readFromBuildConfigIfGestureInputEnabled(final Resources res) argument
236 readGestureInputEnabled(final SharedPreferences prefs, final Resources res) argument
242 readFromBuildConfigIfToShowKeyPreviewPopupOption(final Resources res) argument
246 readKeyPreviewPopupEnabled(final SharedPreferences prefs, final Resources res) argument
256 readKeyPreviewPopupDismissDelay(final SharedPreferences prefs, final Resources res) argument
275 readPrefAdditionalSubtypes(final SharedPreferences prefs, final Resources res) argument
287 readKeypressSoundVolume(final SharedPreferences prefs, final Resources res) argument
299 readDefaultKeypressSoundVolume(final Resources res) argument
304 readKeyLongpressTimeout(final SharedPreferences prefs, final Resources res) argument
312 readDefaultKeyLongpressTimeout(final Resources res) argument
316 readKeypressVibrationDuration(final SharedPreferences prefs, final Resources res) argument
328 readDefaultKeypressVibrationDuration(final Resources res) argument
352 readUseFullscreenMode(final Resources res) argument
442 upgradeAutocorrectionSettings(final SharedPreferences prefs, final Resources res) argument
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboard.java25 import android.content.res.Resources;
26 import android.content.res.TypedArray;
27 import android.content.res.XmlResourceParser;
194 public Row(Resources res, Keyboard parent, XmlResourceParser parser) { argument
196 TypedArray a = res.obtainAttributes(Xml.asAttributeSet(parser),
211 a = res.obtainAttributes(Xml.asAttributeSet(parser),
316 * @param res resources associated with the caller's context
323 public Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) { argument
329 TypedArray a = res.obtainAttributes(Xml.asAttributeSet(parser),
342 a = res
747 createRowFromXml(Resources res, XmlResourceParser parser) argument
751 createKeyFromXml(Resources res, Row parent, int x, int y, XmlResourceParser parser) argument
830 parseKeyboardAttributes(Resources res, XmlResourceParser parser) argument
[all...]
/packages/apps/ExactCalculator/src/com/android/calculator2/
H A DEvaluator.java563 private boolean isTooBig(UnifiedReal res) { argument
566 return res.approxWholeNumberBitsGreaterThan(maxBits);
573 UnifiedReal res = mExprInfo.mVal.get();
574 if (res == null) {
576 res = mExprInfo.mExpr.eval(mDm, Evaluator.this);
581 res = putResultIfAbsent(mIndex, res);
588 if (isTooBig(res)) {
593 String initResult = res.toStringTruncated(precOffset);
596 int leadingZeroBits = res
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageHeaderView.java23 import android.content.res.Resources;
238 final Resources res = getResources();
239 mContactPhotoWidth = res.getDimensionPixelSize(R.dimen.contact_image_width);
240 mContactPhotoHeight = res.getDimensionPixelSize(R.dimen.contact_image_height);
241 mTitleContainerMarginEnd = res.getDimensionPixelSize(R.dimen.conversation_view_margin_side);
1262 public static void renderExpandedDetails(Resources res, View detailsView, argument
1267 renderEmailList(res, R.id.from_heading, R.id.from_details, from, viaDomain,
1269 renderEmailList(res, R.id.replyto_heading, R.id.replyto_details, replyTo, viaDomain,
1271 renderEmailList(res, R.id.to_heading, R.id.to_details, to, viaDomain,
1273 renderEmailList(res,
1288 renderEmailList(Resources res, int headerId, int detailsId, String[] emails, String viaDomain, View rootView, Map<String, Address> addressCache, Account account, VeiledAddressMatcher veiledMatcher, BidiFormatter bidiFormatter) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java26 import android.content.res.Resources;
27 import android.content.res.TypedArray;
205 final Resources res = getResources();
206 mHotseatScale = (res.getInteger(R.integer.hotseat_item_scale_percentage) / 100f);
208 mNormalBackground = res.getDrawable(R.drawable.homescreen_blue_normal_holo);
209 mActiveGlowBackground = res.getDrawable(R.drawable.homescreen_blue_strong_holo);
211 mOverScrollLeft = res.getDrawable(R.drawable.overscroll_glow_left);
212 mOverScrollRight = res.getDrawable(R.drawable.overscroll_glow_right);
214 res.getDimensionPixelSize(R.dimen.workspace_overscroll_drawable_padding);
217 res
928 getMetrics(Rect metrics, Resources res, int measureWidth, int measureHeight, int countX, int countY, int orientation) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DComposeActivity.java39 import android.content.res.AssetFileDescriptor;
40 import android.content.res.Resources;
2244 public static String buildFormattedSubject(Resources res, String subject, int action) { argument
2250 prefix = res.getString(R.string.forward_subject_label);
2252 prefix = res.getString(R.string.reply_subject_label);
2263 res.getString(R.string.formatted_subject), prefix, subject);
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 416 milliseconds

12345