/external/chromium_org/skia/ext/ |
convolver.h | 42 // Entries are stored in fixed point, shifted left by kShiftBits. 45 typedef short Fixed; 47 // The number of bits that fixed point values are shifted by. 53 // Convert between floating point and our fixed point representation. 54 static Fixed FloatToFixed(float f) { 55 return static_cast<Fixed>(f * (1 << kShiftBits)); 57 static unsigned char FixedToChar(Fixed x) { 60 static float FixedToFloat(Fixed x) { 61 // The cast relies on Fixed being a short, implying that on 64 COMPILE_ASSERT(sizeof(Fixed) == 2, fixed_type_should_fit_in_float_mantissa) [all...] |
convolver_mips_dspr2.h | 12 void ConvolveVertically_mips_dspr2(const ConvolutionFilter1D::Fixed* filter_val,
|
convolver_SSE2.h | 12 void ConvolveVertically_SSE2(const ConvolutionFilter1D::Fixed* filter_values,
|
convolver_mips_dspr2.cc | 24 const ConvolutionFilter1D::Fixed* filter_values = 134 const ConvolutionFilter1D::Fixed* filter_values = 234 void ConvolveVertically_mips_dspr2(const ConvolutionFilter1D::Fixed* filter_val,
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableLengthTest.cpp | 25 EXPECT_EQ(Length(0, Fixed), create(Length(0, Fixed))->length(1, ValueRangeAll)); 27 EXPECT_EQ(Length(10, Fixed), create(Length(10, Fixed))->length(1, ValueRangeAll)); 29 EXPECT_EQ(Length(-10, Fixed), create(Length(-10, Fixed))->length(1, ValueRangeAll)); 37 EXPECT_EQ(Length(10, Fixed), create(Length(10, Fixed))->length(1, ValueRangeNonNegative)); 39 EXPECT_EQ(Length(0, Fixed), create(Length(-10, Fixed))->length(1, ValueRangeNonNegative)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleSurroundData.cpp | 28 : margin(Fixed) 29 , padding(Fixed)
|
BorderData.h | 38 BorderData() : m_topLeft(Length(0, Fixed), Length(0, Fixed)) 39 , m_topRight(Length(0, Fixed), Length(0, Fixed)) 40 , m_bottomLeft(Length(0, Fixed), Length(0, Fixed)) 41 , m_bottomRight(Length(0, Fixed), Length(0, Fixed))
|
NinePieceImage.cpp | 63 , outset(Length(0, Fixed), Length(0, Fixed), Length(0, Fixed), Length(0, Fixed))
|
StyleGeneratedImage.cpp | 72 intrinsicWidth = Length(size.width(), Fixed); 73 intrinsicHeight = Length(size.height(), Fixed);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
LengthBox.h | 49 : m_left(Length(v, Fixed)) 50 , m_right(Length(v, Fixed)) 51 , m_top(Length(v, Fixed)) 52 , m_bottom(Length(v, Fixed)) 65 : m_left(Length(l, Fixed)) 66 , m_right(Length(r, Fixed)) 67 , m_top(Length(t, Fixed)) 68 , m_bottom(Length(b, Fixed))
|
LengthFunctions.cpp | 40 case Fixed: 68 case Fixed: 104 case Fixed:
|
Theme.h | 87 virtual LengthSize minimumControlSize(ControlPart, const FontDescription&, float /*zoomFactor*/) const { return LengthSize(Length(0, Fixed), Length(0, Fixed)); }
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderLayerReflectionInfo.cpp | 93 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 95 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 102 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 104 transform.operations().append(TranslateTransformOperation::create(Length(0, Fixed), 110 Length(0, Fixed), TransformOperation::Translate)); 112 m_box.style()->boxReflect()->offset(), Length(0, Fixed), TransformOperation::Translate)); 119 Length(0, Fixed), TransformOperation::Translate)); 121 m_box.style()->boxReflect()->offset(), Length(0, Fixed), TransformOperation::Translate));
|
RenderMedia.cpp | 68 controlsRenderer->style()->setHeight(Length(newSize.height(), Fixed)); 69 controlsRenderer->style()->setWidth(Length(newSize.width(), Fixed));
|
RenderThemeChromiumAndroid.cpp | 79 style->setWidth(Length(size.width(), Fixed)); 80 style->setMinWidth(Length(size.width(), Fixed));
|
RenderFullScreen.cpp | 103 fullscreenStyle->setLeft(Length(0, WebCore::Fixed)); 104 fullscreenStyle->setTop(Length(0, WebCore::Fixed)); 184 style->setWidth(Length(frameRect.width(), Fixed)); 186 style->setHeight(Length(frameRect.height(), Fixed));
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/math/ |
fixed1616.h | 26 static inline int32_t Integral(int32_t fixed) { 27 return (fixed >> 16); 30 static inline int32_t Fractional(int32_t fixed) { 31 return (fixed & 0xffff); 34 static inline int32_t Fixed(int32_t integral, int32_t fractional) {
|
/external/sfntly/cpp/src/sfntly/math/ |
fixed1616.h | 26 static inline int32_t Integral(int32_t fixed) { 27 return (fixed >> 16); 30 static inline int32_t Fractional(int32_t fixed) { 31 return (fixed & 0xffff); 34 static inline int32_t Fixed(int32_t integral, int32_t fractional) {
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
plasma.c | 48 * For better performance on all platforms, we're going to use fixed-point 52 typedef int32_t Fixed; 61 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE)) 73 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f))) 93 # define ANGLE_TO_FIXED(x) (Fixed)((x) << (FIXED_BITS - ANGLE_BITS)) 96 # define ANGLE_TO_FIXED(x) (Fixed)((x) >> (ANGLE_BITS - FIXED_BITS)) 99 static Fixed angle_sin_tab[ANGLE_2PI+1]; 110 static __inline__ Fixed angle_sin( Angle a ) 115 static __inline__ Fixed angle_cos( Angle a ) 120 static __inline__ Fixed fixed_sin( Fixed f [all...] |
/development/ndk/platforms/android-9/samples/native-plasma/jni/ |
plasma.c | 53 * For better performance on all platforms, we're going to use fixed-point 57 typedef int32_t Fixed; 66 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE)) 78 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f))) 98 # define ANGLE_TO_FIXED(x) (Fixed)((x) << (FIXED_BITS - ANGLE_BITS)) 101 # define ANGLE_TO_FIXED(x) (Fixed)((x) >> (ANGLE_BITS - FIXED_BITS)) 104 static Fixed angle_sin_tab[ANGLE_2PI+1]; 115 static __inline__ Fixed angle_sin( Angle a ) 120 static __inline__ Fixed angle_cos( Angle a ) 125 static __inline__ Fixed fixed_sin( Fixed f [all...] |
/external/deqp/modules/glshared/ |
glsVertexArrayTests.hpp | 315 class Fixed 318 static Fixed create (deInt32 value) { Fixed v; v.m_value = value; return v; } 321 inline Fixed operator+ (const Fixed& other) const { return create(m_value + other.getValue()); } 322 inline Fixed operator* (const Fixed& other) const { return create(m_value * other.getValue()); } 323 inline Fixed operator/ (const Fixed& other) const { return create(m_value / other.getValue()); } 324 inline Fixed operator- (const Fixed& other) const { return create(m_value - other.getValue()); [all...] |
/external/chromium_org/media/base/ |
audio_bus.cc | 38 // |Format| is the destination type. If a bias is present, |Fixed| must be a 40 // overflowing. Without a bias |Fixed| must be the same as |Format|. 41 template<class Format, class Fixed, Format Bias> 45 COMPILE_ASSERT((Bias == 0 && sizeof(Fixed) == sizeof(Format)) || 46 sizeof(Fixed) > sizeof(Format), invalid_deinterleave_types); 53 const Fixed v = static_cast<Fixed>(source[offset]) - Bias; 59 // |Format| is the destination type. If a bias is present, |Fixed| must be a 61 // overflowing. Without a bias |Fixed| must be the same as |Format|. 62 template<class Format, class Fixed, Format Bias [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
endian_test.cc | 35 0x00, 0x01, 0x00, 0x00 // 24: fixed 52 EXPECT_EQ(rfd->ReadFixed(24), Fixed1616::Fixed(1, 0)); 67 fos.WriteFixed(Fixed1616::Fixed(1, 0));
|
/external/sfntly/cpp/src/test/ |
endian_test.cc | 35 0x00, 0x01, 0x00, 0x00 // 24: fixed 52 EXPECT_EQ(rfd->ReadFixed(24), Fixed1616::Fixed(1, 0)); 67 fos.WriteFixed(Fixed1616::Fixed(1, 0));
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
TransformOperationsTest.cpp | 82 fromOps.operations().append(TranslateTransformOperation::create(Length(-30, WebCore::Fixed), Length(20, WebCore::Fixed), 15, TransformOperation::Translate3D)); 83 toOps.operations().append(TranslateTransformOperation::create(Length(10, WebCore::Fixed), Length(10, WebCore::Fixed), 200, TransformOperation::Translate3D)); 123 fromOps.operations().append(TranslateTransformOperation::create(Length(testTransforms[i][0][0], WebCore::Fixed), Length(testTransforms[i][0][1], WebCore::Fixed), testTransforms[i][0][2], TransformOperation::Translate3D)); 124 toOps.operations().append(TranslateTransformOperation::create(Length(testTransforms[i][1][0], WebCore::Fixed), Length(testTransforms[i][1][1], WebCore::Fixed), testTransforms[i][1][2], TransformOperation::Translate3D)); 178 fromOps.operations().append(TranslateTransformOperation::create(Length(testTransforms[i][0][0], WebCore::Fixed), Length(testTransforms[i][0][1], WebCore::Fixed), testTransforms[i][0][2], TransformOperation::Translate3D)) [all...] |