Lines Matching refs:res
31 import android.content.res.Configuration;
32 import android.content.res.Resources;
555 private int getPlaylistId(Resources res) {
559 final String[] args = new String[] { res.getString(R.string.audio_db_playlist_name) };
578 private Uri createPlaylist(Resources res, ContentResolver resolver) {
580 cv.put(MediaStore.Audio.Playlists.NAME, res.getString(R.string.audio_db_playlist_name));
597 Resources res = getResources();
603 res.getString(R.string.audio_db_title_format));
618 res.getString(R.string.audio_db_artist_name));
620 res.getString(R.string.audio_db_album_name));
635 if (getPlaylistId(res) == -1) {
636 createPlaylist(res, resolver);
639 addToPlaylist(resolver, audioId, getPlaylistId(res));
652 Resources res = getResources();
701 Resources res = getResources();
705 timeStr = String.format(res.getString(R.string.sec_available), t);
707 timeStr = String.format(res.getString(R.string.min_available), t/60 + 1);
716 Resources res = getResources();
738 setTitle(res.getString(R.string.record_your_message));
756 setTitle(res.getString(R.string.message_recorded));
761 mStateMessage2.setText(res.getString(R.string.recording_stopped));
783 mStateMessage2.setText(res.getString(R.string.recording));
790 setTitle(res.getString(R.string.record_your_message));
811 setTitle(res.getString(R.string.review_message));
840 Resources res = getResources();
845 message = res.getString(R.string.error_sdcard_access);
851 message = res.getString(R.string.error_app_internal);