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 'dart:async';
import 'dart:developer' as developer;
import 'dart:js_interop';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as u... | engine/lib/web_ui/lib/src/engine/initialization.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/initialization.dart",
"repo_id": "engine",
"token_count": 3334
} | 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 'dart:convert';
import 'dart:js_interop';
import 'dart:typed_data';
import 'package:meta/meta.dart';
import 'package:ui/ui.dar... | engine/lib/web_ui/lib/src/engine/platform_dispatcher.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/platform_dispatcher.dart",
"repo_id": "engine",
"token_count": 18961
} | 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:typed_data';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
// This file implements a SceneBuilder and Scene that w... | engine/lib/web_ui/lib/src/engine/scene_builder.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/scene_builder.dart",
"repo_id": "engine",
"token_count": 2637
} | 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 'dart:async';
import 'package:meta/meta.dart';
import '../browser_detection.dart';
import '../dom.dart';
import 'semantics.dart';
/// The maximum... | engine/lib/web_ui/lib/src/engine/semantics/semantics_helper.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/semantics/semantics_helper.dart",
"repo_id": "engine",
"token_count": 4327
} | 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.
import 'dart:ffi';
import 'dart:js_interop';
import 'dart:typed_data';
import 'package:ui/src/engine.dart';
import 'package:ui/src/engine/skwasm/skwasm_im... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/image.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/image.dart",
"repo_id": "engine",
"token_count": 1217
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:ffi';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
final class RawPictureRecorder e... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_picture.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_picture.dart",
"repo_id": "engine",
"token_count": 505
} | 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.
// ignore_for_file: avoid_unused_constructor_parameters
import 'dart:ffi';
import 'dart:typed_data';
import 'package:ui/src/engine/skwasm/skwasm_impl.dar... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/vertices.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/vertices.dart",
"repo_id": "engine",
"token_count": 955
} | 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 'package:ui/ui.dart' as ui;
import 'package:ui/ui_web/src/ui_web.dart' as ui_web;
import '../browser_detection.dart';
import '../dom.dart';
import ... | engine/lib/web_ui/lib/src/engine/text/ruler.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text/ruler.dart",
"repo_id": "engine",
"token_count": 2080
} | 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 'package:ui/src/engine/browser_detection.dart';
import 'package:ui/src/engine/display.dart';
import 'package:ui/src/engine/dom... | engine/lib/web_ui/lib/src/engine/view_embedder/dimensions_provider/full_page_dimensions_provider.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/view_embedder/dimensions_provider/full_page_dimensions_provider.dart",
"repo_id": "engine",
"token_count": 1541
} | 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 'package:ui/src/engine.dart';
/// Signature of the callback that receives a benchmark [value] labeled by
/// [name].
typedef BenchmarkValueCallback... | engine/lib/web_ui/lib/ui_web/src/ui_web/benchmarks.dart/0 | {
"file_path": "engine/lib/web_ui/lib/ui_web/src/ui_web/benchmarks.dart",
"repo_id": "engine",
"token_count": 152
} | 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.
#include "export.h"
#include "helpers.h"
#include "third_party/skia/include/core/SkColorFilter.h"
#include "third_party/skia/include/core/SkMaskFilter.h"
... | engine/lib/web_ui/skwasm/filters.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/filters.cpp",
"repo_id": "engine",
"token_count": 1745
} | 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.
#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/paragraph_style.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/text/paragraph_style.cpp",
"repo_id": "engine",
"token_count": 1150
} | 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 '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/canvaskit/flutter_tester_emulation_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/flutter_tester_emulation_golden_test.dart",
"repo_id": "engine",
"token_count": 1532
} | 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.
import 'dart:async';
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engi... | engine/lib/web_ui/test/canvaskit/platform_dispatcher_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/platform_dispatcher_test.dart",
"repo_id": "engine",
"token_count": 458
} | 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 'dart:typed_data';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart';
/// Contains method name that was called on [MockEngineCanvas... | engine/lib/web_ui/test/common/mock_engine_canvas.dart/0 | {
"file_path": "engine/lib/web_ui/test/common/mock_engine_canvas.dart",
"repo_id": "engine",
"token_count": 2097
} | 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.
// This is testing some of the named constants.
// ignore_for_file: use_named_constants
import 'dart:math' as math show sqrt;
import 'dart:math' show pi;
... | engine/lib/web_ui/test/engine/geometry_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/geometry_test.dart",
"repo_id": "engine",
"token_count": 4686
} | 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 '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/navigation_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/navigation_test.dart",
"repo_id": "engine",
"token_count": 794
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engin... | engine/lib/web_ui/test/engine/scene_view_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/scene_view_test.dart",
"repo_id": "engine",
"token_count": 2418
} | 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.
@TestOn('chrome || firefox')
library;
import 'dart:async';
import 'dart:js_interop';
import 'dart:js_util' as js_util;
import 'package:test/bootstrap/bro... | engine/lib/web_ui/test/engine/surface/scene_builder_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/surface/scene_builder_test.dart",
"repo_id": "engine",
"token_count": 12904
} | 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:js_util';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.d... | engine/lib/web_ui/test/engine/view_embedder/flutter_view_manager_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/view_embedder/flutter_view_manager_test.dart",
"repo_id": "engine",
"token_count": 1540
} | 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: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_blend_mode_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/compositing/canvas_image_blend_mode_golden_test.dart",
"repo_id": "engine",
"token_count": 2232
} | 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 'package:ui/ui.dart';
import 'p... | engine/lib/web_ui/test/html/drawing/conic_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/drawing/conic_golden_test.dart",
"repo_id": "engine",
"token_count": 1222
} | 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';
import 'package:ui/ui.dart';
// TODO(y... | engine/lib/web_ui/test/html/path_ref_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/path_ref_test.dart",
"repo_id": "engine",
"token_count": 1367
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
imp... | engine/lib/web_ui/test/html/text/canvas_paragraph_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/text/canvas_paragraph_test.dart",
"repo_id": "engine",
"token_count": 11898
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/ui.dart';
import 'package:web_engine_tester/golden_tester... | engine/lib/web_ui/test/ui/canvas_lines_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/canvas_lines_golden_test.dart",
"repo_id": "engine",
"token_count": 1941
} | 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 'dart:math' as math;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/ui.dart';
import '../common... | engine/lib/web_ui/test/ui/path_metrics_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/path_metrics_test.dart",
"repo_id": "engine",
"token_count": 3487
} | 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.
#include "flutter/runtime/dart_isolate.h"
#include <cstdlib>
#include <tuple>
#include <utility>
#include "flutter/fml/logging.h"
#include "flutter/fml/p... | engine/runtime/dart_isolate.cc/0 | {
"file_path": "engine/runtime/dart_isolate.cc",
"repo_id": "engine",
"token_count": 19287
} | 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.
#include "flutter/runtime/dart_vm.h"
#include <sys/stat.h>
#include <sstream>
#include <vector>
#include "flutter/common/settings.h"
#include "flutter/f... | engine/runtime/dart_vm.cc/0 | {
"file_path": "engine/runtime/dart_vm.cc",
"repo_id": "engine",
"token_count": 7572
} | 278 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_RUNTIME_ISOLATE_CONFIGURATION_H_
#define FLUTTER_RUNTIME_ISOLATE_CONFIGURATION_H_
#include <future>
#include <memory>
#include <string>
#... | engine/runtime/isolate_configuration.h/0 | {
"file_path": "engine/runtime/isolate_configuration.h",
"repo_id": "engine",
"token_count": 3005
} | 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.
#ifndef FLUTTER_RUNTIME_SKIA_CONCURRENT_EXECUTOR_H_
#define FLUTTER_RUNTIME_SKIA_CONCURRENT_EXECUTOR_H_
#include "flutter/fml/closure.h"
#include "flutter... | engine/runtime/skia_concurrent_executor.h/0 | {
"file_path": "engine/runtime/skia_concurrent_executor.h",
"repo_id": "engine",
"token_count": 665
} | 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/shell/common/pipeline.h"
namespace flutter {
size_t GetNextPipelineTraceID() {
static std::atomic_size_t PipelineLastTraceID = {0};
... | engine/shell/common/pipeline.cc/0 | {
"file_path": "engine/shell/common/pipeline.cc",
"repo_id": "engine",
"token_count": 122
} | 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.
#include "flutter/fml/logging.h"
#include "third_party/skia/include/core/SkColorSpace.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third... | engine/shell/common/serialization_callbacks.cc/0 | {
"file_path": "engine/shell/common/serialization_callbacks.cc",
"repo_id": "engine",
"token_count": 1209
} | 282 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_COMMON_SHELL_TEST_PLATFORM_VIEW_GL_H_
#define FLUTTER_SHELL_COMMON_SHELL_TEST_PLATFORM_VIEW_GL_H_
#include "flutter/shell/common/she... | engine/shell/common/shell_test_platform_view_gl.h/0 | {
"file_path": "engine/shell/common/shell_test_platform_view_gl.h",
"repo_id": "engine",
"token_count": 1012
} | 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.
#include <string_view>
#include "flutter/common/settings.h"
#include "flutter/fml/command_line.h"
#ifndef FLUTTER_SHELL_COMMON_SWITCHES_H_
#define FLUTTE... | engine/shell/common/switches.h/0 | {
"file_path": "engine/shell/common/switches.h",
"repo_id": "engine",
"token_count": 5574
} | 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("//flutter/common/config.gni")
import("//flutter/impeller/tools/impeller.gni")
import("//flutter/shell/config.gni")
gpu_common_deps = [
"//flutter/c... | engine/shell/gpu/BUILD.gn/0 | {
"file_path": "engine/shell/gpu/BUILD.gn",
"repo_id": "engine",
"token_count": 1223
} | 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.
#ifndef FLUTTER_SHELL_GPU_GPU_SURFACE_SOFTWARE_H_
#define FLUTTER_SHELL_GPU_GPU_SURFACE_SOFTWARE_H_
#include "flutter/flow/surface.h"
#include "flutter/fm... | engine/shell/gpu/gpu_surface_software.h/0 | {
"file_path": "engine/shell/gpu/gpu_surface_software.h",
"repo_id": "engine",
"token_count": 497
} | 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/platform/android/android_context_gl_impeller.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace flutter {
namespace te... | engine/shell/platform/android/android_context_gl_impeller_unittests.cc/0 | {
"file_path": "engine/shell/platform/android/android_context_gl_impeller_unittests.cc",
"repo_id": "engine",
"token_count": 1419
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_SHELL_HOLDER_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_SHELL_HOLDER_H_
#include <memory>
#include ... | engine/shell/platform/android/android_shell_holder.h/0 | {
"file_path": "engine/shell/platform/android/android_shell_holder.h",
"repo_id": "engine",
"token_count": 2302
} | 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_PLATFORM_ANDROID_CONTEXT_ANDROID_CONTEXT_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_CONTEXT_ANDROID_CONTEXT_H_
#include "common/setti... | engine/shell/platform/android/context/android_context.h/0 | {
"file_path": "engine/shell/platform/android/context/android_context.h",
"repo_id": "engine",
"token_count": 953
} | 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.
#include "flutter/shell/platform/android/image_external_texture_vk.h"
#include <cstdint>
#include "flutter/impeller/core/formats.h"
#include "flutter/imp... | engine/shell/platform/android/image_external_texture_vk.cc/0 | {
"file_path": "engine/shell/platform/android/image_external_texture_vk.cc",
"repo_id": "engine",
"token_count": 1392
} | 290 |
package io.flutter.embedding.android;
import static io.flutter.Build.API_LEVELS;
import android.annotation.TargetApi;
import android.content.Context;
import android.graphics.Matrix;
import android.os.Build;
import android.util.TypedValue;
import android.view.InputDevice;
import android.view.MotionEvent;
import androi... | engine/shell/platform/android/io/flutter/embedding/android/AndroidTouchProcessor.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/AndroidTouchProcessor.java",
"repo_id": "engine",
"token_count": 7280
} | 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.
package io.flutter.embedding.android;
import android.view.InputDevice;
import android.view.KeyEvent;
import androidx.annotation.NonNull;
import androidx.a... | engine/shell/platform/android/io/flutter/embedding/android/KeyEmbedderResponder.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/KeyEmbedderResponder.java",
"repo_id": "engine",
"token_count": 6451
} | 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.
package io.flutter.embedding.engine.dart;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.UiThread;
im... | engine/shell/platform/android/io/flutter/embedding/engine/dart/DartMessenger.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/dart/DartMessenger.java",
"repo_id": "engine",
"token_count": 5353
} | 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.engine.plugins.broadcastreceiver;
import androidx.annotation.NonNull;
/**
* A {@link io.flutter.embedding.engine.plugins.Fl... | engine/shell/platform/android/io/flutter/embedding/engine/plugins/broadcastreceiver/BroadcastReceiverAware.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/plugins/broadcastreceiver/BroadcastReceiverAware.java",
"repo_id": "engine",
"token_count": 306
} | 294 |
package io.flutter.embedding.engine.renderer;
import android.graphics.SurfaceTexture;
import android.os.Handler;
import android.view.Surface;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.flutter.embedding.engine.FlutterJNI;
import io.flutter.view.TextureRegistry;
/** Uses a {@lin... | engine/shell/platform/android/io/flutter/embedding/engine/renderer/SurfaceTextureSurfaceProducer.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/renderer/SurfaceTextureSurfaceProducer.java",
"repo_id": "engine",
"token_count": 742
} | 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.systemchannels;
import androidx.annotation.NonNull;
import io.flutter.Log;
import io.flutter.embedding.engine.dart.Dar... | engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/SystemChannel.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/SystemChannel.java",
"repo_id": "engine",
"token_count": 344
} | 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.plugin.common;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import androidx.annotation.N... | engine/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java",
"repo_id": "engine",
"token_count": 6102
} | 297 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugin.platform;
import static io.flutter.Build.API_LEVELS;
import android.app.Activity;
import android.app.ActivityManager.TaskDescri... | engine/shell/platform/android/io/flutter/plugin/platform/PlatformPlugin.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/platform/PlatformPlugin.java",
"repo_id": "engine",
"token_count": 9142
} | 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.text;
import static io.flutter.Build.API_LEVELS;
import android.annotation.TargetApi;
import android.app.Activity;
import andro... | engine/shell/platform/android/io/flutter/plugin/text/ProcessTextPlugin.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/text/ProcessTextPlugin.java",
"repo_id": "engine",
"token_count": 2180
} | 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.
import("//flutter/common/config.gni")
import("//flutter/testing/testing.gni")
source_set("jni") {
sources = [
"platform_view_android_jni.cc",
"plat... | engine/shell/platform/android/jni/BUILD.gn/0 | {
"file_path": "engine/shell/platform/android/jni/BUILD.gn",
"repo_id": "engine",
"token_count": 412
} | 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.
#include "flutter/shell/platform/android/platform_view_android_jni_impl.h"
#include <android/hardware_buffer_jni.h>
#include <android/native_window_jni.h>... | engine/shell/platform/android/platform_view_android_jni_impl.cc/0 | {
"file_path": "engine/shell/platform/android/platform_view_android_jni_impl.cc",
"repo_id": "engine",
"token_count": 30737
} | 301 |
# Unit testing Java code
All Java code in the engine should now be able to be tested with Robolectric 4.11.1
and JUnit 4. The test suite has been added after the bulk of the Java code was
first written, so most of these classes do not have existing tests. Ideally code
after this point should be tested, either with uni... | engine/shell/platform/android/test/README.md/0 | {
"file_path": "engine/shell/platform/android/test/README.md",
"repo_id": "engine",
"token_count": 500
} | 302 |
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 androidx.test.ext.junit.runners.AndroidJUnit4;
import org.j... | engine/shell/platform/android/test/io/flutter/embedding/engine/FlutterEngineCacheTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/FlutterEngineCacheTest.java",
"repo_id": "engine",
"token_count": 835
} | 303 |
package io.flutter.embedding.engine.renderer;
import static android.content.ComponentCallbacks2.TRIM_MEMORY_COMPLETE;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org... | engine/shell/platform/android/test/io/flutter/embedding/engine/renderer/FlutterRendererTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/renderer/FlutterRendererTest.java",
"repo_id": "engine",
"token_count": 8560
} | 304 |
package io.flutter.plugin.common;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThrows;
import static org.junit.Assert.assertTrue;
import android.text.SpannableString;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import jav... | engine/shell/platform/android/test/io/flutter/plugin/common/StandardMessageCodecTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/common/StandardMessageCodecTest.java",
"repo_id": "engine",
"token_count": 1538
} | 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.plugin.platform;
import static io.flutter.Build.API_LEVELS;
import static org.junit.Assert.*;
import static org.mockito.ArgumentMatcher... | engine/shell/platform/android/test/io/flutter/plugin/platform/SurfaceTexturePlatformViewRenderTargetTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/platform/SurfaceTexturePlatformViewRenderTargetTest.java",
"repo_id": "engine",
"token_count": 1259
} | 306 |
sdk=33
shadows=io.flutter.CustomShadowContextImpl
| engine/shell/platform/android/test_runner/src/main/resources/robolectric.properties/0 | {
"file_path": "engine/shell/platform/android/test_runner/src/main/resources/robolectric.properties",
"repo_id": "engine",
"token_count": 18
} | 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.
core_cpp_client_wrapper_includes =
get_path_info([
"include/flutter/basic_message_channel.h",
"include/flutter/bin... | engine/shell/platform/common/client_wrapper/core_wrapper_files.gni/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/core_wrapper_files.gni",
"repo_id": "engine",
"token_count": 1408
} | 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_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_METHOD_CODEC_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_M... | engine/shell/platform/common/client_wrapper/include/flutter/method_codec.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/include/flutter/method_codec.h",
"repo_id": "engine",
"token_count": 1530
} | 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.
#include "flutter/shell/platform/common/client_wrapper/include/flutter/standard_message_codec.h"
#include <map>
#include <vector>
#include "flutter/shell... | engine/shell/platform/common/client_wrapper/standard_message_codec_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/standard_message_codec_unittests.cc",
"repo_id": "engine",
"token_count": 4614
} | 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.
#include "flutter/shell/platform/common/incoming_message_dispatcher.h"
namespace flutter {
IncomingMessageDispatcher::IncomingMessageDispatcher(
Flut... | engine/shell/platform/common/incoming_message_dispatcher.cc/0 | {
"file_path": "engine/shell/platform/common/incoming_message_dispatcher.cc",
"repo_id": "engine",
"token_count": 630
} | 311 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_PUBLIC_FLUTTER_PLUGIN_REGISTRAR_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_PUBLIC_FLUTTER_PLUGIN_REGISTRAR_H_
#include... | engine/shell/platform/common/public/flutter_plugin_registrar.h/0 | {
"file_path": "engine/shell/platform/common/public/flutter_plugin_registrar.h",
"repo_id": "engine",
"token_count": 519
} | 312 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/darwin/common/availability_version_check.h"
#include <cstdint>
#include <optional>
#include <tuple>
#include <CoreFounda... | engine/shell/platform/darwin/common/availability_version_check.cc/0 | {
"file_path": "engine/shell/platform/darwin/common/availability_version_check.cc",
"repo_id": "engine",
"token_count": 2585
} | 313 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterChannels.h"
FLUTTER_ASSERT_ARC
#pragma mark - Basic message channel
static NSStri... | engine/shell/platform/darwin/common/framework/Source/FlutterChannels.mm/0 | {
"file_path": "engine/shell/platform/darwin/common/framework/Source/FlutterChannels.mm",
"repo_id": "engine",
"token_count": 6512
} | 314 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_GRAPHICS_FLUTTERDARWINCONTEXTMETALIMPELLER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_GRAPHICS_FLUTTERDARWINCONTEXTMETA... | engine/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.h/0 | {
"file_path": "engine/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.h",
"repo_id": "engine",
"token_count": 609
} | 315 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERPLUGINAPPLIFECYCLEDELEGATE_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADER... | engine/shell/platform/darwin/ios/framework/Headers/FlutterPluginAppLifeCycleDelegate.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Headers/FlutterPluginAppLifeCycleDelegate.h",
"repo_id": "engine",
"token_count": 1670
} | 316 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#define FML_USED_ON_EMBEDDER
#import "FlutterDartVMServicePublisher.h"
#if FLUTTER_RELEASE
@implementation FlutterDartVMServicePublisher
- (instancetype... | engine/shell/platform/darwin/ios/framework/Source/FlutterDartVMServicePublisher.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterDartVMServicePublisher.mm",
"repo_id": "engine",
"token_count": 3507
} | 317 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERKEYSECONDARYRESPONDER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTT... | engine/shell/platform/darwin/ios/framework/Source/FlutterKeySecondaryResponder.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterKeySecondaryResponder.h",
"repo_id": "engine",
"token_count": 363
} | 318 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/ios/framework/Headers/FlutterPluginAppLifeCycleDelegate.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/p... | engine/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate.mm",
"repo_id": "engine",
"token_count": 5780
} | 319 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelay.h"
#include "flutter/fml/logging.h"
@implementation FlutterTextur... | engine/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelay.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelay.mm",
"repo_id": "engine",
"token_count": 378
} | 320 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <XCTest/XCTest.h>
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterMacros.h"
#import "flutter/shell/platform/darwin/ios/fram... | engine/shell/platform/darwin/ios/framework/Source/FlutterViewTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterViewTest.mm",
"repo_id": "engine",
"token_count": 1031
} | 321 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_ACCESSIBILITY_TEXT_ENTRY_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_ACCESSIBI... | engine/shell/platform/darwin/ios/framework/Source/accessibility_text_entry.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/accessibility_text_entry.h",
"repo_id": "engine",
"token_count": 444
} | 322 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/ios/ios_context_metal_impeller.h"
#include "flutter/impeller/entity/mtl/entity_shaders.h"
#import "flutter/shell/pla... | engine/shell/platform/darwin/ios/ios_context_metal_impeller.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/ios_context_metal_impeller.mm",
"repo_id": "engine",
"token_count": 850
} | 323 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/ios/ios_surface_software.h"
#include <QuartzCore/CALayer.h>
#include <memory>
#include "flutter/fml/logging.h"
#i... | engine/shell/platform/darwin/ios/ios_surface_software.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/ios_surface_software.mm",
"repo_id": "engine",
"token_count": 2036
} | 324 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINREGISTRARMACOS_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_... | engine/shell/platform/darwin/macos/framework/Headers/FlutterPluginRegistrarMacOS.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Headers/FlutterPluginRegistrarMacOS.h",
"repo_id": "engine",
"token_count": 1597
} | 325 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterChannelKeyResponder.h"
#include <Carbon/Carbon.h>
#import <Foundation/Foundation.h>
... | engine/shell/platform/darwin/macos/framework/Source/FlutterChannelKeyResponderTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterChannelKeyResponderTest.mm",
"repo_id": "engine",
"token_count": 4595
} | 326 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERENGINE_INTERNAL_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTER... | engine/shell/platform/darwin/macos/framework/Source/FlutterEngine_Internal.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterEngine_Internal.h",
"repo_id": "engine",
"token_count": 2350
} | 327 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterMutatorView.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#i... | engine/shell/platform/darwin/macos/framework/Source/FlutterMutatorViewTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterMutatorViewTest.mm",
"repo_id": "engine",
"token_count": 9487
} | 328 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterViewController.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/Flutt... | engine/shell/platform/darwin/macos/framework/Source/FlutterTextInputPluginTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterTextInputPluginTest.mm",
"repo_id": "engine",
"token_count": 42520
} | 329 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterView.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterSurfaceM... | engine/shell/platform/darwin/macos/framework/Source/FlutterView.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterView.mm",
"repo_id": "engine",
"token_count": 1721
} | 330 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#import "flutter/shell/platform/darwin/macos/framework/Source/TestFlutterPlatformView.h"
@imple... | engine/shell/platform/darwin/macos/framework/Source/TestFlutterPlatformView.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/TestFlutterPlatformView.mm",
"repo_id": "engine",
"token_count": 267
} | 331 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/embedder/embedder_external_texture_resolver.h"
#include <memory>
#include <utility>
namespace flutter {
#ifdef SHELL_EN... | engine/shell/platform/embedder/embedder_external_texture_resolver.cc/0 | {
"file_path": "engine/shell/platform/embedder/embedder_external_texture_resolver.cc",
"repo_id": "engine",
"token_count": 592
} | 332 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/embedder/embedder_render_target_impeller.h"
#include "flutter/fml/logging.h"
#include "flutter/impeller/renderer/render_t... | engine/shell/platform/embedder/embedder_render_target_impeller.cc/0 | {
"file_path": "engine/shell/platform/embedder/embedder_render_target_impeller.cc",
"repo_id": "engine",
"token_count": 594
} | 333 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <utility>
#include "flutter/shell/platform/embedder/embedder_surface_metal_impeller.h"
#include "flutter/fml/logging.h"
#inclu... | engine/shell/platform/embedder/embedder_surface_metal_impeller.mm/0 | {
"file_path": "engine/shell/platform/embedder/embedder_surface_metal_impeller.mm",
"repo_id": "engine",
"token_count": 1660
} | 334 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/embedder/pixel_formats.h"
#include "flutter/shell/platform/embedder/embedder.h"
#include "third_party/skia/include/core/S... | engine/shell/platform/embedder/pixel_formats.cc/0 | {
"file_path": "engine/shell/platform/embedder/pixel_formats.cc",
"repo_id": "engine",
"token_count": 609
} | 335 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_H_
#include <map>
#include <mem... | engine/shell/platform/embedder/tests/embedder_test.h/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_test.h",
"repo_id": "engine",
"token_count": 430
} | 336 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_CONTEXT_GL_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_CONTEXT_GL_H_
#inclu... | engine/shell/platform/embedder/tests/embedder_test_context_gl.h/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_test_context_gl.h",
"repo_id": "engine",
"token_count": 1159
} | 337 |
dart:fuchsia
===========
These are the Dart bindings for the Fuchsia application model.
| engine/shell/platform/fuchsia/dart-pkg/fuchsia/README.md/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/fuchsia/README.md",
"repo_id": "engine",
"token_count": 25
} | 338 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library zircon;
// uncomment the next line for local testing.
// import 'package:zircon_ffi/zircon_ffi.dart';
import 'dart:convert' show utf8;
import 'da... | engine/shell/platform/fuchsia/dart-pkg/zircon/lib/zircon.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/lib/zircon.dart",
"repo_id": "engine",
"token_count": 232
} | 339 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_BASIC_TYPES_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_PKG_ZIRCON_FFI_BASIC_TYPES_H_
#inclu... | engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/basic_types.h/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/basic_types.h",
"repo_id": "engine",
"token_count": 441
} | 340 |
# Dart Application Runner
Implements the `fuchsia::component::runner::ComponentRunner` FIDL interface to
launch and run Dart applications that don't use Flutter. | engine/shell/platform/fuchsia/dart_runner/README.md/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/README.md",
"repo_id": "engine",
"token_count": 40
} | 341 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/tools/fuchsia/gn-sdk/src/fidl_library.gni")
fidl_library("dart_test") {
library_name = "dart.test"
sources = [ "echo.fidl" ]
}
| engine/shell/platform/fuchsia/dart_runner/fidl/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/fidl/BUILD.gn",
"repo_id": "engine",
"token_count": 112
} | 342 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/tools/fuchsia/dart/dart_component.gni")
import("//flutter/tools/fuchsia/fuchsia_archive.gni")
import("//flutter/tools/fuchsia/gn-sdk/src/fid... | engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_aot_runner/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_aot_runner/BUILD.gn",
"repo_id": "engine",
"token_count": 638
} | 343 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This entry point is never invoked. Its purpose is to allow the vmservice's
// Dart code to built with dart_aot_app.
void main(List<String> args) {}
| engine/shell/platform/fuchsia/dart_runner/vmservice/empty.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/vmservice/empty.dart",
"repo_id": "engine",
"token_count": 87
} | 344 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_ENGINE_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_ENGINE_H_
#include <optional>
#include <fuchsia/i... | engine/shell/platform/fuchsia/flutter/engine.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/engine.h",
"repo_id": "engine",
"token_count": 2070
} | 345 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "isolate_configurator.h"
#include "dart-pkg/fuchsia/sdk_ext/fuchsia.h"
#include "dart-pkg/zircon/sdk_ext/handle.h"
#include "third_party/dart/run... | engine/shell/platform/fuchsia/flutter/isolate_configurator.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/isolate_configurator.cc",
"repo_id": "engine",
"token_count": 1309
} | 346 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_RUNNER_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_RUNNER_H_
#include <memory>
#include <unordered_ma... | engine/shell/platform/fuchsia/flutter/runner.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/runner.h",
"repo_id": "engine",
"token_count": 1101
} | 347 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_FOCUSER_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_FOCUSER_H_
#include <fuch... | engine/shell/platform/fuchsia/flutter/tests/fakes/focuser.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/fakes/focuser.h",
"repo_id": "engine",
"token_count": 679
} | 348 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/tools/fuchsia/dart/dart_library.gni")
import("//flutter/tools/fuchsia/flutter/flutter_component.gni")
import("//flutter/tools/fuchsia/gn-sdk... | engine/shell/platform/fuchsia/flutter/tests/integration/embedder/child-view/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/embedder/child-view/BUILD.gn",
"repo_id": "engine",
"token_count": 293
} | 349 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <fuchsia/accessibility/semantics/cpp/fidl.h>
#include <fuchsia/buildinfo/cpp/fidl.h>
#include <fuchsia/component/cpp/fidl.h>
#include <fuchsia/fon... | engine/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-test.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-test.cc",
"repo_id": "engine",
"token_count": 7544
} | 350 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.