OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:inHeight
(Results
1 - 4
of
4
) sorted by null
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
Downsampler.java
38
protected int getSampleSize(int inWidth, int
inHeight
, int outWidth, int outHeight) {
39
return Math.min(
inHeight
/ outHeight, inWidth / outWidth);
55
protected int getSampleSize(int inWidth, int
inHeight
, int outWidth, int outHeight) {
56
return Math.max(
inHeight
/ outHeight, inWidth / outWidth);
70
protected int getSampleSize(int inWidth, int
inHeight
, int outWidth, int outHeight) {
135
final int
inHeight
= inDimens[1];
138
final int sampleSize = getRoundedSampleSize(degreesToRotate, inWidth,
inHeight
, outWidth, outHeight);
141
downsampleWithSize(stream, options, pool, inWidth,
inHeight
, sampleSize,
170
private int getRoundedSampleSize(int degreesToRotate, int inWidth, int
inHeight
, int outWidth, int outHeight) {
175
exactSampleSize = getSampleSize(
inHeight
, inWidth, outWidth, outHeight)
[
all
...]
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/distancefield/
DistanceFieldGenerator.java
133
final int
inHeight
= inImage.getHeight();
135
final int outHeight =
inHeight
/ downscale;
139
final boolean[][] bitmap = new boolean[
inHeight
][inWidth];
140
for (int y = 0; y <
inHeight
; ++y) {
/frameworks/base/core/java/android/app/
WallpaperManager.java
523
int
inHeight
;
531
inHeight
= options.outHeight;
545
outHeight = Math.min(
inHeight
, outHeight);
547
cropRectF = getMaxCropRect(inWidth,
inHeight
, outWidth, outHeight,
552
float top = (
inHeight
- outHeight) * verticalAlignment;
632
private static RectF getMaxCropRect(int inWidth, int
inHeight
, int outWidth, int outHeight,
636
if (inWidth / (float)
inHeight
> outWidth / (float) outHeight) {
638
cropRect.bottom =
inHeight
;
639
float cropWidth = outWidth * (
inHeight
/ (float) outHeight);
646
cropRect.top = (
inHeight
- cropHeight) * verticalAlignment
[
all
...]
/frameworks/support/samples/SupportLeanbackShowcase/libs/
picasso-2.5.2.jar
Completed in 949 milliseconds