/third_party/libinput/src/ |
H A D | filter-touchpad.c | 151 /* We need to use the same baseline here as the accelerated code, in touchpad_constant_filter() 155 * This is a hack, the baseline should be incorporated into the in touchpad_constant_filter() 159 const double baseline = 0.9; in touchpad_constant_filter() local 162 normalized.x = baseline * TP_MAGIC_SLOWDOWN * normalized.x; in touchpad_constant_filter() 163 normalized.y = baseline * TP_MAGIC_SLOWDOWN * normalized.y; in touchpad_constant_filter() 198 const double baseline = 0.9; in touchpad_accel_profile_linear() local 233 The first plateau is the baseline. in touchpad_accel_profile_linear() 250 factor = min(baseline, 0.1 * speed_in + 0.3); in touchpad_accel_profile_linear() 253 factor = baseline; in touchpad_accel_profile_linear() 270 factor = 0.0025 * (speed_in/threshold) * (speed_in - threshold) + baseline; in touchpad_accel_profile_linear() [all...] |
/third_party/skia/samplecode/ |
H A D | SampleGlyphTransform.cpp | 41 double baseline = this->height() / 2; variable 42 canvas->drawLine(0, baseline, this->width(), baseline, paint); 47 ctm.postTranslate(fTranslate.fX + this->width() * 0.8, fTranslate.fY + baseline);
|
/third_party/skia/tools/calmbench/ |
H A D | calmbench.py | 47 'another baseline branch (e.g., main) using multiple ' + 64 'baseline branch to compare against (default: %(default)s)') 66 'nanobench arg for the baseline branch; if not given, we use ' 67 ' the same arg for both the test branch and the baseline branch') 75 'whether NOT to run nanobench on baseline branch ' 76 '(i.e., reuse previous baseline measurements)') 90 ['--baseline', str, 'main', baseline_help], 159 ['cp', args.ninjadir + '/nanobench', nano_path(args, args.baseline)], 168 compile_branch(args, args.baseline) 186 args.branch + ("_A" if args.branch == args.baseline els [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ci/ |
H A D | radeonsi-run-tests.py | 86 "--baseline", 87 dest="baseline", 184 base = args.baseline 342 # select the best baseline we can find 347 # 2. any baseline with the same gfx_level 361 baseline = select_baseline(base, gfx_level, gpu_name) variable 366 if os.path.exists(baseline): 367 print_yellow("Baseline: {}\n".format(baseline), args.verbose > 0) 396 if os.path.exists(baseline): 397 cmd += ["--baseline", baselin [all...] |
/third_party/skia/modules/skparagraph/src/ |
H A D | Decorations.cpp | 32 void Decorations::paint(ParagraphPainter* painter, const TextStyle& textStyle, const TextLine::ClipContext& context, SkScalar baseline) { in paint() argument 87 calculateGaps(context, SkRect::MakeXYWH(left, y, width, fThickness), baseline, fThickness, textStyle); in paint() 89 calculateGaps(context, SkRect::MakeXYWH(left, bottom, width, fThickness), baseline, in paint() 103 calculateGaps(context, SkRect::MakeXYWH(left, y, width, fThickness), baseline, fThickness, textStyle); in paint() 114 calculateGaps(context, rect, baseline, fThickness, textStyle); in paint() 156 SkScalar baseline, SkScalar halo, const TextStyle& textStyle) { in calculateGaps() 165 SkScalar top = textStyle.getHeight() != 0 ? this->fDecorationContext.textBlobTop + baseline : rect.fTop; in calculateGaps() 166 // Since we do not shift down the text by {baseline} in calculateGaps() 169 // This baseline thing ends with getIntercepts in calculateGaps() 170 const SkScalar bounds[2] = {top - baseline, to in calculateGaps() 155 calculateGaps(const TextLine::ClipContext& context, const SkRect& rect, SkScalar baseline, SkScalar halo, const TextStyle& textStyle) calculateGaps() argument [all...] |
H A D | Decorations.h | 15 void paint(ParagraphPainter* painter, const TextStyle& textStyle, const TextLine::ClipContext& context, SkScalar baseline); 39 void calculateGaps(const TextLine::ClipContext& context, const SkRect& rect, SkScalar baseline,
|
/third_party/benchmark/tools/ |
H A D | compare.py | 92 baseline = parser_a.add_argument_group( 93 'baseline', 'The benchmark baseline') 94 baseline.add_argument( 101 'contender', 'The benchmark that will be compared against the baseline') 116 baseline = parser_b.add_argument_group( 117 'baseline', 'The benchmark baseline') 118 baseline.add_argument( 124 baseline [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/ |
H A D | ViewableTaggedData.java | 75 private int baseline; // distance from bottom up to baseline field in ViewableTaggedData.Metrics 76 private int xHeight; // distance from baseline up to xHeight 97 lineHeight = baseline = xHeight = 0; in zero() 367 int baseline = (int) Math.ceil(Math.max(dataMetrics.getDescent() + dataMetrics.getLeading(), in measureLineHeight() 370 labelMetrics.getAscent() - labelMetrics.getLeading()) / 2.0 - baseline); in measureLineHeight() 373 metrics.baseline = baseline; in measureLineHeight() 437 int srcy = ref.srcy - metrics.baseline - metrics.xHeight; in drawRef() 439 int trgy = ref.trgy - metrics.baseline in drawRef() [all...] |
/third_party/node/deps/v8/src/baseline/ |
H A D | baseline.cc | 5 #include "src/baseline/baseline.h" 10 // TODO(v8:11421): Remove #if once baseline compiler is ported to other 15 #include "src/baseline/baseline-assembler-inl.h" 16 #include "src/baseline/baseline-compiler.h" 28 // Check that baseline compiler is enabled. in CanCompileWithBaseline() 46 // Functions with instrumented bytecode can't be baseline compiled since the in CanCompileWithBaseline() 47 // baseline cod in CanCompileWithBaseline() [all...] |
H A D | baseline-batch-compiler.h | 15 namespace baseline { namespace 76 } // namespace baseline
|
H A D | bytecode-offset-iterator.cc | 5 #include "src/baseline/bytecode-offset-iterator.h" 11 namespace baseline { namespace 63 } // namespace baseline
|
H A D | bytecode-offset-iterator.h | 19 namespace baseline { namespace 94 } // namespace baseline
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-lazy-gen.cc | 152 Label tailcall_code(this), baseline(this); in CompileLazy() 155 // Check if we have baseline code. in CompileLazy() 156 GotoIf(InstanceTypeEqual(sfi_data_type.value(), CODET_TYPE), &baseline); in CompileLazy() local 161 BIND(&baseline); in CompileLazy()
|
/third_party/skia/experimental/sktext/src/ |
H A D | Line.h | 48 SkScalar baseline() const { in baseline() function in skia::text::TextMetrics 186 SkScalar baseline() const { return fTextMetrics.baseline(); } in baseline() function in skia::text::LogicalLine
|
H A D | VisualRun.h | 123 SkScalar baseline() const { return fTextMetrics.baseline(); } in baseline() function in skia::text::VisualLine
|
/third_party/toybox/ |
H A D | Makefile | 21 .PHONY: clean distclean baseline bloatcheck install install_flat \ 39 baseline: generated/unstripped/toybox
|
/third_party/toybox/porting/liteos_a/ |
H A D | Makefile | 21 .PHONY: clean distclean baseline bloatcheck install install_flat \ 39 baseline: generated/unstripped/toybox
|
/third_party/skia/modules/canvaskit/ |
H A D | paragraph_bindings.cpp | 308 m.set("baseline", metric.fBaseline); in GetLineMetrics() 326 float baseline = 0; in GetShapedLines() member 349 jline.set("top", accum.baseline + accum.minAscent); in GetShapedLines() 350 jline.set("bottom", accum.baseline + accum.maxDescent); in GetShapedLines() 351 jline.set("baseline", accum.baseline); in GetShapedLines() 403 accum.baseline = info->origin.fY; in GetShapedLines() 547 para::TextBaseline baseline, in EMSCRIPTEN_BINDINGS() 549 para::PlaceholderStyle ps(width, height, alignment, baseline, offset); in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/modules/skparagraph/include/ |
H A D | TextStyle.h | 95 /// Match the baseline of the placeholder with the baseline. 98 /// Align the bottom edge of the placeholder with the baseline such that the 99 /// placeholder sits on top of the baseline. 102 /// Align the top edge of the placeholder with the baseline specified in 103 /// such that the placeholder hangs below the baseline. 134 TextBaseline baseline, SkScalar offset) in PlaceholderStyle() 138 , fBaseline(baseline) in PlaceholderStyle() 147 // Distance from the top edge of the rect to the baseline position. This 148 // baseline wil 326 setTextBaseline(TextBaseline baseline) setTextBaseline() argument [all...] |
/third_party/node/deps/v8/src/baseline/ppc/ |
H A D | baseline-compiler-ppc-inl.h | 9 #include "src/baseline/baseline-compiler.h" 13 namespace baseline { namespace 23 } // namespace baseline
|
/third_party/node/test/pummel/ |
H A D | test-vm-memleak.js | 48 `memory usage: ${rss} baseline: ${baselineRss}`);
|
/third_party/rust/crates/syn/benches/ |
H A D | file.rs | 39 fn baseline(b: &mut Bencher) { in baseline() functions
|
/third_party/toybox/toys/posix/ |
H A D | grep.c | 197 int baseline = mm->rm_eo; in do_grep() local 205 shoe->m.rm_so -= baseline; in do_grep() 206 shoe->m.rm_eo -= baseline; in do_grep()
|
/third_party/node/deps/v8/src/baseline/loong64/ |
H A D | baseline-compiler-loong64-inl.h | 9 #include "src/baseline/baseline-compiler.h" 13 namespace baseline { namespace 73 } // namespace baseline
|
/third_party/node/deps/v8/src/baseline/riscv64/ |
H A D | baseline-compiler-riscv64-inl.h | 8 #include "src/baseline/baseline-compiler.h" 12 namespace baseline { namespace 75 } // namespace baseline
|