OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scaledHeight
(Results
1 - 25
of
40
) sorted by null
1
2
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
BitmapUtils.java
91
int scaledWidth,
scaledHeight
;
95
scaledHeight
= (int) (scaleFactor * height);
99
scaledHeight
= 200;
101
Bitmap thumbnail = Bitmap.createScaledBitmap(original, scaledWidth,
scaledHeight
, true);
/external/chromium_org/third_party/skia/src/images/
SkImageDecoder_pkm.cpp
60
bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.
scaledHeight
(),
92
const int dstHeight = sampler.
scaledHeight
();
SkImageDecoder_libbmp.cpp
135
bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.
scaledHeight
(),
153
const int dstHeight = sampler.
scaledHeight
();
SkImageDecoder_ktx.cpp
95
bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.
scaledHeight
(), alphaType));
126
const int dstHeight = sampler.
scaledHeight
();
145
const int dstHeight = sampler.
scaledHeight
();
175
const int dstHeight = sampler.
scaledHeight
();
SkScaledBitmapSampler.h
22
int
scaledHeight
() const { return fScaledHeight; }
55
// call with row of src pixels, for y = 0...
scaledHeight
-1.
SkImageDecoder_libwebp.cpp
352
const int height = sampler.
scaledHeight
();
427
sampler.
scaledHeight
())) {
/external/skia/src/images/
SkImageDecoder_pkm.cpp
60
bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.
scaledHeight
(),
92
const int dstHeight = sampler.
scaledHeight
();
SkImageDecoder_libbmp.cpp
135
bm->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.
scaledHeight
(),
153
const int dstHeight = sampler.
scaledHeight
();
SkImageDecoder_ktx.cpp
95
bm->setInfo(SkImageInfo::MakeN32(sampler.scaledWidth(), sampler.
scaledHeight
(), alphaType));
126
const int dstHeight = sampler.
scaledHeight
();
145
const int dstHeight = sampler.
scaledHeight
();
175
const int dstHeight = sampler.
scaledHeight
();
SkScaledBitmapSampler.h
22
int
scaledHeight
() const { return fScaledHeight; }
55
// call with row of src pixels, for y = 0...
scaledHeight
-1.
SkImageDecoder_libwebp.cpp
352
const int height = sampler.
scaledHeight
();
427
sampler.
scaledHeight
())) {
/prebuilts/devtools/tools/lib/
ninepatch.jar
asset-studio.jar
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
FoldingLayout.java
374
float scaledWidth,
scaledHeight
, bottomScaledPoint, topScaledPoint, rightScaledPoint,
379
scaledHeight
= mFoldDrawHeight * scaleFactor;
382
scaledHeight
= mFoldDrawHeight * cTranslationFactor;
385
topScaledPoint = (mFoldDrawHeight -
scaledHeight
) / 2.0f;
386
bottomScaledPoint = topScaledPoint +
scaledHeight
;
427
scaledHeight
: anchorPoint - (midFold - x) *
scaledHeight
;
430
midFold) *
scaledHeight
: anchorPoint - (midFold - x - 1) *
scaledHeight
;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DetermineFovActivity.java
197
int
scaledHeight
= (int) (scale * photoHeight);
198
if (
scaledHeight
< canvasHeight) {
201
int pad = (canvasHeight -
scaledHeight
) / 2;
202
drawRect.set(0, pad, canvasWidth, pad +
scaledHeight
- 1);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
AttachmentTile.java
185
final int
scaledHeight
= height * getResources().getDisplayMetrics().densityDpi
191
|| height >= maxSize ||
scaledHeight
>= mIcon.getHeight();
198
&&
scaledHeight
>= mIcon.getWidth() * skinnyThresholdRatio);
199
LogUtils.d(LOG_TAG, "scaledWidth: %d,
scaledHeight
: %d, large: %b, skinny: %b", scaledWidth,
200
scaledHeight
, large, skinny);
/frameworks/base/core/jni/android/graphics/
BitmapFactory.cpp
116
int scaledWidth, int
scaledHeight
) {
123
scaleDivRange(chunk->getYDivs(), chunk->numYDivs, scale,
scaledHeight
);
323
int
scaledHeight
= decodingBitmap.height();
327
scaledHeight
= int(
scaledHeight
* scale + 0.5f);
333
env->SetIntField(options, gOptions_heightFieldID,
scaledHeight
);
346
scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth,
scaledHeight
);
385
const float sy =
scaledHeight
/ float(decodingBitmap.height());
392
outputBitmap->setInfo(SkImageInfo::Make(scaledWidth,
scaledHeight
,
/cts/tests/tests/graphics/src/android/graphics/cts/
MovieTest.java
146
int
scaledHeight
= WidgetTestUtils.convertDipToPixels(getActivity(), mMovie.height());
147
assertEquals(expectedHeight,
scaledHeight
);
BitmapTest.java
[
all
...]
/developers/build/lib/
assetstudio.jar
/packages/apps/Dialer/src/com/android/dialer/calllog/
CallTypeIconsView.java
212
int
scaledHeight
= missed.getIntrinsicHeight();
216
Bitmap scaled = Bitmap.createScaledBitmap(videoIcon, scaledWidth,
scaledHeight
, false);
/packages/apps/Mms/src/com/android/mms/ui/
UriImage.java
350
int
scaledHeight
= (int)(outHeight * scaleFactor);
355
", h=" +
scaledHeight
);
358
b = Bitmap.createScaledBitmap(b, scaledWidth,
scaledHeight
, false);
/external/chromium_org/third_party/skia/tools/skpdiff/
diff_viewer.js
139
var
scaledHeight
= MAGNIFIER_HEIGHT * scope.imgScaleFactor;
142
y: event.offsetY - (
scaledHeight
* 0.5),
144
height:
scaledHeight
/external/skia/tools/skpdiff/
diff_viewer.js
139
var
scaledHeight
= MAGNIFIER_HEIGHT * scope.imgScaleFactor;
142
y: event.offsetY - (
scaledHeight
* 0.5),
144
height:
scaledHeight
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderReplaced.cpp
103
int
scaledHeight
= static_cast<int>(cDefaultHeight * style()->effectiveZoom());
104
m_intrinsicSize = IntSize(scaledWidth,
scaledHeight
);
Completed in 753 milliseconds
1
2