OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:vwidth
(Results
1 - 7
of
7
) sorted by null
/packages/apps/Contacts/src/com/android/contacts/detail/
TransformableImageView.java
50
int
vwidth
= getWidth() - mPaddingLeft - mPaddingRight;
local
55
if (dwidth * vheight >
vwidth
* dheight) {
57
dx = (
vwidth
- dwidth * scale) * 0.5f;
59
scale = (float)
vwidth
/ (float) dwidth;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpImageView.java
124
float
vwidth
= getWidth();
local
134
if (dwidth <=
vwidth
&& dheight <= vheight) {
137
scale = Math.min(
vwidth
/ dwidth, vheight / dheight);
147
mDrawMatrix.postTranslate((
vwidth
- dwidth * scale) * 0.5f,
151
mDrawMatrix.postRotate(mLastRotationDegrees,
vwidth
/ 2, vheight / 2);
162
int
vwidth
= getWidth();
local
164
float scale_width = ((float)
vwidth
) / (iwidth * OVERLAY_ICON_SIZE_DENOMINATOR);
166
mOverlayIcon.setBounds((
vwidth
- iwidth) / 2,
168
(
vwidth
+ iwidth) / 2,
172
mOverlayIcon.setBounds((int) (
vwidth
- scale * iwidth) / 2
[
all
...]
/packages/apps/Gallery2/src/com/android/photos/drawables/
AutoThumbnailDrawable.java
132
int
vwidth
= mBounds.width();
local
136
if (dwidth * vheight >
vwidth
* dheight) {
138
dx = (
vwidth
- dwidth * scale) * 0.5f;
140
scale = (float)
vwidth
/ (float) dwidth;
156
int
vwidth
= mBounds.width();
local
160
if (dwidth * vheight >
vwidth
* dheight) {
163
scale = (float) dwidth / (float)
vwidth
;
/packages/apps/Gallery2/src/com/android/photos/shims/
BitmapJobDrawable.java
111
int
vwidth
= bounds.width();
local
115
if (dwidth * vheight >
vwidth
* dheight) {
117
dx = (
vwidth
- dwidth * scale) * 0.5f;
119
scale = (float)
vwidth
/ (float) dwidth;