Searched defs:options (Results 1 - 11 of 11) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
H A DTestAuthenticator.java63 String authTokenType, String[] requiredFeatures, Bundle options) {
95 AccountAuthenticatorResponse response, Account account, Bundle options) {
62 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
94 confirmCredentials( AccountAuthenticatorResponse response, Account account, Bundle options) argument
/packages/apps/Email/src/com/android/email/service/
H A DEasTestAuthenticatorService.java49 String authTokenType, String[] requiredFeatures, Bundle options)
54 if (options != null && options.containsKey(OPTIONS_PASSWORD)
55 && options.containsKey(OPTIONS_USERNAME)) {
56 final Account account = new Account(options.getString(OPTIONS_USERNAME),
59 account, options.getString(OPTIONS_PASSWORD), null);
79 Bundle options) {
48 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
78 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument
H A DEasAuthenticatorService.java59 String authTokenType, String[] requiredFeatures, Bundle options)
64 if (options != null && options.containsKey(OPTIONS_PASSWORD)
65 && options.containsKey(OPTIONS_USERNAME)) {
66 final Account account = new Account(options.getString(OPTIONS_USERNAME),
69 account, options.getString(OPTIONS_PASSWORD), null);
74 if (options.containsKey(OPTIONS_CONTACTS_SYNC_ENABLED) &&
75 options.getBoolean(OPTIONS_CONTACTS_SYNC_ENABLED)) {
84 if (options.containsKey(OPTIONS_CALENDAR_SYNC_ENABLED) &&
85 options
58 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
120 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument
[all...]
H A DPopImapAuthenticatorService.java57 String authTokenType, String[] requiredFeatures, Bundle options)
62 if (options != null && options.containsKey(OPTIONS_PASSWORD)
63 && options.containsKey(OPTIONS_USERNAME)) {
64 final Account account = new Account(options.getString(OPTIONS_USERNAME),
67 account, options.getString(OPTIONS_PASSWORD), null);
71 if (options.containsKey(OPTIONS_EMAIL_SYNC_ENABLED) &&
72 options.getBoolean(OPTIONS_EMAIL_SYNC_ENABLED)) {
81 b.putString(AccountManager.KEY_ACCOUNT_NAME, options.getString(OPTIONS_USERNAME));
99 Bundle options) {
56 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
98 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DBitmapManager.java55 s = "thread state = " + s + ", options = " + mOptions;
85 BitmapFactory.Options options) {
86 getOrCreateThreadStatus(t).mOptions = options;
139 BitmapFactory.Options options, boolean isVideo) {
178 BitmapFactory.Options options) {
179 if (options.mCancel) {
189 setDecodingOptions(thread, options);
190 Bitmap b = BitmapFactory.decodeFileDescriptor(fd, null, options);
84 setDecodingOptions(Thread t, BitmapFactory.Options options) argument
138 getThumbnail(ContentResolver cr, long origId, int kind, BitmapFactory.Options options, boolean isVideo) argument
177 decodeFileDescriptor(FileDescriptor fd, BitmapFactory.Options options) argument
H A DUtil.java102 public static int computeSampleSize(BitmapFactory.Options options, argument
104 int initialSize = computeInitialSampleSize(options, minSideLength,
120 private static int computeInitialSampleSize(BitmapFactory.Options options, argument
122 double w = options.outWidth;
123 double h = options.outHeight;
280 BitmapFactory.Options options = null;
282 options = createNativeAllocOptions();
285 options);
295 BitmapFactory.Options options = null;
297 options
303 makeBitmap(int minSideLength, int maxNumOfPixels, Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, BitmapFactory.Options options) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDecodeUtils.java43 public DecodeCanceller(Options options) { argument
44 mOptions = options;
52 Options options) {
53 if (options == null) options = new Options();
54 jc.setCancelListener(new DecodeCanceller(options));
56 BitmapFactory.decodeFile(filePath, options));
59 public static Bitmap requestDecode(JobContext jc, FileDescriptor fd, Options options) { argument
60 if (options == null) options
51 requestDecode(JobContext jc, final String filePath, Options options) argument
66 requestDecode(JobContext jc, byte[] bytes, Options options) argument
71 requestDecode(JobContext jc, byte[] bytes, int offset, int length, Options options) argument
79 requestDecode(JobContext jc, final String filePath, Options options, int targetSize) argument
94 requestDecode(JobContext jc, FileDescriptor fd, Options options, int targetSize) argument
121 requestDecodeIfBigEnough(JobContext jc, byte[] data, Options options, int targetSize) argument
139 requestDecode(JobContext jc, FileDescriptor fileDescriptor, Rect paddings, Options options) argument
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DContactsUtils.java130 * @param options the decoding options, can be set to null
134 BitmapFactory.Options options) {
140 return BitmapFactory.decodeByteArray(data, 0, data.length, options);
148 * @param options the decoding options, can be set to null
152 BitmapFactory.Options options) {
157 placeholderImageResource, options);
161 BitmapFactory.Options options) {
174 photoData.length, options);
133 loadContactPhoto(Cursor cursor, int bitmapColumnIndex, BitmapFactory.Options options) argument
151 loadPlaceholderPhoto(int placeholderImageResource, Context context, BitmapFactory.Options options) argument
160 loadContactPhoto(Context context, long photoId, BitmapFactory.Options options) argument
[all...]
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/
H A DFusionDictionary.java128 * There are no options at the moment, so this class is empty.
142 public FusionDictionary(final Node root, final DictionaryOptions options) { argument
144 mOptions = options;
/packages/apps/Camera/src/com/android/camera/
H A DUtil.java175 public static int computeSampleSize(BitmapFactory.Options options, argument
177 int initialSize = computeInitialSampleSize(options, minSideLength,
193 private static int computeInitialSampleSize(BitmapFactory.Options options, argument
195 double w = options.outWidth;
196 double h = options.outHeight;
220 BitmapFactory.Options options = new BitmapFactory.Options();
221 options.inJustDecodeBounds = true;
223 options);
224 if (options.mCancel || options
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/
H A DContactHeaderWidget.java679 private Bitmap loadPlaceholderPhoto(BitmapFactory.Options options) { argument
684 mNoPhotoResource, options);

Completed in 173 milliseconds