text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugin.common; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import io.flutter.BuildConfig; import io.flutte...
engine/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java/0
{ "file_path": "engine/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java", "repo_id": "engine", "token_count": 5695 }
312
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugin.platform; import android.annotation.SuppressLint; import android.view.View; import androidx.annotation.NonNull; import androidx....
engine/shell/platform/android/io/flutter/plugin/platform/PlatformView.java/0
{ "file_path": "engine/shell/platform/android/io/flutter/plugin/platform/PlatformView.java", "repo_id": "engine", "token_count": 1009 }
313
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.util; import static io.flutter.Build.API_LEVELS; import android.os.Build; import android.os.Handler; import android.os.Looper; /** Co...
engine/shell/platform/android/io/flutter/util/HandlerCompat.java/0
{ "file_path": "engine/shell/platform/android/io/flutter/util/HandlerCompat.java", "repo_id": "engine", "token_count": 383 }
314
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_ANDROID_PLATFORM_VIEW_ANDROID_JNI_IMPL_H_ #define FLUTTER_SHELL_PLATFORM_ANDROID_PLATFORM_VIEW_ANDROID_JNI_IMPL_H_ #include...
engine/shell/platform/android/platform_view_android_jni_impl.h/0
{ "file_path": "engine/shell/platform/android/platform_view_android_jni_impl.h", "repo_id": "engine", "token_count": 1643 }
315
package io.flutter; import android.content.Context; import org.robolectric.annotation.Implementation; import org.robolectric.annotation.Implements; import org.robolectric.shadows.ShadowContextImpl; @Implements(className = ShadowContextImpl.CLASS_NAME) public class CustomShadowContextImpl extends ShadowContextImpl { ...
engine/shell/platform/android/test/io/flutter/CustomShadowContextImpl.java/0
{ "file_path": "engine/shell/platform/android/test/io/flutter/CustomShadowContextImpl.java", "repo_id": "engine", "token_count": 189 }
316
package io.flutter.embedding.engine; import static org.junit.Assert.*; import static org.mockito.ArgumentMatchers.*; import static org.mockito.Mockito.*; import android.app.Activity; import android.content.Context; import android.content.Intent; import androidx.annotation.NonNull; import androidx.lifecycle.Lifecycle;...
engine/shell/platform/android/test/io/flutter/embedding/engine/FlutterEngineConnectionRegistryTest.java/0
{ "file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/FlutterEngineConnectionRegistryTest.java", "repo_id": "engine", "token_count": 2415 }
317
package io.flutter.embedding.engine.renderer; import static io.flutter.Build.API_LEVELS; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import static org.robolectric.Shadows.shadowOf; import android.annotation.TargetApi; import android.graphics.Canvas; import android.graphics.Sur...
engine/shell/platform/android/test/io/flutter/embedding/engine/renderer/SurfaceTextureSurfaceProducerTest.java/0
{ "file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/renderer/SurfaceTextureSurfaceProducerTest.java", "repo_id": "engine", "token_count": 830 }
318
package io.flutter.plugin.common; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import androidx.test.ext.junit.runners.AndroidJUnit4; import java.nio....
engine/shell/platform/android/test/io/flutter/plugin/common/StandardMethodCodecTest.java/0
{ "file_path": "engine/shell/platform/android/test/io/flutter/plugin/common/StandardMethodCodecTest.java", "repo_id": "engine", "token_count": 1493 }
319
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.plugin.platform; import static io.flutter.Build.API_LEVELS; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.v...
engine/shell/platform/android/test/io/flutter/plugin/platform/WindowManagerHandlerTest.java/0
{ "file_path": "engine/shell/platform/android/test/io/flutter/plugin/platform/WindowManagerHandlerTest.java", "repo_id": "engine", "token_count": 1654 }
320
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/android/vsync_waiter_android.h" #include <cmath> #include <utility> #include "flutter/common/task_runners.h" #include "f...
engine/shell/platform/android/vsync_waiter_android.cc/0
{ "file_path": "engine/shell/platform/android/vsync_waiter_android.cc", "repo_id": "engine", "token_count": 2488 }
321
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/common/client_wrapper/include/flutter/encodable_value.h" #include <limits> #include "gtest/gtest.h" namespace flutter {...
engine/shell/platform/common/client_wrapper/encodable_value_unittests.cc/0
{ "file_path": "engine/shell/platform/common/client_wrapper/encodable_value_unittests.cc", "repo_id": "engine", "token_count": 4551 }
322
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_METHOD_RESULT_H_ #define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_...
engine/shell/platform/common/client_wrapper/include/flutter/method_result.h/0
{ "file_path": "engine/shell/platform/common/client_wrapper/include/flutter/method_result.h", "repo_id": "engine", "token_count": 864 }
323
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/common/client_wrapper/include/flutter/standard_method_codec.h" #include "flutter/shell/platform/common/client_wrapper/inc...
engine/shell/platform/common/client_wrapper/standard_method_codec_unittests.cc/0
{ "file_path": "engine/shell/platform/common/client_wrapper/standard_method_codec_unittests.cc", "repo_id": "engine", "token_count": 2939 }
324
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_COMMON_INCOMING_MESSAGE_DISPATCHER_H_ #define FLUTTER_SHELL_PLATFORM_COMMON_INCOMING_MESSAGE_DISPATCHER_H_ #include <functi...
engine/shell/platform/common/incoming_message_dispatcher.h/0
{ "file_path": "engine/shell/platform/common/incoming_message_dispatcher.h", "repo_id": "engine", "token_count": 907 }
325
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_COMMON_PUBLIC_FLUTTER_TEXTURE_REGISTRAR_H_ #define FLUTTER_SHELL_PLATFORM_COMMON_PUBLIC_FLUTTER_TEXTURE_REGISTRAR_H_ #inclu...
engine/shell/platform/common/public/flutter_texture_registrar.h/0
{ "file_path": "engine/shell/platform/common/public/flutter_texture_registrar.h", "repo_id": "engine", "token_count": 2247 }
326
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_AVAILABILITY_VERSION_CHECK_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_AVAILABILITY_VERSION_CHECK_H_ #inc...
engine/shell/platform/darwin/common/availability_version_check.h/0
{ "file_path": "engine/shell/platform/darwin/common/availability_version_check.h", "repo_id": "engine", "token_count": 264 }
327
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h" #import "flutter/shell/platform/darwin/ios/flutter_task_queue_dispatch.h...
engine/shell/platform/darwin/common/framework/Source/FlutterChannelsTest.m/0
{ "file_path": "engine/shell/platform/darwin/common/framework/Source/FlutterChannelsTest.m", "repo_id": "engine", "token_count": 8268 }
328
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.h" #include "flutter/common/graphics/persistent_cache.h" #include "flutt...
engine/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.mm/0
{ "file_path": "engine/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.mm", "repo_id": "engine", "token_count": 1777 }
329
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERVIEWCONTROLLER_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERVIE...
engine/shell/platform/darwin/ios/framework/Headers/FlutterViewController.h/0
{ "file_path": "engine/shell/platform/darwin/ios/framework/Headers/FlutterViewController.h", "repo_id": "engine", "token_count": 2984 }
330
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTEREMBEDDERKEYRESPONDER_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTE...
engine/shell/platform/darwin/ios/framework/Source/FlutterEmbedderKeyResponder.h/0
{ "file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterEmbedderKeyResponder.h", "repo_id": "engine", "token_count": 562 }
331
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERKEYBOARDMANAGER_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERKEYB...
engine/shell/platform/darwin/ios/framework/Source/FlutterKeyboardManager.h/0
{ "file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterKeyboardManager.h", "repo_id": "engine", "token_count": 966 }
332
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <OCMock/OCMock.h> #import <XCTest/XCTest.h> #import "flutter/shell/platform/darwin/common/framework/Headers/FlutterMacros.h" #import "flutter/shel...
engine/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegateTest.mm/0
{ "file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegateTest.mm", "repo_id": "engine", "token_count": 1348 }
333
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "flutter/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h" #import "flutter/shell/platform/darwin/ios/framework/Source/FlutterTextureReg...
engine/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelayTest.mm/0
{ "file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelayTest.mm", "repo_id": "engine", "token_count": 803 }
334
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // These declarations are an amalgamation of different headers whose // symbols exist in IOKit.framework. The headers have been removed // from the iOS SD...
engine/shell/platform/darwin/ios/framework/Source/IOKit.h/0
{ "file_path": "engine/shell/platform/darwin/ios/framework/Source/IOKit.h", "repo_id": "engine", "token_count": 2385 }
335
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <UIKit/UIKit.h> #import "flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.h" #import "flutter/shell/platform/darwin/ios/fra...
engine/shell/platform/darwin/ios/framework/Source/accessibility_text_entry.mm/0
{ "file_path": "engine/shell/platform/darwin/ios/framework/Source/accessibility_text_entry.mm", "repo_id": "engine", "token_count": 5227 }
336
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_CONTEXT_METAL_SKIA_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_CONTEXT_METAL_SKIA_H_ #include <Metal/Me...
engine/shell/platform/darwin/ios/ios_context_metal_skia.h/0
{ "file_path": "engine/shell/platform/darwin/ios/ios_context_metal_skia.h", "repo_id": "engine", "token_count": 624 }
337
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_PLATFORM_MESSAGE_HANDLER_IOS_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_PLATFORM_MESSAGE_HANDLER_IOS_H_ #inclu...
engine/shell/platform/darwin/ios/platform_message_handler_ios.h/0
{ "file_path": "engine/shell/platform/darwin/ios/platform_message_handler_ios.h", "repo_id": "engine", "token_count": 742 }
338
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERVIEWCONTROLLER_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTE...
engine/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h", "repo_id": "engine", "token_count": 2369 }
339
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERCOMPOSITOR_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERCOMPO...
engine/shell/platform/darwin/macos/framework/Source/FlutterCompositor.h/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterCompositor.h", "repo_id": "engine", "token_count": 1296 }
340
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREXTERNALTEXTURE_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTER...
engine/shell/platform/darwin/macos/framework/Source/FlutterExternalTexture.h/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterExternalTexture.h", "repo_id": "engine", "token_count": 492 }
341
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMNODEDELEGATEMAC_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE...
engine/shell/platform/darwin/macos/framework/Source/FlutterPlatformNodeDelegateMac.h/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterPlatformNodeDelegateMac.h", "repo_id": "engine", "token_count": 880 }
342
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTSEMANTICSOBJECT_H_ #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURC...
engine/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterTextInputSemanticsObject.h", "repo_id": "engine", "token_count": 1356 }
343
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h" #import "flutter/shell/platform/darwin/macos/framework/Source/Flutt...
engine/shell/platform/darwin/macos/framework/Source/FlutterViewController.mm/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterViewController.mm", "repo_id": "engine", "token_count": 14158 }
344
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'dart:typed_data'; import 'dart:ui'; @pragma('vm:external-name', 'SignalNativeTest') external void signalNativeTest(); void main...
engine/shell/platform/darwin/macos/framework/Source/fixtures/flutter_desktop_test.dart/0
{ "file_path": "engine/shell/platform/darwin/macos/framework/Source/fixtures/flutter_desktop_test.dart", "repo_id": "engine", "token_count": 680 }
345
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_EXTERNAL_TEXTURE_RESOLVER_H_ #define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_EXTERNAL_TEXTURE_RESOLVER_H_...
engine/shell/platform/embedder/embedder_external_texture_resolver.h/0
{ "file_path": "engine/shell/platform/embedder/embedder_external_texture_resolver.h", "repo_id": "engine", "token_count": 531 }
346
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_RENDER_TARGET_IMPELLER_H_ #define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_RENDER_TARGET_IMPELLER_H_ #inc...
engine/shell/platform/embedder/embedder_render_target_impeller.h/0
{ "file_path": "engine/shell/platform/embedder/embedder_render_target_impeller.h", "repo_id": "engine", "token_count": 563 }
347
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/embedder/embedder_surface_software.h" #include <utility> #include "flutter/fml/trace_event.h" #include "third_party/ski...
engine/shell/platform/embedder/embedder_surface_software.cc/0
{ "file_path": "engine/shell/platform/embedder/embedder_surface_software.cc", "repo_id": "engine", "token_count": 1199 }
348
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_PIXEL_FORMATS_H_ #define FLUTTER_SHELL_PLATFORM_EMBEDDER_PIXEL_FORMATS_H_ #include <optional> #include "flutter/sh...
engine/shell/platform/embedder/pixel_formats.h/0
{ "file_path": "engine/shell/platform/embedder/pixel_formats.h", "repo_id": "engine", "token_count": 224 }
349
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/embedder/tests/embedder_test_backingstore_producer.h" #include "flutter/fml/logging.h" #include "flutter/shell/platform/e...
engine/shell/platform/embedder/tests/embedder_test_backingstore_producer.cc/0
{ "file_path": "engine/shell/platform/embedder/tests/embedder_test_backingstore_producer.cc", "repo_id": "engine", "token_count": 5650 }
350
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/embedder/tests/embedder_test_context_metal.h" #include <memory> #include <utility> #include "embedder.h" #include "flutt...
engine/shell/platform/embedder/tests/embedder_test_context_metal.cc/0
{ "file_path": "engine/shell/platform/embedder/tests/embedder_test_context_metal.cc", "repo_id": "engine", "token_count": 1099 }
351
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. name: zircon environment: sdk: '>=3.2.0-0 <4.0.0' # Uncomment block for local testing # dependencies: # zircon_ffi: # path: ../zircon_ffi # dev_d...
engine/shell/platform/fuchsia/dart-pkg/zircon/pubspec.yaml/0
{ "file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/pubspec.yaml", "repo_id": "engine", "token_count": 140 }
352
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "channel.h" #include "flutter/fml/logging.h" #include "flutter/fml/macros.h" #include <cstdlib> #include <vector> #include <lib/zx/channel.h> #...
engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/channel.cc/0
{ "file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/channel.cc", "repo_id": "engine", "token_count": 837 }
353
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "builtin_libraries.h" #include <lib/fdio/namespace.h> #include <lib/zx/channel.h> #include <optional> #include "dart-pkg/fuchsia/sdk_ext/fuchsi...
engine/shell/platform/fuchsia/dart_runner/builtin_libraries.cc/0
{ "file_path": "engine/shell/platform/fuchsia/dart_runner/builtin_libraries.cc", "repo_id": "engine", "token_count": 3448 }
354
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. library dart.test; const MAX_STRING_LENGTH uint64 = 32; @discoverable closed protocol Echo { /// Returns the input. strict EchoString(struct { ...
engine/shell/platform/fuchsia/dart_runner/fidl/echo.fidl/0
{ "file_path": "engine/shell/platform/fuchsia/dart_runner/fidl/echo.fidl", "repo_id": "engine", "token_count": 155 }
355
# dart_aot_runner Contains the integration test for the Dart AOT runner. ### Running Tests <!-- TODO(erkln): Replace steps once test runner script is updated to run Dart runner tests --> #### Setup emulator and PM serve ``` fx set terminal.qemu-x64 ffx emu start --headless fx serve ``` #### Prepare build files and ...
engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_aot_runner/README.md/0
{ "file_path": "engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_aot_runner/README.md", "repo_id": "engine", "token_count": 574 }
356
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "external_view_embedder.h" #include <algorithm> #include <cstdint> #include "flutter/fml/trace_event.h" #include "third_party/skia/include/core/S...
engine/shell/platform/fuchsia/flutter/external_view_embedder.cc/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/external_view_embedder.cc", "repo_id": "engine", "token_count": 11700 }
357
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_ISOLATE_CONFIGURATOR_H_ #define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_ISOLATE_CONFIGURATOR_H_ #include <li...
engine/shell/platform/fuchsia/flutter/isolate_configurator.h/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/isolate_configurator.h", "repo_id": "engine", "token_count": 489 }
358
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <gtest/gtest.h> #include "runner.h" #include "third_party/icu/source/i18n/unicode/timezone.h" namespace flutter_runner { // This test has not b...
engine/shell/platform/fuchsia/flutter/runner_tzdata_missing_unittest.cc/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/runner_tzdata_missing_unittest.cc", "repo_id": "engine", "token_count": 212 }
359
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_MOCK_INJECTOR_REGISTRY_H_ #define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_MOCK_INJECT...
engine/shell/platform/fuchsia/flutter/tests/fakes/mock_injector_registry.h/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/tests/fakes/mock_injector_registry.h", "repo_id": "engine", "token_count": 1156 }
360
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui'; void main(List<String> args) { print('child-view: starting'); TestApp app = TestApp(); app.run(); } class TestApp { static con...
engine/shell/platform/fuchsia/flutter/tests/integration/embedder/child-view/lib/child_view.dart/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/embedder/child-view/lib/child_view.dart", "repo_id": "engine", "token_count": 599 }
361
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//flutter/tools/fuchsia/dart/dart_library.gni") import("//flutter/tools/fuchsia/flutter/flutter_component.gni") import("//flutter/tools/fuchsia/gn-sdk...
engine/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-view/BUILD.gn/0
{ "file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-view/BUILD.gn", "repo_id": "engine", "token_count": 369 }
362
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//flutter/build/dart/dart.gni") import("//flutter/tools/fuchsia/clang.gni") import("$dart_src/build/dart/dart_action.gni") template("generate_dart_p...
engine/shell/platform/fuchsia/runtime/dart/profiler_symbols/BUILD.gn/0
{ "file_path": "engine/shell/platform/fuchsia/runtime/dart/profiler_symbols/BUILD.gn", "repo_id": "engine", "token_count": 862 }
363
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "root_inspect_node.h" #include <lib/async/default.h> namespace dart_utils { std::unique_ptr<inspect::ComponentInspector> RootInspectNode::inspec...
engine/shell/platform/fuchsia/runtime/dart/utils/root_inspect_node.cc/0
{ "file_path": "engine/shell/platform/fuchsia/runtime/dart/utils/root_inspect_node.cc", "repo_id": "engine", "token_count": 321 }
364
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/glfw/client_wrapper/include/flutter/flutter_window.h" #include <memory> #include <string> #include "flutter/shell/platfo...
engine/shell/platform/glfw/client_wrapper/flutter_window_unittests.cc/0
{ "file_path": "engine/shell/platform/glfw/client_wrapper/flutter_window_unittests.cc", "repo_id": "engine", "token_count": 597 }
365
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/glfw/key_event_handler.h" #include <iostream> #include "flutter/shell/platform/common/json_message_codec.h" static cons...
engine/shell/platform/glfw/key_event_handler.cc/0
{ "file_path": "engine/shell/platform/glfw/key_event_handler.cc", "repo_id": "engine", "token_count": 2014 }
366
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux/fl_accessible_text_field.h" #include "flutter/shell/platform/linux/public/flutter_linux/fl_standard_message_codec.h"...
engine/shell/platform/linux/fl_accessible_text_field.cc/0
{ "file_path": "engine/shell/platform/linux/fl_accessible_text_field.cc", "repo_id": "engine", "token_count": 10998 }
367
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_ENGINE_PRIVATE_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_FL_ENGINE_PRIVATE_H_ #include <glib-object.h> #include "fl...
engine/shell/platform/linux/fl_engine_private.h/0
{ "file_path": "engine/shell/platform/linux/fl_engine_private.h", "repo_id": "engine", "token_count": 4843 }
368
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_KEY_EMBEDDER_RESPONDER_PRIVATE_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_FL_KEY_EMBEDDER_RESPONDER_PRIVATE_H_ #inclu...
engine/shell/platform/linux/fl_key_embedder_responder_private.h/0
{ "file_path": "engine/shell/platform/linux/fl_key_embedder_responder_private.h", "repo_id": "engine", "token_count": 615 }
369
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CHANNEL_PRIVATE_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CHANNEL_PRIVATE_H_ #include "flutter/shel...
engine/shell/platform/linux/fl_method_channel_private.h/0
{ "file_path": "engine/shell/platform/linux/fl_method_channel_private.h", "repo_id": "engine", "token_count": 407 }
370
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_PLUGIN_REGISTRAR_PRIVATE_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_FL_PLUGIN_REGISTRAR_PRIVATE_H_ #include "flutter/...
engine/shell/platform/linux/fl_plugin_registrar_private.h/0
{ "file_path": "engine/shell/platform/linux/fl_plugin_registrar_private.h", "repo_id": "engine", "token_count": 393 }
371
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux/fl_settings_plugin.h" #include <gmodule.h> #include "flutter/shell/platform/embedder/embedder.h" #include "flutter...
engine/shell/platform/linux/fl_settings_plugin.cc/0
{ "file_path": "engine/shell/platform/linux/fl_settings_plugin.cc", "repo_id": "engine", "token_count": 1707 }
372
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <utility> #include "flutter/shell/platform/linux/fl_method_codec_private.h" #include "flutter/shell/platform/linux/fl_text_input_plugin.h" #inclu...
engine/shell/platform/linux/fl_text_input_plugin_test.cc/0
{ "file_path": "engine/shell/platform/linux/fl_text_input_plugin_test.cc", "repo_id": "engine", "token_count": 23696 }
373
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Included first as it collides with the X11 headers. #include "gtest/gtest.h" #include "flutter/shell/platform/linux/fl_view_accessible.h" #include "flu...
engine/shell/platform/linux/fl_view_accessible_test.cc/0
{ "file_path": "engine/shell/platform/linux/fl_view_accessible_test.cc", "repo_id": "engine", "token_count": 2803 }
374
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_METHOD_CHANNEL_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_METHOD_CHANNEL_...
engine/shell/platform/linux/public/flutter_linux/fl_method_channel.h/0
{ "file_path": "engine/shell/platform/linux/public/flutter_linux/fl_method_channel.h", "repo_id": "engine", "token_count": 2965 }
375
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_TESTING_FL_TEST_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_TESTING_FL_TEST_H_ #include "flutter/shell/platform/linux/pub...
engine/shell/platform/linux/testing/fl_test.h/0
{ "file_path": "engine/shell/platform/linux/testing/fl_test.h", "repo_id": "engine", "token_count": 434 }
376
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/accessibility_plugin.h" #include <variant> #include "flutter/fml/logging.h" #include "flutter/fml/platform/win/w...
engine/shell/platform/windows/accessibility_plugin.cc/0
{ "file_path": "engine/shell/platform/windows/accessibility_plugin.cc", "repo_id": "engine", "token_count": 1279 }
377
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_TESTING_STUB_FLUTTER_WINDOWS_API_H_ #define FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_TESTING_STU...
engine/shell/platform/windows/client_wrapper/testing/stub_flutter_windows_api.h/0
{ "file_path": "engine/shell/platform/windows/client_wrapper/testing/stub_flutter_windows_api.h", "repo_id": "engine", "token_count": 1689 }
378
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <windows.h> #include "flutter/shell/platform/windows/dpi_utils.h" #include "gtest/gtest.h" namespace flutter { namespace testing { TEST(DpiUtil...
engine/shell/platform/windows/dpi_utils_unittests.cc/0
{ "file_path": "engine/shell/platform/windows/dpi_utils_unittests.cc", "repo_id": "engine", "token_count": 257 }
379
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/external_texture_d3d.h" #include "flutter/fml/logging.h" #include "flutter/shell/platform/embedder/embedder_struc...
engine/shell/platform/windows/external_texture_d3d.cc/0
{ "file_path": "engine/shell/platform/windows/external_texture_d3d.cc", "repo_id": "engine", "token_count": 1672 }
380
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/flutter_windows_engine.h" #include <dwmapi.h> #include <filesystem> #include <sstream> #include "flutter/fml/lo...
engine/shell/platform/windows/flutter_windows_engine.cc/0
{ "file_path": "engine/shell/platform/windows/flutter_windows_engine.cc", "repo_id": "engine", "token_count": 12086 }
381
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/keyboard_key_embedder_handler.h" #include <windows.h> #include <chrono> #include <string> #include "flutter/fml...
engine/shell/platform/windows/keyboard_key_embedder_handler.cc/0
{ "file_path": "engine/shell/platform/windows/keyboard_key_embedder_handler.cc", "repo_id": "engine", "token_count": 10201 }
382
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_PLATFORM_VIEW_MANAGER_H_ #define FLUTTER_SHELL_PLATFORM_WINDOWS_PLATFORM_VIEW_MANAGER_H_ #include <memory> #includ...
engine/shell/platform/windows/platform_view_manager.h/0
{ "file_path": "engine/shell/platform/windows/platform_view_manager.h", "repo_id": "engine", "token_count": 651 }
383
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/task_runner_window.h" #include <algorithm> #include "flutter/fml/logging.h" namespace flutter { TaskRunnerWind...
engine/shell/platform/windows/task_runner_window.cc/0
{ "file_path": "engine/shell/platform/windows/task_runner_window.cc", "repo_id": "engine", "token_count": 1662 }
384
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_H_ #define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_H_...
engine/shell/platform/windows/testing/mock_window_binding_handler.h/0
{ "file_path": "engine/shell/platform/windows/testing/mock_window_binding_handler.h", "repo_id": "engine", "token_count": 737 }
385
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/windows/text_input_manager.h" #include <imm.h> #include <memory> #include "flutter/fml/logging.h" #include "flutter/fml...
engine/shell/platform/windows/text_input_manager.cc/0
{ "file_path": "engine/shell/platform/windows/text_input_manager.cc", "repo_id": "engine", "token_count": 1795 }
386
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_PROC_TABLE_H_ #define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOWS_PROC_TABLE_H_ #include <optional> #include "f...
engine/shell/platform/windows/windows_proc_table.h/0
{ "file_path": "engine/shell/platform/windows/windows_proc_table.h", "repo_id": "engine", "token_count": 975 }
387
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//flutter/build/dart/rules.gni") # Build a minimal snapshot that can be used to launch the VM service isolate. flutter_snapshot("vmservice_snapshot")...
engine/shell/vmservice/BUILD.gn/0
{ "file_path": "engine/shell/vmservice/BUILD.gn", "repo_id": "engine", "token_count": 147 }
388
# Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//flutter/common/config.gni") import("//flutter/shell/config.gni") import("testing.gni") config("dynamic_symbols") { if (is_clang && is_linux) { ...
engine/testing/BUILD.gn/0
{ "file_path": "engine/testing/BUILD.gn", "repo_id": "engine", "token_count": 2721 }
389
# Android Background Image A test application that verifies Picture.toImage in the background on Android.
engine/testing/android_background_image/README.md/0
{ "file_path": "engine/testing/android_background_image/README.md", "repo_id": "engine", "token_count": 23 }
390
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_TESTING_ASSERTIONS_SKIA_H_ #define FLUTTER_TESTING_ASSERTIONS_SKIA_H_ #include <ostream> #include "third_party/skia/include/core/SkClipOp...
engine/testing/assertions_skia.h/0
{ "file_path": "engine/testing/assertions_skia.h", "repo_id": "engine", "token_count": 622 }
391
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:io'; import 'dart:math'; import 'dart:typed_data'; import 'dart:ui'; import 'package:litetest/litetest.dart'; import 'pa...
engine/testing/dart/canvas_test.dart/0
{ "file_path": "engine/testing/dart/canvas_test.dart", "repo_id": "engine", "token_count": 17904 }
392
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:io'; import 'dart:typed_data'; import 'dart:ui'; import 'package:litetest/litetest.dart'; import 'package:path/path.dart...
engine/testing/dart/image_descriptor_test.dart/0
{ "file_path": "engine/testing/dart/image_descriptor_test.dart", "repo_id": "engine", "token_count": 1251 }
393
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:developer' as developer; import 'dart:typed_data'; import 'dart:ui'; import 'package:litetest/lit...
engine/testing/dart/observatory/skp_test.dart/0
{ "file_path": "engine/testing/dart/observatory/skp_test.dart", "repo_id": "engine", "token_count": 778 }
394
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:path/path.dart' as path; String _flutterBuildDirectoryPath() { assert(Platform.environment.containsKey('FLUTTER_BUILD...
engine/testing/dart/shader_test_file_utils.dart/0
{ "file_path": "engine/testing/dart/shader_test_file_utils.dart", "repo_id": "engine", "token_count": 255 }
395
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_TESTING_ELF_LOADER_H_ #define FLUTTER_TESTING_ELF_LOADER_H_ #include <memory> #include "flutter/common/settings.h" #include "flutter/fml/...
engine/testing/elf_loader.h/0
{ "file_path": "engine/testing/elf_loader.h", "repo_id": "engine", "token_count": 1125 }
396
# iOS Unit Tests These are the unit tests for iOS engine. They can be executed locally and are also run in LUCI builds. ## Running Tests from command line To build and run the iOS tests, use the `run_tests` script from the `src` directory. ```sh flutter/testing/run_tests.py --type=objc ``` And if you're on Apple S...
engine/testing/ios/IosUnitTests/README.md/0
{ "file_path": "engine/testing/ios/IosUnitTests/README.md", "repo_id": "engine", "token_count": 539 }
397
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/testing/post_task_sync.h" #include "flutter/fml/synchronization/waitable_event.h" namespace flutter { namespace testing { void PostTas...
engine/testing/post_task_sync.cc/0
{ "file_path": "engine/testing/post_task_sync.cc", "repo_id": "engine", "token_count": 211 }
398
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <iostream> #include <optional> #include <string> #include "flutter/fml/backtrace.h" #include "flutter/fml/build_config.h" #include "flutter/fml/c...
engine/testing/run_all_unittests.cc/0
{ "file_path": "engine/testing/run_all_unittests.cc", "repo_id": "engine", "token_count": 828 }
399
package dev.flutter.scenariosui; import android.content.Intent; import androidx.annotation.NonNull; import androidx.test.filters.LargeTest; import androidx.test.rule.ActivityTestRule; import androidx.test.runner.AndroidJUnit4; import dev.flutter.scenarios.PlatformViewsActivity; import org.junit.Rule; import org.junit....
engine/testing/scenario_app/android/app/src/androidTest/java/dev/flutter/scenariosui/DrawSolidBlueScreenTest.java/0
{ "file_path": "engine/testing/scenario_app/android/app/src/androidTest/java/dev/flutter/scenariosui/DrawSolidBlueScreenTest.java", "repo_id": "engine", "token_count": 294 }
400
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package dev.flutter.scenarios; import static io.flutter.Build.API_LEVELS; import android.content.res.AssetFileDescriptor; import android.graphics.Canvas;...
engine/testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios/ExternalTextureFlutterActivity.java/0
{ "file_path": "engine/testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios/ExternalTextureFlutterActivity.java", "repo_id": "engine", "token_count": 5836 }
401
# This is a Gradle generated file for dependency locking. # Manual edits can break the build and are not advised. # This file is expected to be part of source control. androidx.databinding:databinding-common:7.4.2=classpath androidx.databinding:databinding-compiler-common:7.4.2=classpath com.android.databinding:baseLib...
engine/testing/scenario_app/android/buildscript-gradle.lockfile/0
{ "file_path": "engine/testing/scenario_app/android/buildscript-gradle.lockfile", "repo_id": "engine", "token_count": 3476 }
402
# Scenario App: iOS Tests As mentioned in the [top-level README](../README.md), this directory contains the iOS-specific native code and tests for the [scenario app](../lib). To run the tests, you will need to build the engine with the appropriate configuration. For example, after building `ios_debug_sim_unopt` (to r...
engine/testing/scenario_app/ios/README.md/0
{ "file_path": "engine/testing/scenario_app/ios/README.md", "repo_id": "engine", "token_count": 684 }
403
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_CONTINUOUSTEXTURE_H_ #define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_CONTINUOUST...
engine/testing/scenario_app/ios/Scenarios/Scenarios/ContinuousTexture.h/0
{ "file_path": "engine/testing/scenario_app/ios/Scenarios/Scenarios/ContinuousTexture.h", "repo_id": "engine", "token_count": 282 }
404
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <Flutter/Flutter.h> #import <XCTest/XCTest.h> #import "AppDelegate.h" @interface FlutterEngineTest : XCTestCase @end @implementation FlutterEngi...
engine/testing/scenario_app/ios/Scenarios/ScenariosTests/FlutterEngineTest.m/0
{ "file_path": "engine/testing/scenario_app/ios/Scenarios/ScenariosTests/FlutterEngineTest.m", "repo_id": "engine", "token_count": 1424 }
405
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <XCTest/XCTest.h> static const NSInteger kSecondsToWaitForPlatformView = 30; @interface PlatformViewGestureRecognizerTests : XCTestCase @end @i...
engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/PlatformViewGestureRecognizerTests.m/0
{ "file_path": "engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/PlatformViewGestureRecognizerTests.m", "repo_id": "engine", "token_count": 3202 }
406
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui'; /// A scenario to run for testing. abstract class Scenario { /// Creates a new scenario using a specific FlutterView instance. Scena...
engine/testing/scenario_app/lib/src/scenario.dart/0
{ "file_path": "engine/testing/scenario_app/lib/src/scenario.dart", "repo_id": "engine", "token_count": 495 }
407
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/testing/test_dart_native_resolver.h" #include <mutex> #include <vector> #include "flutter/fml/logging.h" #include "third_party/tonic/lo...
engine/testing/test_dart_native_resolver.cc/0
{ "file_path": "engine/testing/test_dart_native_resolver.cc", "repo_id": "engine", "token_count": 1583 }
408
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_TESTING_TEST_VULKAN_IMAGE_H_ #define FLUTTER_TESTING_TEST_VULKAN_IMAGE_H_ #include "flutter/fml/macros.h" #include "flutter/fml/memory/re...
engine/testing/test_vulkan_image.h/0
{ "file_path": "engine/testing/test_vulkan_image.h", "repo_id": "engine", "token_count": 408 }
409
Flutter Accessibility Library ============== This accessibility library is a fork of the [chromium](https://www.chromium.org) accessibility code at commit [4579d5538f06c5ef615a15bc67ebb9ac0523a973](https://chromium.googlesource.com/chromium/src/+/4579d5538f06c5ef615a15bc67ebb9ac0523a973). For the main ax code, the fo...
engine/third_party/accessibility/README.md/0
{ "file_path": "engine/third_party/accessibility/README.md", "repo_id": "engine", "token_count": 326 }
410
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ax_enum_util.h" #include <string> #include <vector> #include "gtest/gtest.h" #include "ax_enums.h" #include "ax_node_data.h" namespace ui { ...
engine/third_party/accessibility/ax/ax_enum_util_unittest.cc/0
{ "file_path": "engine/third_party/accessibility/ax/ax_enum_util_unittest.cc", "repo_id": "engine", "token_count": 3017 }
411