/external/chromium_org/ui/gfx/image/ |
image_family.cc | 34 float aspect = static_cast<float>(size.width()) / size.height(); local 35 DCHECK_GT(aspect, 0.0f); 36 map_[MapKey(aspect, size.width())] = image; 66 // Get the best-sized image with the aspect ratio. 71 // Find the two aspect ratios on either side of |desired_aspect|. 76 greater_or_equal->first.aspect() == desired_aspect) { 81 // aspect ratio >= |desired_aspect|, and |less_than| will point to the last 82 // image with aspect ratio < |desired_aspect|. 87 float thinner_aspect = less_than->first.aspect(); 91 float wider_aspect = greater_or_equal->first.aspect(); [all...] |
image_family.h | 21 // sizes and (optionally) aspect ratios. A method is provided for finding the 30 // An <aspect ratio, DIP width> pair. 31 // A 0x0 image has aspect ratio 1.0. 0xN and Nx0 images are treated as 0x0. 33 MapKey(float aspect, int width) 34 : std::pair<float, int>(aspect, width) {} 36 float aspect() const { return first; } function in struct:gfx::ImageFamily::MapKey 123 // Gets an image at the same aspect ratio as |width|:|height|, if possible, or 124 // if not, the closest aspect ratio. Among images of that aspect ratio, 127 // aspect ratio. If there are no images in the family, returns NULL [all...] |
/external/eigen/demos/opengl/ |
camera.cpp | 216 float aspect = float(mVpWidth)/float(mVpHeight); local 221 mProjectionMatrix(0,0) = invtan / aspect;
|
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
gles3jni.cpp | 162 const float aspect[2] = {dim[0] / dim[1], dim[1] / dim[0]}; local 163 const float scene2clip[2] = {1.0f, aspect[0]}; 166 (int)floorf(NCELLS_MAJOR * aspect[1])
|
/external/chromium_org/mojo/examples/sample_app/ |
spinning_cube.cc | 232 void Perspective(float fov_y, float aspect, float near_z, float far_z) { 234 GLfloat frustum_w = frustum_h * aspect; 456 float aspect = static_cast<GLfloat>(width_) / static_cast<GLfloat>(height_); local 460 perspective.Perspective(60.0f, aspect, 1.0f, 20.0f );
|
/external/chromium_org/ppapi/examples/compositor/ |
spinning_cube.cc | 216 void Perspective(float fov_y, float aspect, float near_z, float far_z) { 218 GLfloat frustum_w = frustum_h * aspect; 447 float aspect = static_cast<GLfloat>(width_) / static_cast<GLfloat>(height_); local 451 perspective.Perspective(60.0f, aspect, 1.0f, 20.0f );
|
/external/chromium_org/ppapi/examples/gles2_spinning_cube/ |
spinning_cube.cc | 232 void Perspective(float fov_y, float aspect, float near_z, float far_z) { 234 GLfloat frustum_w = frustum_h * aspect; 454 float aspect = static_cast<GLfloat>(width_) / static_cast<GLfloat>(height_); local 458 perspective.Perspective(60.0f, aspect, 1.0f, 20.0f );
|
/external/chromium_org/third_party/libaddressinput/src/java/ |
android.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar | |