Home | History | Annotate | Download | only in music

Lines Matching refs:null

91         if (icicle != null) {
113 if (mAdapter == null) {
118 null, // cursor
127 getArtistCursor(mAdapter.getQueryHandler(), null);
132 if (mArtistCursor != null) {
135 getArtistCursor(mAdapter.getQueryHandler(), null);
161 if (lv != null) {
164 if (cv != null) {
171 // close its cursor, which we do by assigning a null cursor to it. Doing this
174 if (!mAdapterSent && mAdapter != null) {
175 mAdapter.changeCursor(null);
179 // by clearing its DatasetObservers, which setListAdapter(null) does.
180 setListAdapter(null);
181 mAdapter = null;
183 setListAdapter(null);
194 mTrackListListener.onReceive(null, null);
220 if (mAdapter != null) {
221 getArtistCursor(mAdapter.getQueryHandler(), null);
229 mReScanHandler.removeCallbacksAndMessages(null);
235 if (mAdapter == null) {
240 if (mArtistCursor == null) {
273 if (album == null || album.equals(MediaStore.UNKNOWN_STRING)) {
309 MediaStore.Audio.Media.IS_MUSIC + "=1", null,
311 if (cursor != null) {
342 mCurrentAlbumId = null;
343 mIsUnknownArtist = mCurrentArtistName == null ||
361 mCurrentArtistId = null;
368 mIsUnknownArtist = mCurrentArtistNameForAlbum == null ||
370 mIsUnknownAlbum = mCurrentAlbumName == null ||
389 mCurrentArtistId != null ?
399 mCurrentArtistId != null ?
415 mCurrentArtistId != null ?
426 if (mCurrentArtistId != null) {
464 CharSequence title = null;
465 String query = null;
471 if (mCurrentArtistId != null) {
502 getArtistCursor(mAdapter.getQueryHandler(), null);
509 if (uri != null) {
510 long [] list = null;
511 if (mCurrentArtistId != null) {
513 } else if (mCurrentAlbumId != null) {
537 Cursor ret = null;
538 if (async != null) {
539 async.startQuery(0, null, uri,
540 cols, null , null, MediaStore.Audio.Artists.ARTIST_KEY);
543 cols, null , null, MediaStore.Audio.Artists.ARTIST_KEY);
567 private String mConstraint = null;
612 if (cursor != null) {
617 if (mIndexer != null) {
673 boolean unknown = artist == null || artist.equals(MediaStore.UNKNOWN_STRING);
692 vh.play_indicator.setImageDrawable(null);
703 boolean unknown = name == null || name.equals(MediaStore.UNKNOWN_STRING);
740 if (unknown || art == null || art.length() == 0) {
742 iv.setImageDrawable(null);
755 iv.setImageDrawable(null);
774 cols, null, null, MediaStore.Audio.Albums.DEFAULT_SORT_ORDER);
782 if (mArtistName == null || mArtistName.equals(MediaStore.UNKNOWN_STRING)) {
822 if (mActivity.isFinishing() && cursor != null) {
824 cursor = null;
837 (s == null && mConstraint == null) ||
838 (s != null && s.equals(mConstraint)))) {
841 Cursor c = mActivity.getArtistCursor(null, s);