/external/iproute2/lib/ |
dnet_ntop.c | 19 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len, int *started) 21 u_int16_t tmp = *addr / scale; 26 if (((tmp) > 0) || *started || (scale == 1)) { 30 *addr -= (tmp * scale);
|
/external/kernel-headers/original/linux/netfilter/ |
xt_limit.h | 10 u_int32_t avg; /* Average secs between packets * scale */
|
/external/llvm/test/Instrumentation/AddressSanitizer/ |
different_scale_and_offset.ll | 1 ; Test non-default shadow mapping scale and offset. 3 ; RUN: opt < %s -asan -asan-mapping-scale=2 -asan-mapping-offset-log=0 -S | FileCheck %s 8 ; Test that ASan tells scale and offset to runtime. 26 ; No need in slow path for i32 and mapping scale equal to 2.
|
/external/skia/tests/ |
MipMapTest.cpp | 37 SkScalar scale = SK_Scalar1; local 39 scale = scale * 2 / 3; 42 if (mm->extractLevel(scale, &level)) {
|
/frameworks/base/graphics/java/android/renderscript/ |
Matrix3f.java | 165 * Makes the upper 2x2 a scale matrix of given dimensions 167 * @param x scale component x 168 * @param y scale component y 177 * Sets current values to be a scale matrix of given dimensions 179 * @param x scale component x 180 * @param y scale component y 181 * @param z scale component z 267 * post-multiplying it with a scale matrix of given dimensions 269 * @param x scale component x 270 * @param y scale component 272 public void scale(float x, float y) { method in class:Matrix3f 286 public void scale(float x, float y, float z) { method in class:Matrix3f [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Matrix3f.java | 165 * Makes the upper 2x2 a scale matrix of given dimensions 167 * @param x scale component x 168 * @param y scale component y 177 * Sets current values to be a scale matrix of given dimensions 179 * @param x scale component x 180 * @param y scale component y 181 * @param z scale component z 267 * post-multiplying it with a scale matrix of given dimensions 269 * @param x scale component x 270 * @param y scale component 272 public void scale(float x, float y) { method in class:Matrix3f 286 public void scale(float x, float y, float z) { method in class:Matrix3f [all...] |
/packages/apps/Camera/src/com/android/camera/ |
Thumbnail.java | 57 // Scale down the bitmap if it is bigger than we need. 61 float scale = (float) targetWidth / width; local 62 int w = Math.round(scale * width); 63 int h = Math.round(scale * height);
|
/packages/apps/Camera2/src/com/android/camera/ |
Thumbnail.java | 57 // Scale down the bitmap if it is bigger than we need. 61 float scale = (float) targetWidth / width; local 62 int w = Math.round(scale * width); 63 int h = Math.round(scale * height);
|
/packages/apps/Gallery2/jni/filters/ |
shadows.c | 20 void JNIFUNCF(ImageFilterShadows, nativeApplyFilter, jobject bitmap, jint width, jint height, float scale){ 33 double s = (scale>=0)?scale:scale/5;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
MtpImageView.java | 125 float scale; local 135 scale = 1.0f; 137 scale = Math.min(vwidth / dwidth, vheight / dheight); 139 mDrawMatrix.setScale(scale, scale); 141 mDrawMatrix.postTranslate(-dheight * scale * 0.5f, 142 -dwidth * scale * 0.5f); 144 mDrawMatrix.postTranslate(dwidth * scale * 0.5f, 145 dheight * scale * 0.5f); 147 mDrawMatrix.postTranslate((vwidth - dwidth * scale) * 0.5f 171 float scale = Math.min(scale_height, scale_width); local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter/ |
xt_limit.h | 10 u_int32_t avg; /* Average secs between packets * scale */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_limit.h | 14 u_int32_t avg; /* Average secs between packets * scale */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter/ |
xt_limit.h | 10 u_int32_t avg; /* Average secs between packets * scale */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_limit.h | 14 u_int32_t avg; /* Average secs between packets * scale */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter/ |
xt_limit.h | 10 u_int32_t avg; /* Average secs between packets * scale */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_limit.h | 14 u_int32_t avg; /* Average secs between packets * scale */
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalConvertTest.java | 208 assertEquals("incorrect scale", resScale, result.scale()); 222 assertEquals("incorrect scale", resScale, result.scale()); 369 * representation; scale == 0. 381 * scale == 0. 393 * scale == 0. 405 * scale == 0. 416 * scale == 0. 446 * Create a BigDecimal from a positive long value; scale == 470 int scale = 12; local 481 int scale = -12; local 492 int scale = 12; local 503 int scale = -12; local [all...] |
/cts/tests/res/xml/ |
scaledrawable.xml | 19 <scale 26 </scale> 30 <scale
|
/external/chromium-trace/trace-viewer/src/ui/ |
quad_stack_viewer.js | 37 get scale() { 41 set scale(newValue) { 44 this.quadStack_.viewport.scale = newValue;
|
/external/chromium_org/ash/wm/ |
image_cursors.h | 34 // Sets the display the cursors are loaded for. The device scale factor 40 // Sets the scale of the mouse cursor icon. 41 void SetScale(float scale);
|
/external/chromium_org/cc/layers/ |
picture_image_layer_impl.cc | 39 // scale. 65 // Don't scale images during rastering to ensure image quality, save memory 66 // and avoid frequent re-rastering on change of scale.
|
/external/chromium_org/cc/output/ |
compositor_frame_metadata.h | 20 // The device scale factor used to generate this compositor frame. 23 // Scroll offset and scale of the root layer. This can be used for tasks 28 // These limits can be used together with the scroll/scale fields above to
|
/external/chromium_org/ppapi/cpp/dev/ |
view_dev.h | 21 /// GetDeviceScale returns the scale factor between device pixels and DIPs 27 /// one DIP might not equal one CSS pixel - when page scale/zoom is in effect. 33 /// GetCSSScale returns the scale factor between DIPs and CSS pixels. This
|
/external/chromium_org/printing/ |
metafile_skia_wrapper.h | 27 // Methods to set and retrieve custom scale factor for metafile from canvas. 28 static void SetCustomScaleOnCanvas(const SkCanvas& canvas, double scale); 29 static bool GetCustomScaleOnCanvas(const SkCanvas& canvas, double* scale);
|
/external/chromium_org/third_party/WebKit/ManualTests/chromium/ |
drag-image-accounts-for-device-scale.html | 3 <p>To test device scale, run chrome with --force-device-scale-factor=2 (or run chrome on a device with > 1 device scale, such as a macbook running in high dpi mode)</p>
|