Searched defs:aspect (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/ui/gfx/image/
H A Dimage_family.h21 // 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) argument
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 rati
[all...]
H A Dimage_family.cc34 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();
110 GetWithExactAspect(float aspect, int width) const argument
[all...]
/external/eigen/demos/opengl/
H A Dgpuhelper.cpp56 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 Dcamera.cpp216 float aspect = float(mVpWidth)/float(mVpHeight); local
221 mProjectionMatrix(0,0) = invtan / aspect;
/external/flac/libFLAC/
H A Dogg_decoder_aspect.c52 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 Dogg_encoder_aspect.c50 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/mojo/examples/sample_app/
H A Dspinning_cube.cc232 void Perspective(float fov_y, float aspect, float near_z, float far_z) { argument
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/
H A Dspinning_cube.cc216 void Perspective(float fov_y, float aspect, float near_z, float far_z) { argument
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/
H A Dspinning_cube.cc232 void Perspective(float fov_y, float aspect, float near_z, float far_z) { argument
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/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 178 milliseconds