Searched defs:Round (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/profiles/
H A Davatar_menu_button.cc26 static inline int Round(double x) { function
74 // Round here so that we minimize the aspect ratio drift.
75 int dst_height = Round(button_icon_.height() * scale);
76 // Round rather than truncating, so that for odd heights we select an extra
80 int dst_y = Round((height() - dst_height) / 2.0);
H A Davatar_menu_bubble_view.cc56 inline int Round(double x) { function in namespace:__anon5324
69 scaled_height = Round(src_height * scale);
74 scaled_width = Round(src_width * scale);
/external/chromium_org/cc/base/
H A Dmath_util.h90 static float Round(float f) { function in class:cc::MathUtil
93 static double Round(double d) { function in class:cc::MathUtil
/external/chromium_org/printing/
H A Dprinting_context_android.cc26 inline int Round(double x) { function in namespace:__anon10346
128 width = Round(ConvertUnitDouble(width, kInchToMil, 1.0) * dpi);
129 height = Round(ConvertUnitDouble(height, kInchToMil, 1.0) * dpi);
/external/chromium_org/ui/gfx/
H A Dtransform_util.cc59 SkMScalar Round(SkMScalar n) { function in namespace:gfx::__anon16914
136 decomp.translate[0] = Round(decomp.translate[0]);
137 decomp.translate[1] = Round(decomp.translate[1]);
138 decomp.translate[2] = Round(decomp.translate[2]);
215 decomp.scale[0] = Round(decomp.scale[0]);
216 decomp.scale[1] = Round(decomp.scale[1]);
217 decomp.scale[2] = Round(decomp.scale[2]);
/external/llvm/include/llvm/Support/
H A DScaledNumber.h204 // Round based on the next digit.
206 bool Round = Digits & UINT64_C(1) << (LocalFloor - 1); local
207 return std::make_pair(Floor + Round, Round ? 1 : -1);
717 static ScaledNumber getRounded(ScaledNumber P, bool Round) { argument
722 return ScaledNumbers::getRounded(P.Digits, P.Scale, Round);
/external/chromium_org/components/autofill/core/browser/webdata/
H A Dautofill_table.cc62 int Round(float f) { function in namespace:autofill::__anon6349
653 Round(1.0 * (count - 1) *
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_strip.cc91 static inline int Round(double x) { function in namespace:__anon5364
2356 int rounded_tab_x = Round(tab_x);
2359 gfx::Rect(rounded_tab_x, 0, Round(end_of_tab) - rounded_tab_x,
2366 if ((Tab::GetStandardSize().width() - Round(current_unselected_width_)) > 1 &&
2373 new_tab_x = Round(tab_x - kTabHorizontalOffset) +
/external/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp3076 class Round : public FloatFunc1 class in namespace:deqp::gls::BuiltinPrecisionTests::Functions
5113 addScalarFactory<Round>(*funcs);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp7181 SDValue Round = DAG.getConstantFP(*N0CFP->getConstantFPValue(), EVT); local
7182 return DAG.getNode(ISD::FP_EXTEND, SDLoc(N), VT, Round);
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2162 /// EnsureStackAlignment - Round stack frame size up from NumBytes to
5181 SDValue Round = DAG.getNode(ISD::AND, dl, MVT::i64, local
5183 Round = DAG.getNode(ISD::ADD, dl, MVT::i64,
5184 Round, DAG.getConstant(2047, MVT::i64));
5185 Round = DAG.getNode(ISD::OR, dl, MVT::i64, Round, SINT);
5186 Round = DAG.getNode(ISD::AND, dl, MVT::i64,
5187 Round, DAG.getConstant(-2048, MVT::i64));
5204 SINT = DAG.getNode(ISD::SELECT, dl, MVT::i64, Cond, Round, SINT);
5279 00 Round t
[all...]

Completed in 305 milliseconds