Lines Matching refs:null
62 if (mBitmap == null) throw new IllegalArgumentException("null bitmap");
104 FileOutputStream f = null;
105 BufferedOutputStream b = null;
106 DataOutputStream d = null;
126 // Returns null if failure.
128 Uri uri = null;
129 Bitmap bitmap = null;
130 FileInputStream f = null;
131 BufferedInputStream b = null;
132 DataInputStream d = null;
143 return null;
151 if (thumbnail != null) thumbnail.setFromFile(true);
158 if (image == null && video == null) return null;
160 Bitmap bitmap = null;
164 if (image != null && (video == null || image.dateTaken >= video.dateTaken)) {
166 Images.Thumbnails.MINI_KIND, null);
170 Video.Thumbnails.MINI_KIND, null);
178 return null;
205 Cursor cursor = null;
207 cursor = resolver.query(query, projection, selection, null, order);
208 if (cursor != null && cursor.moveToFirst()) {
214 if (cursor != null) {
218 return null;
230 Cursor cursor = null;
232 cursor = resolver.query(query, projection, selection, null, order);
233 if (cursor != null && cursor.moveToFirst()) {
240 if (cursor != null) {
244 return null;
257 return createVideoThumbnail(null, fd, targetWidth);
261 return createVideoThumbnail(filePath, null, targetWidth);
265 Bitmap bitmap = null;
268 if (filePath != null) {
285 if (bitmap == null) return null;
300 if (bitmap == null) {
301 Log.e(TAG, "Failed to create thumbnail from null bitmap");
302 return null;
308 return null;