OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:desiredHeight
(Results
1 - 6
of
6
) sorted by null
/development/samples/ApiDemos/src/com/example/android/apis/view/
InternalSelectionView.java
89
public void setDesiredHeight(int
desiredHeight
) {
90
mDesiredHeight =
desiredHeight
;
123
int
desiredHeight
= mDesiredHeight != null ?
130
return
desiredHeight
< specSize ?
desiredHeight
: specSize;
132
return
desiredHeight
;
/external/volley/src/main/java/com/android/volley/toolbox/
ImageRequest.java
212
int
desiredHeight
=
221
findBestSampleSize(actualWidth, actualHeight, desiredWidth,
desiredHeight
);
227
|| tempBitmap.getHeight() >
desiredHeight
)) {
228
bitmap = Bitmap.createScaledBitmap(tempBitmap, desiredWidth,
desiredHeight
, true);
268
* @param
desiredHeight
Desired height of the bitmap
272
int actualWidth, int actualHeight, int desiredWidth, int
desiredHeight
) {
274
double hr = (double) actualHeight /
desiredHeight
;
/cts/tests/tests/widget/src/android/widget/cts/util/
ExpandableListScenario.java
243
int
desiredHeight
= getHeightForPosition(flPos);
244
return createView(packedPosition, flPos, parent,
desiredHeight
);
253
* @param
desiredHeight
The desired height.
256
protected View createView(long packedPosition, int flPos, ViewGroup parent, int
desiredHeight
) {
258
result.setHeight(
desiredHeight
);
ListScenario.java
475
int
desiredHeight
= (int) (mScreenHeight * mItemScreenSizeFactor);
477
desiredHeight
= (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position));
479
return
desiredHeight
;
509
* @param
desiredHeight
The height the view should be to respect the desired item
513
protected View createView(int position, ViewGroup parent, int
desiredHeight
) {
515
desiredHeight
);
618
int
desiredHeight
= getHeightForPosition(position);
619
result = createView(position, parent,
desiredHeight
);
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java
144
final int
desiredHeight
= ((int)mPaint.getTextSize()) + mVerticalPadding
149
resolveSize(
desiredHeight
, heightMeasureSpec));
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
TJDecompressor.java
237
* @param
desiredHeight
desired height (in pixels) of the decompressed image.
246
public int getScaledWidth(int desiredWidth, int
desiredHeight
) {
249
if (desiredWidth < 0 ||
desiredHeight
< 0)
254
if (
desiredHeight
== 0)
255
desiredHeight
= jpegHeight;
260
if (scaledWidth <= desiredWidth && scaledHeight <=
desiredHeight
)
263
if (scaledWidth > desiredWidth || scaledHeight >
desiredHeight
)
278
* @param
desiredHeight
desired height (in pixels) of the decompressed image.
287
public int getScaledHeight(int desiredWidth, int
desiredHeight
) {
290
if (desiredWidth < 0 ||
desiredHeight
< 0
[
all
...]
Completed in 3877 milliseconds