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.
#include "impeller/renderer/backend/metal/render_pass_mtl.h"
#include "flutter/fml/closure.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/make_... | engine/impeller/renderer/backend/metal/render_pass_mtl.mm/0 | {
"file_path": "engine/impeller/renderer/backend/metal/render_pass_mtl.mm",
"repo_id": "engine",
"token_count": 4998
} | 212 |
// Copyright 2013 The Flutter 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_IMPELLER_RENDERER_BACKEND_METAL_VERTEX_DESCRIPTOR_MTL_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_VERTEX_DESCRIPTOR_MTL_H_
#include... | engine/impeller/renderer/backend/metal/vertex_descriptor_mtl.h/0 | {
"file_path": "engine/impeller/renderer/backend/metal/vertex_descriptor_mtl.h",
"repo_id": "engine",
"token_count": 410
} | 213 |
// Copyright 2013 The Flutter 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_IMPELLER_RENDERER_BACKEND_VULKAN_CAPABILITIES_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_CAPABILITIES_VK_H_
#include <cstdint>... | engine/impeller/renderer/backend/vulkan/capabilities_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/capabilities_vk.h",
"repo_id": "engine",
"token_count": 2223
} | 214 |
// Copyright 2013 The Flutter 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_IMPELLER_RENDERER_BACKEND_VULKAN_CONTEXT_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_CONTEXT_VK_H_
#include <memory>
#include ... | engine/impeller/renderer/backend/vulkan/context_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/context_vk.h",
"repo_id": "engine",
"token_count": 2361
} | 215 |
// Copyright 2013 The Flutter 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 "impeller/renderer/backend/vulkan/formats_vk.h"
namespace impeller {
vk::PipelineDepthStencilStateCreateInfo ToVKPipelineDepthStencilStateCreate... | engine/impeller/renderer/backend/vulkan/formats_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/formats_vk.cc",
"repo_id": "engine",
"token_count": 378
} | 216 |
// Copyright 2013 The Flutter 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 "impeller/renderer/backend/vulkan/render_pass_vk.h"
#include <array>
#include <cstdint>
#include <vector>
#include "fml/status.h"
#include "impe... | engine/impeller/renderer/backend/vulkan/render_pass_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/render_pass_vk.cc",
"repo_id": "engine",
"token_count": 9740
} | 217 |
// Copyright 2013 The Flutter 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_IMPELLER_RENDERER_BACKEND_VULKAN_SURFACE_CONTEXT_VK_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_SURFACE_CONTEXT_VK_H_
#include <me... | engine/impeller/renderer/backend/vulkan/surface_context_vk.h/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/surface_context_vk.h",
"repo_id": "engine",
"token_count": 991
} | 218 |
// Copyright 2013 The Flutter 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 "impeller/renderer/backend/vulkan/texture_source_vk.h"
namespace impeller {
TextureSourceVK::TextureSourceVK(TextureDescriptor desc) : desc_(des... | engine/impeller/renderer/backend/vulkan/texture_source_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/texture_source_vk.cc",
"repo_id": "engine",
"token_count": 1061
} | 219 |
// Copyright 2013 The Flutter 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_IMPELLER_RENDERER_BLIT_COMMAND_H_
#define FLUTTER_IMPELLER_RENDERER_BLIT_COMMAND_H_
#include "impeller/core/device_buffer.h"
#include "imp... | engine/impeller/renderer/blit_command.h/0 | {
"file_path": "engine/impeller/renderer/blit_command.h",
"repo_id": "engine",
"token_count": 395
} | 220 |
// Copyright 2013 The Flutter 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_IMPELLER_RENDERER_COMPUTE_PIPELINE_BUILDER_H_
#define FLUTTER_IMPELLER_RENDERER_COMPUTE_PIPELINE_BUILDER_H_
#include "impeller/base/string... | engine/impeller/renderer/compute_pipeline_builder.h/0 | {
"file_path": "engine/impeller/renderer/compute_pipeline_builder.h",
"repo_id": "engine",
"token_count": 1196
} | 221 |
// Copyright 2013 The Flutter 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_IMPELLER_RENDERER_PIPELINE_DESCRIPTOR_H_
#define FLUTTER_IMPELLER_RENDERER_PIPELINE_DESCRIPTOR_H_
#include <map>
#include <memory>
#includ... | engine/impeller/renderer/pipeline_descriptor.h/0 | {
"file_path": "engine/impeller/renderer/pipeline_descriptor.h",
"repo_id": "engine",
"token_count": 1558
} | 222 |
// Copyright 2013 The Flutter 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_IMPELLER_RENDERER_SAMPLER_LIBRARY_H_
#define FLUTTER_IMPELLER_RENDERER_SAMPLER_LIBRARY_H_
#include "impeller/core/sampler.h"
#include "imp... | engine/impeller/renderer/sampler_library.h/0 | {
"file_path": "engine/impeller/renderer/sampler_library.h",
"repo_id": "engine",
"token_count": 417
} | 223 |
// Copyright 2013 The Flutter 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 "impeller/scene/animation/animation_clip.h"
#include <algorithm>
#include <cmath>
#include <memory>
#include <valarray>
#include "impeller/scene... | engine/impeller/scene/animation/animation_clip.cc/0 | {
"file_path": "engine/impeller/scene/animation/animation_clip.cc",
"repo_id": "engine",
"token_count": 1442
} | 224 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/testing/testing.h"
#include "impeller/geometry/geometry_asserts.h"
#include "impeller/geometry/matrix.h"
#include "impeller/scene/importe... | engine/impeller/scene/importer/importer_unittests.cc/0 | {
"file_path": "engine/impeller/scene/importer/importer_unittests.cc",
"repo_id": "engine",
"token_count": 1814
} | 225 |
// Copyright 2013 The Flutter 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_IMPELLER_SCENE_SCENE_H_
#define FLUTTER_IMPELLER_SCENE_SCENE_H_
#include <memory>
#include <vector>
#include "flutter/fml/macros.h"
#inc... | engine/impeller/scene/scene.h/0 | {
"file_path": "engine/impeller/scene/scene.h",
"repo_id": "engine",
"token_count": 371
} | 226 |
// Copyright 2013 The Flutter 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 "impeller/shader_archive/multi_arch_shader_archive_writer.h"
#include "impeller/base/validation.h"
#include "impeller/shader_archive/multi_arch_s... | engine/impeller/shader_archive/multi_arch_shader_archive_writer.cc/0 | {
"file_path": "engine/impeller/shader_archive/multi_arch_shader_archive_writer.cc",
"repo_id": "engine",
"token_count": 910
} | 227 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
name: tessellator
description: A Dart FFI wrapper for Impeller's tessellator.
version: 0.0.0
publish_to: none
homepage: https://github.com/flutter/impeller/tre... | engine/impeller/tessellator/dart/pubspec.yaml/0 | {
"file_path": "engine/impeller/tessellator/dart/pubspec.yaml",
"repo_id": "engine",
"token_count": 134
} | 228 |
// Copyright 2013 The Flutter 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/impeller/toolkit/android/surface_transaction.h"
#include "flutter/impeller/toolkit/android/hardware_buffer.h"
#include "flutter/impeller... | engine/impeller/toolkit/android/surface_transaction.cc/0 | {
"file_path": "engine/impeller/toolkit/android/surface_transaction.cc",
"repo_id": "engine",
"token_count": 1578
} | 229 |
// Copyright 2013 The Flutter 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_IMPELLER_TYPOGRAPHER_BACKENDS_SKIA_GLYPH_ATLAS_CONTEXT_SKIA_H_
#define FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_SKIA_GLYPH_ATLAS_CONTEXT_SKIA_... | engine/impeller/typographer/backends/skia/glyph_atlas_context_skia.h/0 | {
"file_path": "engine/impeller/typographer/backends/skia/glyph_atlas_context_skia.h",
"repo_id": "engine",
"token_count": 468
} | 230 |
// Copyright 2013 The Flutter 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 "impeller/typographer/font.h"
namespace impeller {
Font::Font(std::shared_ptr<Typeface> typeface, Metrics metrics)
: typeface_(std::move(typ... | engine/impeller/typographer/font.cc/0 | {
"file_path": "engine/impeller/typographer/font.cc",
"repo_id": "engine",
"token_count": 370
} | 231 |
// Copyright 2013 The Flutter 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_GPU_FIXTURES_H_
#define FLUTTER_LIB_GPU_FIXTURES_H_
#include "impeller/core/shader_types.h"
struct FlutterGPUUnlitVertexShader {
st... | engine/lib/gpu/fixtures.h/0 | {
"file_path": "engine/lib/gpu/fixtures.h",
"repo_id": "engine",
"token_count": 2280
} | 232 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
name: flutter_gpu
description: A framework for writing Flutter applications
homepage: https://flutter.dev
environment:
sdk: '>=3.2.0-0 <4.0.0'
dependencie... | engine/lib/gpu/pubspec.yaml/0 | {
"file_path": "engine/lib/gpu/pubspec.yaml",
"repo_id": "engine",
"token_count": 115
} | 233 |
# Copyright 2013 The Flutter 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/compiled_action.gni")
import("//flutter/build/bin_to_obj.gni")
import("//flutter/common/config.gni")
import("//flutter/impeller/tools/impeller... | engine/lib/snapshot/BUILD.gn/0 | {
"file_path": "engine/lib/snapshot/BUILD.gn",
"repo_id": "engine",
"token_count": 3311
} | 234 |
// Copyright 2013 The Flutter 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/dart_runtime_hooks.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <sstream>
#include "f... | engine/lib/ui/dart_runtime_hooks.cc/0 | {
"file_path": "engine/lib/ui/dart_runtime_hooks.cc",
"repo_id": "engine",
"token_count": 3452
} | 235 |
// Copyright 2013 The Flutter 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;
/// Base class for [Size] and [Offset], which are both ways to describe
/// a distance as a two-dimensional axis-aligned vector.
abstract... | engine/lib/ui/geometry.dart/0 | {
"file_path": "engine/lib/ui/geometry.dart",
"repo_id": "engine",
"token_count": 23762
} | 236 |
// Copyright 2013 The Flutter 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/canvas.h"
#include <cmath>
#include "flutter/display_list/dl_builder.h"
#include "flutter/lib/ui/floating_point.h"
#inc... | engine/lib/ui/painting/canvas.cc/0 | {
"file_path": "engine/lib/ui/painting/canvas.cc",
"repo_id": "engine",
"token_count": 10286
} | 237 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <utility>
#include "flutter/lib/ui/painting/fragment_shader.h"
#include "flutter/display_list/dl_tile_mode.h"
#include "flutte... | engine/lib/ui/painting/fragment_shader.cc/0 | {
"file_path": "engine/lib/ui/painting/fragment_shader.cc",
"repo_id": "engine",
"token_count": 1869
} | 238 |
// Copyright 2013 The Flutter 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_DESCRIPTOR_H_
#define FLUTTER_LIB_UI_PAINTING_IMAGE_DESCRIPTOR_H_
#include <cstdint>
#include <memory>
#include <opt... | engine/lib/ui/painting/image_descriptor.h/0 | {
"file_path": "engine/lib/ui/painting/image_descriptor.h",
"repo_id": "engine",
"token_count": 1952
} | 239 |
// Copyright 2013 The Flutter 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 <algorithm>
#include <utility>
#include "flutter/lib/ui/painting/image_generator_registry.h"
#include "third_party/skia/include/codec/SkCodec.h"
... | engine/lib/ui/painting/image_generator_registry.cc/0 | {
"file_path": "engine/lib/ui/painting/image_generator_registry.cc",
"repo_id": "engine",
"token_count": 1085
} | 240 |
// Copyright 2013 The Flutter 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/path_measure.h"
#include <cmath>
#include "flutter/lib/ui/floating_point.h"
#include "flutter/lib/ui/painting/matrix.h"... | engine/lib/ui/painting/path_measure.cc/0 | {
"file_path": "engine/lib/ui/painting/path_measure.cc",
"repo_id": "engine",
"token_count": 1553
} | 241 |
// Copyright 2013 The Flutter 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_SINGLE_FRAME_CODEC_H_
#define FLUTTER_LIB_UI_PAINTING_SINGLE_FRAME_CODEC_H_
#include "flutter/fml/macros.h"
#include "flut... | engine/lib/ui/painting/single_frame_codec.h/0 | {
"file_path": "engine/lib/ui/painting/single_frame_codec.h",
"repo_id": "engine",
"token_count": 552
} | 242 |
// Copyright 2013 The Flutter 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_SEMANTICS_SEMANTICS_UPDATE_H_
#define FLUTTER_LIB_UI_SEMANTICS_SEMANTICS_UPDATE_H_
#include "flutter/lib/ui/dart_wrapper.h"
#includ... | engine/lib/ui/semantics/semantics_update.h/0 | {
"file_path": "engine/lib/ui/semantics/semantics_update.h",
"repo_id": "engine",
"token_count": 442
} | 243 |
// Copyright 2013 The Flutter 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_TEXT_PARAGRAPH_BUILDER_H_
#define FLUTTER_LIB_UI_TEXT_PARAGRAPH_BUILDER_H_
#include <memory>
#include "flutter/lib/ui/dart_wrapper... | engine/lib/ui/text/paragraph_builder.h/0 | {
"file_path": "engine/lib/ui/text/paragraph_builder.h",
"repo_id": "engine",
"token_count": 1419
} | 244 |
// Copyright 2013 The Flutter 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_POINTER_DATA_PACKET_CONVERTER_H_
#define FLUTTER_LIB_UI_WINDOW_POINTER_DATA_PACKET_CONVERTER_H_
#include <cstring>
#include ... | engine/lib/ui/window/pointer_data_packet_converter.h/0 | {
"file_path": "engine/lib/ui/window/pointer_data_packet_converter.h",
"repo_id": "engine",
"token_count": 1407
} | 245 |
// Copyright 2013 The Flutter 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:args/command_runner.dart';
import 'package:path/path.dart' as path;
import 'package:watcher/watcher.dart';
import 'e... | engine/lib/web_ui/dev/build.dart/0 | {
"file_path": "engine/lib/web_ui/dev/build.dart",
"repo_id": "engine",
"token_count": 2014
} | 246 |
// Copyright 2013 The Flutter 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 'felt_config.dart';
String generateBuilderJson(FeltConfig config) {
final Map<String, dynamic> outputJson = <String, dyna... | engine/lib/web_ui/dev/generate_builder_json.dart/0 | {
"file_path": "engine/lib/web_ui/dev/generate_builder_json.dart",
"repo_id": "engine",
"token_count": 2606
} | 247 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:math';
import 'package:image/image.dart';
import 'package:webdriver/async_io.da... | engine/lib/web_ui/dev/webdriver_browser.dart/0 | {
"file_path": "engine/lib/web_ui/dev/webdriver_browser.dart",
"repo_id": "engine",
"token_count": 1108
} | 248 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This is identical to ../../../../ui/channel_buffers.dart with the
// following exceptions:
//
// * All comments except this one are removed.
// * _in... | engine/lib/web_ui/lib/channel_buffers.dart/0 | {
"file_path": "engine/lib/web_ui/lib/channel_buffers.dart",
"repo_id": "engine",
"token_count": 3377
} | 249 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is transformed during the build process into a single library with
// part files (`dart:_engine`) by performing the following:
//
// - Replac... | engine/lib/web_ui/lib/src/engine.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine.dart",
"repo_id": "engine",
"token_count": 3107
} | 250 |
// Copyright 2013 The Flutter 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/ui.dart' as ui;
import '../vector_math.dart';
import 'canvas.dart';
import 'canvaskit_api.dart';
import 'embedded_views.dart';
import '... | engine/lib/web_ui/lib/src/engine/canvaskit/layer.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/layer.dart",
"repo_id": "engine",
"token_count": 6002
} | 251 |
// Copyright 2013 The Flutter 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:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
abstract class Rasterizer {
/// Creates a [ViewRasterizer] ... | engine/lib/web_ui/lib/src/engine/canvaskit/rasterizer.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/rasterizer.dart",
"repo_id": "engine",
"token_count": 1363
} | 252 |
// Copyright 2013 The Flutter 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 'path_utils.dart';
/// Converts conic curve to a list of... | engine/lib/web_ui/lib/src/engine/html/path/conic.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/path/conic.dart",
"repo_id": "engine",
"token_count": 7540
} | 253 |
// Copyright 2013 The Flutter 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';
import '../view_embedder/dom_manager.dart';
import '../window.dart';
/// Manages global resource... | engine/lib/web_ui/lib/src/engine/html/resource_manager.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/resource_manager.dart",
"repo_id": "engine",
"token_count": 742
} | 254 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@JS()
library js_loader;
import 'dart:js_interop';
import 'package:js/js_util.dart' as js_util;
import 'package:ui/src/engine.dart';
@JS()
@staticIntero... | engine/lib/web_ui/lib/src/engine/js_interop/js_loader.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/js_interop/js_loader.dart",
"repo_id": "engine",
"token_count": 938
} | 255 |
// Copyright 2013 The Flutter 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:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
/// Tracks the [FlutterView]s focus changes.
final class View... | engine/lib/web_ui/lib/src/engine/platform_dispatcher/view_focus_binding.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/platform_dispatcher/view_focus_binding.dart",
"repo_id": "engine",
"token_count": 1609
} | 256 |
// Copyright 2013 The Flutter 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:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
const String kCanvasContainerTag = 'flt-canvas-container';
... | engine/lib/web_ui/lib/src/engine/scene_view.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/scene_view.dart",
"repo_id": "engine",
"token_count": 4254
} | 257 |
// Copyright 2013 The Flutter 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:ui/ui.dart' as ui;
import '../browser_detection.dart';
import '../dom.dart';
import '../platform_dispatcher.dart';
im... | engine/lib/web_ui/lib/src/engine/semantics/text_field.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/semantics/text_field.dart",
"repo_id": "engine",
"token_count": 5525
} | 258 |
// Copyright 2013 The Flutter 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:ffi';
import 'package:ui/src/engine.dart';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
import 'package:ui/ui.dart' as ui;
class ... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/paint.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/paint.dart",
"repo_id": "engine",
"token_count": 1852
} | 259 |
// Copyright 2013 The Flutter 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';
final class RawSkData extends Opaque {}
typedef SkDataHandle = Pointer<RawSkData>;
@Nati... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_skdata.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_skdata.dart",
"repo_id": "engine",
"token_count": 331
} | 260 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
const int kChar_0 = 48;
const int kChar_9 = kChar_0 + 9;
const int kChar_A = 65;
const int kChar_Z = 90;
const int kChar_a = 97;
const int kChar_z = 122;
c... | engine/lib/web_ui/lib/src/engine/text/unicode_range.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text/unicode_range.dart",
"repo_id": "engine",
"token_count": 2873
} | 261 |
// Copyright 2013 The Flutter 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/ui.dart' as ui;
import '../configuration.dart';
import '../dom.dart';
import '../platform_views/content_manager.dart';
import '../safe_... | engine/lib/web_ui/lib/src/engine/view_embedder/dom_manager.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/view_embedder/dom_manager.dart",
"repo_id": "engine",
"token_count": 2649
} | 262 |
// Copyright 2013 The Flutter 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 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
/// Signature of the callback that... | engine/lib/web_ui/lib/ui_web/src/ui_web/images.dart/0 | {
"file_path": "engine/lib/web_ui/lib/ui_web/src/ui_web/images.dart",
"repo_id": "engine",
"token_count": 444
} | 263 |
// Copyright 2013 The Flutter 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_WEB_UI_SKWASM_HELPERS_H_
#define FLUTTER_LIB_WEB_UI_SKWASM_HELPERS_H_
#include "third_party/skia/include/core/SkMatrix.h"
#include "th... | engine/lib/web_ui/skwasm/helpers.h/0 | {
"file_path": "engine/lib/web_ui/skwasm/helpers.h",
"repo_id": "engine",
"token_count": 748
} | 264 |
// Copyright 2013 The Flutter 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 "../wrappers.h"
#include "third_party/skia/modules/skparagraph/include/Paragraph.h"
using namespace skia::textlayout;
usin... | engine/lib/web_ui/skwasm/text/text_style.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/text/text_style.cpp",
"repo_id": "engine",
"token_count": 2292
} | 265 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
void main() {
internalBootstrapBrows... | engine/lib/web_ui/test/canvaskit/hot_restart_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/hot_restart_test.dart",
"repo_id": "engine",
"token_count": 271
} | 266 |
// Copyright 2013 The Flutter 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/canvaskit/renderer_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/renderer_test.dart",
"repo_id": "engine",
"token_count": 2560
} | 267 |
// Copyright 2013 The Flutter 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:ui/src/engine.dart' hide window;
import 'packag... | engine/lib/web_ui/test/common/spy.dart/0 | {
"file_path": "engine/lib/web_ui/test/common/spy.dart",
"repo_id": "engine",
"token_count": 884
} | 268 |
// Copyright 2013 The Flutter 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';
const String _kDefaultCssFont = '14px ... | engine/lib/web_ui/test/engine/global_styles_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/global_styles_test.dart",
"repo_id": "engine",
"token_count": 1480
} | 269 |
// Copyright 2013 The Flutter 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/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engin... | engine/lib/web_ui/test/engine/platform_dispatcher/platform_dispatcher_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/platform_dispatcher/platform_dispatcher_test.dart",
"repo_id": "engine",
"token_count": 6108
} | 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.
@TestOn('chrome || safari || firefox')
library;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/ui.dart'... | engine/lib/web_ui/test/engine/semantics/semantics_api_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/semantics/semantics_api_test.dart",
"repo_id": "engine",
"token_count": 634
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import '../../../common/test_initializ... | engine/lib/web_ui/test/engine/surface/shaders/shader_builder_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/surface/shaders/shader_builder_test.dart",
"repo_id": "engine",
"token_count": 4014
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
void main() {
internalBootstrapBrows... | engine/lib/web_ui/test/engine/view_embedder/global_html_attributes_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/view_embedder/global_html_attributes_test.dart",
"repo_id": "engine",
"token_count": 606
} | 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' 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/compositing/canvas_mask_filter_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/compositing/canvas_mask_filter_golden_test.dart",
"repo_id": "engine",
"token_count": 2434
} | 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 'dart:js_util' as js_util;
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.d... | engine/lib/web_ui/test/html/drawing/draw_vertices_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/drawing/draw_vertices_golden_test.dart",
"repo_id": "engine",
"token_count": 5301
} | 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/src/engine.dart';
import 'package:ui/ui.dart';
import 'p... | engine/lib/web_ui/test/html/path_to_svg_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/path_to_svg_golden_test.dart",
"repo_id": "engine",
"token_count": 2943
} | 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:async';
import 'dart:convert';
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
impor... | engine/lib/web_ui/test/html/text/font_loading_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/text/font_loading_test.dart",
"repo_id": "engine",
"token_count": 1468
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/ui.dart';
import '../common/test_initialization.dart';
... | engine/lib/web_ui/test/ui/color_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/color_test.dart",
"repo_id": "engine",
"token_count": 1984
} | 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 '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/picture_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/picture_test.dart",
"repo_id": "engine",
"token_count": 740
} | 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.
#include "flutter/runtime/dart_isolate_group_data.h"
#include <utility>
#include "flutter/runtime/dart_snapshot.h"
namespace flutter {
DartIsolateGroup... | engine/runtime/dart_isolate_group_data.cc/0 | {
"file_path": "engine/runtime/dart_isolate_group_data.cc",
"repo_id": "engine",
"token_count": 1072
} | 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.
#include "flutter/runtime/dart_vm_data.h"
#include <utility>
namespace flutter {
std::shared_ptr<const DartVMData> DartVMData::Create(
const Setting... | engine/runtime/dart_vm_data.cc/0 | {
"file_path": "engine/runtime/dart_vm_data.cc",
"repo_id": "engine",
"token_count": 1192
} | 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_RUNTIME_TEST_FONT_DATA_H_
#define FLUTTER_RUNTIME_TEST_FONT_DATA_H_
#include <memory>
#include <string>
#include <vector>
#include "third... | engine/runtime/test_font_data.h/0 | {
"file_path": "engine/runtime/test_font_data.h",
"repo_id": "engine",
"token_count": 220
} | 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.
#include "flutter/shell/common/display_manager.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/macros.h"
namespace flutter {
DisplayManager::D... | engine/shell/common/display_manager.cc/0 | {
"file_path": "engine/shell/common/display_manager.cc",
"repo_id": "engine",
"token_count": 280
} | 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.
#define FML_USED_ON_EMBEDDER
#include "flutter/shell/common/pipeline.h"
#include <functional>
#include <future>
#include <memory>
#include "gtest/gtest.... | engine/shell/common/pipeline_unittests.cc/0 | {
"file_path": "engine/shell/common/pipeline_unittests.cc",
"repo_id": "engine",
"token_count": 1891
} | 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.
#define RAPIDJSON_HAS_STDSTRING 1
#include "flutter/shell/common/shell.h"
#include <memory>
#include <sstream>
#include <utility>
#include <vector>
#incl... | engine/shell/common/shell.cc/0 | {
"file_path": "engine/shell/common/shell.cc",
"repo_id": "engine",
"token_count": 36560
} | 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.
#include "flutter/shell/common/shell_test_platform_view_metal.h"
#import <Metal/Metal.h>
#include <utility>
#include "flutter/fml/platform/darwin/scoped... | engine/shell/common/shell_test_platform_view_metal.mm/0 | {
"file_path": "engine/shell/common/shell_test_platform_view_metal.mm",
"repo_id": "engine",
"token_count": 2353
} | 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/thread_host.h"
#include <algorithm>
#include <memory>
#include <optional>
#include <string>
#include <utility>
namespace f... | engine/shell/common/thread_host.cc/0 | {
"file_path": "engine/shell/common/thread_host.cc",
"repo_id": "engine",
"token_count": 1129
} | 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/gpu/gpu_surface_gl_delegate.h"
#include <cstring>
#include "third_party/skia/include/gpu/gl/GrGLAssembleInterface.h"
namespace f... | engine/shell/gpu/gpu_surface_gl_delegate.cc/0 | {
"file_path": "engine/shell/gpu/gpu_surface_gl_delegate.cc",
"repo_id": "engine",
"token_count": 1158
} | 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.
#ifndef FLUTTER_SHELL_GPU_GPU_SURFACE_SOFTWARE_DELEGATE_H_
#define FLUTTER_SHELL_GPU_GPU_SURFACE_SOFTWARE_DELEGATE_H_
#include "flutter/flow/embedded_view... | engine/shell/gpu/gpu_surface_software_delegate.h/0 | {
"file_path": "engine/shell/gpu/gpu_surface_software_delegate.h",
"repo_id": "engine",
"token_count": 734
} | 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_PLATFORM_ANDROID_ANDROID_CONTEXT_GL_SKIA_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_CONTEXT_GL_SKIA_H_
#include "flutter/fml/... | engine/shell/platform/android/android_context_gl_skia.h/0 | {
"file_path": "engine/shell/platform/android/android_context_gl_skia.h",
"repo_id": "engine",
"token_count": 1233
} | 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.
#include "flutter/shell/platform/android/android_surface_gl_impeller.h"
#include "flutter/fml/logging.h"
#include "flutter/impeller/toolkit/egl/surface.h"... | engine/shell/platform/android/android_surface_gl_impeller.cc/0 | {
"file_path": "engine/shell/platform/android/android_surface_gl_impeller.cc",
"repo_id": "engine",
"token_count": 1671
} | 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/platform/android/external_view_embedder/external_view_embedder.h"
#include "flutter/common/constants.h"
#include "flutter/fml/synch... | engine/shell/platform/android/external_view_embedder/external_view_embedder.cc/0 | {
"file_path": "engine/shell/platform/android/external_view_embedder/external_view_embedder.cc",
"repo_id": "engine",
"token_count": 4792
} | 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.
#include "flutter/shell/platform/android/image_lru.h"
namespace flutter {
sk_sp<flutter::DlImage> ImageLRU::FindImage(
std::optional<HardwareBufferKe... | engine/shell/platform/android/image_lru.cc/0 | {
"file_path": "engine/shell/platform/android/image_lru.cc",
"repo_id": "engine",
"token_count": 759
} | 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.
package io.flutter.embedding.android;
import static io.flutter.Build.API_LEVELS;
import static io.flutter.embedding.android.FlutterActivityLaunchConfigs.D... | engine/shell/platform/android/io/flutter/embedding/android/FlutterActivity.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/FlutterActivity.java",
"repo_id": "engine",
"token_count": 19042
} | 294 |
package io.flutter.embedding.android;
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT
// This file is generated by flutter/flutter@dev/tools/gen_keycodes/bin... | engine/shell/platform/android/io/flutter/embedding/android/KeyboardMap.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/KeyboardMap.java",
"repo_id": "engine",
"token_count": 16177
} | 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.
package io.flutter.embedding.engine.dart;
import android.os.Handler;
import android.os.Looper;
import androidx.annotation.NonNull;
import io.flutter.util.... | engine/shell/platform/android/io/flutter/embedding/engine/dart/PlatformTaskQueue.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/dart/PlatformTaskQueue.java",
"repo_id": "engine",
"token_count": 230
} | 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.embedding.engine.plugins.broadcastreceiver;
import android.content.BroadcastReceiver;
import androidx.annotation.NonNull;
/**
* Bindi... | engine/shell/platform/android/io/flutter/embedding/engine/plugins/broadcastreceiver/BroadcastReceiverPluginBinding.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/plugins/broadcastreceiver/BroadcastReceiverPluginBinding.java",
"repo_id": "engine",
"token_count": 211
} | 297 |
package io.flutter.embedding.engine.systemchannels;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import io.flutter.Log;
import io.flutter.embedding.engine.FlutterJNI;
import io.flutter.embedding.engine.dart.DartExecutor;
import io.flutter.plugin... | engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/AccessibilityChannel.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/AccessibilityChannel.java",
"repo_id": "engine",
"token_count": 2753
} | 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.plugin.common;
import androidx.annotation.NonNull;
import io.flutter.Log;
import io.flutter.plugin.common.StandardMessageCodec.ExposedB... | engine/shell/platform/android/io/flutter/plugin/common/StandardMethodCodec.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/common/StandardMethodCodec.java",
"repo_id": "engine",
"token_count": 1662
} | 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.plugin.platform;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.flu... | engine/shell/platform/android/io/flutter/plugin/platform/PlatformViewFactory.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/platform/PlatformViewFactory.java",
"repo_id": "engine",
"token_count": 436
} | 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.util;
import static io.flutter.Build.API_LEVELS;
import android.content.Context;
import android.os.Build;
import androidx.annotation.N... | engine/shell/platform/android/io/flutter/util/PathUtils.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/util/PathUtils.java",
"repo_id": "engine",
"token_count": 661
} | 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.
#include "flutter/shell/platform/android/jni/jni_mock.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace flutter {
namespace testing {
TEST(... | engine/shell/platform/android/jni/jni_mock_unittest.cc/0 | {
"file_path": "engine/shell/platform/android/jni/jni_mock_unittest.cc",
"repo_id": "engine",
"token_count": 331
} | 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.
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "shell/platform/android/flutter_main.h"
#include "third_party/googletest/googlemock/include/gmoc... | engine/shell/platform/android/platform_view_android_unittests.cc/0 | {
"file_path": "engine/shell/platform/android/platform_view_android_unittests.cc",
"repo_id": "engine",
"token_count": 418
} | 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;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
... | engine/shell/platform/android/test/io/flutter/FlutterInjectorTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/FlutterInjectorTest.java",
"repo_id": "engine",
"token_count": 1358
} | 304 |
package io.flutter.embedding.engine;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import androidx.test.core.... | engine/shell/platform/android/test/io/flutter/embedding/engine/FlutterEngineGroupCacheTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/FlutterEngineGroupCacheTest.java",
"repo_id": "engine",
"token_count": 1097
} | 305 |
package io.flutter.embedding.engine.renderer;
import static junit.framework.TestCase.*;
import static org.mockito.Mockito.*;
import android.graphics.SurfaceTexture;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
@RunWith(AndroidJUnit4.class)
public class... | engine/shell/platform/android/test/io/flutter/embedding/engine/renderer/SurfaceTextureWrapperTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/renderer/SurfaceTextureWrapperTest.java",
"repo_id": "engine",
"token_count": 728
} | 306 |
package io.flutter.plugin.editing;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyInt;
import sta... | engine/shell/platform/android/test/io/flutter/plugin/editing/InputConnectionAdaptorTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/editing/InputConnectionAdaptorTest.java",
"repo_id": "engine",
"token_count": 19691
} | 307 |
package io.flutter.plugin.text;
import static io.flutter.Build.API_LEVELS;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.any;
import static org.mockito.Mockito.anyInt;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.ver... | engine/shell/platform/android/test/io/flutter/plugin/text/ProcessTextPluginTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/text/ProcessTextPluginTest.java",
"repo_id": "engine",
"token_count": 4180
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_VSYNC_WAITER_ANDROID_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_VSYNC_WAITER_ANDROID_H_
#include <jni.h>
#include <... | engine/shell/platform/android/vsync_waiter_android.h/0 | {
"file_path": "engine/shell/platform/android/vsync_waiter_android.h",
"repo_id": "engine",
"token_count": 737
} | 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.
// This file is deprecated in favor of core_implementations.cc. This is a
// temporary forwarding implementation so that the switch to
// core_implementati... | engine/shell/platform/common/client_wrapper/engine_method_result.cc/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/engine_method_result.cc",
"repo_id": "engine",
"token_count": 125
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_METHOD_RESULT_FUNCTIONS_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUD... | engine/shell/platform/common/client_wrapper/include/flutter/method_result_functions.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/include/flutter/method_result_functions.h",
"repo_id": "engine",
"token_count": 1021
} | 311 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.