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.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
void main() {
internalBootstrapBrows... | engine/lib/web_ui/test/html/resource_manager_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/resource_manager_test.dart",
"repo_id": "engine",
"token_count": 989
} | 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.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
im... | engine/lib/web_ui/test/html/text/layout_service_rich_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/text/layout_service_rich_test.dart",
"repo_id": "engine",
"token_count": 3662
} | 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.
import 'dart:convert';
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/eng... | engine/lib/web_ui/test/ui/font_collection_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/font_collection_test.dart",
"repo_id": "engine",
"token_count": 2326
} | 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.
import 'dart:math' as math;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'pa... | engine/lib/web_ui/test/ui/scene_builder_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/scene_builder_test.dart",
"repo_id": "engine",
"token_count": 4023
} | 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/runtime/dart_plugin_registrant.h"
#include <string>
#include "flutter/fml/logging.h"
#include "flutter/fml/trace_event.h"
#include "thi... | engine/runtime/dart_plugin_registrant.cc/0 | {
"file_path": "engine/runtime/dart_plugin_registrant.cc",
"repo_id": "engine",
"token_count": 848
} | 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.
#include "flutter/runtime/dart_vm_lifecycle.h"
#include <mutex>
#include <utility>
namespace flutter {
// We need to explicitly put the constructor and ... | engine/runtime/dart_vm_lifecycle.cc/0 | {
"file_path": "engine/runtime/dart_vm_lifecycle.cc",
"repo_id": "engine",
"token_count": 1649
} | 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.
#include "flutter/runtime/dart_vm.h"
#include "flutter/runtime/dart_vm_lifecycle.h"
#include "flutter/runtime/platform_isolate_manager.h"
#include "flutter... | engine/runtime/platform_isolate_manager_unittests.cc/0 | {
"file_path": "engine/runtime/platform_isolate_manager_unittests.cc",
"repo_id": "engine",
"token_count": 3840
} | 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.
#include "flutter/shell/common/animator.h"
#include "flutter/common/constants.h"
#include "flutter/flow/frame_timings.h"
#include "flutter/fml/time/time_p... | engine/shell/common/animator.cc/0 | {
"file_path": "engine/shell/common/animator.cc",
"repo_id": "engine",
"token_count": 4942
} | 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.
#include "flutter/display_list/display_list.h"
#include "flutter/display_list/dl_builder.h"
#include "flutter/display_list/testing/dl_test_snippets.h"
#inc... | engine/shell/common/dl_op_spy_unittests.cc/0 | {
"file_path": "engine/shell/common/dl_op_spy_unittests.cc",
"repo_id": "engine",
"token_count": 8764
} | 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.
#include "flutter/shell/common/pointer_data_dispatcher.h"
#include "flutter/fml/trace_event.h"
namespace flutter {
PointerDataDispatcher::~PointerDataDi... | engine/shell/common/pointer_data_dispatcher.cc/0 | {
"file_path": "engine/shell/common/pointer_data_dispatcher.cc",
"repo_id": "engine",
"token_count": 1196
} | 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.
#include "flutter/shell/common/shell_io_manager.h"
#include <utility>
#include "flutter/fml/message_loop.h"
#include "flutter/shell/common/context_option... | engine/shell/common/shell_io_manager.cc/0 | {
"file_path": "engine/shell/common/shell_io_manager.cc",
"repo_id": "engine",
"token_count": 1641
} | 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.
#include "flutter/shell/common/skia_event_tracer_impl.h"
#define TRACE_EVENT_HIDE_MACROS
#include <map>
#include <set>
#include <vector>
#include "flutte... | engine/shell/common/skia_event_tracer_impl.cc/0 | {
"file_path": "engine/shell/common/skia_event_tracer_impl.cc",
"repo_id": "engine",
"token_count": 5874
} | 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.
#include "variable_refresh_rate_display.h"
#include "vsync_waiters_test.h"
#include "gtest/gtest.h"
namespace flutter {
namespace testing {
TEST(Variabl... | engine/shell/common/variable_refresh_rate_display_unittests.cc/0 | {
"file_path": "engine/shell/common/variable_refresh_rate_display_unittests.cc",
"repo_id": "engine",
"token_count": 655
} | 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.
#include "flutter/shell/gpu/gpu_surface_gl_skia.h"
#include "flutter/common/graphics/persistent_cache.h"
#include "flutter/fml/base32.h"
#include "flutter... | engine/shell/gpu/gpu_surface_gl_skia.cc/0 | {
"file_path": "engine/shell/gpu/gpu_surface_gl_skia.cc",
"repo_id": "engine",
"token_count": 4939
} | 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.
#ifndef FLUTTER_SHELL_GPU_GPU_SURFACE_VULKAN_DELEGATE_H_
#define FLUTTER_SHELL_GPU_GPU_SURFACE_VULKAN_DELEGATE_H_
#include "flutter/fml/memory/ref_ptr.h"
... | engine/shell/gpu/gpu_surface_vulkan_delegate.h/0 | {
"file_path": "engine/shell/gpu/gpu_surface_vulkan_delegate.h",
"repo_id": "engine",
"token_count": 680
} | 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.
#include "flutter/shell/platform/android/android_display.h"
namespace flutter {
AndroidDisplay::AndroidDisplay(
std::shared_ptr<PlatformViewAndroidJN... | engine/shell/platform/android/android_display.cc/0 | {
"file_path": "engine/shell/platform/android/android_display.cc",
"repo_id": "engine",
"token_count": 354
} | 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.
#include "flutter/shell/platform/android/android_surface_software.h"
#include <memory>
#include <vector>
#include "flutter/fml/logging.h"
#include "flutt... | engine/shell/platform/android/android_surface_software.cc/0 | {
"file_path": "engine/shell/platform/android/android_surface_software.cc",
"repo_id": "engine",
"token_count": 1788
} | 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_ANDROID_EXTERNAL_VIEW_EMBEDDER_SURFACE_POOL_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_EXTERNAL_VIEW_EMBEDDER_SURFACE_POOL_H_... | engine/shell/platform/android/external_view_embedder/surface_pool.h/0 | {
"file_path": "engine/shell/platform/android/external_view_embedder/surface_pool.h",
"repo_id": "engine",
"token_count": 1151
} | 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.
// THIS FILE IS REPLACED WITH AN AUTO_GENERATED FILE (AND EXISTS JUST FOR IDE SUPPORT).
// DO NOT EDIT THE VALUES HERE - SEE $flutter_root/tools/gen_androi... | engine/shell/platform/android/io/flutter/BuildConfig.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/BuildConfig.java",
"repo_id": "engine",
"token_count": 178
} | 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.
package io.flutter.embedding.android;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.f... | engine/shell/platform/android/io/flutter/embedding/android/FlutterEngineProvider.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/FlutterEngineProvider.java",
"repo_id": "engine",
"token_count": 477
} | 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.
package io.flutter.embedding.android;
import android.app.Activity;
import androidx.annotation.NonNull;
import androidx.core.util.Consumer;
import androidx... | engine/shell/platform/android/io/flutter/embedding/android/WindowInfoRepositoryCallbackAdapterWrapper.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/WindowInfoRepositoryCallbackAdapterWrapper.java",
"repo_id": "engine",
"token_count": 338
} | 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.
package io.flutter.embedding.engine.loader;
/** Encapsulates all the information that Flutter needs from application manifest. */
public final class Flutt... | engine/shell/platform/android/io/flutter/embedding/engine/loader/FlutterApplicationInfo.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/loader/FlutterApplicationInfo.java",
"repo_id": "engine",
"token_count": 593
} | 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.
package io.flutter.embedding.engine.plugins.lifecycle;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import androidx.lifecycle.Life... | engine/shell/platform/android/io/flutter/embedding/engine/plugins/lifecycle/HiddenLifecycleReference.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/plugins/lifecycle/HiddenLifecycleReference.java",
"repo_id": "engine",
"token_count": 293
} | 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.
package io.flutter.embedding.engine.systemchannels;
import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting;
import io.flutter.Lo... | engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/LifecycleChannel.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/LifecycleChannel.java",
"repo_id": "engine",
"token_count": 1691
} | 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.
package io.flutter.plugin.common;
import androidx.annotation.Nullable;
import io.flutter.BuildConfig;
import io.flutter.Log;
/**
* An implementation of ... | engine/shell/platform/android/io/flutter/plugin/common/ErrorLogResult.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/common/ErrorLogResult.java",
"repo_id": "engine",
"token_count": 380
} | 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.
package io.flutter.plugin.editing;
import static io.flutter.Build.API_LEVELS;
import android.annotation.TargetApi;
import android.content.ClipData;
impor... | engine/shell/platform/android/io/flutter/plugin/editing/InputConnectionAdaptor.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/editing/InputConnectionAdaptor.java",
"repo_id": "engine",
"token_count": 7512
} | 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.
package io.flutter.plugin.platform;
import static io.flutter.Build.API_LEVELS;
import android.annotation.SuppressLint;
import android.annotation.TargetAp... | engine/shell/platform/android/io/flutter/plugin/platform/PlatformViewWrapper.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/platform/PlatformViewWrapper.java",
"repo_id": "engine",
"token_count": 2468
} | 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.
package io.flutter.util;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.view.View;
imp... | engine/shell/platform/android/io/flutter/util/ViewUtils.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/util/ViewUtils.java",
"repo_id": "engine",
"token_count": 1408
} | 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/android/platform_message_handler_android.h"
namespace flutter {
PlatformMessageHandlerAndroid::PlatformMessageHandlerAnd... | engine/shell/platform/android/platform_message_handler_android.cc/0 | {
"file_path": "engine/shell/platform/android/platform_message_handler_android.cc",
"repo_id": "engine",
"token_count": 782
} | 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.
#include "flutter/shell/platform/android/surface/android_surface.h"
#include "flutter/fml/logging.h"
namespace flutter {
AndroidSurface::AndroidSurface()... | engine/shell/platform/android/surface/android_surface.cc/0 | {
"file_path": "engine/shell/platform/android/surface/android_surface.cc",
"repo_id": "engine",
"token_count": 182
} | 349 |
package io.flutter.embedding.android;
import static android.content.ComponentCallbacks2.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertThrows;
impor... | engine/shell/platform/android/test/io/flutter/embedding/android/FlutterActivityAndFragmentDelegateTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/android/FlutterActivityAndFragmentDelegateTest.java",
"repo_id": "engine",
"token_count": 20424
} | 350 |
package test.io.flutter.embedding.engine;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import android.content.Intent;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import io.flutter.embedding.engine.FlutterShellArgs;
import java.util.Arrays;
import java.util.HashSet;... | engine/shell/platform/android/test/io/flutter/embedding/engine/FlutterShellArgsTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/FlutterShellArgsTest.java",
"repo_id": "engine",
"token_count": 675
} | 351 |
package io.flutter.embedding.android;
import static org.mockito.Mockito.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import io.flutter.embedding.engine.dart.DartExecutor;
import io.... | engine/shell/platform/android/test/io/flutter/embedding/engine/systemchannels/KeyboardChannelTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/systemchannels/KeyboardChannelTest.java",
"repo_id": "engine",
"token_count": 902
} | 352 |
package io.flutter.plugin.editing;
import static io.flutter.Build.API_LEVELS;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertThrows;
import static org.junit.Assert.assertTrue;
import static org.mockito.AdditionalMatchers.aryEq;
import sta... | engine/shell/platform/android/test/io/flutter/plugin/editing/TextInputPluginTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/editing/TextInputPluginTest.java",
"repo_id": "engine",
"token_count": 38948
} | 353 |
package io.flutter.util;
// DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT
// This file is generated by
// flutter/flutter:dev/tools/gen_keycodes/bin/gen_keycodes.dart and should not
// be edited directly.
//
// Edit the template
// flutter/flutter:dev/tools/gen_keycodes/data/key_codes_java.tmpl
// instead.
//
// See flutt... | engine/shell/platform/android/test/io/flutter/util/KeyCodes.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/util/KeyCodes.java",
"repo_id": "engine",
"token_count": 16739
} | 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.
#include "accessibility_bridge.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "flutter/third_party/accessibility/ax/ax_tree_manager_map.h"... | engine/shell/platform/common/accessibility_bridge_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/accessibility_bridge_unittests.cc",
"repo_id": "engine",
"token_count": 8299
} | 355 |
// 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_BYTE_STREAMS_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_B... | engine/shell/platform/common/client_wrapper/include/flutter/byte_streams.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/include/flutter/byte_streams.h",
"repo_id": "engine",
"token_count": 937
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_STANDARD_MESSAGE_CODEC_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE... | engine/shell/platform/common/client_wrapper/include/flutter/standard_message_codec.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/include/flutter/standard_message_codec.h",
"repo_id": "engine",
"token_count": 656
} | 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_COMMON_CLIENT_WRAPPER_TEXTURE_REGISTRAR_IMPL_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_TEXTURE_REGISTRAR_IMPL_... | engine/shell/platform/common/client_wrapper/texture_registrar_impl.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/texture_registrar_impl.h",
"repo_id": "engine",
"token_count": 504
} | 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 "flutter/shell/platform/common/json_method_codec.h"
#include "flutter/shell/platform/common/json_message_codec.h"
namespace flutter {
namespace... | engine/shell/platform/common/json_method_codec.cc/0 | {
"file_path": "engine/shell/platform/common/json_method_codec.cc",
"repo_id": "engine",
"token_count": 1877
} | 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.
#include "flutter/shell/platform/common/text_editing_delta.h"
#include "gtest/gtest.h"
namespace flutter {
TEST(TextEditingDeltaTest, TestTextEditingDel... | engine/shell/platform/common/text_editing_delta_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/text_editing_delta_unittests.cc",
"repo_id": "engine",
"token_count": 414
} | 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 "flutter/shell/platform/darwin/common/command_line.h"
#import <Foundation/Foundation.h>
namespace flutter {
fml::CommandLine CommandLineFromNSPr... | engine/shell/platform/darwin/common/command_line.mm/0 | {
"file_path": "engine/shell/platform/darwin/common/command_line.mm",
"repo_id": "engine",
"token_count": 219
} | 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.
#include "flutter/shell/platform/darwin/common/framework/Source/FlutterStandardCodecHelper.h"
#include <stdint.h>
#include <vector>
#include "flutter/fml... | engine/shell/platform/darwin/common/framework/Source/FlutterStandardCodecHelper.cc/0 | {
"file_path": "engine/shell/platform/darwin/common/framework/Source/FlutterStandardCodecHelper.cc",
"repo_id": "engine",
"token_count": 4193
} | 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.
assert(is_ios)
import("//build/config/ios/ios_sdk.gni")
import("//build/toolchain/clang.gni")
import("//flutter/common/config.gni")
import("//flutter/shell/c... | engine/shell/platform/darwin/ios/BUILD.gn/0 | {
"file_path": "engine/shell/platform/darwin/ios/BUILD.gn",
"repo_id": "engine",
"token_count": 6021
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERAPPDELEGATE_TEST_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERAPP... | engine/shell/platform/darwin/ios/framework/Source/FlutterAppDelegate_Test.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterAppDelegate_Test.h",
"repo_id": "engine",
"token_count": 227
} | 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.
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#import "flutter/shell/platform/darwin/ios/framework/Headers/FlutterEngineGroup.h"
#import "flutter/sh... | engine/shell/platform/darwin/ios/framework/Source/FlutterEngineGroupTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterEngineGroupTest.mm",
"repo_id": "engine",
"token_count": 2821
} | 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.
#import <Metal/Metal.h>
#import <OCMock/OCMock.h>
#import <QuartzCore/QuartzCore.h>
#import <XCTest/XCTest.h>
#include "flutter/fml/logging.h"
#import "fl... | engine/shell/platform/darwin/ios/framework/Source/FlutterMetalLayerTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterMetalLayerTest.mm",
"repo_id": "engine",
"token_count": 2731
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERSEMANTICSSCROLLVIEW_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTER... | engine/shell/platform/darwin/ios/framework/Source/FlutterSemanticsScrollView.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterSemanticsScrollView.h",
"repo_id": "engine",
"token_count": 414
} | 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_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERUNDOMANAGERDELEGATE_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTER... | engine/shell/platform/darwin/ios/framework/Source/FlutterUndoManagerDelegate.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterUndoManagerDelegate.h",
"repo_id": "engine",
"token_count": 378
} | 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.
#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/SemanticsObjectTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/SemanticsObjectTest.mm",
"repo_id": "engine",
"token_count": 15108
} | 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_DARWIN_IOS_FRAMEWORK_SOURCE_PLATFORM_MESSAGE_RESPONSE_DARWIN_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_P... | engine/shell/platform/darwin/ios/framework/Source/platform_message_response_darwin.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/platform_message_response_darwin.h",
"repo_id": "engine",
"token_count": 544
} | 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.
#import "flutter/shell/platform/darwin/ios/ios_external_texture_metal.h"
#include "flow/layers/layer.h"
namespace flutter {
IOSExternalTextureMetal::IOSE... | engine/shell/platform/darwin/ios/ios_external_texture_metal.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/ios_external_texture_metal.mm",
"repo_id": "engine",
"token_count": 638
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_RENDERING_API_SELECTION_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_RENDERING_API_SELECTION_H_
#include <objc/r... | engine/shell/platform/darwin/ios/rendering_api_selection.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/rendering_api_selection.h",
"repo_id": "engine",
"token_count": 455
} | 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.
#import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterAppDelegate.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterA... | engine/shell/platform/darwin/macos/framework/Source/FlutterAppDelegate.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterAppDelegate.mm",
"repo_id": "engine",
"token_count": 1188
} | 373 |
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterDisplayLink.h"
#include "flutter/fml/logging.h"
#include <algorithm>
#include <optional>
#include <thread>
#include <vector>
// Note on thread safety and locking:
//
// There are three mutexes used within the scope of this file:
// - CVDisplayLink ... | engine/shell/platform/darwin/macos/framework/Source/FlutterDisplayLink.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterDisplayLink.mm",
"repo_id": "engine",
"token_count": 4687
} | 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.
#include <Carbon/Carbon.h>
#import <Foundation/Foundation.h>
#import <OCMock/OCMock.h>
#import "flutter/shell/platform/darwin/macos/framework/Source/Flutt... | engine/shell/platform/darwin/macos/framework/Source/FlutterKeyboardManagerTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterKeyboardManagerTest.mm",
"repo_id": "engine",
"token_count": 13119
} | 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.
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterPlatformViewController.h"
#import "flutter/shell/platform/darwin/common/framework/Hea... | engine/shell/platform/darwin/macos/framework/Source/FlutterPlatformViewControllerTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterPlatformViewControllerTest.mm",
"repo_id": "engine",
"token_count": 3996
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERTHREADSYNCHRONIZER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUT... | engine/shell/platform/darwin/macos/framework/Source/FlutterThreadSynchronizer.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterThreadSynchronizer.h",
"repo_id": "engine",
"token_count": 1105
} | 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_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWENGINEPROVIDER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUT... | engine/shell/platform/darwin/macos/framework/Source/FlutterViewEngineProvider.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterViewEngineProvider.h",
"repo_id": "engine",
"token_count": 311
} | 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.
#define FML_USED_ON_EMBEDDER
#define RAPIDJSON_HAS_STDSTRING 1
#include <cstring>
#include <iostream>
#include <memory>
#include <set>
#include <string>
#... | engine/shell/platform/embedder/embedder.cc/0 | {
"file_path": "engine/shell/platform/embedder/embedder.cc",
"repo_id": "engine",
"token_count": 52309
} | 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/embedder/embedder.h"
// This file is only present to ensure that the public embedder header can be
// cleanly included in... | engine/shell/platform/embedder/embedder_include.c/0 | {
"file_path": "engine/shell/platform/embedder/embedder_include.c",
"repo_id": "engine",
"token_count": 89
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_STRUCT_MACROS_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_STRUCT_MACROS_H_
#include <type_traits>... | engine/shell/platform/embedder/embedder_struct_macros.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_struct_macros.h",
"repo_id": "engine",
"token_count": 704
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_TASK_RUNNER_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_TASK_RUNNER_H_
#include <mutex>
#include ... | engine/shell/platform/embedder/embedder_task_runner.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_task_runner.h",
"repo_id": "engine",
"token_count": 1298
} | 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_EMBEDDER_TEST_UTILS_PROC_TABLE_REPLACEMENT_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TEST_UTILS_PROC_TABLE_REPLACEMENT_H_
... | engine/shell/platform/embedder/test_utils/proc_table_replacement.h/0 | {
"file_path": "engine/shell/platform/embedder/test_utils/proc_table_replacement.h",
"repo_id": "engine",
"token_count": 776
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_GL_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_GL_H_
... | engine/shell/platform/embedder/tests/embedder_test_compositor_gl.h/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_test_compositor_gl.h",
"repo_id": "engine",
"token_count": 437
} | 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_EMBEDDER_TESTS_EMBEDDER_TEST_CONTEXT_VULKAN_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_CONTEXT_VULKAN_H_... | engine/shell/platform/embedder/tests/embedder_test_context_vulkan.h/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_test_context_vulkan.h",
"repo_id": "engine",
"token_count": 625
} | 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.
import("//flutter/testing/testing.gni")
import("//flutter/tools/fuchsia/dart/dart_library.gni")
import("//flutter/tools/fuchsia/flutter/flutter_component.gni"... | engine/shell/platform/fuchsia/dart-pkg/zircon/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/BUILD.gn",
"repo_id": "engine",
"token_count": 1025
} | 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.
#include "handle_waiter.h"
#include <lib/async/default.h>
#include "handle.h"
#include "third_party/tonic/converter/dart_converter.h"
#include "third_par... | engine/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/handle_waiter.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/handle_waiter.cc",
"repo_id": "engine",
"token_count": 1666
} | 387 |
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_DART_DL_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_DART_DL_H_
#include "macros.h"
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
// Initialize Dart API with dynamic linking.
//
// Must be called with `NativeApi.initializeApiDL... | engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/dart_dl.h/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/dart_dl.h",
"repo_id": "engine",
"token_count": 270
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_RUNNER_DART_RUNNER_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_RUNNER_DART_RUNNER_H_
#include <fuchsia/comp... | engine/shell/platform/fuchsia/dart_runner/dart_runner.h/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/dart_runner.h",
"repo_id": "engine",
"token_count": 608
} | 389 |
// 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 <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <lib/inspect/component/cpp/component.h>
#include <lib/trace-provider/prov... | engine/shell/platform/fuchsia/dart_runner/main.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/main.cc",
"repo_id": "engine",
"token_count": 1049
} | 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.
import 'dart:fuchsia.builtin';
String? OnEchoString(String? str) {
print('Got echo string: $str');
return str;
}
void main(List<String> args) {
rec... | engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_echo_server/main.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_echo_server/main.dart",
"repo_id": "engine",
"token_count": 114
} | 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.
#include "accessibility_bridge.h"
#include <fuchsia/ui/views/cpp/fidl.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include... | engine/shell/platform/fuchsia/flutter/accessibility_bridge_unittest.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/accessibility_bridge_unittest.cc",
"repo_id": "engine",
"token_count": 16074
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_FLATLAND_CONNECTION_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_FLATLAND_CONNECTION_H_
#include <fuch... | engine/shell/platform/fuchsia/flutter/flatland_connection.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/flatland_connection.h",
"repo_id": "engine",
"token_count": 1398
} | 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.
#include <fuchsia/ui/pointer/cpp/fidl.h>
#include <gtest/gtest.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <lib/fi... | engine/shell/platform/fuchsia/flutter/pointer_delegate_unittests.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/pointer_delegate_unittests.cc",
"repo_id": "engine",
"token_count": 13993
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_SOFTWARE_SURFACE_PRODUCER_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_SOFTWARE_SURFACE_PRODUCER_H_
#i... | engine/shell/platform/fuchsia/flutter/software_surface_producer.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/software_surface_producer.h",
"repo_id": "engine",
"token_count": 826
} | 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_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_SCENIC_FAKE_FLATLAND_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_SCENIC_FAKE_F... | engine/shell/platform/fuchsia/flutter/tests/fakes/scenic/fake_flatland.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/fakes/scenic/fake_flatland.h",
"repo_id": "engine",
"token_count": 5036
} | 396 |
# 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/embedder/parent-view/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/BUILD.gn",
"repo_id": "engine",
"token_count": 348
} | 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.
// This is an instrumented test application. It has a single field, is
// able to receive keyboard input from the test fixture, and is able to report
// ba... | engine/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-view/lib/text_input_view.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-view/lib/text_input_view.dart",
"repo_id": "engine",
"token_count": 1238
} | 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 "check_view.h"
#include "flutter/fml/logging.h"
namespace fuchsia_test_utils {
bool CheckViewExistsInSnapshot(
const fuchsia::ui::observati... | engine/shell/platform/fuchsia/flutter/tests/integration/utils/check_view.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/utils/check_view.cc",
"repo_id": "engine",
"token_count": 460
} | 399 |
// 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 "text_delegate.h"
#include <fuchsia/ui/input/cpp/fidl.h>
#include <fuchsia/ui/input3/cpp/fidl.h>
#include <fuchsia/ui/views/cpp/fidl.h>
#include ... | engine/shell/platform/fuchsia/flutter/text_delegate_unittests.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/text_delegate_unittests.cc",
"repo_id": "engine",
"token_count": 4073
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_BUILD_INFO_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_BUILD_INFO_H_
#include "... | engine/shell/platform/fuchsia/runtime/dart/utils/build_info.h/0 | {
"file_path": "engine/shell/platform/fuchsia/runtime/dart/utils/build_info.h",
"repo_id": "engine",
"token_count": 293
} | 401 |
// 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 "vmo.h"
#include <fcntl.h>
#include <sys/stat.h>
#include <fuchsia/io/cpp/fidl.h>
#include <fuchsia/mem/cpp/fidl.h>
#include <lib/fdio/directory... | engine/shell/platform/fuchsia/runtime/dart/utils/vmo.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/runtime/dart/utils/vmo.cc",
"repo_id": "engine",
"token_count": 1451
} | 402 |
// 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 <memory>
#include <string>
#include "flutter/shell/platform/glfw/client_wrapper/include/flutter/plugin_registrar_glfw.h"
#include "flutter/shell/... | engine/shell/platform/glfw/client_wrapper/plugin_registrar_glfw_unittests.cc/0 | {
"file_path": "engine/shell/platform/glfw/client_wrapper/plugin_registrar_glfw_unittests.cc",
"repo_id": "engine",
"token_count": 751
} | 403 |
// 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_GLFW_PUBLIC_FLUTTER_GLFW_H_
#define FLUTTER_SHELL_PLATFORM_GLFW_PUBLIC_FLUTTER_GLFW_H_
#include <stddef.h>
#include <stdint... | engine/shell/platform/glfw/public/flutter_glfw.h/0 | {
"file_path": "engine/shell/platform/glfw/public/flutter_glfw.h",
"repo_id": "engine",
"token_count": 2699
} | 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.
#include "flutter/shell/platform/linux/public/flutter_linux/fl_basic_message_channel.h"
#include <gmodule.h>
struct _FlBasicMessageChannel {
GObject pa... | engine/shell/platform/linux/fl_basic_message_channel.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_basic_message_channel.cc",
"repo_id": "engine",
"token_count": 3622
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_GNOME_SETTINGS_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_GNOME_SETTINGS_H_
#include "flutter/shell/platform/linux... | engine/shell/platform/linux/fl_gnome_settings.h/0 | {
"file_path": "engine/shell/platform/linux/fl_gnome_settings.h",
"repo_id": "engine",
"token_count": 343
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_KEY_RESPONDER_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_KEY_RESPONDER_H_
#include <gdk/gdk.h>
#include <cinttypes... | engine/shell/platform/linux/fl_key_responder.h/0 | {
"file_path": "engine/shell/platform/linux/fl_key_responder.h",
"repo_id": "engine",
"token_count": 1153
} | 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/shell/platform/linux/public/flutter_linux/fl_method_response.h"
#include <gmodule.h>
G_DEFINE_QUARK(fl_method_response_error_quark, fl_... | engine/shell/platform/linux/fl_method_response.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_method_response.cc",
"repo_id": "engine",
"token_count": 2406
} | 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.
#include "flutter/shell/platform/linux/fl_renderer_gdk.h"
struct _FlRendererGdk {
FlRenderer parent_instance;
// Window being rendered on.
GdkWindo... | engine/shell/platform/linux/fl_renderer_gdk.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_renderer_gdk.cc",
"repo_id": "engine",
"token_count": 1048
} | 409 |
// 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_portal.h"
#include "flutter/shell/platform/linux/testing/fl_test.h"
#include "flutter/testing/testing.h"... | engine/shell/platform/linux/fl_settings_portal_test.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_settings_portal_test.cc",
"repo_id": "engine",
"token_count": 2828
} | 410 |
// 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_TEXTURE_GL_PRIVATE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_TEXTURE_GL_PRIVATE_H_
#include "flutter/shell/platfo... | engine/shell/platform/linux/fl_texture_gl_private.h/0 | {
"file_path": "engine/shell/platform/linux/fl_texture_gl_private.h",
"repo_id": "engine",
"token_count": 547
} | 411 |
// 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 "key_mapping.h"
#include <gmodule.h>
#include <algorithm>
#include <vector>
#include "gtest/gtest.h"
bool operator==(const LayoutGoal& a, const ... | engine/shell/platform/linux/key_mapping_test.cc/0 | {
"file_path": "engine/shell/platform/linux/key_mapping_test.cc",
"repo_id": "engine",
"token_count": 631
} | 412 |
// 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_PLUGIN_REGISTRY_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_PLUGIN_REGISTR... | engine/shell/platform/linux/public/flutter_linux/fl_plugin_registry.h/0 | {
"file_path": "engine/shell/platform/linux/public/flutter_linux/fl_plugin_registry.h",
"repo_id": "engine",
"token_count": 756
} | 413 |
// 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/testing/mock_binary_messenger.h"
#include "flutter/shell/platform/linux/testing/mock_binary_messenger_response_handl... | engine/shell/platform/linux/testing/mock_binary_messenger.cc/0 | {
"file_path": "engine/shell/platform/linux/testing/mock_binary_messenger.cc",
"repo_id": "engine",
"token_count": 2401
} | 414 |
// 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/testing/mock_text_input_plugin.h"
struct _FlMockTextInputPlugin {
FlTextInputPlugin parent_instance;
gboolean ... | engine/shell/platform/linux/testing/mock_text_input_plugin.cc/0 | {
"file_path": "engine/shell/platform/linux/testing/mock_text_input_plugin.cc",
"repo_id": "engine",
"token_count": 585
} | 415 |
// 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 <memory>
#include <string>
#include "flutter/shell/platform/windows/client_wrapper/include/flutter/flutter_engine.h"
#include "flutter/shell/plat... | engine/shell/platform/windows/client_wrapper/flutter_engine_unittests.cc/0 | {
"file_path": "engine/shell/platform/windows/client_wrapper/flutter_engine_unittests.cc",
"repo_id": "engine",
"token_count": 2948
} | 416 |
// 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/compositor_software.h"
#include "flutter/shell/platform/windows/flutter_windows_engine.h"
#include "flutter/shell... | engine/shell/platform/windows/compositor_software.cc/0 | {
"file_path": "engine/shell/platform/windows/compositor_software.cc",
"repo_id": "engine",
"token_count": 826
} | 417 |
// 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/egl/manager.h"
#include <vector>
#include "flutter/fml/logging.h"
#include "flutter/shell/platform/windows/egl/e... | engine/shell/platform/windows/egl/manager.cc/0 | {
"file_path": "engine/shell/platform/windows/egl/manager.cc",
"repo_id": "engine",
"token_count": 4424
} | 418 |
// 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_FLUTTER_DESKTOP_MESSENGER_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_DESKTOP_MESSENGER_H_
#include <atomic>
... | engine/shell/platform/windows/flutter_desktop_messenger.h/0 | {
"file_path": "engine/shell/platform/windows/flutter_desktop_messenger.h",
"repo_id": "engine",
"token_count": 799
} | 419 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.