Home
last modified time | relevance | path

Searched refs:screenshot (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/
DFlutterView.mm129 auto screenshot = [_delegate takeScreenshot:flutter::Rasterizer::ScreenshotType::UncompressedImage
132 if (!screenshot.data || screenshot.data->isEmpty() || screenshot.frame_size.isEmpty()) {
136 NSData* data = [NSData dataWithBytes:const_cast<void*>(screenshot.data->data())
137 length:screenshot.data->size()];
145 screenshot.frame_size.width(), // size_t width
146 screenshot.frame_size.height(), // size_t height
149 4 * screenshot.frame_size.width(), // size_t bytesPerRow
160 CGRectMake(0.0, 0.0, screenshot.frame_size.width(), screenshot.frame_size.height());
DFlutterEngine_Internal.h39 - (flutter::Rasterizer::Screenshot)screenshot:(flutter::Rasterizer::ScreenshotType)type
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/
Dscreenshot.dart29 help: 'Location to write the screenshot.',
42 help: 'The type of screenshot to retrieve.',
45 _kDeviceType: 'Delegate to the device\'s native screenshot capabilities. This '
56 String get name => 'screenshot';
59 String get description => 'Take a screenshot from a connected device.';
76 throwToolExit('Observatory URI must be specified for screenshot type ${argResults[_kType]}');
107 throwToolExit('Error taking screenshot: $error');
123 final Map<String, dynamic> response = await _invokeVmServiceRpc('_flutter.screenshot');
126 sink.add(base64.decode(response['screenshot']));
/third_party/flutter/flutter/examples/catalog/bin/
Dsample_page.md.template15 …<img style="border:1px solid #000000" src="@(android screenshot)" alt="Android screenshot" class="…
18 Android screenshot
Dentry.md.template4 …<img style="border:1px solid #000000" src="@(android screenshot)" alt="Android screenshot" class="…
Dsample_page.dart139 …commentValues['android screenshot'] = 'https://storage.googleapis.com/flutter-catalog/$commit/${so…
212 // Write screenshot.dart, a "test" app that displays each sample
215 outputFile('screenshot.dart', driverDirectory),
216 inputFile('bin', 'screenshot.dart.template').readAsStringSync(),
227 // Write screenshot_test.dart, a test driver for screenshot.dart
/third_party/flutter/flutter/dev/integration_tests/ui/test_driver/
Dscreenshot_test.dart22 test('should take screenshot', () async {
29 Image imageBefore = decodePng(await driver.screenshot());
33 final Image imageAfter = decodePng(await driver.screenshot());
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dresident_runner_test.dart323 // screenshot
327 test('ResidentRunner can take screenshot on debug device', () => testbed.run(() async {
336 await residentRunner.screenshot(mockFlutterDevice);
345 …test('ResidentRunner bails taking screenshot on debug device if debugAllowBanner throws pre', () =…
350 await residentRunner.screenshot(mockFlutterDevice);
355 …test('ResidentRunner bails taking screenshot on debug device if debugAllowBanner throws post', () …
360 await residentRunner.screenshot(mockFlutterDevice);
365 …test('ResidentRunner bails taking screenshot on debug device if takeScreenshot throws', () => test…
370 await residentRunner.screenshot(mockFlutterDevice);
375 test('ResidentRunner can\'t take screenshot on device without support', () => testbed.run(() {
[all …]
/third_party/flutter/skia/third_party/externals/sdl/visualtest/
Dtestsprite2_sample.actions1 00:00:02 SCREENSHOT # Take a screenshot of each window owned by the SUT process
2 00:00:05 VERIFY # Verify each screenshot taken with verification images
/third_party/flutter/flutter/dev/integration_tests/ui/lib/
Dscreenshot.dart10 /// race, it will screenshot the previous frame. If the GPU thread wins
11 /// it, it will screenshot the latest frame.
72 // A magic color that the test will be looking for on the screenshot.
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_screenshot.js40 const screenshot = { variable
54 return screenshot
/third_party/flutter/engine/flutter/shell/common/
Dshell.cc1131 auto screenshot = rasterizer_->ScreenshotLastLayerTree( in OnServiceProtocolScreenshot() local
1133 if (screenshot.data) { in OnServiceProtocolScreenshot()
1138 image.SetString(static_cast<const char*>(screenshot.data->data()), in OnServiceProtocolScreenshot()
1139 screenshot.data->size(), allocator); in OnServiceProtocolScreenshot()
1152 auto screenshot = rasterizer_->ScreenshotLastLayerTree( in OnServiceProtocolScreenshotSKP() local
1154 if (screenshot.data) { in OnServiceProtocolScreenshotSKP()
1159 skp.SetString(static_cast<const char*>(screenshot.data->data()), in OnServiceProtocolScreenshotSKP()
1160 screenshot.data->size(), allocator); in OnServiceProtocolScreenshotSKP()
1305 Rasterizer::Screenshot screenshot; in Screenshot() local
1309 &screenshot, // in Screenshot()
[all …]
Dace_shell.cc907 Rasterizer::Screenshot screenshot; in Screenshot() local
911 &screenshot, // in Screenshot()
916 screenshot = rasterizer->ScreenshotLastLayerTree(screenshot_type, in Screenshot()
922 return screenshot; in Screenshot()
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/
DREADME.md19 ![hello-oboe-screenshot](hello-oboe-screenshot.png)
/third_party/node/deps/npm/node_modules/update-notifier/
Dreadme.md5 ![](screenshot.png)
120 Convenience method to display a notification message. *(See screenshot)*
138 Default: [See above screenshot](https://github.com/yeoman/update-notifier#update-notifier-)
152 …ng: 1, margin: 1, align: 'center', borderColor: 'yellow', borderStyle: 'round'}` *(See screenshot)*
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DREADME.md31 * `--screenshot-dir dir`: Directory to store test screenshots. Only implemented in `TracePerfTest`.
32 * `--screenshot-frame <frame>`: Which frame to capture a screenshot of. Defaults to first frame (1)…
33 * `--render-test-output-dir=dir`: Equivalent to `--screenshot-dir dir`.
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dwidget_inspector_test.dart1959 testWidgets('ext.flutter.inspector.screenshot', (WidgetTester tester) async {
2064 service.screenshot(
2075 // Verify that taking a screenshot didn't change the layers associated with
2078 // Verify that taking a screenshot did not change the number of children
2083 service.screenshot(
2095 // Verify that taking a screenshot didn't change the layers associated with
2098 // Verify that taking a screenshot did not change the number of children
2102 // Make sure taking a screenshot didn't change the parent of the layer.
2106 service.screenshot(
2117 // Verify that taking a screenshot with debug paint on did not change
[all …]
/third_party/skia/third_party/externals/oboe/samples/MegaDrone/
DREADME.md47 ![megadrone-screenshot](megadrone-screenshot.png)
/third_party/flutter/engine/flutter/shell/platform/android/
Dplatform_view_android_jni.cc291 auto screenshot = ANDROID_SHELL_HOLDER->Screenshot( in GetBitmap() local
293 if (screenshot.data == nullptr) { in GetBitmap()
297 const SkISize& frame_size = screenshot.frame_size; in GetBitmap()
309 auto* pixels_src = static_cast<const int32_t*>(screenshot.data->data()); in GetBitmap()
/third_party/flutter/flutter/examples/catalog/test_driver/
DREADME.md1 The screenshot.dart and screenshot_test.dart files were generated by ../bin/sample_page.dart. They …
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dwidget_inspector.dart67 /// secondary screenshot canvas so that a screenshot can be recorded at the same
72 @required Canvas screenshot,
74 assert(screenshot != null),
76 _screenshot = screenshot;
227 // The main canvas is used instead of the screenshot canvas as the main
322 /// a screenshot.
329 /// Target to take a screenshot of.
332 /// Root of the layer tree containing the screenshot.
335 /// Whether the screenshot target has already been found in the render tree.
338 /// Whether paint operations should record to the screenshot.
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/ios/
Dsimulators_test.dart186 group('Simulator screenshot', () {
205 'old Xcode doesn\'t support screenshot',
221 when(mockFile.path).thenReturn(fs.path.join('some', 'path', 'to', 'screenshot.png'));
229 'screenshot',
230 fs.path.join('some', 'path', 'to', 'screenshot.png'),
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/
DREADME.md10 ![Screenshot](screenshot.png)
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferWin.hpp45 virtual void screenshot(void *destBuffer) = 0;
DFrameBufferGDI.hpp41 void screenshot(void *destBuffer) override;

1234