HomeSort by relevance Sort by last modified time
    Searched refs:scale (Results 126 - 150 of 3712) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
CropView.java 99 final float scale = mRenderer.scale; local
101 * scale + width / 2f;
103 * scale + height / 2f;
104 float leftEdge = centerX - imageWidth / 2f * scale;
105 float rightEdge = centerX + imageWidth / 2f * scale;
106 float topEdge = centerY - imageHeight / 2f * scale;
107 float bottomEdge = centerY + imageHeight / 2f * scale;
122 final float scale = mRenderer.scale; local
204 final float scale = mRenderer.scale; local
287 final float scale = mRenderer.scale; local
    [all...]
  /external/aac/libAACdec/src/
ldfiltbank.cpp 119 /* scale for FIXP_DBL -> INT_PCM conversion. */
120 const int scale = (DFRACT_BITS - SAMPLE_BITS) - LDFB_HEADROOM; local
124 if (-WTS0 - 1 + scale)
125 rnd_val_wts0 = (FIXP_DBL)(1 << (-WTS0 - 1 + scale - 1));
126 if (-WTS1 - 1 + scale)
127 rnd_val_wts1 = (FIXP_DBL)(1 << (-WTS1 - 1 + scale - 1));
143 FDK_ASSERT((-WTS1 - 1 + scale) >= 0);
147 tmp + rnd_val_wts1, -WTS1 - 1 + scale, PCM_OUT_BITS);
149 FDK_ASSERT((WTS1 + 1 - scale) >= 0);
151 (FIXP_PCM)SATURATE_LEFT_SHIFT(tmp, WTS1 + 1 - scale, PCM_OUT_BITS)
216 int scale = mdctData_e + MDCT_OUT_HEADROOM - local
    [all...]
  /external/mesa3d/src/mesa/math/
m_norm_tmp.h 36 * scale - uniform scale factor of the transformation matrix (not always used)
44 GLfloat scale,
71 GLfloat scale = 1.0f / sqrtf(len); local
72 out[i][0] = tx * scale;
73 out[i][1] = ty * scale;
74 out[i][2] = tz * scale;
83 if (scale != 1.0f) {
84 m0 *= scale, m4 *= scale, m8 *= scale
138 GLfloat scale = 1.0f \/ sqrtf(len); local
    [all...]
  /external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
logistic_test.py 36 scale = 1.5
37 dist = logistic.Logistic(loc, scale)
46 scale = 1.5
48 dist = logistic.Logistic(loc, scale)
49 expected_log_prob = stats.logistic.logpdf(x, np_loc, scale)
64 scale = 1.5
66 dist = logistic.Logistic(loc, scale)
69 expected_cdf = stats.logistic.cdf(x, np_loc, scale)
79 scale = 1.5
81 dist = logistic.Logistic(loc, scale)
    [all...]
  /external/skia/src/core/
SkMatrixUtils.h 28 the cosine and sine of the rotation angle), followed by a non-uniform scale,
29 followed by another rotation. If there is a reflection, one of the scale
35 SkPoint* scale,
SkUnPreMultiplyPriv.h 16 const SkUnPreMultiply::Scale* table = SkUnPreMultiply::GetScaleTable();
34 SkUnPreMultiply::Scale scale = table[a]; local
35 r = SkUnPreMultiply::ApplyScale(scale, r);
36 g = SkUnPreMultiply::ApplyScale(scale, g);
37 b = SkUnPreMultiply::ApplyScale(scale, b);
  /external/skqp/src/core/
SkMatrixUtils.h 28 the cosine and sine of the rotation angle), followed by a non-uniform scale,
29 followed by another rotation. If there is a reflection, one of the scale
35 SkPoint* scale,
SkUnPreMultiplyPriv.h 15 const SkUnPreMultiply::Scale* table = SkUnPreMultiply::GetScaleTable();
33 SkUnPreMultiply::Scale scale = table[a]; local
34 r = SkUnPreMultiply::ApplyScale(scale, r);
35 g = SkUnPreMultiply::ApplyScale(scale, g);
36 b = SkUnPreMultiply::ApplyScale(scale, b);
  /external/tensorflow/tensorflow/contrib/layers/python/layers/
regularizers.py 37 def l1_regularizer(scale, scope=None):
43 scale: A scalar multiplier `Tensor`. 0.0 disables the regularizer.
50 ValueError: If scale is negative or if scale is not a float.
52 if isinstance(scale, numbers.Integral):
53 raise ValueError('scale cannot be an integer: %s' % scale)
54 if isinstance(scale, numbers.Real):
55 if scale < 0.:
56 raise ValueError('Setting a scale less than 0 on a regularizer: %g'
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
adjust_saturation_op.h 32 const float* const input, const float* const scale,
adjust_saturation_op_gpu.cu.cc 30 const float* const scale,
40 number_of_elements, input, output, nullptr, scale, nullptr);
  /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
augmented_cb_corr.c 34 int scale) /* (i) Scale factor to use for
52 (*crossDotPtr) = WebRtcSpl_DotProductWithScale(target, buffer-lagcount, ilow, scale);
55 (*crossDotPtr) += WebRtcSpl_DotProductWithScale(target+ilow, iSPtr, 4, scale);
60 (*crossDotPtr) += WebRtcSpl_DotProductWithScale(targetPtr, buffer-lagcount, SUBL-lagcount, scale);
augmented_cb_corr.h 39 int scale); /* (i) Scale factor to use for the crossDot */
cb_mem_energy.h 30 int scale, /* (i) The scaling of all energy values */
cb_mem_energy_calc.h 29 int scale, /* (i) The scaling of all energy values */
comp_corr.h 36 int16_t scale /* (i) number of rightshifts to use */
  /packages/apps/Camera2/src/com/android/camera/tinyplanet/
TinyPlanetNative.java 37 * @param scale the scale factor (used for fast previews).
41 float scale, float angleRadians);
  /packages/apps/Gallery2/jni/filters/
shadows.c 22 void JNIFUNCF(ImageFilterShadows, nativeApplyFilter, jobject bitmap, jint width, jint height, float scale){
35 double s = (scale>=0)?scale:scale/5;
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ImageCanvas.java 27 * Dimensions holds the desired width, height, and scale for a bitmap being
33 public float scale; field in class:ImageCanvas.Dimensions
47 public Dimensions(int width, int height, float scale, float fontSize) {
50 this.scale = scale;
  /external/clang/test/PCH/
blocks.h 12 __block int scale = s;
13 return call_block(^(int x, int y) { return x*scale + y; }, a, b);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/
TimeScaleMonkeyTest.java 92 for (int scale = 0; scale < UniversalTimeScale.MAX_SCALE; scale += 1) {
93 long fromMin = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MIN_VALUE);
94 long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE);
102 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale);
105 errln("Round-trip error: time scale = " + scale + ", value = " + value + ", round-trip = " + rt);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
TimeScaleMonkeyTest.java 89 for (int scale = 0; scale < UniversalTimeScale.MAX_SCALE; scale += 1) {
90 long fromMin = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MIN_VALUE);
91 long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE);
99 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale);
102 errln("Round-trip error: time scale = " + scale + ", value = " + value + ", round-trip = " + rt);
  /external/skia/include/core/
SkUnPreMultiply.h 20 typedef uint32_t Scale;
23 static const Scale* GetScaleTable() {
27 static Scale GetScale(U8CPU alpha) {
34 const Scale* table = SkUnPreMultiply::GetScaleTable();
38 SkUnPreMultiply::Scale scale = table[a];
40 red = SkUnPreMultiply::ApplyScale(scale, red);
45 static U8CPU ApplyScale(Scale scale, U8CPU component) {
47 return (scale * component + (1 << 23)) >> 24
    [all...]
  /external/skqp/include/core/
SkUnPreMultiply.h 20 typedef uint32_t Scale;
23 static const Scale* GetScaleTable() {
27 static Scale GetScale(U8CPU alpha) {
34 const Scale* table = SkUnPreMultiply::GetScaleTable();
38 SkUnPreMultiply::Scale scale = table[a];
40 red = SkUnPreMultiply::ApplyScale(scale, red);
45 static U8CPU ApplyScale(Scale scale, U8CPU component) {
47 return (scale * component + (1 << 23)) >> 24
    [all...]
  /hardware/qcom/display/msm8909/sdm/libs/core/drm/
hw_scale_drm.h 53 void SetPlaneScaler(const HWScaleData &scale, SDEScaler *scaler);
56 void SetPlaneScalerV2(const HWScaleData &scale, sde_drm_scaler_v2 *scaler_v2);

Completed in 456 milliseconds

1 2 3 4 56 7 8 91011>>