/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
KubeRenderer.java | 85 float ratio = (float)width / height; local 88 gl.glFrustumf(-ratio, ratio, -1, 1, 2, 12);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
CubeRenderer.java | 94 float ratio = (float) width / height; local 97 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/external/oprofile/gui/ |
oprof_start_util.h | 27 inline double ratio(double x1, double x2) function
|
/packages/apps/Camera/src/com/android/camera/ |
PreviewFrameLayout.java | 31 * A layout which handles the preview aspect ratio. 67 public void setAspectRatio(double ratio) { 68 if (ratio <= 0.0) throw new IllegalArgumentException(); 70 if (mAspectRatio != ratio) { 71 mAspectRatio = ratio; 94 // Resize the preview frame with correct aspect ratio.
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon38337 194 m_next_shrink_size = m_next_grow_size / ratio; 219 m_next_shrink_size = m_next_grow_size / ratio; 230 m_next_shrink_size* ratio == m_next_grow_size);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon39927 194 m_next_shrink_size = m_next_grow_size / ratio; 219 m_next_shrink_size = m_next_grow_size / ratio; 230 m_next_shrink_size* ratio == m_next_grow_size);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon43105 194 m_next_shrink_size = m_next_grow_size / ratio; 219 m_next_shrink_size = m_next_grow_size / ratio; 230 m_next_shrink_size* ratio == m_next_grow_size);
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon46018 194 m_next_shrink_size = m_next_grow_size / ratio; 219 m_next_shrink_size = m_next_grow_size / ratio; 230 m_next_shrink_size* ratio == m_next_grow_size);
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon47116 194 m_next_shrink_size = m_next_grow_size / ratio; 219 m_next_shrink_size = m_next_grow_size / ratio; 230 m_next_shrink_size* ratio == m_next_grow_size);
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon51788 194 m_next_shrink_size = m_next_grow_size / ratio; 219 m_next_shrink_size = m_next_grow_size / ratio; 230 m_next_shrink_size* ratio == m_next_grow_size);
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon55995 194 m_next_shrink_size = m_next_grow_size / ratio; 219 m_next_shrink_size = m_next_grow_size / ratio; 230 m_next_shrink_size* ratio == m_next_grow_size);
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon56123 194 m_next_shrink_size = m_next_grow_size / ratio; 219 m_next_shrink_size = m_next_grow_size / ratio; 230 m_next_shrink_size* ratio == m_next_grow_size);
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 116 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon61881 194 m_next_shrink_size = m_next_grow_size / ratio; 219 m_next_shrink_size = m_next_grow_size / ratio; 230 m_next_shrink_size* ratio == m_next_grow_size);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
StretchesViewer.java | 203 float ratio = 1.0f; local 205 ratio = Math.min(wRatio, ratio); 207 ratio = Math.min(hRatio, ratio); 209 int width = Math.round(mSize.x * ratio); 210 int height = Math.round(mSize.y * ratio); 247 dest.x = (int) Math.ceil(p.dest.x * ratio); 248 dest.y = (int) Math.ceil(p.dest.y * ratio); 249 dest.width = (int) Math.ceil(p.dest.width * ratio); [all...] |
/external/chromium_org/chrome/browser/resources/about_welcome_android/ |
about_welcome_android.css | 75 @media only screen and (-webkit-min-device-pixel-ratio: 1.0) { 82 @media only screen and (-webkit-min-device-pixel-ratio: 1.3) { 89 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) { 96 @media only screen and (-webkit-min-device-pixel-ratio: 2.0) {
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/ |
fakeconstraints.h | 62 void SetMandatoryMinAspectRatio(double ratio) { 63 AddMandatory(MediaConstraintsInterface::kMinAspectRatio, ratio);
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
psy_configuration.h | 45 Word16 ratio; member in struct:__anon31413 75 Word16 ratio; member in struct:__anon31414
|
/frameworks/base/media/mca/filterpacks/native/base/ |
geometry.cpp | 71 bool Rect::ExpandToAspectRatio(float ratio) { 72 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) { 77 if (current_ratio < ratio) { 78 const float dx = width * (ratio / current_ratio - 1.0f); 82 const float dy = height * (current_ratio / ratio - 1.0f);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
TouchRotateActivity.java | 145 float ratio = (float) width / height; local 148 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
TriangleRenderer.java | 100 float ratio = (float) w / h; local 103 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
DynamicsCompressorNode.h | 54 AudioParam* ratio() { return m_ratio.get(); } function in class:WebCore::DynamicsCompressorNode
|
/frameworks/base/core/java/android/widget/ |
RatingBar.java | 270 final float ratio = getProgressPerStar(); local 271 if (ratio > 0) { 272 final float progressInStars = progress / ratio; 273 final int secondaryProgress = (int) (Math.ceil(progressInStars) * ratio);
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 57 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon56251 187 m_shrink_size = m_grow_size / ratio; 210 m_shrink_size = m_grow_size / ratio; 221 || m_shrink_size * ratio == m_grow_size);
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 57 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon62009 187 m_shrink_size = m_grow_size / ratio; 210 m_shrink_size = m_grow_size / ratio; 221 || m_shrink_size * ratio == m_grow_size);
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/ext/pb_ds/detail/binary_heap_/ |
resize_policy.hpp | 57 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon62137 187 m_shrink_size = m_grow_size / ratio; 210 m_shrink_size = m_grow_size / ratio; 221 || m_shrink_size * ratio == m_grow_size);
|