OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:inWidth
(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) {
134
final int
inWidth
= inDimens[0];
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
132
final int
inWidth
= inImage.getWidth();
134
final int outWidth =
inWidth
/ downscale;
139
final boolean[][] bitmap = new boolean[inHeight][
inWidth
];
141
for (int x = 0; x <
inWidth
; ++x) {
/frameworks/base/core/java/android/app/
WallpaperManager.java
522
int
inWidth
;
530
inWidth
= options.outWidth;
544
outWidth = Math.min(
inWidth
, outWidth);
547
cropRectF = getMaxCropRect(
inWidth
, inHeight, outWidth, outHeight,
550
float left = (
inWidth
- outWidth) * horizontalAlignment;
632
private static RectF getMaxCropRect(int
inWidth
, int inHeight, int outWidth, int outHeight,
636
if (
inWidth
/ (float) inHeight > outWidth / (float) outHeight) {
640
cropRect.left = (
inWidth
- cropWidth) * horizontalAlignment;
644
cropRect.right =
inWidth
;
645
float cropHeight = outHeight * (
inWidth
/ (float) outWidth)
[
all
...]
/frameworks/support/samples/SupportLeanbackShowcase/libs/
picasso-2.5.2.jar
Completed in 4051 milliseconds