OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:outputOptions
(Results
1 - 3
of
3
) sorted by null
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
BitmapWorkerTask.java
129
BitmapWorkerOptions
outputOptions
) throws IOException {
139
return decodeBitmap((InputStream)drawable,
outputOptions
);
141
return createIconBitmap((Drawable) drawable,
outputOptions
);
162
private Bitmap scaleBitmapIfNecessary(BitmapWorkerOptions
outputOptions
, Bitmap bitmap) {
169
if (bitmap.getHeight() >
outputOptions
.getHeight()) {
170
heightScale = (float)
outputOptions
.getHeight() / (float) bitmap.getHeight();
176
if (bitmap.getWidth() >
outputOptions
.getWidth()) {
177
widthScale = (float)
outputOptions
.getWidth() / (float) bitmap.getWidth();
187
Log.d(TAG, "Scaling bitmap " + ((
outputOptions
.getResourceUri() != null)
188
?
outputOptions
.getResourceUri().toString(
[
all
...]
DrawableLoader.java
155
BitmapWorkerOptions
outputOptions
) throws IOException {
162
Object drawable = loadDrawable(
outputOptions
.getContext(), iconResource);
165
return decodeBitmap((InputStream)drawable,
outputOptions
);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictDecoderEncoderTests.java
233
private String
outputOptions
(final int bufferType,
285
+ " : " +
outputOptions
(bufferType, formatOptions);
451
+ " : " + message + " : " +
outputOptions
(bufferType, formatOptions);
568
+ " : " +
outputOptions
(bufferType, formatOptions));
Completed in 145 milliseconds