OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:desiredAspect
(Results
1 - 2
of
2
) sorted by null
/packages/apps/LegacyCamera/src/com/android/camera/ui/
SharePopup.java
180
float
desiredAspect
= (float) mBitmapWidth / mBitmapHeight;
183
desiredAspect
= 4F / 3F;
190
if (actualAspect >
desiredAspect
) {
191
params.width = Math.round(maxHeight *
desiredAspect
);
195
params.height = Math.round(maxWidth /
desiredAspect
);
/frameworks/base/core/java/android/widget/
ImageView.java
766
float
desiredAspect
= 0.0f;
794
desiredAspect
= (float) w / (float) h;
818
if (
desiredAspect
!= 0.0f) {
823
if (Math.abs(actualAspect -
desiredAspect
) > 0.0000001) {
829
int newWidth = (int)(
desiredAspect
* (heightSize - ptop - pbottom)) +
845
int newHeight = (int)((widthSize - pleft - pright) /
desiredAspect
) +
[
all
...]
Completed in 3838 milliseconds