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.
part of ui;
enum FontStyle {
normal,
italic,
}
enum PlaceholderAlignment {
baseline,
aboveBaseline,
belowBaseline,
top,
bottom,
middle,
}... | engine/lib/web_ui/lib/text.dart/0 | {
"file_path": "engine/lib/web_ui/lib/text.dart",
"repo_id": "engine",
"token_count": 7469
} | 269 |
# Copyright 2019 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("//build/toolchain/wasm.gni")
wasm_lib("skwasm") {
public_configs = [ "//flutter:config" ]
sources = [
"canvas.cpp",
"contour_measure.cpp... | engine/lib/web_ui/skwasm/BUILD.gn/0 | {
"file_path": "engine/lib/web_ui/skwasm/BUILD.gn",
"repo_id": "engine",
"token_count": 748
} | 270 |
// 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 "surface.h"
#include <algorithm>
#include "third_party/skia/include/gpu/GrBackendSurface.h"
#include "third_party/skia/include/gpu/GrDirectContex... | engine/lib/web_ui/skwasm/surface.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/surface.cpp",
"repo_id": "engine",
"token_count": 4370
} | 271 |
// 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:typed_data';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
i... | engine/lib/web_ui/test/canvaskit/common.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/common.dart",
"repo_id": "engine",
"token_count": 1524
} | 272 |
// 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:js_interop';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'co... | engine/lib/web_ui/test/canvaskit/native_memory_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/native_memory_test.dart",
"repo_id": "engine",
"token_count": 3801
} | 273 |
// 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';
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine... | engine/lib/web_ui/test/canvaskit/text_fragmenter_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/text_fragmenter_test.dart",
"repo_id": "engine",
"token_count": 3202
} | 274 |
// 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine/browser_detection.dart';... | engine/lib/web_ui/test/engine/composition_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/composition_test.dart",
"repo_id": "engine",
"token_count": 4967
} | 275 |
// 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/ui.dart';
import '../common/matchers.dart';
void main(... | engine/lib/web_ui/test/engine/lerp_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/lerp_test.dart",
"repo_id": "engine",
"token_count": 2387
} | 276 |
// 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:typed_data';
import 'package:quiver/testing/async.dart';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
impor... | engine/lib/web_ui/test/engine/raw_keyboard_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/raw_keyboard_test.dart",
"repo_id": "engine",
"token_count": 11103
} | 277 |
// 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:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
// Some tes... | engine/lib/web_ui/test/engine/services/serialization_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/services/serialization_test.dart",
"repo_id": "engine",
"token_count": 1272
} | 278 |
// 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
void main() {
... | engine/lib/web_ui/test/engine/view_embedder/display_dpr_stream_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/view_embedder/display_dpr_stream_test.dart",
"repo_id": "engine",
"token_count": 541
} | 279 |
// 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' hide TextSt... | engine/lib/web_ui/test/html/canvas_reuse_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/canvas_reuse_golden_test.dart",
"repo_id": "engine",
"token_count": 1511
} | 280 |
// 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';
import 'p... | engine/lib/web_ui/test/html/drawing/canvas_lines_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/drawing/canvas_lines_golden_test.dart",
"repo_id": "engine",
"token_count": 2037
} | 281 |
// 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 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
import 'package:web_engine_... | engine/lib/web_ui/test/html/paragraph/text_goldens.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/paragraph/text_goldens.dart",
"repo_id": "engine",
"token_count": 1259
} | 282 |
// 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' hide TextSt... | engine/lib/web_ui/test/html/shaders/radial_gradient_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/shaders/radial_gradient_golden_test.dart",
"repo_id": "engine",
"token_count": 1791
} | 283 |
// 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() {
internalBootstrapBrow... | engine/lib/web_ui/test/html/text/word_breaker_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/text/word_breaker_test.dart",
"repo_id": "engine",
"token_count": 2454
} | 284 |
// 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/ui.dart' as ui;
import '../common/test_initialization.da... | engine/lib/web_ui/test/ui/text_style_test_env_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/text_style_test_env_test.dart",
"repo_id": "engine",
"token_count": 409
} | 285 |
// 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:isolate';
import 'dart:ui';
import 'dart:io' show Platform;
@pragma('vm:external-name', 'PassMessage')
external void passMessage(String messa... | engine/runtime/fixtures/dart_tool/flutter_build/dart_plugin_registrant.dart/0 | {
"file_path": "engine/runtime/fixtures/dart_tool/flutter_build/dart_plugin_registrant.dart",
"repo_id": "engine",
"token_count": 934
} | 286 |
// 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/base64.h"
#include "fml/logging.h"
#include "gtest/gtest.h"
#include <string>
namespace flutter {
namespace testing {
TE... | engine/shell/common/base64_unittests.cc/0 | {
"file_path": "engine/shell/common/base64_unittests.cc",
"repo_id": "engine",
"token_count": 1921
} | 287 |
// 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/resource_cache_limit_calculator.h"
namespace flutter {
size_t ResourceCacheLimitCalculator::GetResourceCacheMaxBytes() {
... | engine/shell/common/resource_cache_limit_calculator.cc/0 | {
"file_path": "engine/shell/common/resource_cache_limit_calculator.cc",
"repo_id": "engine",
"token_count": 340
} | 288 |
// 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 "shell_test_external_view_embedder.h"
namespace flutter {
ShellTestExternalViewEmbedder::ShellTestExternalViewEmbedder(
const EndFrameCallBa... | engine/shell/common/shell_test_external_view_embedder.cc/0 | {
"file_path": "engine/shell/common/shell_test_external_view_embedder.cc",
"repo_id": "engine",
"token_count": 1474
} | 289 |
// 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_COMMON_SNAPSHOT_CONTROLLER_IMPELLER_H_
#define FLUTTER_SHELL_COMMON_SNAPSHOT_CONTROLLER_IMPELLER_H_
#include "flutter/shell/common/s... | engine/shell/common/snapshot_controller_impeller.h/0 | {
"file_path": "engine/shell/common/snapshot_controller_impeller.h",
"repo_id": "engine",
"token_count": 431
} | 290 |
// 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_COMMON_VSYNC_WAITER_FALLBACK_H_
#define FLUTTER_SHELL_COMMON_VSYNC_WAITER_FALLBACK_H_
#include "flutter/fml/macros.h"
#include "flut... | engine/shell/common/vsync_waiter_fallback.h/0 | {
"file_path": "engine/shell/common/vsync_waiter_fallback.h",
"repo_id": "engine",
"token_count": 388
} | 291 |
// 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_metal_impeller.h"
#import <Metal/Metal.h>
#import <QuartzCore/QuartzCore.h>
#include "flutter/common/settings.h"
... | engine/shell/gpu/gpu_surface_metal_impeller.mm/0 | {
"file_path": "engine/shell/gpu/gpu_surface_metal_impeller.mm",
"repo_id": "engine",
"token_count": 6188
} | 292 |
<?xml version="1.0" encoding="utf-8"?>
<!-- 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.flutter.app" android:vers... | engine/shell/platform/android/AndroidManifest.xml/0 | {
"file_path": "engine/shell/platform/android/AndroidManifest.xml",
"repo_id": "engine",
"token_count": 710
} | 293 |
// 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_ANDROID_ENVIRONMENT_GL_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_ENVIRONMENT_GL_H_
#include "flutter/fml/ma... | engine/shell/platform/android/android_environment_gl.h/0 | {
"file_path": "engine/shell/platform/android/android_environment_gl.h",
"repo_id": "engine",
"token_count": 367
} | 294 |
// 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_APK_ASSET_PROVIDER_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_APK_ASSET_PROVIDER_H_
#include <android/asset_manager_... | engine/shell/platform/android/apk_asset_provider.h/0 | {
"file_path": "engine/shell/platform/android/apk_asset_provider.h",
"repo_id": "engine",
"token_count": 759
} | 295 |
# This file only exists to provide IDE support to Android Studio.
#
# See ./README.md for details.
android.useAndroidX=true
android.enableJetifier=true
| engine/shell/platform/android/gradle.properties/0 | {
"file_path": "engine/shell/platform/android/gradle.properties",
"repo_id": "engine",
"token_count": 43
} | 296 |
// 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.app;
import android.content.ComponentCallbacks2;
import android.content.Intent;
import android.os.Bundle;
import io.flutter.plugin.comm... | engine/shell/platform/android/io/flutter/app/FlutterActivityEvents.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/app/FlutterActivityEvents.java",
"repo_id": "engine",
"token_count": 729
} | 297 |
// 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 android.graphics.PixelFormat;
import android.graphics.Region;
import android.... | engine/shell/platform/android/io/flutter/embedding/android/FlutterSurfaceView.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/FlutterSurfaceView.java",
"repo_id": "engine",
"token_count": 3971
} | 298 |
// 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;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting... | engine/shell/platform/android/io/flutter/embedding/engine/FlutterEngineGroupCache.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/FlutterEngineGroupCache.java",
"repo_id": "engine",
"token_count": 1147
} | 299 |
// 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;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
impo... | engine/shell/platform/android/io/flutter/embedding/engine/plugins/FlutterPlugin.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/plugins/FlutterPlugin.java",
"repo_id": "engine",
"token_count": 3044
} | 300 |
// 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.shim;
import android.app.Activity;
import android.content.Context;
import androidx.annotation.NonNull;
import ... | engine/shell/platform/android/io/flutter/embedding/engine/plugins/shim/ShimRegistrar.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/plugins/shim/ShimRegistrar.java",
"repo_id": "engine",
"token_count": 2413
} | 301 |
// 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.Nullable;
import io.flutter.Log;
import... | engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/PlatformViewsChannel.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/PlatformViewsChannel.java",
"repo_id": "engine",
"token_count": 8566
} | 302 |
package io.flutter.plugin.common;
import androidx.annotation.Nullable;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONObject;
publi... | engine/shell/platform/android/io/flutter/plugin/common/JSONUtil.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/common/JSONUtil.java",
"repo_id": "engine",
"token_count": 1320
} | 303 |
// 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.localization;
import static io.flutter.Build.API_LEVELS;
import android.annotation.SuppressLint;
import android.content.Context... | engine/shell/platform/android/io/flutter/plugin/localization/LocalizationPlugin.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/localization/LocalizationPlugin.java",
"repo_id": "engine",
"token_count": 2851
} | 304 |
// 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.view.Display;
import android.view.View;
import android.view... | engine/shell/platform/android/io/flutter/plugin/platform/SingleViewWindowManager.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/platform/SingleViewWindowManager.java",
"repo_id": "engine",
"token_count": 1252
} | 305 |
// 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.view;
import android.app.Activity;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.UiThr... | engine/shell/platform/android/io/flutter/view/FlutterNativeView.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/view/FlutterNativeView.java",
"repo_id": "engine",
"token_count": 2061
} | 306 |
// 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_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_PLATFORM_VIEW_ANDROID_H_
#include <memory>
#include... | engine/shell/platform/android/platform_view_android.h/0 | {
"file_path": "engine/shell/platform/android/platform_view_android.h",
"repo_id": "engine",
"token_count": 2442
} | 307 |
package io.flutter.embedding.android;
import static io.flutter.Build.API_LEVELS;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import android.annotation.TargetApi;
import android.graphics.SurfaceTexture;
import android.view.Surface;
import android.view.TextureView;
import androidx.... | engine/shell/platform/android/test/io/flutter/embedding/android/FlutterTextureViewTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/android/FlutterTextureViewTest.java",
"repo_id": "engine",
"token_count": 371
} | 308 |
// 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.deferredcomponents;
import static junit.framework.TestCase.assertEquals;
import static junit.framework.TestCase.assert... | engine/shell/platform/android/test/io/flutter/embedding/engine/deferredcomponents/PlayStoreDeferredComponentManagerTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/deferredcomponents/PlayStoreDeferredComponentManagerTest.java",
"repo_id": "engine",
"token_count": 5032
} | 309 |
package io.flutter.embedding.engine.systemchannels;
import static io.flutter.Build.API_LEVELS;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import android.annotation.TargetApi;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import io.flutter.embedding.engine.dart.DartExecut... | engine/shell/platform/android/test/io/flutter/embedding/engine/systemchannels/TextInputChannelTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/systemchannels/TextInputChannelTest.java",
"repo_id": "engine",
"token_count": 484
} | 310 |
// 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 org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.mocki... | engine/shell/platform/android/test/io/flutter/plugin/platform/PlatformOverlayViewTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/platform/PlatformOverlayViewTest.java",
"repo_id": "engine",
"token_count": 577
} | 311 |
// 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.view;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.Arg... | engine/shell/platform/android/test/io/flutter/view/VsyncWaiterTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/view/VsyncWaiterTest.java",
"repo_id": "engine",
"token_count": 1499
} | 312 |
This code is intended to be built into plugins and applications to provide
higher-level, C++ abstractions for interacting with the Flutter library.
Over time, the goal is to move more of this code into the library in a way that
provides a usable ABI (e.g., does not use standard library in the interfaces).
Note that t... | engine/shell/platform/common/client_wrapper/README/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/README",
"repo_id": "engine",
"token_count": 116
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_EVENT_STREAM_HANDLER_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_F... | engine/shell/platform/common/client_wrapper/include/flutter/event_stream_handler.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/include/flutter/event_stream_handler.h",
"repo_id": "engine",
"token_count": 921
} | 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.
#include "flutter/shell/platform/common/client_wrapper/include/flutter/method_result_functions.h"
#include <functional>
#include <string>
#include "gtest... | engine/shell/platform/common/client_wrapper/method_result_functions_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/method_result_functions_unittests.cc",
"repo_id": "engine",
"token_count": 698
} | 315 |
// 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_platform_node_delegate.h"
#include <utility>
#include "flutter/shell/platform/common/accessibility_bridge.h"
#include "flutter/third_pa... | engine/shell/platform/common/flutter_platform_node_delegate.cc/0 | {
"file_path": "engine/shell/platform/common/flutter_platform_node_delegate.cc",
"repo_id": "engine",
"token_count": 2007
} | 316 |
// 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/path_utils.h"
#include "gtest/gtest.h"
namespace flutter {
// Tests that GetExecutableDirectory returns a valid,... | engine/shell/platform/common/path_utils_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/path_utils_unittests.cc",
"repo_id": "engine",
"token_count": 234
} | 317 |
// 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_range.h"
#include "gtest/gtest.h"
namespace flutter {
TEST(TextRange, TextRangeFromPositionZero) {
TextRa... | engine/shell/platform/common/text_range_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/text_range_unittests.cc",
"repo_id": "engine",
"token_count": 2535
} | 318 |
// 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_FRAMEWORK_HEADERS_FLUTTERMACROS_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_FRAMEWORK_HEADERS_FLUTTERMACRO... | engine/shell/platform/darwin/common/framework/Headers/FlutterMacros.h/0 | {
"file_path": "engine/shell/platform/darwin/common/framework/Headers/FlutterMacros.h",
"repo_id": "engine",
"token_count": 607
} | 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.
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterCodecs.h"
#include "gtest/gtest.h"
FLUTTER_ASSERT_ARC
TEST(FlutterStringCodec, Ca... | engine/shell/platform/darwin/common/framework/Source/flutter_codecs_unittest.mm/0 | {
"file_path": "engine/shell/platform/darwin/common/framework/Source/flutter_codecs_unittest.mm",
"repo_id": "engine",
"token_count": 1312
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERENGINE_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERENGINE_H_
... | engine/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h",
"repo_id": "engine",
"token_count": 5696
} | 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 <Foundation/Foundation.h>
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#import "flutter/shell/platform/darwin/common/framework/Headers/Flut... | engine/shell/platform/darwin/ios/framework/Source/FlutterChannelKeyResponderTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterChannelKeyResponderTest.mm",
"repo_id": "engine",
"token_count": 2152
} | 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_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERFAKEKEYEVENTS_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERFAKEKE... | engine/shell/platform/darwin/ios/framework/Source/FlutterFakeKeyEvents.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterFakeKeyEvents.h",
"repo_id": "engine",
"token_count": 1638
} | 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.
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#import "flutter/fml/platform/darwin/weak_nsobject.h"
#import "flutter/shell/platform/darwin/common/fr... | engine/shell/platform/darwin/ios/framework/Source/FlutterPlatformPluginTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterPlatformPluginTest.mm",
"repo_id": "engine",
"token_count": 8617
} | 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_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTINPUTDELEGATE_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTE... | engine/shell/platform/darwin/ios/framework/Source/FlutterTextInputDelegate.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterTextInputDelegate.h",
"repo_id": "engine",
"token_count": 1199
} | 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.
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterView.h"
#include <Metal/Metal.h>
#include "flutter/common/settings.h"
#include "flutter... | engine/shell/platform/darwin/ios/framework/Source/FlutterView.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterView.mm",
"repo_id": "engine",
"token_count": 3744
} | 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.
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#include "flutter/fml/raster_thread_merger.h"
#include "flutter/fml/thread.h"
#import "flutter/shell/... | engine/shell/platform/darwin/ios/framework/Source/VsyncWaiterIosTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/VsyncWaiterIosTest.mm",
"repo_id": "engine",
"token_count": 3411
} | 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/ios/framework/Source/vsync_waiter_ios.h"
#include <utility>
#include <Foundation/Foundation.h>
#include <UIKit/UIK... | engine/shell/platform/darwin/ios/framework/Source/vsync_waiter_ios.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/vsync_waiter_ios.mm",
"repo_id": "engine",
"token_count": 2440
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_METAL_IMPELLER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_METAL_IMPELLER_H_
#include "... | engine/shell/platform/darwin/ios/ios_surface_metal_impeller.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/ios_surface_metal_impeller.h",
"repo_id": "engine",
"token_count": 734
} | 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_MACOS_FRAMEWORK_HEADERS_FLUTTERAPPLIFECYCLEDELEGATE_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_... | engine/shell/platform/darwin/macos/framework/Headers/FlutterAppLifecycleDelegate.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Headers/FlutterAppLifecycleDelegate.h",
"repo_id": "engine",
"token_count": 1310
} | 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_MACOS_FRAMEWORK_SOURCE_FLUTTERAPPLIFECYCLEDELEGATE_INTERNAL_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_... | engine/shell/platform/darwin/macos/framework/Source/FlutterAppLifecycleDelegate_Internal.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterAppLifecycleDelegate_Internal.h",
"repo_id": "engine",
"token_count": 295
} | 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.
#import <Foundation/Foundation.h>
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterEmbedderKeyResponder.h"
#include "flutter/shell/pla... | engine/shell/platform/darwin/macos/framework/Source/FlutterEmbedderKeyResponderTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterEmbedderKeyResponderTest.mm",
"repo_id": "engine",
"token_count": 18983
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERSURFACEMANAGER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERS... | engine/shell/platform/darwin/macos/framework/Source/FlutterSurfaceManager.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterSurfaceManager.h",
"repo_id": "engine",
"token_count": 1214
} | 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 <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#include "./KeyCodeMap_Internal.h"
// DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT
// This file is ... | engine/shell/platform/darwin/macos/framework/Source/KeyCodeMap.g.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/KeyCodeMap.g.mm",
"repo_id": "engine",
"token_count": 6285
} | 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.
# Linker script that exports the minimal symbols required for the embedder library
{
global:
Flutter*;
__Flutter*;
kFlutter*;
kDartIsolateS... | engine/shell/platform/embedder/embedder_exports.lst/0 | {
"file_path": "engine/shell/platform/embedder/embedder_exports.lst",
"repo_id": "engine",
"token_count": 157
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_PLATFORM_MESSAGE_RESPONSE_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_PLATFORM_MESSAGE_RESPONSE_H_... | engine/shell/platform/embedder/embedder_platform_message_response.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_platform_message_response.h",
"repo_id": "engine",
"token_count": 747
} | 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.
#include "flutter/shell/platform/embedder/embedder_surface_gl_impeller.h"
#include <utility>
#include "impeller/entity/gles/entity_shaders_gles.h"
#inclu... | engine/shell/platform/embedder/embedder_surface_gl_impeller.cc/0 | {
"file_path": "engine/shell/platform/embedder/embedder_surface_gl_impeller.cc",
"repo_id": "engine",
"token_count": 2646
} | 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_EMBEDDER_TESTS_EMBEDDER_FROZEN_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_FROZEN_H_
#include "flutter/shell/... | engine/shell/platform/embedder/tests/embedder_frozen.h/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_frozen.h",
"repo_id": "engine",
"token_count": 1172
} | 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.
#define FML_USED_ON_EMBEDDER
#include <cstring>
#include <string>
#include <utility>
#include <vector>
#include "embedder.h"
#include "embedder_engine.h"... | engine/shell/platform/embedder/tests/embedder_vk_unittests.cc/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_vk_unittests.cc",
"repo_id": "engine",
"token_count": 2049
} | 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.
part of zircon;
// ignore_for_file: native_function_body_in_non_sdk_code
// ignore_for_file: public_member_api_docs
typedef AsyncWaitCallback = void Func... | engine/shell/platform/fuchsia/dart-pkg/zircon/lib/src/handle_waiter.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/lib/src/handle_waiter.dart",
"repo_id": "engine",
"token_count": 188
} | 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_FUCHSIA_DART_PKG_ZIRCON_SDK_EXT_SYSTEM_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_SDK_EXT_SYSTEM_H_
#include... | engine/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.h/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.h",
"repo_id": "engine",
"token_count": 1249
} | 341 |
name: zircon_ffi
environment:
sdk: '>=3.2.0-0 <4.0.0'
dependencies:
ffi: ^1.0.0
dev_dependencies:
ffigen: ^3.0.0
lints: ^1.0.1
ffigen:
name: ZirconFFIBindings
description: Bindings for `dart:zircon_ffi`.
output: 'lib/zircon_ffi.dart'
headers:
entry-points:
- 'basic_types.h'
- 'channe... | engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/pubspec.yaml/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/pubspec.yaml",
"repo_id": "engine",
"token_count": 380
} | 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.
# The presence of this file is necessary in order to use the dart_library
# template in BUILD.gn.
environment:
sdk: '>=3.2.0-0 <4.0.0'
| engine/shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/embedder/pubspec.yaml",
"repo_id": "engine",
"token_count": 94
} | 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.
#include <dart/test/cpp/fidl.h>
#include <fuchsia/tracing/provider/cpp/fidl.h>
#include <lib/async-loop/testing/cpp/real_loop.h>
#include <lib/sys/componen... | engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_jit_runner/dart-jit-runner-integration-test.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_jit_runner/dart-jit-runner-integration-test.cc",
"repo_id": "engine",
"token_count": 1671
} | 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.
#include "flutter/shell/platform/fuchsia/flutter/canvas_spy.h"
#include "gtest/gtest.h"
#include "third_party/skia/include/core/SkPictureRecorder.h"
#incl... | engine/shell/platform/fuchsia/flutter/canvas_spy_unittests.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/canvas_spy_unittests.cc",
"repo_id": "engine",
"token_count": 783
} | 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_FUCHSIA_FLUTTER_FOCUS_DELEGATE_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_FOCUS_DELEGATE_H_
#include <fuchsia/ui/vie... | engine/shell/platform/fuchsia/flutter/focus_delegate.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/focus_delegate.h",
"repo_id": "engine",
"token_count": 1141
} | 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_FUCHSIA_FLUTTER_LOGGING_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_LOGGING_H_
#include "flutter/fml/logging.h"
name... | engine/shell/platform/fuchsia/flutter/logging.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/logging.h",
"repo_id": "engine",
"token_count": 194
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_PROGRAM_METADATA_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_PROGRAM_METADATA_H_
#include <optional>
... | engine/shell/platform/fuchsia/flutter/program_metadata.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/program_metadata.h",
"repo_id": "engine",
"token_count": 377
} | 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_FUCHSIA_FLUTTER_TASK_RUNNER_ADAPTER_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TASK_RUNNER_ADAPTER_H_
#include <lib/... | engine/shell/platform/fuchsia/flutter/task_runner_adapter.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/task_runner_adapter.h",
"repo_id": "engine",
"token_count": 237
} | 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/fuchsia/flutter/flatland_connection.h"
#include <fuchsia/scenic/scheduling/cpp/fidl.h>
#include <fuchsia/ui/composition/c... | engine/shell/platform/fuchsia/flutter/tests/flatland_connection_unittests.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/flatland_connection_unittests.cc",
"repo_id": "engine",
"token_count": 7082
} | 350 |
# mouse-input
`mouse-input-test` exercises mouse input through a child view (in this case, the `mouse-input-view` Dart component) and
asserting the location as well as what button was used (mouse down, mouse up, wheel, etc) during the event. We do this by
attaching the child view, injecting mouse input, and validating... | engine/shell/platform/fuchsia/flutter/tests/integration/mouse-input/README.md/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/mouse-input/README.md",
"repo_id": "engine",
"token_count": 1019
} | 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.
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/embedding-flutter-view/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/touch-input/embedding-flutter-view/BUILD.gn",
"repo_id": "engine",
"token_count": 413
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_INTEGRATION_UTILS_SCREENSHOT_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_INTEGRATION_UTILS... | engine/shell/platform/fuchsia/flutter/tests/integration/utils/screenshot.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/utils/screenshot.h",
"repo_id": "engine",
"token_count": 1643
} | 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 "vulkan_surface.h"
#include <fuchsia/sysmem/cpp/fidl.h>
#include <lib/async/default.h>
#include <algorithm>
#include "flutter/fml/logging.h"
#i... | engine/shell/platform/fuchsia/flutter/vulkan_surface.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/vulkan_surface.cc",
"repo_id": "engine",
"token_count": 8171
} | 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 "handle_exception.h"
#include <fuchsia/feedback/cpp/fidl.h>
#include <fuchsia/mem/cpp/fidl.h>
#include <lib/zx/vmo.h>
#include <sys/types.h>
#inc... | engine/shell/platform/fuchsia/runtime/dart/utils/handle_exception.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/runtime/dart/utils/handle_exception.cc",
"repo_id": "engine",
"token_count": 1594
} | 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.
import("//flutter/testing/testing.gni")
_public_headers = [ "public/flutter_glfw.h" ]
# Any files that are built by clients (client_wrapper code, library he... | engine/shell/platform/glfw/BUILD.gn/0 | {
"file_path": "engine/shell/platform/glfw/BUILD.gn",
"repo_id": "engine",
"token_count": 1075
} | 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_GLFW_EVENT_LOOP_H_
#define FLUTTER_SHELL_PLATFORM_GLFW_EVENT_LOOP_H_
#include <chrono>
#include <deque>
#include <functiona... | engine/shell/platform/glfw/event_loop.h/0 | {
"file_path": "engine/shell/platform/glfw/event_loop.h",
"repo_id": "engine",
"token_count": 928
} | 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_GLFW_TEXT_INPUT_PLUGIN_H_
#define FLUTTER_SHELL_PLATFORM_GLFW_TEXT_INPUT_PLUGIN_H_
#include <map>
#include <memory>
#inclu... | engine/shell/platform/glfw/text_input_plugin.h/0 | {
"file_path": "engine/shell/platform/glfw/text_input_plugin.h",
"repo_id": "engine",
"token_count": 839
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_BINARY_MESSENGER_PRIVATE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_BINARY_MESSENGER_PRIVATE_H_
#include <glib-obj... | engine/shell/platform/linux/fl_binary_messenger_private.h/0 | {
"file_path": "engine/shell/platform/linux/fl_binary_messenger_private.h",
"repo_id": "engine",
"token_count": 300
} | 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/linux/public/flutter_linux/fl_json_method_codec.h"
#include <cstring>
#include "flutter/shell/platform/linux/fl_method_c... | engine/shell/platform/linux/fl_json_method_codec_test.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_json_method_codec_test.cc",
"repo_id": "engine",
"token_count": 6917
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_VIEW_DELEGATE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_VIEW_DELEGATE_H_
#include <gdk/gdk.h>
#... | engine/shell/platform/linux/fl_keyboard_view_delegate.h/0 | {
"file_path": "engine/shell/platform/linux/fl_keyboard_view_delegate.h",
"repo_id": "engine",
"token_count": 1760
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_PIXEL_BUFFER_TEXTURE_PRIVATE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_PIXEL_BUFFER_TEXTURE_PRIVATE_H_
#include "... | engine/shell/platform/linux/fl_pixel_buffer_texture_private.h/0 | {
"file_path": "engine/shell/platform/linux/fl_pixel_buffer_texture_private.h",
"repo_id": "engine",
"token_count": 610
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_SCROLLING_MANAGER_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_SCROLLING_MANAGER_H_
#include <gdk/gdk.h>
#include "... | engine/shell/platform/linux/fl_scrolling_manager.h/0 | {
"file_path": "engine/shell/platform/linux/fl_scrolling_manager.h",
"repo_id": "engine",
"token_count": 1414
} | 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 "flutter/shell/platform/linux/public/flutter_linux/fl_string_codec.h"
#include <gmodule.h>
#include <cstring>
G_DEFINE_QUARK(fl_string_codec_er... | engine/shell/platform/linux/fl_string_codec.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_string_codec.cc",
"repo_id": "engine",
"token_count": 880
} | 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/linux/public/flutter_linux/fl_texture_registrar.h"
#include "flutter/shell/platform/linux/fl_texture_registrar_private.h"
... | engine/shell/platform/linux/fl_texture_registrar_test.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_texture_registrar_test.cc",
"repo_id": "engine",
"token_count": 2449
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_ENGINE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_ENGINE_H_
#if !defined... | engine/shell/platform/linux/public/flutter_linux/fl_engine.h/0 | {
"file_path": "engine/shell/platform/linux/public/flutter_linux/fl_engine.h",
"repo_id": "engine",
"token_count": 587
} | 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_LINUX_PUBLIC_FLUTTER_LINUX_FL_TEXTURE_GL_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_TEXTURE_GL_H_
#if ... | engine/shell/platform/linux/public/flutter_linux/fl_texture_gl.h/0 | {
"file_path": "engine/shell/platform/linux/public/flutter_linux/fl_texture_gl.h",
"repo_id": "engine",
"token_count": 1561
} | 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.
#include <epoxy/egl.h>
#include <epoxy/gl.h>
typedef struct {
EGLint config_id;
EGLint buffer_size;
EGLint color_buffer_type;
EGLint transparent_... | engine/shell/platform/linux/testing/mock_epoxy.cc/0 | {
"file_path": "engine/shell/platform/linux/testing/mock_epoxy.cc",
"repo_id": "engine",
"token_count": 7488
} | 368 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.