Searched refs:Scale (Results 1 - 25 of 244) sorted by relevance

12345678910

/external/chromium_org/third_party/skia/include/core/
H A DSkUnPreMultiply.h20 typedef uint32_t Scale; typedef in class:SkUnPreMultiply
23 static const Scale* GetScaleTable() {
27 static Scale GetScale(U8CPU alpha) {
34 const Scale* table = SkUnPreMultiply::GetScaleTable();
38 SkUnPreMultiply::Scale scale = table[a];
45 static U8CPU ApplyScale(Scale scale, U8CPU component) {
/external/skia/include/core/
H A DSkUnPreMultiply.h20 typedef uint32_t Scale; typedef in class:SkUnPreMultiply
23 static const Scale* GetScaleTable() {
27 static Scale GetScale(U8CPU alpha) {
34 const Scale* table = SkUnPreMultiply::GetScaleTable();
38 SkUnPreMultiply::Scale scale = table[a];
45 static U8CPU ApplyScale(Scale scale, U8CPU component) {
/external/chromium_org/ui/gfx/
H A Dinsets.h31 Insets Scale(float scale) const { function in class:gfx::Insets
32 return Scale(scale, scale);
35 Insets Scale(float x_scale, float y_scale) const { function in class:gfx::Insets
H A Dsize_f.h23 void Scale(float scale) { function in class:gfx::SizeF
24 Scale(scale, scale);
27 void Scale(float x_scale, float y_scale) { function in class:gfx::SizeF
H A Dpoint_f.cc19 scaled_p.Scale(x_scale, y_scale);
H A Dsize_f.cc19 scaled_s.Scale(x_scale, y_scale);
H A Dpoint3_unittest.cc49 TEST(Point3Test, Scale) {
60 zero.Scale(2.f);
61 zero.Scale(6.f, 3.f, 1.5f);
65 point.Scale(2.f);
66 point.Scale(6.f, 3.f, 1.5f);
H A Dpoint_f.h23 void Scale(float scale) { function in class:gfx::PointF
24 Scale(scale, scale);
27 void Scale(float x_scale, float y_scale) { function in class:gfx::PointF
H A Dvector2d_f.cc39 void Vector2dF::Scale(float x_scale, float y_scale) { function in class:gfx::Vector2dF
56 scaled_v.Scale(x_scale, y_scale);
H A Dquad_f.cc94 void QuadF::Scale(float x_scale, float y_scale) { function in class:gfx::QuadF
95 p1_.Scale(x_scale, y_scale);
96 p2_.Scale(x_scale, y_scale);
97 p3_.Scale(x_scale, y_scale);
98 p4_.Scale(x_scale, y_scale);
H A Dpoint3_f.h27 void Scale(float scale) { function in class:gfx::Point3F
28 Scale(scale, scale, scale);
31 void Scale(float x_scale, float y_scale, float z_scale) { function in class:gfx::Point3F
H A Dvector2d_f.h56 // Scale the x and y components of the vector by |scale|.
57 void Scale(float scale) { Scale(scale, scale); } function in class:gfx::Vector2dF
58 // Scale the x and y components of the vector by |x_scale| and |y_scale|
60 void Scale(float x_scale, float y_scale);
H A Dvector3d_f.h64 // Scale all components of the vector by |scale|.
65 void Scale(float scale) { Scale(scale, scale, scale); } function in class:gfx::Vector3dF
66 // Scale the each component of the vector by the given scale factors.
67 void Scale(float x_scale, float y_scale, float z_scale);
/external/llvm/lib/Target/X86/
H A DX86InstrBuilder.h20 // (Operand), Base, Scale, Index, Displacement.
48 unsigned Scale; member in struct:llvm::X86AddressMode
55 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(0), GVOpFlags(0) {
61 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8);
71 MO.push_back(MachineOperand::CreateImm(Scale));
124 assert(AM.Scale == 1 || AM.Scale
[all...]
/external/chromium_org/cc/debug/
H A Ddebug_colors.cc11 static float Scale(float width, const LayerTreeImpl* tree_impl) { function in namespace:cc
22 return Scale(2, tree_impl);
30 return Scale(2, tree_impl);
38 return Scale(2, tree_impl);
46 return Scale(20, tree_impl);
54 return Scale(2, tree_impl);
62 return Scale(2, tree_impl);
70 return Scale(2, tree_impl);
80 return Scale(1, tree_impl);
88 return Scale(
[all...]
/external/llvm/lib/CodeGen/
H A DMachineBranchProbabilityInfo.cpp32 getSumForBlock(const MachineBasicBlock *MBB, uint32_t &Scale) const {
38 Scale = 1;
52 Scale = (Sum / UINT32_MAX) + 1;
57 Sum += Weight / Scale;
109 uint32_t Scale = 1; local
110 uint32_t D = getSumForBlock(Src, Scale);
111 uint32_t N = getEdgeWeight(Src, Dst) / Scale;
/external/chromium_org/native_client_sdk/src/examples/demo/flock/
H A Dgoose.cc109 separation.Scale(1.0 / static_cast<double>(separation_count));
112 alignment.Scale(1.0 / static_cast<double>(align_count));
127 attractor_direction.Scale(1000); // Each attractor acts like 1000 geese.
136 cohesion.Scale(1.0 / static_cast<double>(cohesion_count));
140 separation.Scale(kSeparationWeight);
141 alignment.Scale(kAlignmentWeight);
142 cohesion.Scale(kCohesionWeight);
160 desired_direction.Scale(kMaxSpeed * distance / 100.0);
162 desired_direction.Scale(kMaxSpeed);
177 weighted_direction.Scale(1.
[all...]
H A Dvector2.h44 Scale(1.0 / mag);
47 // Scale the vector in-place by |scale|.
48 void Scale(double scale) { function in class:Vector2
58 Scale(max_mag / mag); // Does Normalize() followed by Scale(max_mag).
/external/chromium_org/net/quic/
H A Dquic_bandwidth_test.cc60 TEST_F(QuicBandwidthTest, Scale) {
62 QuicBandwidth::FromKBytesPerSecond(1000).Scale(0.5f));
64 QuicBandwidth::FromKBytesPerSecond(1000).Scale(0.75f));
66 QuicBandwidth::FromKBytesPerSecond(1000).Scale(1.25f));
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderLayerReflectionInfo.cpp97 transform.operations().append(ScaleTransformOperation::create(1.0, -1.0, ScaleTransformOperation::Scale));
101 transform.operations().append(ScaleTransformOperation::create(1.0, -1.0, ScaleTransformOperation::Scale));
113 transform.operations().append(ScaleTransformOperation::create(-1.0, 1.0, ScaleTransformOperation::Scale));
117 transform.operations().append(ScaleTransformOperation::create(-1.0, 1.0, ScaleTransformOperation::Scale));
/external/chromium_org/cc/base/
H A Dfloat_quad_unittest.cc23 rectilinear_trans[6].Scale(0.00001f, 0.00001f);
25 rectilinear_trans[7].Scale(100000.f, 100000.f);
/external/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp170 int64_t Scale; member in struct:__anon21995::VariableGEPIndex
174 Scale == Other.Scale;
192 static Value *GetLinearExpression(Value *V, APInt &Scale, APInt &Offset, argument
199 Scale = 1;
215 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
220 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
223 Scale *= RHSC->getValue();
226 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
229 Scale <<
352 uint64_t Scale = TD->getTypeAllocSize(*GTI); local
418 int64_t Scale = Src[i].Scale; local
[all...]
/external/llvm/lib/Target/ARM/
H A DThumb1RegisterInfo.cpp144 unsigned NumBits, unsigned Scale) {
146 unsigned Chunk = ((1 << NumBits) - 1) * Scale;
153 Scale = 1; // Followed by a number of tADDi8.
154 Chunk = ((1 << NumBits) - 1) * Scale;
181 unsigned Scale = 1;
189 Scale = 4;
202 Scale = 4;
215 Scale = 4;
224 unsigned NumMIs = calcNumMI(Opc, ExtraOpc, Bytes, NumBits, Scale);
254 unsigned Chunk = ((1 << NumBits) - 1) * Scale;
143 calcNumMI(int Opc, int ExtraOpc, unsigned Bytes, unsigned NumBits, unsigned Scale) argument
445 unsigned Scale = 4; variable
[all...]
/external/chromium_org/third_party/skia/src/images/
H A Dtransform_scanline.h89 const SkUnPreMultiply::Scale* SK_RESTRICT table =
100 SkUnPreMultiply::Scale scale = table[a];
119 const SkUnPreMultiply::Scale* SK_RESTRICT table =
130 SkUnPreMultiply::Scale scale = table[a];
/external/chromium_org/ui/compositor/
H A Dtransform_animation_curve_adapter_unittest.cc21 parent_start.Scale(0.5, 3.0);

Completed in 533 milliseconds

12345678910