text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/common/config.gni")
import("//flutter/impeller/tools/impeller.gni")
impeller_component("golden_playground_test") {
testonly = true
sou... | engine/impeller/golden_tests/BUILD.gn/0 | {
"file_path": "engine/impeller/golden_tests/BUILD.gn",
"repo_id": "engine",
"token_count": 976
} | 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.
#include "flutter/impeller/golden_tests/vulkan_screenshotter.h"
#include "flutter/fml/synchronization/waitable_event.h"
#include "flutter/impeller/golden_... | engine/impeller/golden_tests/vulkan_screenshotter.mm/0 | {
"file_path": "engine/impeller/golden_tests/vulkan_screenshotter.mm",
"repo_id": "engine",
"token_count": 1822
} | 213 |
# The Impeller Image Library
Set of utilities for working with texture information. The library is indepenent
of the rendering subsystem.
| engine/impeller/playground/image/README.md/0 | {
"file_path": "engine/impeller/playground/image/README.md",
"repo_id": "engine",
"token_count": 32
} | 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.
#include "flutter/fml/time/time_point.h"
#include "impeller/base/timing.h"
#include "impeller/base/validation.h"
#include "impeller/playground/playground_... | engine/impeller/playground/playground_test.cc/0 | {
"file_path": "engine/impeller/playground/playground_test.cc",
"repo_id": "engine",
"token_count": 858
} | 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.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_BUFFER_BINDINGS_GLES_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_BUFFER_BINDINGS_GLES_H_
#include <un... | engine/impeller/renderer/backend/gles/buffer_bindings_gles.h/0 | {
"file_path": "engine/impeller/renderer/backend/gles/buffer_bindings_gles.h",
"repo_id": "engine",
"token_count": 1133
} | 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/gles/handle_gles.h"
#include "flutter/fml/logging.h"
namespace impeller {
std::string HandleTypeToString(HandleType ... | engine/impeller/renderer/backend/gles/handle_gles.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/handle_gles.cc",
"repo_id": "engine",
"token_count": 262
} | 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.
#include "impeller/renderer/backend/gles/shader_function_gles.h"
namespace impeller {
ShaderFunctionGLES::ShaderFunctionGLES(
UniqueID library_id,
... | engine/impeller/renderer/backend/gles/shader_function_gles.cc/0 | {
"file_path": "engine/impeller/renderer/backend/gles/shader_function_gles.cc",
"repo_id": "engine",
"token_count": 239
} | 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.
#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_TEXTURE_GLES_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_TEXTURE_GLES_H_
#include "impeller/base/back... | engine/impeller/renderer/backend/gles/texture_gles.h/0 | {
"file_path": "engine/impeller/renderer/backend/gles/texture_gles.h",
"repo_id": "engine",
"token_count": 963
} | 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_BACKEND_METAL_CONTEXT_MTL_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_CONTEXT_MTL_H_
#include <Metal/Metal.h>
#i... | engine/impeller/renderer/backend/metal/context_mtl.h/0 | {
"file_path": "engine/impeller/renderer/backend/metal/context_mtl.h",
"repo_id": "engine",
"token_count": 1896
} | 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_BACKEND_METAL_RENDER_PASS_MTL_H_
#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_RENDER_PASS_MTL_H_
#include <Metal/Meta... | engine/impeller/renderer/backend/metal/render_pass_mtl.h/0 | {
"file_path": "engine/impeller/renderer/backend/metal/render_pass_mtl.h",
"repo_id": "engine",
"token_count": 1402
} | 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.
#include "impeller/renderer/backend/metal/texture_wrapper_mtl.h"
#include <Metal/Metal.h>
#include "impeller/renderer/backend/metal/formats_mtl.h"
#inclu... | engine/impeller/renderer/backend/metal/texture_wrapper_mtl.mm/0 | {
"file_path": "engine/impeller/renderer/backend/metal/texture_wrapper_mtl.mm",
"repo_id": "engine",
"token_count": 324
} | 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.
#include "impeller/renderer/backend/vulkan/capabilities_vk.h"
#include <algorithm>
#include "impeller/base/validation.h"
#include "impeller/core/formats.... | engine/impeller/renderer/backend/vulkan/capabilities_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/capabilities_vk.cc",
"repo_id": "engine",
"token_count": 6647
} | 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/renderer/backend/vulkan/context_vk.h"
#include "fml/concurrent_message_loop.h"
#include "impeller/renderer/backend/vulkan/command_queue... | engine/impeller/renderer/backend/vulkan/context_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/context_vk.cc",
"repo_id": "engine",
"token_count": 7629
} | 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 "fml/synchronization/waitable_event.h"
#include "gtest/gtest.h" // IWYU pragma: keep
#include "impeller/renderer/backend/vulkan/fence_waiter_vk.h... | engine/impeller/renderer/backend/vulkan/fence_waiter_vk_unittests.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/fence_waiter_vk_unittests.cc",
"repo_id": "engine",
"token_count": 1523
} | 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.
#include "flutter/testing/testing.h"
#include "gtest/gtest.h"
#include "impeller/playground/playground_test.h"
#include "impeller/renderer/backend/vulkan/t... | engine/impeller/renderer/backend/vulkan/render_pass_cache_unittests.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/render_pass_cache_unittests.cc",
"repo_id": "engine",
"token_count": 578
} | 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/renderer/backend/vulkan/surface_context_vk.h"
#include "flutter/fml/trace_event.h"
#include "impeller/renderer/backend/vulkan/command_p... | engine/impeller/renderer/backend/vulkan/surface_context_vk.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/surface_context_vk.cc",
"repo_id": "engine",
"token_count": 1371
} | 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.
#include "flutter/testing/testing.h" // IWYU pragma: keep
#include "gtest/gtest.h"
#include "impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_... | engine/impeller/renderer/backend/vulkan/test/swapchain_unittests.cc/0 | {
"file_path": "engine/impeller/renderer/backend/vulkan/test/swapchain_unittests.cc",
"repo_id": "engine",
"token_count": 1732
} | 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 "impeller/renderer/compute_pipeline_builder.h"
namespace impeller {
//
} // namespace impeller
| engine/impeller/renderer/compute_pipeline_builder.cc/0 | {
"file_path": "engine/impeller/renderer/compute_pipeline_builder.cc",
"repo_id": "engine",
"token_count": 82
} | 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.
#include "impeller/renderer/pipeline_descriptor.h"
#include <utility>
#include "impeller/base/comparable.h"
#include "impeller/core/formats.h"
#include "... | engine/impeller/renderer/pipeline_descriptor.cc/0 | {
"file_path": "engine/impeller/renderer/pipeline_descriptor.cc",
"repo_id": "engine",
"token_count": 3280
} | 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.
// Size is passed in via specialization constant.
layout(local_size_x_id = 0) in;
layout(std430) buffer;
layout(binding = 1) writeonly buffer OutputData ... | engine/impeller/renderer/threadgroup_sizing_test.comp/0 | {
"file_path": "engine/impeller/renderer/threadgroup_sizing_test.comp",
"repo_id": "engine",
"token_count": 138
} | 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_IMPELLER_SCENE_ANIMATION_ANIMATION_H_
#define FLUTTER_IMPELLER_SCENE_ANIMATION_ANIMATION_H_
#include <memory>
#include <string>
#include <... | engine/impeller/scene/animation/animation.h/0 | {
"file_path": "engine/impeller/scene/animation/animation.h",
"repo_id": "engine",
"token_count": 720
} | 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.
#include "impeller/scene/importer/importer.h"
#include <array>
#include <cstring>
#include <functional>
#include <iostream>
#include <iterator>
#include <... | engine/impeller/scene/importer/importer_gltf.cc/0 | {
"file_path": "engine/impeller/scene/importer/importer_gltf.cc",
"repo_id": "engine",
"token_count": 8454
} | 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.
#include "impeller/scene/scene.h"
#include <memory>
#include <utility>
#include "flutter/fml/logging.h"
#include "fml/closure.h"
#include "impeller/rende... | engine/impeller/scene/scene.cc/0 | {
"file_path": "engine/impeller/scene/scene.cc",
"repo_id": "engine",
"token_count": 744
} | 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.
#ifndef FLUTTER_IMPELLER_SHADER_ARCHIVE_MULTI_ARCH_SHADER_ARCHIVE_H_
#define FLUTTER_IMPELLER_SHADER_ARCHIVE_MULTI_ARCH_SHADER_ARCHIVE_H_
#include <map>
#... | engine/impeller/shader_archive/multi_arch_shader_archive.h/0 | {
"file_path": "engine/impeller/shader_archive/multi_arch_shader_archive.h",
"repo_id": "engine",
"token_count": 538
} | 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.
// ignore_for_file: camel_case_types
import 'dart:ffi' as ffi;
import 'dart:io';
import 'dart:typed_data';
/// Determines the winding rule that decides ho... | engine/impeller/tessellator/dart/lib/tessellator.dart/0 | {
"file_path": "engine/impeller/tessellator/dart/lib/tessellator.dart",
"repo_id": "engine",
"token_count": 2526
} | 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.
#ifndef FLUTTER_IMPELLER_TOOLKIT_ANDROID_SURFACE_CONTROL_H_
#define FLUTTER_IMPELLER_TOOLKIT_ANDROID_SURFACE_CONTROL_H_
#include "flutter/fml/unique_objec... | engine/impeller/toolkit/android/surface_control.h/0 | {
"file_path": "engine/impeller/toolkit/android/surface_control.h",
"repo_id": "engine",
"token_count": 1063
} | 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.
#ifndef FLUTTER_IMPELLER_TOOLKIT_EGL_SURFACE_H_
#define FLUTTER_IMPELLER_TOOLKIT_EGL_SURFACE_H_
#include "flutter/fml/macros.h"
#include "impeller/toolkit... | engine/impeller/toolkit/egl/surface.h/0 | {
"file_path": "engine/impeller/toolkit/egl/surface.h",
"repo_id": "engine",
"token_count": 307
} | 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.
#include "impeller/typographer/backends/skia/glyph_atlas_context_skia.h"
#include "third_party/skia/include/core/SkBitmap.h"
namespace impeller {
GlyphA... | engine/impeller/typographer/backends/skia/glyph_atlas_context_skia.cc/0 | {
"file_path": "engine/impeller/typographer/backends/skia/glyph_atlas_context_skia.cc",
"repo_id": "engine",
"token_count": 235
} | 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.
#ifndef FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_STB_TYPOGRAPHER_CONTEXT_STB_H_
#define FLUTTER_IMPELLER_TYPOGRAPHER_BACKENDS_STB_TYPOGRAPHER_CONTEXT_STB_H_
... | engine/impeller/typographer/backends/stb/typographer_context_stb.h/0 | {
"file_path": "engine/impeller/typographer/backends/stb/typographer_context_stb.h",
"repo_id": "engine",
"token_count": 451
} | 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.
#ifndef FLUTTER_IMPELLER_TYPOGRAPHER_TEXT_RUN_H_
#define FLUTTER_IMPELLER_TYPOGRAPHER_TEXT_RUN_H_
#include <vector>
#include "impeller/geometry/matrix.h"... | engine/impeller/typographer/text_run.h/0 | {
"file_path": "engine/impeller/typographer/text_run.h",
"repo_id": "engine",
"token_count": 720
} | 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.
#include "flutter/lib/gpu/fixtures.h"
// These blobs are generated using xxd -i [myfile.iplr].
// This is a temporary hack to provision the shader library... | engine/lib/gpu/fixtures.cc/0 | {
"file_path": "engine/lib/gpu/fixtures.cc",
"repo_id": "engine",
"token_count": 14714
} | 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.
// ignore_for_file: public_member_api_docs
part of flutter_gpu;
base class Texture extends NativeFieldWrapperClass1 {
bool _valid = false;
get isVali... | engine/lib/gpu/lib/src/texture.dart/0 | {
"file_path": "engine/lib/gpu/lib/src/texture.dart",
"repo_id": "engine",
"token_count": 1468
} | 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_IO_DART_IO_H_
#define FLUTTER_LIB_IO_DART_IO_H_
#include <cstdint>
#include <string>
#include "flutter/fml/macros.h"
namespace flutt... | engine/lib/io/dart_io.h/0 | {
"file_path": "engine/lib/io/dart_io.h",
"repo_id": "engine",
"token_count": 245
} | 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.
#include "flutter/lib/ui/compositing/scene_builder.h"
#include <memory>
#include "flutter/common/task_runners.h"
#include "flutter/fml/synchronization/wa... | engine/lib/ui/compositing/scene_builder_unittests.cc/0 | {
"file_path": "engine/lib/ui/compositing/scene_builder_unittests.cc",
"repo_id": "engine",
"token_count": 2402
} | 245 |
#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/11_radians.frag/0 | {
"file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/11_radians.frag",
"repo_id": "engine",
"token_count": 178
} | 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("//build/compiled_action.gni")
import("//flutter/impeller/tools/impeller.gni")
import("//flutter/testing/testing.gni")
if (enable_unittests) {
test_... | engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/BUILD.gn/0 | {
"file_path": "engine/lib/ui/fixtures/shaders/supported_glsl_op_shaders/BUILD.gn",
"repo_id": "engine",
"token_count": 742
} | 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.
#ifndef FLUTTER_LIB_UI_FLOATING_POINT_H_
#define FLUTTER_LIB_UI_FLOATING_POINT_H_
#include <algorithm>
#include <limits>
namespace flutter {
/// Convert... | engine/lib/ui/floating_point.h/0 | {
"file_path": "engine/lib/ui/floating_point.h",
"repo_id": "engine",
"token_count": 326
} | 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.
part of dart.ui;
// Examples can assume:
// // (for the example in Color)
// // ignore_for_file: use_full_hex_values_for_flutter_colors
// late ui.Image _i... | engine/lib/ui/painting.dart/0 | {
"file_path": "engine/lib/ui/painting.dart",
"repo_id": "engine",
"token_count": 88979
} | 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.
#ifndef FLUTTER_LIB_UI_PAINTING_FRAGMENT_PROGRAM_H_
#define FLUTTER_LIB_UI_PAINTING_FRAGMENT_PROGRAM_H_
#include "flutter/display_list/effects/dl_runtime_... | engine/lib/ui/painting/fragment_program.h/0 | {
"file_path": "engine/lib/ui/painting/fragment_program.h",
"repo_id": "engine",
"token_count": 571
} | 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.
#include "flutter/lib/ui/painting/image_descriptor.h"
#include "flutter/fml/build_config.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/trace_e... | engine/lib/ui/painting/image_descriptor.cc/0 | {
"file_path": "engine/lib/ui/painting/image_descriptor.cc",
"repo_id": "engine",
"token_count": 2010
} | 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.
#ifndef FLUTTER_LIB_UI_PAINTING_IMAGE_GENERATOR_APNG_H_
#define FLUTTER_LIB_UI_PAINTING_IMAGE_GENERATOR_APNG_H_
#include "image_generator.h"
#include "fl... | engine/lib/ui/painting/image_generator_apng.h/0 | {
"file_path": "engine/lib/ui/painting/image_generator_apng.h",
"repo_id": "engine",
"token_count": 3290
} | 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.
#ifndef FLUTTER_LIB_UI_PAINTING_PATH_H_
#define FLUTTER_LIB_UI_PAINTING_PATH_H_
#include "flutter/lib/ui/dart_wrapper.h"
#include "flutter/lib/ui/painting... | engine/lib/ui/painting/path.h/0 | {
"file_path": "engine/lib/ui/painting/path.h",
"repo_id": "engine",
"token_count": 2039
} | 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.
#include "flutter/lib/ui/painting/single_frame_codec.h"
#include "flutter/lib/ui/ui_dart_state.h"
#include "third_party/tonic/logging/dart_invoke.h"
name... | engine/lib/ui/painting/single_frame_codec.cc/0 | {
"file_path": "engine/lib/ui/painting/single_frame_codec.cc",
"repo_id": "engine",
"token_count": 1468
} | 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.
#include "flutter/lib/ui/semantics/semantics_update.h"
#include <memory>
#include "flutter/lib/ui/painting/matrix.h"
#include "flutter/lib/ui/semantics/s... | engine/lib/ui/semantics/semantics_update.cc/0 | {
"file_path": "engine/lib/ui/semantics/semantics_update.cc",
"repo_id": "engine",
"token_count": 578
} | 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.
#include "flutter/lib/ui/text/paragraph_builder.h"
#include <cstring>
#include "flutter/common/settings.h"
#include "flutter/common/task_runners.h"
#incl... | engine/lib/ui/text/paragraph_builder.cc/0 | {
"file_path": "engine/lib/ui/text/paragraph_builder.cc",
"repo_id": "engine",
"token_count": 7519
} | 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.
#include <iostream>
#include <thread>
#include "flutter/fml/macros.h"
#include "flutter/fml/task_runner.h"
#include "flutter/lib/ui/ui_dart_state.h"
#incl... | engine/lib/ui/window/platform_isolate.cc/0 | {
"file_path": "engine/lib/ui/window/platform_isolate.cc",
"repo_id": "engine",
"token_count": 523
} | 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.
#include "flutter/lib/ui/window/pointer_data_packet_converter.h"
#include <cmath>
#include <cstring>
#include "flutter/fml/logging.h"
namespace flutter ... | engine/lib/ui/window/pointer_data_packet_converter.cc/0 | {
"file_path": "engine/lib/ui/window/pointer_data_packet_converter.cc",
"repo_id": "engine",
"token_count": 6540
} | 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:async';
import 'dart:convert';
import 'dart:io';
import 'package:stack_trace/stack_trace.dart';
import 'package:typed_data/typed_buffers.dart... | engine/lib/web_ui/dev/browser_process.dart/0 | {
"file_path": "engine/lib/web_ui/dev/browser_process.dart",
"repo_id": "engine",
"token_count": 1504
} | 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.
import 'dart:io' as io;
import 'package:http/http.dart';
import 'package:path/path.dart' as path;
import 'common.dart';
import 'environment.dart';
import... | engine/lib/web_ui/dev/firefox_installer.dart/0 | {
"file_path": "engine/lib/web_ui/dev/firefox_installer.dart",
"repo_id": "engine",
"token_count": 3965
} | 260 |
#!/bin/bash
set -e
set -x
# web_analysis: a command-line utility for running 'dart analyze' on Flutter Web
# Engine. Used/Called by LUCI recipes:
#
# See: https://flutter.googlesource.com/recipes/+/refs/heads/main/recipes/web_engine.py
echo "Engine path $ENGINE_PATH"
WEB_UI_DIR="$ENGINE_PATH/src/flutter/lib/web_ui"
D... | engine/lib/web_ui/dev/web_engine_analysis.sh/0 | {
"file_path": "engine/lib/web_ui/dev/web_engine_analysis.sh",
"repo_id": "engine",
"token_count": 288
} | 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.
part of ui;
enum PointMode {
points,
lines,
polygon,
}
enum ClipOp {
difference,
intersect,
}
enum VertexMode {
triangles,
triangleStrip,
... | engine/lib/web_ui/lib/canvas.dart/0 | {
"file_path": "engine/lib/web_ui/lib/canvas.dart",
"repo_id": "engine",
"token_count": 1359
} | 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.
part of ui;
class SemanticsAction {
const SemanticsAction._(this.index, this.name);
final int index;
final String name;
static const int _kTapIn... | engine/lib/web_ui/lib/semantics.dart/0 | {
"file_path": "engine/lib/web_ui/lib/semantics.dart",
"repo_id": "engine",
"token_count": 4734
} | 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.
// Uses the `ImageDecoder` class supplied by the browser.
//
// See also:
//
// * `image_wasm_codecs.dart`, which uses codecs supplied by the CanvasKit WA... | engine/lib/web_ui/lib/src/engine/canvaskit/image_web_codecs.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/image_web_codecs.dart",
"repo_id": "engine",
"token_count": 1932
} | 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.
import 'package:ui/ui.dart' as ui;
import '../vector_math.dart';
import 'canvas.dart';
/// A cache of [Picture]s that have already been rasterized.
///
/... | engine/lib/web_ui/lib/src/engine/canvaskit/raster_cache.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/raster_cache.dart",
"repo_id": "engine",
"token_count": 608
} | 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 'dart:async';
import 'dart:typed_data';
import 'dom.dart';
import 'platform_dispatcher.dart';
import 'services.dart';
final ByteData? _fontChangeM... | engine/lib/web_ui/lib/src/engine/font_change_util.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/font_change_util.dart",
"repo_id": "engine",
"token_count": 351
} | 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:ui/ui.dart' as ui;
import '../color_filter.dart';
import '../util.dart';
/// Implementation of [ui.Paint] used by the HTML rendering back... | engine/lib/web_ui/lib/src/engine/html/painting.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/painting.dart",
"repo_id": "engine",
"token_count": 3702
} | 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:js_interop';
import 'dart:math' as math;
import 'dart:typed_data';
import 'package:ui/src/engine.dart';
import 'package:... | engine/lib/web_ui/lib/src/engine/html/renderer.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/renderer.dart",
"repo_id": "engine",
"token_count": 4197
} | 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.
@JS()
library js_app;
import 'dart:js_interop';
import 'package:ui/src/engine.dart';
/// The JS bindings for the configuration object passed to [FlutterA... | engine/lib/web_ui/lib/src/engine/js_interop/js_app.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/js_interop/js_app.dart",
"repo_id": "engine",
"token_count": 758
} | 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 'package:meta/meta.dart';
import 'package:ui/ui.dart' as ui;
import '../../engine.dart';
/// Signature of functions added as a listener to [ui.App... | engine/lib/web_ui/lib/src/engine/platform_dispatcher/app_lifecycle_state.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/platform_dispatcher/app_lifecycle_state.dart",
"repo_id": "engine",
"token_count": 1169
} | 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.
import 'package:ui/ui.dart' as ui;
// These are additional APIs that are not part of the `dart:ui` interface that
// are needed internally to properly imp... | engine/lib/web_ui/lib/src/engine/scene_painting.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/scene_painting.dart",
"repo_id": "engine",
"token_count": 300
} | 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:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
/// Sets the "button" ARIA role.
class Button extends PrimaryRoleManager {
Butto... | engine/lib/web_ui/lib/src/engine/semantics/tappable.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/semantics/tappable.dart",
"repo_id": "engine",
"token_count": 822
} | 272 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ffi';
import 'dart:js_interop';
import 'package:ui/src/engine.dart';
class SkwasmObjectWrapper<T extends NativeType> {
SkwasmObjectWrapper... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/memory.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/memory.dart",
"repo_id": "engine",
"token_count": 487
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:ffi';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
final class RawShader extends Op... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_shaders.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_shaders.dart",
"repo_id": "engine",
"token_count": 1099
} | 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.
// The web_sdk/sdk_rewriter.dart uses this directive.
// ignore: unnecessary_library_directive
library skwasm_stub;
export 'skwasm_stub/dart_js_conversion... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_stub.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_stub.dart",
"repo_id": "engine",
"token_count": 119
} | 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:ui/ui.dart' as ui;
import 'fragmenter.dart';
import 'unicode_range.dart';
enum FragmentFlow {
/// The fragment flows from left to right... | engine/lib/web_ui/lib/src/engine/text/text_direction.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text/text_direction.dart",
"repo_id": "engine",
"token_count": 2394
} | 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:js_interop';
import 'package:meta/meta.dart';
import 'package:ui/src/engine/display.dart';
import 'package:ui/src/engine... | engine/lib/web_ui/lib/src/engine/view_embedder/display_dpr_stream.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/view_embedder/display_dpr_stream.dart",
"repo_id": "engine",
"token_count": 1075
} | 277 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:js_interop';
import 'package:ui/src/engine.dart';
/// Exposes web-only functionality for this app's `FlutterView`s objects.
final FlutterViewM... | engine/lib/web_ui/lib/ui_web/src/ui_web/flutter_views_proxy.dart/0 | {
"file_path": "engine/lib/web_ui/lib/ui_web/src/ui_web/flutter_views_proxy.dart",
"repo_id": "engine",
"token_count": 479
} | 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.
#include "export.h"
#include "third_party/skia/include/core/SkFontMgr.h"
#include "third_party/skia/include/ports/SkFontMgr_empty.h"
#include "third_party/... | engine/lib/web_ui/skwasm/fonts.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/fonts.cpp",
"repo_id": "engine",
"token_count": 1272
} | 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 "../export.h"
#include "third_party/skia/modules/skparagraph/include/Paragraph.h"
using namespace skia::textlayout;
SKWASM_EXPORT StrutStyle* st... | engine/lib/web_ui/skwasm/text/strut_style.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/text/strut_style.cpp",
"repo_id": "engine",
"token_count": 880
} | 280 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:js_interop';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'comm... | engine/lib/web_ui/test/canvaskit/render_canvas_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/render_canvas_test.dart",
"repo_id": "engine",
"token_count": 829
} | 281 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
// The scene that will be rendered in the next call to `onDr... | engine/lib/web_ui/test/common/rendering.dart/0 | {
"file_path": "engine/lib/web_ui/test/common/rendering.dart",
"repo_id": "engine",
"token_count": 416
} | 282 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
impo... | engine/lib/web_ui/test/engine/platform_dispatcher/application_switcher_description_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/platform_dispatcher/application_switcher_description_test.dart",
"repo_id": "engine",
"token_count": 1366
} | 283 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '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/semantics/semantics_announcement_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/semantics/semantics_announcement_test.dart",
"repo_id": "engine",
"token_count": 1677
} | 284 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine/html/shaders/normalized_gradient.dart';
import... | engine/lib/web_ui/test/engine/surface/shaders/normalized_gradient_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/surface/shaders/normalized_gradient_test.dart",
"repo_id": "engine",
"token_count": 1986
} | 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:async';
import 'dart:js_interop';
import 'dart:math' as math;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
... | engine/lib/web_ui/test/engine/view_embedder/flutter_views_proxy_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/view_embedder/flutter_views_proxy_test.dart",
"repo_id": "engine",
"token_count": 1218
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' hide TextSt... | engine/lib/web_ui/test/html/compositing/canvas_image_filter_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/compositing/canvas_image_filter_golden_test.dart",
"repo_id": "engine",
"token_count": 675
} | 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.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart';
import 'p... | engine/lib/web_ui/test/html/drawing/dom_clip_stroke_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/drawing/dom_clip_stroke_golden_test.dart",
"repo_id": "engine",
"token_count": 1592
} | 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.
import 'dart:js_util' as js_util;
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package... | engine/lib/web_ui/test/html/path_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/path_test.dart",
"repo_id": "engine",
"token_count": 9315
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import '../../common/fake_asset_manag... | engine/lib/web_ui/test/html/text/font_collection_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/text/font_collection_test.dart",
"repo_id": "engine",
"token_count": 3573
} | 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:math';
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine... | engine/lib/web_ui/test/ui/canvas_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/canvas_test.dart",
"repo_id": "engine",
"token_count": 5342
} | 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.
#ifndef FLUTTER_RUNTIME_DART_ISOLATE_H_
#define FLUTTER_RUNTIME_DART_ISOLATE_H_
#include <memory>
#include <optional>
#include <set>
#include <string>
#in... | engine/runtime/dart_isolate.h/0 | {
"file_path": "engine/runtime/dart_isolate.h",
"repo_id": "engine",
"token_count": 9488
} | 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.
#ifndef FLUTTER_RUNTIME_DART_VM_H_
#define FLUTTER_RUNTIME_DART_VM_H_
#include <memory>
#include <string>
#include "flutter/common/settings.h"
#include "... | engine/runtime/dart_vm.h/0 | {
"file_path": "engine/runtime/dart_vm.h",
"repo_id": "engine",
"token_count": 2946
} | 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.
#include "flutter/runtime/dart_isolate.h"
#include "flutter/fml/paths.h"
#include "flutter/runtime/dart_vm.h"
#include "flutter/runtime/dart_vm_lifecycle.... | engine/runtime/no_dart_plugin_registrant_unittests.cc/0 | {
"file_path": "engine/runtime/no_dart_plugin_registrant_unittests.cc",
"repo_id": "engine",
"token_count": 1089
} | 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.
#include "flutter/runtime/test_font_data.h"
// License for the Ahem font embedded below is from:
// https://www.w3.org/Style/CSS/Test/Fonts/Ahem/COPYING
/... | engine/runtime/test_font_data.cc/0 | {
"file_path": "engine/runtime/test_font_data.cc",
"repo_id": "engine",
"token_count": 82100
} | 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.
#ifndef FLUTTER_SHELL_COMMON_DISPLAY_H_
#define FLUTTER_SHELL_COMMON_DISPLAY_H_
#include <optional>
#include "flutter/fml/macros.h"
#include "flutter/she... | engine/shell/common/display.h/0 | {
"file_path": "engine/shell/common/display.h",
"repo_id": "engine",
"token_count": 857
} | 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.
#ifndef FLUTTER_SHELL_COMMON_PIPELINE_H_
#define FLUTTER_SHELL_COMMON_PIPELINE_H_
#include <deque>
#include <memory>
#include <mutex>
#include "flutter/f... | engine/shell/common/pipeline.h/0 | {
"file_path": "engine/shell/common/pipeline.h",
"repo_id": "engine",
"token_count": 3249
} | 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.
#ifndef FLUTTER_SHELL_COMMON_SERIALIZATION_CALLBACKS_H_
#define FLUTTER_SHELL_COMMON_SERIALIZATION_CALLBACKS_H_
#include "flutter/fml/logging.h"
#include ... | engine/shell/common/serialization_callbacks.h/0 | {
"file_path": "engine/shell/common/serialization_callbacks.h",
"repo_id": "engine",
"token_count": 536
} | 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.
#ifndef FLUTTER_SHELL_COMMON_SHELL_TEST_PLATFORM_VIEW_METAL_H_
#define FLUTTER_SHELL_COMMON_SHELL_TEST_PLATFORM_VIEW_METAL_H_
#include "flutter/fml/macros... | engine/shell/common/shell_test_platform_view_metal.h/0 | {
"file_path": "engine/shell/common/shell_test_platform_view_metal.h",
"repo_id": "engine",
"token_count": 1052
} | 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.
#include <initializer_list>
#include "flutter/common/settings.h"
#include "flutter/fml/command_line.h"
#include "flutter/shell/common/switches.h"
#includ... | engine/shell/common/switches_unittests.cc/0 | {
"file_path": "engine/shell/common/switches_unittests.cc",
"repo_id": "engine",
"token_count": 1615
} | 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.
import("//flutter/shell/config.gni")
template("shell_gpu_configuration") {
assert(defined(invoker.enable_software),
"Caller must declare if the So... | engine/shell/gpu/gpu.gni/0 | {
"file_path": "engine/shell/gpu/gpu.gni",
"repo_id": "engine",
"token_count": 605
} | 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/android_context_gl_skia.h"
#include <utility>
#include "flutter/fml/trace_event.h"
#include "flutter/shell/platf... | engine/shell/platform/android/android_context_gl_skia.cc/0 | {
"file_path": "engine/shell/platform/android/android_context_gl_skia.cc",
"repo_id": "engine",
"token_count": 2703
} | 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 <memory>
#include "flutter/shell/platform/android/android_shell_holder.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "shell/platf... | engine/shell/platform/android/android_shell_holder_unittests.cc/0 | {
"file_path": "engine/shell/platform/android/android_shell_holder_unittests.cc",
"repo_id": "engine",
"token_count": 2671
} | 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("//flutter/common/config.gni")
import("//flutter/testing/testing.gni")
source_set("external_view_embedder") {
sources = [
"external_view_embedde... | engine/shell/platform/android/external_view_embedder/BUILD.gn/0 | {
"file_path": "engine/shell/platform/android/external_view_embedder/BUILD.gn",
"repo_id": "engine",
"token_count": 529
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_IMAGE_EXTERNAL_TEXTURE_VK_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_IMAGE_EXTERNAL_TEXTURE_VK_H_
#include <cstdint>... | engine/shell/platform/android/image_external_texture_vk.h/0 | {
"file_path": "engine/shell/platform/android/image_external_texture_vk.h",
"repo_id": "engine",
"token_count": 512
} | 305 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.android;
import androidx.annotation.NonNull;
/**
* An Android App Component exclusively attached to a {@link
* io.flutter.... | engine/shell/platform/android/io/flutter/embedding/android/ExclusiveAppComponent.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/ExclusiveAppComponent.java",
"repo_id": "engine",
"token_count": 397
} | 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.
package io.flutter.embedding.android;
import android.view.KeyCharacterMap;
import android.view.KeyEvent;
import androidx.annotation.NonNull;
import io.flu... | engine/shell/platform/android/io/flutter/embedding/android/KeyboardManager.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/KeyboardManager.java",
"repo_id": "engine",
"token_count": 3716
} | 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.
package io.flutter.embedding.engine.dart;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.nio.ByteBuffer;
/** Handle... | engine/shell/platform/android/io/flutter/embedding/engine/dart/PlatformMessageHandler.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/dart/PlatformMessageHandler.java",
"repo_id": "engine",
"token_count": 195
} | 308 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.engine.plugins.broadcastreceiver;
import android.content.BroadcastReceiver;
import androidx.annotation.NonNull;
import androi... | engine/shell/platform/android/io/flutter/embedding/engine/plugins/broadcastreceiver/BroadcastReceiverControlSurface.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/plugins/broadcastreceiver/BroadcastReceiverControlSurface.java",
"repo_id": "engine",
"token_count": 601
} | 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.
package io.flutter.embedding.engine.renderer;
import android.graphics.SurfaceTexture;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;... | engine/shell/platform/android/io/flutter/embedding/engine/renderer/SurfaceTextureWrapper.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/renderer/SurfaceTextureWrapper.java",
"repo_id": "engine",
"token_count": 1182
} | 310 |
package io.flutter.embedding.engine.systemchannels;
import static io.flutter.Build.API_LEVELS;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.Vi... | engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/TextInputChannel.java",
"repo_id": "engine",
"token_count": 12645
} | 311 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.