OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:shortSide
(Results
1 - 7
of
7
) sorted by null
/packages/apps/Camera/src/com/android/camera/
PreviewFrameLayout.java
100
int
shortSide
= (widthLonger ? previewHeight : previewWidth);
101
if (longSide >
shortSide
* mAspectRatio) {
102
longSide = (int) ((double)
shortSide
* mAspectRatio);
104
shortSide
= (int) ((double) longSide / mAspectRatio);
108
previewHeight =
shortSide
;
110
previewWidth =
shortSide
;
/packages/apps/Gallery2/src/com/android/camera/
PreviewFrameLayout.java
92
int
shortSide
= (widthLonger ? previewHeight : previewWidth);
93
if (longSide >
shortSide
* mAspectRatio) {
94
longSide = (int) ((double)
shortSide
* mAspectRatio);
96
shortSide
= (int) ((double) longSide / mAspectRatio);
100
previewHeight =
shortSide
;
102
previewWidth =
shortSide
;
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoSource.java
127
public Bitmap next(BitmapFactory.Options options, int longSide, int
shortSide
) {
128
log(TAG, "decoding a picasa resource to " + longSide + ", " +
shortSide
);
141
image = load(imageData, options, longSide,
shortSide
);
151
options, longSide,
shortSide
);
157
public Bitmap load(ImageData data, BitmapFactory.Options options, int longSide, int
shortSide
) {
158
log(TAG, "decoding photo resource to " + longSide + ", " +
shortSide
);
175
(float)
shortSide
/ (float) rawShortSide);
177
(float)
shortSide
/ (float) rawShortSide);
194
(float)
shortSide
/ (float) rawShortSide);
274
int longSide, int
shortSide
) {
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
GlobalScreenshot.java
135
final int
shortSide
= mImageWidth < mImageHeight ? mImageWidth : mImageHeight;
136
Bitmap preview = Bitmap.createBitmap(
shortSide
,
shortSide
, data.image.getConfig());
143
matrix.postTranslate((
shortSide
- mImageWidth) / 2,
144
(
shortSide
- mImageHeight) / 2);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
Blend.cpp
323
int
shortSide
= min(Mwidth, Mheight);
324
if (
shortSide
> height * heightMultiplier) {
[
all
...]
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/
Blend.cpp
323
int
shortSide
= min(Mwidth, Mheight);
324
if (
shortSide
> height * heightMultiplier) {
[
all
...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
Blend.cpp
323
int
shortSide
= min(Mwidth, Mheight);
324
if (
shortSide
> height * heightMultiplier) {
[
all
...]
Completed in 1141 milliseconds