/packages/apps/Camera/src/com/android/camera/ |
D | Util.java | 100 public static int computeSampleSize(BitmapFactory.Options options, in computeSampleSize() argument 102 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() 118 private static int computeInitialSampleSize(BitmapFactory.Options options, in computeInitialSampleSize() argument 120 double w = options.outWidth; in computeInitialSampleSize() 121 double h = options.outHeight; in computeInitialSampleSize() 278 BitmapFactory.Options options = null; in makeBitmap() local 280 options = createNativeAllocOptions(); in makeBitmap() 283 options); in makeBitmap() 293 BitmapFactory.Options options = null; in makeBitmap() local 295 options = createNativeAllocOptions(); in makeBitmap() [all …]
|
D | BitmapManager.java | 82 BitmapFactory.Options options) { in setDecodingOptions() argument 83 getOrCreateThreadStatus(t).mOptions = options; in setDecodingOptions() 132 BitmapFactory.Options options) { in decodeFileDescriptor() argument 133 if (options.mCancel) { in decodeFileDescriptor() 143 setDecodingOptions(thread, options); in decodeFileDescriptor() 144 Bitmap b = BitmapFactory.decodeFileDescriptor(fd, null, options); in decodeFileDescriptor()
|
D | Camera.java | 893 BitmapFactory.Options options = new BitmapFactory.Options(); in setLastPictureThumb() local 894 options.inSampleSize = 16; in setLastPictureThumb() 896 BitmapFactory.decodeByteArray(data, 0, data.length, options); in setLastPictureThumb()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 102 public static int computeSampleSize(BitmapFactory.Options options, in computeSampleSize() argument 104 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() 120 private static int computeInitialSampleSize(BitmapFactory.Options options, in computeInitialSampleSize() argument 122 double w = options.outWidth; in computeInitialSampleSize() 123 double h = options.outHeight; in computeInitialSampleSize() 280 BitmapFactory.Options options = null; in makeBitmap() local 282 options = createNativeAllocOptions(); in makeBitmap() 285 options); in makeBitmap() 295 BitmapFactory.Options options = null; in makeBitmap() local 297 options = createNativeAllocOptions(); in makeBitmap() [all …]
|
D | BitmapManager.java | 82 BitmapFactory.Options options) { in setDecodingOptions() argument 83 getOrCreateThreadStatus(t).mOptions = options; in setDecodingOptions() 132 BitmapFactory.Options options) { in decodeFileDescriptor() argument 133 if (options.mCancel) { in decodeFileDescriptor() 143 setDecodingOptions(thread, options); in decodeFileDescriptor() 144 Bitmap b = BitmapFactory.decodeFileDescriptor(fd, null, options); in decodeFileDescriptor()
|
D | Camera.java | 859 BitmapFactory.Options options = new BitmapFactory.Options(); in setLastPictureThumb() local 860 options.inSampleSize = 16; in setLastPictureThumb() 862 BitmapFactory.decodeByteArray(data, 0, data.length, options); in setLastPictureThumb()
|
/packages/apps/Camera/src/com/android/camera/gallery/ |
D | UriImage.java | 132 BitmapFactory.Options options = new BitmapFactory.Options(); in snifBitmapOptions() local 133 options.inJustDecodeBounds = true; in snifBitmapOptions() 135 input.getFileDescriptor(), options); in snifBitmapOptions() local 136 return options; in snifBitmapOptions() 143 BitmapFactory.Options options = snifBitmapOptions(); in getMimeType() local 144 return (options != null && options.outMimeType != null) in getMimeType() 145 ? options.outMimeType in getMimeType() 150 BitmapFactory.Options options = snifBitmapOptions(); in getHeight() local 151 return (options != null) ? options.outHeight : 0; in getHeight() 155 BitmapFactory.Options options = snifBitmapOptions(); in getWidth() local [all …]
|
D | BaseImage.java | 156 BitmapFactory.Options options = new BitmapFactory.Options(); in setupDimension() local 157 options.inJustDecodeBounds = true; in setupDimension() 159 input.getFileDescriptor(), options); in setupDimension() local 160 mWidth = options.outWidth; in setupDimension() 161 mHeight = options.outHeight; in setupDimension()
|
D | Image.java | 152 BitmapFactory.Options options = new BitmapFactory.Options(); in thumbBitmap() local 153 options.inDither = false; in thumbBitmap() 154 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in thumbBitmap() 156 mContentResolver, mId, Images.Thumbnails.MINI_KIND, options); in thumbBitmap()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | UriImage.java | 132 BitmapFactory.Options options = new BitmapFactory.Options(); in snifBitmapOptions() local 133 options.inJustDecodeBounds = true; in snifBitmapOptions() 135 input.getFileDescriptor(), options); in snifBitmapOptions() local 136 return options; in snifBitmapOptions() 143 BitmapFactory.Options options = snifBitmapOptions(); in getMimeType() local 144 return (options != null && options.outMimeType != null) in getMimeType() 145 ? options.outMimeType in getMimeType() 150 BitmapFactory.Options options = snifBitmapOptions(); in getHeight() local 151 return (options != null) ? options.outHeight : 0; in getHeight() 155 BitmapFactory.Options options = snifBitmapOptions(); in getWidth() local [all …]
|
D | BaseImage.java | 156 BitmapFactory.Options options = new BitmapFactory.Options(); in setupDimension() local 157 options.inJustDecodeBounds = true; in setupDimension() 159 input.getFileDescriptor(), options); in setupDimension() local 160 mWidth = options.outWidth; in setupDimension() 161 mHeight = options.outHeight; in setupDimension()
|
D | Image.java | 152 BitmapFactory.Options options = new BitmapFactory.Options(); in thumbBitmap() local 153 options.inDither = false; in thumbBitmap() 154 options.inPreferredConfig = Bitmap.Config.ARGB_8888; in thumbBitmap() 156 mContentResolver, mId, Images.Thumbnails.MINI_KIND, options); in thumbBitmap()
|
/packages/apps/Email/src/com/android/email/service/ |
D | EasAuthenticatorService.java | 52 String authTokenType, String[] requiredFeatures, Bundle options) in addAccount() argument 57 if (options != null && options.containsKey(OPTIONS_PASSWORD) in addAccount() 58 && options.containsKey(OPTIONS_USERNAME)) { in addAccount() 59 final Account account = new Account(options.getString(OPTIONS_USERNAME), in addAccount() 62 account, options.getString(OPTIONS_PASSWORD), null); in addAccount() 67 if (options.containsKey(OPTIONS_CONTACTS_SYNC_ENABLED) && in addAccount() 68 options.getBoolean(OPTIONS_CONTACTS_SYNC_ENABLED)) { in addAccount() 77 b.putString(AccountManager.KEY_ACCOUNT_NAME, options.getString(OPTIONS_USERNAME)); in addAccount() 98 Bundle options) { in confirmCredentials() argument
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | ExchangeStore.java | 85 Bundle options = new Bundle(); in addSystemAccount() local 86 options.putString(EasAuthenticatorService.OPTIONS_USERNAME, acct.mEmailAddress); in addSystemAccount() 87 options.putString(EasAuthenticatorService.OPTIONS_PASSWORD, acct.mHostAuthRecv.mPassword); in addSystemAccount() 88 options.putBoolean(EasAuthenticatorService.OPTIONS_CONTACTS_SYNC_ENABLED, syncContacts); in addSystemAccount() 94 options, null, callback, null); in addSystemAccount()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | UriImage.java | 221 BitmapFactory.Options options = new BitmapFactory.Options(); in getResizedImageData() local 222 options.inSampleSize = scaleFactor; in getResizedImageData() 226 Bitmap b = BitmapFactory.decodeStream(input, null, options); in getResizedImageData() 230 if (options.outWidth > widthLimit || options.outHeight > heightLimit) { in getResizedImageData()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactsUtils.java | 143 BitmapFactory.Options options) { in loadContactPhoto() argument 149 return BitmapFactory.decodeByteArray(data, 0, data.length, options); in loadContactPhoto() 161 BitmapFactory.Options options) { in loadPlaceholderPhoto() argument 166 placeholderImageResource, options); in loadPlaceholderPhoto() 170 BitmapFactory.Options options) { in loadContactPhoto() argument 183 photoData.length, options); in loadContactPhoto()
|
D | ContactsListActivity.java | 1609 private Bitmap loadContactPhoto(long contactId, BitmapFactory.Options options) { in loadContactPhoto() argument 1618 bm = ContactsUtils.loadContactPhoto(cursor, 0, options); in loadContactPhoto()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | ImageModel.java | 168 BitmapFactory.Options options = new BitmapFactory.Options(); in createThumbnailBitmap() local 169 options.inSampleSize = s; in createThumbnailBitmap() 174 return BitmapFactory.decodeStream(input, null, options); in createThumbnailBitmap()
|
/packages/providers/GoogleSubscribedFeedsProvider/src/com/android/settings/ |
D | SyncActivityTooManyDeletes.java | 63 CharSequence[] options = new CharSequence[]{ in onCreate() local 72 options); in onCreate()
|
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/ |
D | LatinKeyboard.java | 74 void setImeOptions(Resources res, int mode, int options) { in setImeOptions() argument 80 switch (options&(EditorInfo.IME_MASK_ACTION|EditorInfo.IME_FLAG_NO_ENTER_ACTION)) { in setImeOptions()
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.jj | 29 options {
|