Home
last modified time | relevance | path

Searched refs:isDark (Results 1 – 14 of 14) sorted by relevance

/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/
DQRUtil.js177 var dark = qrCode.isDark(row, col);
195 if (dark === qrCode.isDark(row + r, col + c) ) {
212 if (qrCode.isDark(row, col ) ) count++;
213 if (qrCode.isDark(row + 1, col ) ) count++;
214 if (qrCode.isDark(row, col + 1) ) count++;
215 if (qrCode.isDark(row + 1, col + 1) ) count++;
226 if (qrCode.isDark(row, col) &&
227 !qrCode.isDark(row, col + 1) &&
228 qrCode.isDark(row, col + 2) &&
229 qrCode.isDark(row, col + 3) &&
[all …]
Dindex.js42 isDark : function(row, col) { method in QRCode
/third_party/flutter/flutter/examples/flutter_gallery/lib/gallery/
Dhome.dart56 final bool isDark = theme.brightness == Brightness.dark;
76 color: isDark ? Colors.white : _kFlutterBlue,
88 color: isDark ? Colors.white : _kFlutterBlue,
185 final bool isDark = theme.brightness == Brightness.dark;
192 color: isDark ? Colors.white : const Color(0xFF202124),
201 color: isDark ? Colors.white : const Color(0xFF60646B)
225 color: isDark ? Colors.white : _kFlutterBlue,
327 final bool isDark = theme.brightness == Brightness.dark;
336 backgroundColor: isDark ? _kFlutterBlue : theme.primaryColor,
Doptions.dart127 final bool isDark = Theme.of(context).brightness == Brightness.dark;
137 activeTrackColor: isDark ? Colors.white30 : Colors.black26,
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dcolor_scheme.dart125 final bool isDark = brightness == Brightness.dark;
127 final Color secondary = accentColor ?? (isDark ? Colors.tealAccent[200] : primarySwatch);
132 primaryVariant: primaryColorDark ?? (isDark ? Colors.black : primarySwatch[700]),
134 secondaryVariant: isDark ? Colors.tealAccent[700] : primarySwatch[700],
135 surface: cardColor ?? (isDark ? Colors.grey[800] : Colors.white),
136 background: backgroundColor ?? (isDark ? Colors.grey[700] : primarySwatch[200]),
140 onSurface: isDark ? Colors.white : Colors.black,
142 onError: isDark ? Colors.black : Colors.white,
Dtheme_data.dart185 final bool isDark = brightness == Brightness.dark;
187 primaryColor ??= isDark ? Colors.grey[900] : primarySwatch;
189 primaryColorLight ??= isDark ? Colors.grey[500] : primarySwatch[100];
190 primaryColorDark ??= isDark ? Colors.black : primarySwatch[700];
192 toggleableActiveColor ??= isDark ? Colors.tealAccent[200] : (accentColor ?? primarySwatch[600]);
193 accentColor ??= isDark ? Colors.tealAccent[200] : primarySwatch[500];
196 canvasColor ??= isDark ? Colors.grey[850] : Colors.grey[50];
198 bottomAppBarColor ??= isDark ? Colors.grey[800] : Colors.white;
199 cardColor ??= isDark ? Colors.grey[800] : Colors.white;
200 dividerColor ??= isDark ? const Color(0x1FFFFFFF) : const Color(0x1F000000);
[all …]
Dswitch.dart211 final bool isDark = theme.brightness == Brightness.dark;
220 …inactiveThumbColor = widget.inactiveThumbColor ?? (isDark ? Colors.grey.shade400 : Colors.grey.sha…
221 inactiveTrackColor = widget.inactiveTrackColor ?? (isDark ? Colors.white30 : black32);
223 …inactiveThumbColor = widget.inactiveThumbColor ?? (isDark ? Colors.grey.shade800 : Colors.grey.sha…
224 inactiveTrackColor = widget.inactiveTrackColor ?? (isDark ? Colors.white10 : Colors.black12);
Dpopup_menu.dart272 final bool isDark = theme.brightness == Brightness.dark;
274 data: IconThemeData(opacity: isDark ? 0.5 : 0.38),
/third_party/qrcodegen/c/
Dqrcodegen.c80 testable void setModule(uint8_t qrcode[], int x, int y, bool isDark);
81 testable void setModuleBounded(uint8_t qrcode[], int x, int y, bool isDark);
777 testable void setModule(uint8_t qrcode[], int x, int y, bool isDark) { in setModule() argument
783 if (isDark) in setModule()
791 testable void setModuleBounded(uint8_t qrcode[], int x, int y, bool isDark) { in setModuleBounded() argument
794 setModule(qrcode, x, y, isDark); in setModuleBounded()
Dqrcodegen-test.c58 void setModule(uint8_t qrcode[], int x, int y, bool isDark);
59 void setModuleBounded(uint8_t qrcode[], int x, int y, bool isDark);
/third_party/qrcodegen/cpp/
Dqrcodegen.hpp401 private: void setFunctionModule(int x, int y, bool isDark);
Dqrcodegen.cpp488 void QrCode::setFunctionModule(int x, int y, bool isDark) { in setFunctionModule() argument
491 modules .at(uy).at(ux) = isDark; in setFunctionModule()
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
DQrCode.java399 private void setFunctionModule(int x, int y, boolean isDark) { in setFunctionModule() argument
400 modules[y][x] = isDark; in setFunctionModule()
/third_party/qrcodegen/typescript-javascript/
Dqrcodegen.ts356 private setFunctionModule(x: int, y: int, isDark: boolean): void {
357 this.modules[y][x] = isDark;