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 dart.ui;
/// A composable [SceneNode].
base class SceneNode extends NativeFieldWrapperClass1 {
@pragma('vm:entry-point')
SceneNode._create() {
... | engine/lib/ui/experiments/scene.dart/0 | {
"file_path": "engine/lib/ui/experiments/scene.dart",
"repo_id": "engine",
"token_count": 2239
} | 271 |
#version 320 es
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
precision highp float;
layout(location = 0) out vec4 color;
layout(location = 0) uniform sampler2D child1;
layout(location = 1) uniform ... | engine/lib/ui/fixtures/shaders/general_shaders/children_and_uniforms.frag/0 | {
"file_path": "engine/lib/ui/fixtures/shaders/general_shaders/children_and_uniforms.frag",
"repo_id": "engine",
"token_count": 242
} | 272 |
#version 320 es
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
precision highp float;
layout(location = 0) out vec4 fragColor;
layout(location = 0) uniform float a;
void main() {
fragColor = vec4(... | engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/66_length.frag/0 | {
"file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/66_length.frag",
"repo_id": "engine",
"token_count": 352
} | 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.
part of dart.ui;
/// Static methods to allow for simple sharing of [SendPort]s across [Isolate]s.
///
/// All isolates share a global mapping of names to ... | engine/lib/ui/isolate_name_server.dart/0 | {
"file_path": "engine/lib/ui/isolate_name_server.dart",
"repo_id": "engine",
"token_count": 856
} | 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.
#include "flutter/lib/ui/painting/display_list_deferred_image_gpu_impeller.h"
#include <utility>
#include "flutter/fml/make_copyable.h"
namespace flutte... | engine/lib/ui/painting/display_list_deferred_image_gpu_impeller.cc/0 | {
"file_path": "engine/lib/ui/painting/display_list_deferred_image_gpu_impeller.cc",
"repo_id": "engine",
"token_count": 2597
} | 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.
#include "flutter/lib/ui/painting/image_decoder.h"
#include "flutter/lib/ui/painting/image_decoder_skia.h"
#if IMPELLER_SUPPORTS_RENDERING
#include "flut... | engine/lib/ui/painting/image_decoder.cc/0 | {
"file_path": "engine/lib/ui/painting/image_decoder.cc",
"repo_id": "engine",
"token_count": 803
} | 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.
#ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_ENCODING_IMPL_H_
#define FLUTTER_LIB_UI_PAINTING_IMAGE_ENCODING_IMPL_H_
#include "flutter/lib/ui/ui_dart_state.h"
#i... | engine/lib/ui/painting/image_encoding_impl.h/0 | {
"file_path": "engine/lib/ui/painting/image_encoding_impl.h",
"repo_id": "engine",
"token_count": 825
} | 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.
#ifndef FLUTTER_LIB_UI_PAINTING_IMMUTABLE_BUFFER_H_
#define FLUTTER_LIB_UI_PAINTING_IMMUTABLE_BUFFER_H_
#include <cstdint>
#include "flutter/fml/macros.h... | engine/lib/ui/painting/immutable_buffer.h/0 | {
"file_path": "engine/lib/ui/painting/immutable_buffer.h",
"repo_id": "engine",
"token_count": 1243
} | 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.
#ifndef FLUTTER_LIB_UI_PAINTING_PICTURE_RECORDER_H_
#define FLUTTER_LIB_UI_PAINTING_PICTURE_RECORDER_H_
#include "flutter/display_list/dl_builder.h"
#incl... | engine/lib/ui/painting/picture_recorder.h/0 | {
"file_path": "engine/lib/ui/painting/picture_recorder.h",
"repo_id": "engine",
"token_count": 365
} | 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.
part of dart.ui;
/// A wrapper for a raw callback handle.
///
/// This is the return type for [PluginUtilities.getCallbackHandle].
class CallbackHandle {
... | engine/lib/ui/plugins.dart/0 | {
"file_path": "engine/lib/ui/plugins.dart",
"repo_id": "engine",
"token_count": 759
} | 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.
part of dart.ui;
@pragma('vm:entry-point')
void _setupHooks() {
assert(() {
// In debug mode, register the schedule frame extension.
developer.r... | engine/lib/ui/setup_hooks.dart/0 | {
"file_path": "engine/lib/ui/setup_hooks.dart",
"repo_id": "engine",
"token_count": 270
} | 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.
#ifndef FLUTTER_LIB_UI_VOLATILE_PATH_TRACKER_H_
#define FLUTTER_LIB_UI_VOLATILE_PATH_TRACKER_H_
#include <deque>
#include <memory>
#include <mutex>
#inclu... | engine/lib/ui/volatile_path_tracker.h/0 | {
"file_path": "engine/lib/ui/volatile_path_tracker.h",
"repo_id": "engine",
"token_count": 767
} | 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.
#ifndef FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_H_
#define FLUTTER_LIB_UI_WINDOW_PLATFORM_MESSAGE_RESPONSE_DART_H_
#include "flutter/fml/mess... | engine/lib/ui/window/platform_message_response_dart.h/0 | {
"file_path": "engine/lib/ui/window/platform_message_response_dart.h",
"repo_id": "engine",
"token_count": 417
} | 283 |
# Web-specific coding conventions and terminology
Here you will find various naming and structural conventions used in the Web
engine code. This is not a code style guide. For code style refer to
[Flutter's style guide][1]. This document does not apply outside the `web_ui`
directory.
## CanvasKit Renderer
All code s... | engine/lib/web_ui/CODE_CONVENTIONS.md/0 | {
"file_path": "engine/lib/web_ui/CODE_CONVENTIONS.md",
"repo_id": "engine",
"token_count": 714
} | 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 'dart:async';
import 'dart:io';
import 'package:test_api/backend.dart';
import 'browser.dart';
import 'browser_process.dart';
import 'common.dart'... | engine/lib/web_ui/dev/edge.dart/0 | {
"file_path": "engine/lib/web_ui/dev/edge.dart",
"repo_id": "engine",
"token_count": 727
} | 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:convert' show ByteConversionSink, jsonDecode, utf8;
import 'dart:io' as io;
import 'dart:typed_data';
import 'package:args/command_runner.dar... | engine/lib/web_ui/dev/roll_fallback_fonts.dart/0 | {
"file_path": "engine/lib/web_ui/dev/roll_fallback_fonts.dart",
"repo_id": "engine",
"token_count": 10418
} | 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.
import { baseUri } from "./base_uri.js";
/**
* Handles injecting the main Flutter web entrypoint (main.dart.js), and notifying
* the user when Flutter i... | engine/lib/web_ui/flutter_js/src/entrypoint_loader.js/0 | {
"file_path": "engine/lib/web_ui/flutter_js/src/entrypoint_loader.js",
"repo_id": "engine",
"token_count": 2847
} | 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.
part of ui;
/// Linearly interpolate between two numbers, `a` and `b`, by an extrapolation
/// factor `t`.
///
/// When `a` and `b` are equal or both NaN,... | engine/lib/web_ui/lib/lerp.dart/0 | {
"file_path": "engine/lib/web_ui/lib/lerp.dart",
"repo_id": "engine",
"token_count": 464
} | 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.
/// Bindings for CanvasKit JavaScript API.
///
/// Prefer keeping the original CanvasKit names so it is easier to locate
/// the API behind these bindings ... | engine/lib/web_ui/lib/src/engine/canvaskit/canvaskit_api.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/canvaskit_api.dart",
"repo_id": "engine",
"token_count": 35897
} | 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.
import 'dart:js_interop';
import 'package:meta/meta.dart';
import 'package:ui/src/engine.dart';
/// Collects native objects that weren't explicitly dispos... | engine/lib/web_ui/lib/src/engine/canvaskit/native_memory.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/native_memory.dart",
"repo_id": "engine",
"token_count": 2445
} | 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.
import 'dart:js_interop';
import 'dart:typed_data';
import '../dom.dart';
import '../text/line_breaker.dart';
import '../util.dart';
import 'canvaskit_api... | engine/lib/web_ui/lib/src/engine/canvaskit/text_fragmenter.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/text_fragmenter.dart",
"repo_id": "engine",
"token_count": 1967
} | 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.
import 'dart:math' as math;
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import '../browser_detection.dart';
import '../canvas_pool.dart'... | engine/lib/web_ui/lib/src/engine/html/bitmap_canvas.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/bitmap_canvas.dart",
"repo_id": "engine",
"token_count": 20336
} | 292 |
// Copyright 2013 The Flutter 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:ui/ui.dart' as ui;
import 'conic.dart';
import 'path_ref.dart';
import 'path_utils.dart';
/// Converts [path] ... | engine/lib/web_ui/lib/src/engine/html/path/path_to_svg.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/path/path_to_svg.dart",
"repo_id": "engine",
"token_count": 946
} | 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.
import 'dart:math' as math;
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import '../../browser_detection.dart';
import '../../color_filte... | engine/lib/web_ui/lib/src/engine/html/shaders/shader.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/shaders/shader.dart",
"repo_id": "engine",
"token_count": 12738
} | 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.
import '../dom.dart';
import 'prevent_default.dart';
/// Controls the browser's context menu in the given [element].
class ContextMenu {
ContextMenu(thi... | engine/lib/web_ui/lib/src/engine/mouse/context_menu.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/mouse/context_menu.dart",
"repo_id": "engine",
"token_count": 354
} | 295 |
// Copyright 2013 The Flutter 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:js_interop';
import 'dart:math' as math;
import 'package:meta/meta.dart';
import 'package:ui/src/engine/keyboard_binding... | engine/lib/web_ui/lib/src/engine/pointer_binding.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/pointer_binding.dart",
"repo_id": "engine",
"token_count": 14116
} | 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.
import '../dom.dart';
import 'semantics.dart';
/// Represents semantic objects that deliver information in a visual manner.
///
/// Uses aria img role to ... | engine/lib/web_ui/lib/src/engine/semantics/image.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/semantics/image.dart",
"repo_id": "engine",
"token_count": 1064
} | 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.
import 'dart:convert';
import 'dart:typed_data';
class ShaderData {
ShaderData({
required this.source,
required this.uniforms,
required this... | engine/lib/web_ui/lib/src/engine/shader_data.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/shader_data.dart",
"repo_id": "engine",
"token_count": 1600
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:ffi';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
final class RawImageFilter exten... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_filters.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_filters.dart",
"repo_id": "engine",
"token_count": 1089
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:ffi';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
final class RawParagraph extends... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/text/raw_paragraph.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/text/raw_paragraph.dart",
"repo_id": "engine",
"token_count": 1902
} | 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.
/// Splits [text] into a list of [TextFragment]s.
///
/// Various subclasses can perform the fragmenting based on their own criteria.
///
/// See:
///
/// ... | engine/lib/web_ui/lib/src/engine/text/fragmenter.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text/fragmenter.dart",
"repo_id": "engine",
"token_count": 302
} | 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.
import '../browser_detection.dart';
import '../dom.dart';
/// Various types of inputs used in text fields.
///
/// These types are coming from Flutter's [... | engine/lib/web_ui/lib/src/engine/text_editing/input_type.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text_editing/input_type.dart",
"repo_id": "engine",
"token_count": 1636
} | 302 |
// Copyright 2013 The Flutter 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:meta/meta.dart';
import 'package:ui/src/engine.dart';
import '../dom.dart';
/// This is state persistent acros... | engine/lib/web_ui/lib/src/engine/view_embedder/hot_restart_cache_handler.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/view_embedder/hot_restart_cache_handler.dart",
"repo_id": "engine",
"token_count": 746
} | 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.
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
extension SingletonFlutterWindowExtension on ui.SingletonFlutterWindow {
/// Ove... | engine/lib/web_ui/lib/ui_web/src/ui_web/testing.dart/0 | {
"file_path": "engine/lib/web_ui/lib/ui_web/src/ui_web/testing.dart",
"repo_id": "engine",
"token_count": 480
} | 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.
#include "export.h"
#include "helpers.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/effects/SkGradientShader.h"
... | engine/lib/web_ui/skwasm/shaders.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/shaders.cpp",
"repo_id": "engine",
"token_count": 3070
} | 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.
import 'dart:js_interop';
import 'dart:math';
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
im... | engine/lib/web_ui/test/canvaskit/canvaskit_api_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/canvaskit_api_test.dart",
"repo_id": "engine",
"token_count": 24840
} | 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.
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'pack... | engine/lib/web_ui/test/canvaskit/layer_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/layer_test.dart",
"repo_id": "engine",
"token_count": 2044
} | 307 |
// Copyright 2013 The Flutter 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_util' as js_util;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
impo... | engine/lib/web_ui/test/canvaskit/surface_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/surface_test.dart",
"repo_id": "engine",
"token_count": 4890
} | 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.
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/engine/canvas_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/canvas_test.dart",
"repo_id": "engine",
"token_count": 1144
} | 309 |
// Copyright 2013 The Flutter 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';
import 'pack... | engine/lib/web_ui/test/engine/image_to_byte_data_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/image_to_byte_data_test.dart",
"repo_id": "engine",
"token_count": 748
} | 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.
@TestOn('browser')
library;
import 'dart:async';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/en... | engine/lib/web_ui/test/engine/pointer_binding/event_position_helper_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/pointer_binding/event_position_helper_test.dart",
"repo_id": "engine",
"token_count": 1304
} | 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.
import 'dart:async';
import 'dart:typed_data';
import 'package:quiver/testing/async.dart';
import 'package:test/bootstrap/browser.dart';
import 'package:t... | engine/lib/web_ui/test/engine/semantics/semantics_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/semantics/semantics_test.dart",
"repo_id": "engine",
"token_count": 42438
} | 312 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:u... | engine/lib/web_ui/test/engine/view_embedder/dimensions_provider/custom_element_dimensions_provider_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/view_embedder/dimensions_provider/custom_element_dimensions_provider_test.dart",
"repo_id": "engine",
"token_count": 1976
} | 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.
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/html/bitmap_canvas_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/bitmap_canvas_golden_test.dart",
"repo_id": "engine",
"token_count": 3747
} | 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.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart';
import '.... | engine/lib/web_ui/test/html/drawing/canvas_draw_color_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/drawing/canvas_draw_color_golden_test.dart",
"repo_id": "engine",
"token_count": 914
} | 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.
import 'dart:async';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:u... | engine/lib/web_ui/test/html/paragraph/overflow_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/paragraph/overflow_golden_test.dart",
"repo_id": "engine",
"token_count": 1955
} | 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.
import 'dart:math' as math;
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/sr... | engine/lib/web_ui/test/html/shaders/gradient_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/shaders/gradient_golden_test.dart",
"repo_id": "engine",
"token_count": 9344
} | 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.
/// Parses raw test data into a list of [TestCase] objects.
List<TestCase> parseRawTestData(String rawTestData, {required bool isV8}) {
return rawTestDat... | engine/lib/web_ui/test/html/text/line_breaker_test_helper.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/text/line_breaker_test_helper.dart",
"repo_id": "engine",
"token_count": 3270
} | 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.
import 'dart:async';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:u... | engine/lib/web_ui/test/ui/frame_timings_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/frame_timings_test.dart",
"repo_id": "engine",
"token_count": 763
} | 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 '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/strut_style_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/strut_style_test.dart",
"repo_id": "engine",
"token_count": 2032
} | 320 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/runtime/dart_isolate.h"
#include <cstdlib>
#include "flutter/fml/paths.h"
#include "flutter/runtime/dart_plugin_registrant.h"
#include "... | engine/runtime/dart_plugin_registrant_unittests.cc/0 | {
"file_path": "engine/runtime/dart_plugin_registrant_unittests.cc",
"repo_id": "engine",
"token_count": 3676
} | 321 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/runtime/dart_vm.h"
#include "flutter/runtime/dart_vm_lifecycle.h"
#include "flutter/testing/fixture_test.h"
#include "gtest/gtest.h"
na... | engine/runtime/dart_vm_unittests.cc/0 | {
"file_path": "engine/runtime/dart_vm_unittests.cc",
"repo_id": "engine",
"token_count": 784
} | 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_RUNTIME_PTRACE_CHECK_H_
#define FLUTTER_RUNTIME_PTRACE_CHECK_H_
#include "flutter/common/settings.h"
#include "flutter/fml/build_config.h"... | engine/runtime/ptrace_check.h/0 | {
"file_path": "engine/runtime/ptrace_check.h",
"repo_id": "engine",
"token_count": 911
} | 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.
#define FML_USED_ON_EMBEDDER
#include "flutter/shell/common/animator.h"
#include <functional>
#include <future>
#include <memory>
#include "flutter/shel... | engine/shell/common/animator_unittests.cc/0 | {
"file_path": "engine/shell/common/animator_unittests.cc",
"repo_id": "engine",
"token_count": 3690
} | 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_COMMON_ENGINE_H_
#define FLUTTER_SHELL_COMMON_ENGINE_H_
#include <memory>
#include <string>
#include "flutter/assets/asset_manager.... | engine/shell/common/engine.h/0 | {
"file_path": "engine/shell/common/engine.h",
"repo_id": "engine",
"token_count": 19329
} | 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/shell/common/rasterizer.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "display_list/dl_builder.h"
#include "flo... | engine/shell/common/rasterizer.cc/0 | {
"file_path": "engine/shell/common/rasterizer.cc",
"repo_id": "engine",
"token_count": 15961
} | 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/shell_io_manager.h"
#include "flutter/common/task_runners.h"
#include "flutter/fml/mapping.h"
#include "flutter/lib/ui/pain... | engine/shell/common/shell_io_manager_unittests.cc/0 | {
"file_path": "engine/shell/common/shell_io_manager_unittests.cc",
"repo_id": "engine",
"token_count": 1542
} | 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/shell/common/vsync_waiter.h"
#include "flow/frame_timings.h"
#include "flutter/fml/task_runner.h"
#include "flutter/fml/trace_event.h"
#... | engine/shell/common/vsync_waiter.cc/0 | {
"file_path": "engine/shell/common/vsync_waiter.cc",
"repo_id": "engine",
"token_count": 2308
} | 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/gpu/gpu_surface_metal_delegate.h"
namespace flutter {
GPUSurfaceMetalDelegate::GPUSurfaceMetalDelegate(
MTLRenderTargetType r... | engine/shell/gpu/gpu_surface_metal_delegate.cc/0 | {
"file_path": "engine/shell/gpu/gpu_surface_metal_delegate.cc",
"repo_id": "engine",
"token_count": 214
} | 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_GPU_GPU_SURFACE_VULKAN_IMPELLER_H_
#define FLUTTER_SHELL_GPU_GPU_SURFACE_VULKAN_IMPELLER_H_
#include "flutter/common/graphics/gl_con... | engine/shell/gpu/gpu_surface_vulkan_impeller.h/0 | {
"file_path": "engine/shell/gpu/gpu_surface_vulkan_impeller.h",
"repo_id": "engine",
"token_count": 618
} | 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/platform/android/android_egl_surface.h"
#include <EGL/eglext.h>
#include <sys/system_properties.h>
#include <array>
#include <lis... | engine/shell/platform/android/android_egl_surface.cc/0 | {
"file_path": "engine/shell/platform/android/android_egl_surface.cc",
"repo_id": "engine",
"token_count": 2136
} | 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 "flutter/shell/platform/android/android_surface_vulkan_impeller.h"
#include <memory>
#include <utility>
#include "flutter/fml/concurrent_message... | engine/shell/platform/android/android_surface_vulkan_impeller.cc/0 | {
"file_path": "engine/shell/platform/android/android_surface_vulkan_impeller.cc",
"repo_id": "engine",
"token_count": 985
} | 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.
#define FML_USED_ON_EMBEDDER
#include <android/log.h>
#include <optional>
#include <vector>
#include "common/settings.h"
#include "flutter/fml/command_li... | engine/shell/platform/android/flutter_main.cc/0 | {
"file_path": "engine/shell/platform/android/flutter_main.cc",
"repo_id": "engine",
"token_count": 3745
} | 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.
package io.flutter;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
/**
* Port of {@link android.util.Log} that only logs in {@... | engine/shell/platform/android/io/flutter/Log.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/Log.java",
"repo_id": "engine",
"token_count": 1163
} | 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.
package io.flutter.embedding.android;
import static io.flutter.embedding.android.FlutterActivityLaunchConfigs.DART_ENTRYPOINT_META_DATA_KEY;
import static... | engine/shell/platform/android/io/flutter/embedding/android/FlutterFragmentActivity.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/FlutterFragmentActivity.java",
"repo_id": "engine",
"token_count": 13296
} | 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.
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/FlutterEngineCache.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/FlutterEngineCache.java",
"repo_id": "engine",
"token_count": 1103
} | 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.
package io.flutter.embedding.engine.loader;
import static io.flutter.Build.API_LEVELS;
import android.content.pm.PackageInfo;
import android.content.pm.P... | engine/shell/platform/android/io/flutter/embedding/engine/loader/ResourceExtractor.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/loader/ResourceExtractor.java",
"repo_id": "engine",
"token_count": 2864
} | 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.
package io.flutter.embedding.engine.plugins.service;
import android.app.Service;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
... | engine/shell/platform/android/io/flutter/embedding/engine/plugins/service/ServiceControlSurface.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/plugins/service/ServiceControlSurface.java",
"repo_id": "engine",
"token_count": 772
} | 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.engine.systemchannels;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.Vi... | engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/MouseCursorChannel.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/MouseCursorChannel.java",
"repo_id": "engine",
"token_count": 1204
} | 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.plugin.common;
import io.flutter.BuildConfig;
import io.flutter.Log;
/** Thrown to indicate that a Flutter method invocation failed on... | engine/shell/platform/android/io/flutter/plugin/common/FlutterException.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/common/FlutterException.java",
"repo_id": "engine",
"token_count": 223
} | 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.plugin.editing;
import android.view.textservice.SentenceSuggestionsInfo;
import android.view.textservice.SpellCheckerSession;
import an... | engine/shell/platform/android/io/flutter/plugin/editing/SpellCheckPlugin.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/editing/SpellCheckPlugin.java",
"repo_id": "engine",
"token_count": 2154
} | 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.plugin.platform;
import static android.view.MotionEvent.PointerCoords;
import static android.view.MotionEvent.PointerProperties;
import... | engine/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/platform/PlatformViewsController.java",
"repo_id": "engine",
"token_count": 19533
} | 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.view;
import static io.flutter.Build.API_LEVELS;
import android.annotation.SuppressLint;
import android.graphics.Rect;
import android.... | engine/shell/platform/android/io/flutter/view/AccessibilityViewEmbedder.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/view/AccessibilityViewEmbedder.java",
"repo_id": "engine",
"token_count": 8963
} | 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 "flutter/shell/platform/android/platform_message_response_android.h"
#include <utility>
#include "flutter/fml/make_copyable.h"
#include "flutter... | engine/shell/platform/android/platform_message_response_android.cc/0 | {
"file_path": "engine/shell/platform/android/platform_message_response_android.cc",
"repo_id": "engine",
"token_count": 748
} | 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/android/surface/android_surface_mock.h"
namespace flutter {
std::unique_ptr<GLContextResult> AndroidSurfaceMock::GLConte... | engine/shell/platform/android/surface/android_surface_mock.cc/0 | {
"file_path": "engine/shell/platform/android/surface/android_surface_mock.cc",
"repo_id": "engine",
"token_count": 234
} | 345 |
package io.flutter.embedding.android;
import static org.junit.Assert.assertNotNull;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.isNull;
import static org.mockito.Mockito.doAnswer;
import static org.mockito.Mockito.inOrder;
import static org.mockito.Mockito.mock;
import st... | engine/shell/platform/android/test/io/flutter/embedding/android/FlutterAndroidComponentTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/android/FlutterAndroidComponentTest.java",
"repo_id": "engine",
"token_count": 4957
} | 346 |
package io.flutter.embedding.engine;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import io.flutter.... | engine/shell/platform/android/test/io/flutter/embedding/engine/RenderingComponentTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/RenderingComponentTest.java",
"repo_id": "engine",
"token_count": 1168
} | 347 |
package io.flutter.embedding.engine.systemchannels;
import static org.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.refEq;
import static org.mockito.Mockito.doNothing;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
impo... | engine/shell/platform/android/test/io/flutter/embedding/engine/systemchannels/PlatformChannelTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/systemchannels/PlatformChannelTest.java",
"repo_id": "engine",
"token_count": 952
} | 348 |
package io.flutter.plugin.mouse;
import static io.flutter.Build.API_LEVELS;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verif... | engine/shell/platform/android/test/io/flutter/plugin/mouse/MouseCursorPluginTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/mouse/MouseCursorPluginTest.java",
"repo_id": "engine",
"token_count": 977
} | 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.
package io.flutter.util;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThrows;
import androidx.test.ext.junit.runners... | engine/shell/platform/android/test/io/flutter/util/PreconditionsTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/util/PreconditionsTest.java",
"repo_id": "engine",
"token_count": 364
} | 350 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_ALERT_PLATFORM_NODE_DELEGATE_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_ALERT_PLATFORM_NODE_DELEGATE_H_
#include "flut... | engine/shell/platform/common/alert_platform_node_delegate.h/0 | {
"file_path": "engine/shell/platform/common/alert_platform_node_delegate.h",
"repo_id": "engine",
"token_count": 606
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_ENGINE_METHOD_RESULT_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_F... | engine/shell/platform/common/client_wrapper/include/flutter/engine_method_result.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/include/flutter/engine_method_result.h",
"repo_id": "engine",
"token_count": 949
} | 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_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_TEXTURE_REGISTRAR_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUT... | engine/shell/platform/common/client_wrapper/include/flutter/texture_registrar.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/include/flutter/texture_registrar.h",
"repo_id": "engine",
"token_count": 1366
} | 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 "flutter/shell/platform/common/engine_switches.h"
#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <sstream>
namespace flutt... | engine/shell/platform/common/engine_switches.cc/0 | {
"file_path": "engine/shell/platform/common/engine_switches.cc",
"repo_id": "engine",
"token_count": 538
} | 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 "flutter/shell/platform/common/json_method_codec.h"
#include "flutter/shell/platform/common/client_wrapper/include/flutter/method_result_function... | engine/shell/platform/common/json_method_codec_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/json_method_codec_unittests.cc",
"repo_id": "engine",
"token_count": 2474
} | 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_TEXT_INPUT_MODEL_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_TEXT_INPUT_MODEL_H_
#include <memory>
#include <string>
#... | engine/shell/platform/common/text_input_model.h/0 | {
"file_path": "engine/shell/platform/common/text_input_model.h",
"repo_id": "engine",
"token_count": 2356
} | 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_DARWIN_COMMON_FRAMEWORK_HEADERS_FLUTTERCHANNELS_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_FRAMEWORK_HEADERS_FLUTTERCHA... | engine/shell/platform/darwin/common/framework/Headers/FlutterChannels.h/0 | {
"file_path": "engine/shell/platform/darwin/common/framework/Headers/FlutterChannels.h",
"repo_id": "engine",
"token_count": 5414
} | 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_DARWIN_COMMON_FRAMEWORK_SOURCE_FLUTTERSTANDARDCODEC_INTERNAL_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_FRAMEWORK_SOURC... | engine/shell/platform/darwin/common/framework/Source/FlutterStandardCodec_Internal.h/0 | {
"file_path": "engine/shell/platform/darwin/common/framework/Source/FlutterStandardCodec_Internal.h",
"repo_id": "engine",
"token_count": 777
} | 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_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTER_H_
#import "Flu... | engine/shell/platform/darwin/ios/framework/Headers/Flutter.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Headers/Flutter.h",
"repo_id": "engine",
"token_count": 329
} | 359 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERCALLBACKCACHE_INTERNAL_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUT... | engine/shell/platform/darwin/ios/framework/Source/FlutterCallbackCache_Internal.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterCallbackCache_Internal.h",
"repo_id": "engine",
"token_count": 236
} | 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 <Foundation/Foundation.h>
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#import <objc/runtime.h>
#import "flutter/common/settings.h"
#inclu... | engine/shell/platform/darwin/ios/framework/Source/FlutterEngineTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterEngineTest.mm",
"repo_id": "engine",
"token_count": 7774
} | 361 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterOverlayView.h"
#include <CoreGraphics/CGColorSpace.h>
#include <Metal/Metal.h>
#include... | engine/shell/platform/darwin/ios/framework/Source/FlutterOverlayView.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterOverlayView.mm",
"repo_id": "engine",
"token_count": 917
} | 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_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERSPELLCHECKPLUGIN_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERSPE... | engine/shell/platform/darwin/ios/framework/Source/FlutterSpellCheckPlugin.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterSpellCheckPlugin.h",
"repo_id": "engine",
"token_count": 462
} | 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.
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterUndoManagerPlugin.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/Flutter... | engine/shell/platform/darwin/ios/framework/Source/FlutterUndoManagerPlugin.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterUndoManagerPlugin.mm",
"repo_id": "engine",
"token_count": 1753
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_UIVIEWCONTROLLER_FLUTTERSCREENANDSCENEIFLOADED_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAM... | engine/shell/platform/darwin/ios/framework/Source/UIViewController+FlutterScreenAndSceneIfLoaded.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/UIViewController+FlutterScreenAndSceneIfLoaded.h",
"repo_id": "engine",
"token_count": 352
} | 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_DARWIN_IOS_FRAMEWORK_SOURCE_PROFILER_METRICS_IOS_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_PROFILER_METR... | engine/shell/platform/darwin/ios/framework/Source/profiler_metrics_ios.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/profiler_metrics_ios.h",
"repo_id": "engine",
"token_count": 381
} | 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.
#import "flutter/shell/platform/darwin/ios/ios_external_view_embedder.h"
#include "flutter/common/constants.h"
namespace flutter {
IOSExternalViewEmbedd... | engine/shell/platform/darwin/ios/ios_external_view_embedder.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/ios_external_view_embedder.mm",
"repo_id": "engine",
"token_count": 1510
} | 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.
assert(is_mac)
import("//build/config/mac/mac_sdk.gni")
import("//flutter/build/zip_bundle.gni")
import("//flutter/shell/gpu/gpu.gni")
import("//flutter/shel... | engine/shell/platform/darwin/macos/BUILD.gn/0 | {
"file_path": "engine/shell/platform/darwin/macos/BUILD.gn",
"repo_id": "engine",
"token_count": 4813
} | 368 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERAPPDELEGATE_INTERNAL_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FL... | engine/shell/platform/darwin/macos/framework/Source/FlutterAppDelegate_Internal.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterAppDelegate_Internal.h",
"repo_id": "engine",
"token_count": 314
} | 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.
#import <Foundation/Foundation.h>
#import <Metal/Metal.h>
#include <memory>
#include <vector>
#import "flutter/display_list/skia/dl_sk_canvas.h"
#import ... | engine/shell/platform/darwin/macos/framework/Source/FlutterEmbedderExternalTextureTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterEmbedderExternalTextureTest.mm",
"repo_id": "engine",
"token_count": 4376
} | 370 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.