Searched refs:aspect (Results 1 – 5 of 5) sorted by relevance
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
D | GalaxyRS.java | 88 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/ |
D | NoiseFieldRS.java | 94 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/ |
D | PhaseBeamRS.java | 109 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/ |
D | GalaxyRS.java | 129 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/ |
D | CropView.java | 691 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()
|