/external/chromium_org/ui/gfx/image/ |
H A D | image_family.h | 21 // sizes and (optionally) aspect ratios. A method is provided for finding the 113 // Gets an image at the same aspect ratio as |width|:|height|, if possible, or 114 // if not, the closest aspect ratio. Among images of that aspect ratio, 117 // aspect ratio. If there are no images in the family, returns NULL. 121 // Gets an image at the same aspect ratio as |size.width()|:|size.height()|, 122 // if possible, or if not, the closest aspect ratio. Among images of that 123 // aspect ratio, returns the smallest image with both its width and height 125 // image of that aspect ratio. If there are no images in the family, returns 130 // An <aspect rati 133 MapKey(float aspect, int width) argument 136 float aspect() const { return first; } function in struct:gfx::ImageFamily::MapKey [all...] |
H A D | image_family.cc | 32 float aspect = static_cast<float>(size.width()) / size.height(); local 33 DCHECK_GT(aspect, 0.0f); 34 map_[MapKey(aspect, size.width())] = image; 64 // Get the best-sized image with the aspect ratio. 69 // Find the two aspect ratios on either side of |desired_aspect|. 74 greater_or_equal->first.aspect() == desired_aspect) { 79 // aspect ratio >= |desired_aspect|, and |less_than| will point to the last 80 // image with aspect ratio < |desired_aspect|. 85 float thinner_aspect = less_than->first.aspect(); 89 float wider_aspect = greater_or_equal->first.aspect(); 108 GetWithExactAspect(float aspect, int width) const argument [all...] |
/external/chromium_org/third_party/angle_dx11/samples/gles2_book/PostSubBuffer/ |
H A D | PostSubBuffer.c | 102 float aspect; local 109 // Compute the window aspect ratio 110 aspect = (GLfloat) esContext->width / (GLfloat) esContext->height; 114 esPerspective( &perspective, 60.0f, aspect, 1.0f, 20.0f );
|
/external/chromium_org/third_party/angle_dx11/samples/gles2_book/Simple_VertexShader/ |
H A D | Simple_VertexShader.c | 92 float aspect; local 99 // Compute the window aspect ratio 100 aspect = (GLfloat) esContext->width / (GLfloat) esContext->height; 104 esPerspective( &perspective, 60.0f, aspect, 1.0f, 20.0f );
|
/external/eigen/demos/opengl/ |
H A D | gpuhelper.cpp | 56 void GpuHelper::drawVector(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect /* = 50.*/) 70 gluCylinder(cylindre, length/aspect, length/aspect, 0.8*length, 10, 10); 72 gluCylinder(cylindre, 2.0*length/aspect, 0.0, 0.2*length, 10, 10); 77 void GpuHelper::drawVectorBox(const Vector3f& position, const Vector3f& vec, const Color& color, float aspect) argument 91 gluCylinder(cylindre, length/aspect, length/aspect, 0.8*length, 10, 10); 93 glScalef(4.0*length/aspect,4.0*length/aspect,4.0*length/aspect); [all...] |
H A D | camera.cpp | 216 float aspect = float(mVpWidth)/float(mVpHeight); local 221 mProjectionMatrix(0,0) = invtan / aspect;
|
/external/flac/libFLAC/ |
H A D | ogg_decoder_aspect.c | 52 FLAC__bool FLAC__ogg_decoder_aspect_init(FLAC__OggDecoderAspect *aspect) argument 55 if(ogg_stream_init(&aspect->stream_state, aspect->serial_number) != 0) 58 if(ogg_sync_init(&aspect->sync_state) != 0) 61 aspect->version_major = ~(0u); 62 aspect->version_minor = ~(0u); 64 aspect->need_serial_number = aspect->use_first_serial_number; 66 aspect->end_of_stream = false; 67 aspect 72 FLAC__ogg_decoder_aspect_finish(FLAC__OggDecoderAspect *aspect) argument 78 FLAC__ogg_decoder_aspect_set_serial_number(FLAC__OggDecoderAspect *aspect, long value) argument 84 FLAC__ogg_decoder_aspect_set_defaults(FLAC__OggDecoderAspect *aspect) argument 89 FLAC__ogg_decoder_aspect_flush(FLAC__OggDecoderAspect *aspect) argument 97 FLAC__ogg_decoder_aspect_reset(FLAC__OggDecoderAspect *aspect) argument 105 FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data) argument [all...] |
H A D | ogg_encoder_aspect.c | 50 FLAC__bool FLAC__ogg_encoder_aspect_init(FLAC__OggEncoderAspect *aspect) argument 53 if(ogg_stream_init(&aspect->stream_state, aspect->serial_number) != 0) 56 aspect->seen_magic = false; 57 aspect->is_first_packet = true; 58 aspect->samples_written = 0; 63 void FLAC__ogg_encoder_aspect_finish(FLAC__OggEncoderAspect *aspect) argument 65 (void)ogg_stream_clear(&aspect->stream_state); 69 void FLAC__ogg_encoder_aspect_set_serial_number(FLAC__OggEncoderAspect *aspect, long value) argument 71 aspect 74 FLAC__ogg_encoder_aspect_set_num_metadata(FLAC__OggEncoderAspect *aspect, unsigned value) argument 84 FLAC__ogg_encoder_aspect_set_defaults(FLAC__OggEncoderAspect *aspect) argument 111 FLAC__ogg_encoder_aspect_write_callback_wrapper(FLAC__OggEncoderAspect *aspect, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, FLAC__bool is_last_block, FLAC__OggEncoderAspectWriteCallbackProxy write_callback, void *encoder, void *client_data) argument [all...] |
/external/chromium_org/third_party/angle_dx11/samples/gles2_book/Common/ |
H A D | esTransform.c | 138 esPerspective(ESMatrix *result, float fovy, float aspect, float nearZ, float farZ) argument 143 frustumW = frustumH * aspect;
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
H A D | Camera.java | 448 * @param fixAspect If true, the camera's aspect ratio will be recomputed. 449 * Recomputing the aspect ratio requires changing the frustum values. 757 * frustum is defined by a viewing angle, aspect ratio, and near/far planes 760 * @param aspect Width:Height ratio 764 public void setFrustumPerspective(float fovY, float aspect, float near, argument 766 if (Float.isNaN(aspect) || Float.isInfinite(aspect)) { 768 logger.log(Level.WARNING, "Invalid aspect given to setFrustumPerspective: {0}", aspect); 773 float w = h * aspect; [all...] |
/external/chromium_org/chrome_frame/ |
H A D | chrome_frame_activex_base.h | 228 DWORD aspect = draw_aspect; local 229 if (aspect == DVASPECT_DOCPRINT) 230 aspect = DVASPECT_CONTENT; 232 return CComControl<T>::IViewObject_Draw(aspect, index, aspect_info, ptd,
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |