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/Camera/src/com/android/camera/ui/
SharePopup.java
210
float
desiredAspect
= (float) mBitmapWidth / mBitmapHeight;
213
desiredAspect
= 4F / 3F;
220
if (actualAspect >
desiredAspect
) {
221
params.width = Math.round(maxHeight *
desiredAspect
);
225
params.height = Math.round(maxWidth /
desiredAspect
);
/frameworks/base/core/java/android/widget/
ImageView.java
652
float
desiredAspect
= 0.0f;
680
desiredAspect
= (float) w / (float) h;
704
if (
desiredAspect
!= 0.0f) {
709
if (Math.abs(actualAspect -
desiredAspect
) > 0.0000001) {
715
int newWidth = (int)(
desiredAspect
* (heightSize - ptop - pbottom)) +
725
int newHeight = (int)((widthSize - pleft - pright) /
desiredAspect
) +
[
all
...]
Completed in 38 milliseconds