/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
BitmapsRectActivity.java | 57 final float half = mBitmap1.getHeight() / 2.0f; local 58 mSrcRect = new Rect((int) fourth, (int) (half - half / 2.0f), 59 (int) (fourth + fourth), (int) (half + half / 2.0f)); 60 mDstRect = new RectF(fourth, half - half / 2.0f, fourth + fourth, half + half / 2.0f); 61 mDstRect2 = new RectF(fourth, half - half / 2.0f [all...] |
/bionic/libm/src/ |
e_cosh.c | 42 static const double one = 1.0, half=0.5, huge = 1.0e300; variable 69 return half*t+half/t; 72 /* |x| in [22, log(maxdouble)] return half*exp(|x|) */ 73 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x)); 79 w = __ieee754_exp(half*fabs(x)); 80 t = half*w;
|
e_coshf.c | 23 static const float one = 1.0, half=0.5, huge = 1.0e30; variable 48 return half*t+half/t; 51 /* |x| in [9, log(maxfloat)] return half*exp(|x|) */ 52 if (ix < 0x42b17217) return half*__ieee754_expf(fabsf(x)); 56 w = __ieee754_expf(half*fabsf(x)); 57 t = half*w;
|
k_sin.c | 52 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable 69 else return x-((z*(half*y-v*r)-y)-v*S1);
|
e_rem_pio2f.c | 56 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable 74 n = (int32_t) (t*invpio2+half);
|
/external/fdlibm/ |
e_cosh.c | 38 static const double one = 1.0, half=0.5, huge = 1.0e300; variable 40 static double one = 1.0, half=0.5, huge = 1.0e300; variable 72 return half*t+half/t; 75 /* |x| in [22, ieee_log(maxdouble)] return half*ieee_exp(|x|) */ 76 if (ix < 0x40862E42) return half*__ieee754_exp(ieee_fabs(x)); 82 w = __ieee754_exp(half*ieee_fabs(x)); 83 t = half*w;
|
k_sin.c | 49 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable 73 else return x-((z*(half*y-v*r)-y)-v*S1);
|
/external/jmonkeyengine/engine/src/test/jme3test/math/ |
TestHalfFloat.java | 48 short half = FastMath.convertFloatToHalf(flt); local 49 float flt2 = FastMath.convertHalfToFloat(half);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
ByteArrayOutput.java | 217 int half = (int) value; local 218 data[writeAt] = (byte) half; 219 data[writeAt + 1] = (byte) (half >> 8); 220 data[writeAt + 2] = (byte) (half >> 16); 221 data[writeAt + 3] = (byte) (half >> 24); 223 half = (int) (value >> 32); 224 data[writeAt + 4] = (byte) half; 225 data[writeAt + 5] = (byte) (half >> 8); 226 data[writeAt + 6] = (byte) (half >> 16); 227 data[writeAt + 7] = (byte) (half >> 24) [all...] |
ByteArrayAnnotatedOutput.java | 222 int half = (int) value; local 223 data[writeAt] = (byte) half; 224 data[writeAt + 1] = (byte) (half >> 8); 225 data[writeAt + 2] = (byte) (half >> 16); 226 data[writeAt + 3] = (byte) (half >> 24); 228 half = (int) (value >> 32); 229 data[writeAt + 4] = (byte) half; 230 data[writeAt + 5] = (byte) (half >> 8); 231 data[writeAt + 6] = (byte) (half >> 16); 232 data[writeAt + 7] = (byte) (half >> 24) [all...] |
/system/media/audio_utils/ |
fixedfft.cpp | 23 * half of the twiddle factors are stored. Although there are still ways to make 99 static inline int32_t half(int32_t a) function 126 int32_t x = half(v[i]); 127 int32_t y = half(v[i + p]); 137 int32_t x = half(v[i]); 153 v[m] = half(v[m]); 156 int32_t x = half(v[i]); 157 int32_t z = half(v[n - i]); 159 x = half(x + (z ^ 0xFFFF));
|
/external/speex/libspeex/ |
vq_sse.h | 41 __m128 half; local 44 half = _mm_set_ps1(.5f); 50 __m128 d = _mm_mul_ps(E[i], half); 80 __m128 half; local 83 half = _mm_set_ps1(.5f);
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
ByteArrayAnnotatedOutput.java | 211 int half = (int) value; local 212 data[writeAt] = (byte) half; 213 data[writeAt + 1] = (byte) (half >> 8); 214 data[writeAt + 2] = (byte) (half >> 16); 215 data[writeAt + 3] = (byte) (half >> 24); 217 half = (int) (value >> 32); 218 data[writeAt + 4] = (byte) half; 219 data[writeAt + 5] = (byte) (half >> 8); 220 data[writeAt + 6] = (byte) (half >> 16); 221 data[writeAt + 7] = (byte) (half >> 24) [all...] |
/dalvik/dx/src/com/android/dx/util/ |
ByteArrayAnnotatedOutput.java | 220 int half = (int) value; local 221 data[writeAt] = (byte) half; 222 data[writeAt + 1] = (byte) (half >> 8); 223 data[writeAt + 2] = (byte) (half >> 16); 224 data[writeAt + 3] = (byte) (half >> 24); 226 half = (int) (value >> 32); 227 data[writeAt + 4] = (byte) half; 228 data[writeAt + 5] = (byte) (half >> 8); 229 data[writeAt + 6] = (byte) (half >> 16); 230 data[writeAt + 7] = (byte) (half >> 24) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
ByteArrayAnnotatedOutput.java | 220 int half = (int) value; local 221 data[writeAt] = (byte) half; 222 data[writeAt + 1] = (byte) (half >> 8); 223 data[writeAt + 2] = (byte) (half >> 16); 224 data[writeAt + 3] = (byte) (half >> 24); 226 half = (int) (value >> 32); 227 data[writeAt + 4] = (byte) half; 228 data[writeAt + 5] = (byte) (half >> 8); 229 data[writeAt + 6] = (byte) (half >> 16); 230 data[writeAt + 7] = (byte) (half >> 24) [all...] |
/external/bluetooth/glib/glib/ |
gunidecomp.c | 179 int half = (start + end) / 2; local 180 if (ch == decomp_table[half].ch) 186 offset = decomp_table[half].compat_offset; 188 offset = decomp_table[half].canon_offset; 192 offset = decomp_table[half].canon_offset; 199 else if (half == start) 201 else if (ch > decomp_table[half].ch) 202 start = half; 204 end = half;
|
/frameworks/wilhelm/tests/sandbox/ |
intbufq.c | 66 frame_t half[HALF_FRAMES]; variable 165 half[i].left = sine[i].left; 166 half[i].right = sawtooth[i].right / 2; 197 buffer = half; 198 size = sizeof(half);
|
/device/samsung/crespo/ |
device.mk | 25 # separated into two halves: this half here contains the parts that 26 # are available to everyone, while another half in the vendor/ hierarchy 30 # transparency. There are two variants of the half that deals with 49 # half of the device-specific product definition file takes care
|
/frameworks/compile/linkloader/include/ |
ELFTypes.h | 125 typedef detail::ELFHalf half; typedef in struct:ELFPrimitiveTypes 146 typedef detail::ELFHalf half; typedef in struct:ELFPrimitiveTypes 187 typedef typename ELFPrimitiveTypes<BITWIDTH>::half half_t; \ 205 typedef ELFPrimitiveTypes<BITWIDTH>::half half_t; \
|
/external/qemu/ |
charpipe.c | 29 * each half of the channel has its own object and buffer, and 70 /* this models each half of the charpipe */ 453 CharPipeHalf* half; local 455 half = cp->a; 456 if (half->peer != NULL) 457 charpipehalf_poll(half); 459 half = cp->b; 460 if (half->peer != NULL) 461 charpipehalf_poll(half);
|
/external/webkit/Source/WebCore/rendering/mathml/ |
RenderMathMLOperator.cpp | 222 int half = (m_stretchHeight - gGlyphHeight) / 2; local 223 if (half <= gGlyphHeight) { 225 createGlyph(stretchyCharacters[index].topGlyph, half, gTopGlyphTopAdjust); 231 int remaining = half - gGlyphHeight; 245 // The remaining is the top half minus the middle glyph height. 246 remaining = half - gGlyphHeight;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
TimeBar.java | 175 int half = scrubber.getWidth() / 2; local 176 int max = progressBar.right - half; 177 int min = progressBar.left - half;
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
GenericWaveRS.java | 84 int half = outlen / 2; local 86 mPointData[i*8] = i - half; // start point X (Y set later) 89 mPointData[i*8+4] = i - half; // end point X (Y set later)
|
/libcore/luni/src/main/java/java/util/concurrent/ |
PriorityBlockingQueue.java | 355 int half = n >>> 1; // loop while a non-leaf local 356 while (k < half) { 374 int half = n >>> 1; local 375 while (k < half) { 396 int half = (n >>> 1) - 1; local 399 for (int i = half; i >= 0; i--) 403 for (int i = half; i >= 0; i--) [all...] |
/device/samsung/crespo4g/ |
device.mk | 25 # separated into two halves: this half here contains the parts that 26 # are available to everyone, while another half in the vendor/ hierarchy 30 # transparency. There are two variants of the half that deals with
|