Home
last modified time | relevance | path

Searched refs:aspect (Results 1 – 5 of 5) sorted by relevance

/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
DGalaxyRS.java88 float aspect = ((float)w) / h; in getProjectionNormalized() local
89 m1.loadFrustum(-aspect,aspect, -1,1, 1,100); in getProjectionNormalized()
91 float aspect = ((float)h) / w; in getProjectionNormalized() local
92 m1.loadFrustum(-1,1, -aspect,aspect, 1,100); in getProjectionNormalized()
/packages/wallpapers/NoiseField/src/com/android/noisefield/
DNoiseFieldRS.java94 float aspect = ((float) w) / h; in getProjectionNormalized() local
95 m1.loadFrustum(-aspect, aspect, -1, 1, 1, 100); in getProjectionNormalized()
97 float aspect = ((float) h) / w; in getProjectionNormalized() local
98 m1.loadFrustum(-1, 1, -aspect, aspect, 1, 100); in getProjectionNormalized()
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
DPhaseBeamRS.java109 float aspect = ((float) w) / h; in getProjectionNormalized() local
110 m1.loadFrustum(-aspect, aspect, -1, 1, 1, 100); in getProjectionNormalized()
112 float aspect = ((float) h) / w; in getProjectionNormalized() local
113 m1.loadFrustum(-1, 1, -aspect, aspect, 1, 100); in getProjectionNormalized()
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/
DGalaxyRS.java129 float aspect = ((float) w) / h; in getProjectionNormalized() local
130 m1.loadFrustum(-aspect, aspect, -1, 1, 1, 100); in getProjectionNormalized()
132 float aspect = ((float) h) / w; in getProjectionNormalized() local
133 m1.loadFrustum(-1, 1, -aspect, aspect, 1, 100); in getProjectionNormalized()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DCropView.java691 float aspect = mAspectRatio; in getFaceRect() local
692 if (aspect != UNSPECIFIED) { in getFaceRect()
693 if (aspect > 1) { in getFaceRect()
694 rx = ry * aspect; in getFaceRect()
696 ry = rx / aspect; in getFaceRect()
704 if (aspect != UNSPECIFIED) { in getFaceRect()
705 if (r.width() / r.height() > aspect) { in getFaceRect()
706 float w = r.height() * aspect; in getFaceRect()
710 float h = r.width() / aspect; in getFaceRect()