Home
last modified time | relevance | path

Searched refs:padLeft (Results 1 – 25 of 51) sorted by relevance

123

/third_party/flutter/skia/gm/
Dlattice.cpp25 static sk_sp<SkSurface> make_surface(SkCanvas* root, int N, int padLeft, int padTop, in make_surface() argument
27 SkImageInfo info = SkImageInfo::MakeN32Premul(N + padLeft + padRight, N + padTop + padBottom); in make_surface()
31 static sk_sp<SkImage> make_image(SkCanvas* root, int* xDivs, int* yDivs, int padLeft, int padTop, in make_image() argument
37 auto surface(make_surface(root, kSize, padLeft, padTop, padRight, padBottom)); in make_image()
39 canvas->translate((float) padLeft, (float) padTop); in make_image()
45 xDivs[0] = kCap + padLeft; in make_image()
47 xDivs[1] = kCap + kMid + padLeft; in make_image()
49 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
51 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
106 void onDrawHelper(SkCanvas* canvas, int padLeft, int padTop, int padRight, int padBottom) { in onDrawHelper() argument
[all …]
/third_party/skia/gm/
Dlattice.cpp26 static sk_sp<SkSurface> make_surface(SkCanvas* root, int N, int padLeft, int padTop, in make_surface() argument
28 SkImageInfo info = SkImageInfo::MakeN32Premul(N + padLeft + padRight, N + padTop + padBottom); in make_surface()
32 static sk_sp<SkImage> make_image(SkCanvas* root, int* xDivs, int* yDivs, int padLeft, int padTop, in make_image() argument
38 auto surface(make_surface(root, kSize, padLeft, padTop, padRight, padBottom)); in make_image()
40 canvas->translate((float) padLeft, (float) padTop); in make_image()
46 xDivs[0] = kCap + padLeft; in make_image()
48 xDivs[1] = kCap + kMid + padLeft; in make_image()
50 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
52 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
107 void onDrawHelper(GrDirectContext* dContext, SkCanvas* canvas, int padLeft, int padTop, in onDrawHelper() argument
[all …]
/third_party/typescript/src/jsTyping/
Dshared.ts60 …n `${padLeft(d.getHours().toString(), 2, "0")}:${padLeft(d.getMinutes().toString(), 2, "0")}:${pad…
/third_party/node/deps/npm/node_modules/gauge/
Dtemplate-item.js25 this.padLeft = 0
61 return length + this.padLeft + this.padRight
66 return this.maxLength + this.padLeft + this.padRight
71 return this.minLength + this.padLeft + this.padRight
Drender-template.js111 if (!item.first && prevPadRight < item.kerning) item.padLeft = item.kerning - prevPadRight
176 var leftPadding = item.padLeft ? align.left('', item.padLeft) : ''
/third_party/node/deps/npm/node_modules/wide-align/
Dalign.js54 var padLeft = ''
60 padLeft = createPadding(padLeftBy)
64 return padLeft + trimmed + padRight
/third_party/node/deps/npm/node_modules/columnify/
Dutils.js64 function padLeft(str, max, chr) { function
190 module.exports.padLeft = padLeft
Dcolumnify.js9 var padLeft = _require.padLeft; variable
229 …if (column.align === 'right') row[i].push(padLeft(val, column.width, paddingChr));else if (column.…
Dindex.js7 padLeft,
219 if (column.align === 'right') row[i].push(padLeft(val, column.width, paddingChr))
/third_party/skia/third_party/externals/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DTriggerPad.kt90 var padLeft = getPaddingLeft() in onSizeChanged() variable
95 mDrawRect.set(padLeft.toFloat(), in onSizeChanged()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DDataDisplayTable.java306 return padLeft(s, minLength); in padString()
322 private static String padLeft(String s, int minLength) { in padLeft() method in DataDisplayTable
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DDataDisplayTable.java306 return padLeft(s, minLength); in padString()
322 private static String padLeft(String s, int minLength) { in padLeft() method in DataDisplayTable
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/cupertino/
Dcupertino_picker_demo.dart143 '${(timer.inMinutes % 60).toString().padLeft(2,'0')}:'
144 '${(timer.inSeconds % 60).toString().padLeft(2,'0')}',
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/
Dlogger.dart423 prefix = ''.padLeft(prefixWidth);
425 prefix = '+$millis ms'.padLeft(prefixWidth);
431 final String indent = ''.padLeft(prefix.length);
595 stdout.write(elapsedTime.padLeft(_kTimePadding));
775 stdout.write(elapsedTime.padLeft(_kTimePadding));
Dutils.dart109 final String name = '${baseName}_${i.toString().padLeft(2, '0')}.$ext';
245 value.toRadixString(16).padLeft(count, '0');
/third_party/flutter/flutter/dev/tools/
Dmega_gallery.dart162 String toString() => '${_comma(files).padLeft(3)} files, ${_comma(lines).padLeft(6)} lines';
/third_party/flutter/flutter/dev/tools/gen_keycodes/lib/
Dutils.dart105 return '0x${value.toRadixString(16).padLeft(digits, '0')}';
/third_party/flutter/flutter/packages/flutter/test/material/
Dtabs_test.dart1118 const double padLeft = 8.0;
1137 indicatorPadding: const EdgeInsets.only(left: padLeft, right: padRight),
1149 double indicatorLeft = padLeft + indicatorWeight / 2.0;
1163 indicatorLeft = 600.0 + padLeft + indicatorWeight / 2.0;
1177 const double padLeft = 8.0;
1197 indicatorPadding: const EdgeInsets.only(left: padLeft, right: padRight),
1210 double indicatorLeft = 600.0 + padLeft + indicatorWeight / 2.0;
1224 indicatorLeft = padLeft + indicatorWeight / 2.0;
1247 double padLeft = 8.0;
1257 indicatorPadding: EdgeInsets.only(left: padLeft, right: padRight),
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dicon_data.dart67 String toString() => 'IconData(U+${codePoint.toRadixString(16).toUpperCase().padLeft(5, '0')})';
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/
Dcolors_demo.dart58 String colorString() => "#${color.value.toRadixString(16).padLeft(8, '0').toUpperCase()}";
/third_party/flutter/flutter/packages/flutter_tools/lib/src/dart/
Danalysis.dart221 // Can't use "padLeft" because of ANSI color sequences in the colorized
/third_party/flutter/engine/flutter/lib/web_ui/tool/
Dunicode_sync_script.dart188 return '0x${value.toRadixString(16).padLeft(4, '0').toUpperCase()}';
/third_party/flutter/flutter/dev/tools/gen_keycodes/data/
Dkeyboard_key.tmpl244 …properties.add(StringProperty('keyId', '0x${keyId.toRadixString(16).padLeft(8, '0')}', showName: t…
439 …properties.add(StringProperty('usbHidUsage', '0x${usbHidUsage.toRadixString(16).padLeft(8, '0')}',…
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Dtest_compat.dart470 final String minutes = duration.inMinutes.toString().padLeft(2, '0');
471 final String seconds = (duration.inSeconds % 60).toString().padLeft(2, '0');
/third_party/flutter/flutter/packages/flutter_tools/test/integration.shard/
Dtest_driver.dart68 String time = timeInSeconds.toString().padLeft(5) + 's ';
381 final String formattedLine = '[+ ${ms.toString().padLeft(5)}] $logLine';

123