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:math' as math;
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import '../vector_math.dart';
import 'canvaskit_api.dart';
impor... | engine/lib/web_ui/lib/src/engine/canvaskit/util.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/canvaskit/util.dart",
"repo_id": "engine",
"token_count": 2186
} | 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 'dart:math' as math;
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import '../picture.dart';
import '../util.dart';
import '../vali... | engine/lib/web_ui/lib/src/engine/html/canvas.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/canvas.dart",
"repo_id": "engine",
"token_count": 5501
} | 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 'dart:math' as math;
import 'package:ui/ui.dart' as ui;
import 'path_ref.dart';
/// Mask used to keep track of types of verbs used in a path segm... | engine/lib/web_ui/lib/src/engine/html/path/path_utils.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/path/path_utils.dart",
"repo_id": "engine",
"token_count": 5325
} | 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 'package:ui/ui.dart' as ui;
import '../../browser_detection.dart';
/// Creates shader program for target webgl version.
///
/// See spec at https:... | engine/lib/web_ui/lib/src/engine/html/shaders/shader_builder.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/shaders/shader_builder.dart",
"repo_id": "engine",
"token_count": 5171
} | 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 '../dom.dart';
const String _kDefaultCursor = 'default';
/// Controls the mouse cursor in the given [element].
class MouseCursor {
MouseCursor(t... | engine/lib/web_ui/lib/src/engine/mouse/cursor.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/mouse/cursor.dart",
"repo_id": "engine",
"token_count": 886
} | 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:typed_data';
import 'package:ui/ui.dart' as ui show Offset;
import '../dom.dart';
import '../semantics.dart' show EngineSemantics;
import '.... | engine/lib/web_ui/lib/src/engine/pointer_binding/event_position_helper.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/pointer_binding/event_position_helper.dart",
"repo_id": "engine",
"token_count": 1968
} | 291 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:ui/ui.dart' as ui;
import '../dom.dart';
import '../platform_dispatcher.dart';
import 'focusable.dart';
import 'label_and_value.dart';
imp... | engine/lib/web_ui/lib/src/engine/semantics/incrementable.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/semantics/incrementable.dart",
"repo_id": "engine",
"token_count": 1859
} | 292 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:meta/meta.dart';
import 'package:ui/ui.dart' as ui;
import 'dom.dart';
/// How far is the light source from ... | engine/lib/web_ui/lib/src/engine/shadow.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/shadow.dart",
"repo_id": "engine",
"token_count": 1901
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:ffi';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
final class RawFontCollection ex... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_fonts.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_fonts.dart",
"repo_id": "engine",
"token_count": 550
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:ffi';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
final class RawParagraphBuilder ... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/text/raw_paragraph_builder.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/text/raw_paragraph_builder.dart",
"repo_id": "engine",
"token_count": 1207
} | 295 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:ui/ui.dart' as ui;
import '../util.dart';
import 'canvas_paragraph.dart';
import 'fragmenter.dart';
import 'l... | engine/lib/web_ui/lib/src/engine/text/layout_fragmenter.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text/layout_fragmenter.dart",
"repo_id": "engine",
"token_count": 9649
} | 296 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../browser_detection.dart';
import '../dom.dart';
/// Controls the capitalization of the text.
///
/// This corresponds to Flutter's [TextCapitali... | engine/lib/web_ui/lib/src/engine/text_editing/text_capitalization.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text_editing/text_capitalization.dart",
"repo_id": "engine",
"token_count": 1189
} | 297 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:meta/meta.dart';
import '../browser_detection.dart';
import '../dom.dart';
import '../text_editing/text_editing.dart';
import 'dom_manager... | engine/lib/web_ui/lib/src/engine/view_embedder/style_manager.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/view_embedder/style_manager.dart",
"repo_id": "engine",
"token_count": 2377
} | 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.
part of ui;
abstract class Display {
int get id;
double get devicePixelRatio;
Size get size;
double get refreshRate;
}
abstract class FlutterView... | engine/lib/web_ui/lib/window.dart/0 | {
"file_path": "engine/lib/web_ui/lib/window.dart",
"repo_id": "engine",
"token_count": 1591
} | 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.
#ifndef FLUTTER_LIB_WEB_UI_SKWASM_SKWASM_SUPPORT_H_
#define FLUTTER_LIB_WEB_UI_SKWASM_SKWASM_SUPPORT_H_
#include <emscripten/threading.h>
#include <cintty... | engine/lib/web_ui/skwasm/skwasm_support.h/0 | {
"file_path": "engine/lib/web_ui/skwasm/skwasm_support.h",
"repo_id": "engine",
"token_count": 1117
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import '../common/matchers.dart';
impo... | engine/lib/web_ui/test/canvaskit/canvaskit_api_tt_on_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/canvaskit_api_tt_on_test.dart",
"repo_id": "engine",
"token_count": 707
} | 301 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'pa... | engine/lib/web_ui/test/canvaskit/linear_gradient_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/linear_gradient_golden_test.dart",
"repo_id": "engine",
"token_count": 1332
} | 302 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'pa... | engine/lib/web_ui/test/canvaskit/sweep_gradient_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/sweep_gradient_golden_test.dart",
"repo_id": "engine",
"token_count": 782
} | 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.
// This is identical to
// ../../../testing/dart/channel_buffers_test.dart except for:
//
// * The imports are a bit different.
// * The main method has ... | engine/lib/web_ui/test/engine/channel_buffers_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/channel_buffers_test.dart",
"repo_id": "engine",
"token_count": 5040
} | 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.
import 'dart:js_interop';
import 'package:js/js_util.dart' as js_util;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
impo... | engine/lib/web_ui/test/engine/initialization_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/initialization_test.dart",
"repo_id": "engine",
"token_count": 936
} | 305 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:js_util' as js_util;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
impo... | engine/lib/web_ui/test/engine/pointer_binding_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/pointer_binding_test.dart",
"repo_id": "engine",
"token_count": 51458
} | 306 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:typed_data';
import 'package:test/test.dart';
import 'package:ui/src/engine/dom.dart';
import 'package:ui/src/engine/sem... | engine/lib/web_ui/test/engine/semantics/semantics_tester.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/semantics/semantics_tester.dart",
"repo_id": "engine",
"token_count": 4876
} | 307 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
void main() {
internalBootstrapBrows... | engine/lib/web_ui/test/engine/view_embedder/dimensions_provider/dimensions_provider_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/view_embedder/dimensions_provider/dimensions_provider_test.dart",
"repo_id": "engine",
"token_count": 302
} | 308 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:js_util' as js_util;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart' as en... | engine/lib/web_ui/test/html/canvas_clip_path_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/canvas_clip_path_golden_test.dart",
"repo_id": "engine",
"token_count": 2502
} | 309 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'dart:js_util' as js_util;
import 'dart:math' as math;
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart... | engine/lib/web_ui/test/html/drawing/canvas_draw_image_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/drawing/canvas_draw_image_golden_test.dart",
"repo_id": "engine",
"token_count": 17503
} | 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.
import 'dart:async';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:u... | engine/lib/web_ui/test/html/paragraph/placeholders_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/paragraph/placeholders_golden_test.dart",
"repo_id": "engine",
"token_count": 2565
} | 311 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:js_util' as js_util;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
impo... | engine/lib/web_ui/test/html/shaders/image_shader_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/shaders/image_shader_golden_test.dart",
"repo_id": "engine",
"token_count": 1717
} | 312 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine/browser_detection... | engine/lib/web_ui/test/ui/gradient_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/gradient_golden_test.dart",
"repo_id": "engine",
"token_count": 1791
} | 313 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'pa... | engine/lib/web_ui/test/ui/text_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/text_golden_test.dart",
"repo_id": "engine",
"token_count": 10834
} | 314 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/runtime/dart_service_isolate.h"
#include <algorithm>
#include <cstring>
#include "flutter/fml/logging.h"
#include "flutter/fml/posix_wr... | engine/runtime/dart_service_isolate.cc/0 | {
"file_path": "engine/runtime/dart_service_isolate.cc",
"repo_id": "engine",
"token_count": 2675
} | 315 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/runtime/embedder_resources.h"
#include <cstring>
#include "flutter/fml/logging.h"
namespace flutter {
using runtime::ResourcesEntry;
... | engine/runtime/embedder_resources.cc/0 | {
"file_path": "engine/runtime/embedder_resources.cc",
"repo_id": "engine",
"token_count": 485
} | 316 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/runtime/runtime_controller.h"
#include <utility>
#include "flutter/common/constants.h"
#include "flutter/common/settings.h"
#include "f... | engine/runtime/runtime_controller.cc/0 | {
"file_path": "engine/runtime/runtime_controller.cc",
"repo_id": "engine",
"token_count": 8656
} | 317 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/common/base64.h"
#include "flutter/fml/logging.h"
#include <cstdint>
#define DecodePad -2
#define EncodePad 64
static const cha... | engine/shell/common/base64.cc/0 | {
"file_path": "engine/shell/common/base64.cc",
"repo_id": "engine",
"token_count": 2122
} | 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.
#include "flutter/shell/common/engine.h"
// #include <cstring>
#include "flutter/common/constants.h"
#include "flutter/lib/ui/compositing/scene_builder.h... | engine/shell/common/engine_animator_unittests.cc/0 | {
"file_path": "engine/shell/common/engine_animator_unittests.cc",
"repo_id": "engine",
"token_count": 11083
} | 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.
#ifndef FLUTTER_SHELL_COMMON_RASTERIZER_H_
#define FLUTTER_SHELL_COMMON_RASTERIZER_H_
#include <memory>
#include <optional>
#include <unordered_map>
#inc... | engine/shell/common/rasterizer.h/0 | {
"file_path": "engine/shell/common/rasterizer.h",
"repo_id": "engine",
"token_count": 10613
} | 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.
#define FML_USED_ON_EMBEDDER
#include "flutter/shell/common/shell_test.h"
#include "flutter/flow/frame_timings.h"
#include "flutter/flow/layers/layer_tre... | engine/shell/common/shell_test.cc/0 | {
"file_path": "engine/shell/common/shell_test.cc",
"repo_id": "engine",
"token_count": 6684
} | 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_COMMON_SNAPSHOT_CONTROLLER_H_
#define FLUTTER_SHELL_COMMON_SNAPSHOT_CONTROLLER_H_
#include "flutter/common/settings.h"
#include "flu... | engine/shell/common/snapshot_controller.h/0 | {
"file_path": "engine/shell/common/snapshot_controller.h",
"repo_id": "engine",
"token_count": 730
} | 322 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_COMMON_VSYNC_WAITER_H_
#define FLUTTER_SHELL_COMMON_VSYNC_WAITER_H_
#include <functional>
#include <memory>
#include <mutex>
#includ... | engine/shell/common/vsync_waiter.h/0 | {
"file_path": "engine/shell/common/vsync_waiter.h",
"repo_id": "engine",
"token_count": 1010
} | 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.
#ifndef FLUTTER_SHELL_GPU_GPU_SURFACE_METAL_DELEGATE_H_
#define FLUTTER_SHELL_GPU_GPU_SURFACE_METAL_DELEGATE_H_
#include <stdint.h>
#include "flutter/fml... | engine/shell/gpu/gpu_surface_metal_delegate.h/0 | {
"file_path": "engine/shell/gpu/gpu_surface_metal_delegate.h",
"repo_id": "engine",
"token_count": 1224
} | 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.
import("//flutter/shell/platform/config.gni")
group("platform") {
if (is_mac || is_ios) {
deps = [ "darwin" ]
} else if (is_android) {
deps = [ "... | engine/shell/platform/BUILD.gn/0 | {
"file_path": "engine/shell/platform/BUILD.gn",
"repo_id": "engine",
"token_count": 303
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_EGL_SURFACE_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_EGL_SURFACE_H_
#include <EGL/egl.h>
#include ... | engine/shell/platform/android/android_egl_surface.h/0 | {
"file_path": "engine/shell/platform/android/android_egl_surface.h",
"repo_id": "engine",
"token_count": 1209
} | 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_ANDROID_ANDROID_SURFACE_VULKAN_IMPELLER_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_SURFACE_VULKAN_IMPELLER_H_
#inclu... | engine/shell/platform/android/android_surface_vulkan_impeller.h/0 | {
"file_path": "engine/shell/platform/android/android_surface_vulkan_impeller.h",
"repo_id": "engine",
"token_count": 662
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_FLUTTER_MAIN_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_FLUTTER_MAIN_H_
#include <jni.h>
#include "flutter/common/s... | engine/shell/platform/android/flutter_main.h/0 | {
"file_path": "engine/shell/platform/android/flutter_main.h",
"repo_id": "engine",
"token_count": 558
} | 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.
package io.flutter.app;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configurati... | engine/shell/platform/android/io/flutter/app/FlutterActivity.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/app/FlutterActivity.java",
"repo_id": "engine",
"token_count": 1489
} | 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.
package io.flutter.embedding.android;
import static io.flutter.Build.API_LEVELS;
import android.annotation.SuppressLint;
import android.annotation.Target... | engine/shell/platform/android/io/flutter/embedding/android/FlutterImageView.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/FlutterImageView.java",
"repo_id": "engine",
"token_count": 3302
} | 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.
package io.flutter.embedding.engine;
import android.app.Activity;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.con... | engine/shell/platform/android/io/flutter/embedding/engine/FlutterEngineConnectionRegistry.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/FlutterEngineConnectionRegistry.java",
"repo_id": "engine",
"token_count": 12088
} | 331 |
package io.flutter.embedding.engine.mutatorsstack;
import static android.view.View.OnFocusChangeListener;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Path;
import android.view.MotionEvent;
import androi... | engine/shell/platform/android/io/flutter/embedding/engine/mutatorsstack/FlutterMutatorView.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/mutatorsstack/FlutterMutatorView.java",
"repo_id": "engine",
"token_count": 2390
} | 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.
package io.flutter.embedding.engine.plugins.service;
import android.app.Service;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
... | engine/shell/platform/android/io/flutter/embedding/engine/plugins/service/ServicePluginBinding.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/plugins/service/ServicePluginBinding.java",
"repo_id": "engine",
"token_count": 514
} | 333 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.engine.systemchannels;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.flutter.Log;
import... | engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/NavigationChannel.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/NavigationChannel.java",
"repo_id": "engine",
"token_count": 700
} | 334 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugin.common;
import androidx.annotation.Nullable;
import java.nio.ByteBuffer;
import org.json.JSONException;
import org.json.JSONObje... | engine/shell/platform/android/io/flutter/plugin/common/JSONMessageCodec.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/common/JSONMessageCodec.java",
"repo_id": "engine",
"token_count": 699
} | 335 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugin.editing;
import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting;
import io.flutter.Log;
import org.jso... | engine/shell/platform/android/io/flutter/plugin/editing/TextEditingDelta.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/editing/TextEditingDelta.java",
"repo_id": "engine",
"token_count": 1159
} | 336 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugin.platform;
import android.content.Context;
import android.graphics.Rect;
import android.view.Gravity;
import android.view.View;
i... | engine/shell/platform/android/io/flutter/plugin/platform/SingleViewFakeWindowViewGroup.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/platform/SingleViewFakeWindowViewGroup.java",
"repo_id": "engine",
"token_count": 721
} | 337 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.view;
import androidx.annotation.Keep;
import io.flutter.embedding.engine.FlutterJNI;
/**
* A class representing information for a ca... | engine/shell/platform/android/io/flutter/view/FlutterCallbackInformation.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/view/FlutterCallbackInformation.java",
"repo_id": "engine",
"token_count": 338
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_PLATFORM_MESSAGE_RESPONSE_ANDROID_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_PLATFORM_MESSAGE_RESPONSE_ANDROID_H_
#i... | engine/shell/platform/android/platform_message_response_android.h/0 | {
"file_path": "engine/shell/platform/android/platform_message_response_android.h",
"repo_id": "engine",
"token_count": 521
} | 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_ANDROID_SURFACE_ANDROID_SURFACE_MOCK_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_SURFACE_ANDROID_SURFACE_MOCK_H_
#include "fl... | engine/shell/platform/android/surface/android_surface_mock.h/0 | {
"file_path": "engine/shell/platform/android/surface/android_surface_mock.h",
"repo_id": "engine",
"token_count": 687
} | 340 |
package io.flutter.embedding.android;
import static io.flutter.embedding.android.FlutterActivityLaunchConfigs.HANDLE_DEEPLINKING_META_DATA_KEY;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTru... | engine/shell/platform/android/test/io/flutter/embedding/android/FlutterFragmentActivityTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/android/FlutterFragmentActivityTest.java",
"repo_id": "engine",
"token_count": 4281
} | 341 |
package io.flutter.embedding.engine.dart;
import static junit.framework.TestCase.assertNotNull;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThrows;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.m... | engine/shell/platform/android/test/io/flutter/embedding/engine/dart/DartExecutorTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/dart/DartExecutorTest.java",
"repo_id": "engine",
"token_count": 1068
} | 342 |
package io.flutter.embedding.engine.systemchannels;
import static io.flutter.Build.API_LEVELS;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.any;
import static org.mockito.Mockito.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import static org.moc... | engine/shell/platform/android/test/io/flutter/embedding/engine/systemchannels/RestorationChannelTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/systemchannels/RestorationChannelTest.java",
"repo_id": "engine",
"token_count": 1483
} | 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.
package io.flutter.plugin.platform;
import static junit.framework.TestCase.assertFalse;
import static junit.framework.TestCase.assertTrue;
import static o... | engine/shell/platform/android/test/io/flutter/plugin/platform/AccessibilityEventsDelegateTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/platform/AccessibilityEventsDelegateTest.java",
"repo_id": "engine",
"token_count": 938
} | 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.
package io.flutter.util;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTru... | engine/shell/platform/android/test/io/flutter/util/ViewUtilsTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/util/ViewUtilsTest.java",
"repo_id": "engine",
"token_count": 832
} | 345 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_APP_LIFECYCLE_STATE_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_APP_LIFECYCLE_STATE_H_
namespace flutter {
/**
* Thes... | engine/shell/platform/common/app_lifecycle_state.h/0 | {
"file_path": "engine/shell/platform/common/app_lifecycle_state.h",
"repo_id": "engine",
"token_count": 1211
} | 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_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_EVENT_CHANNEL_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_... | engine/shell/platform/common/client_wrapper/include/flutter/event_channel.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/include/flutter/event_channel.h",
"repo_id": "engine",
"token_count": 3135
} | 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.
#include "flutter/shell/platform/common/client_wrapper/include/flutter/method_call.h"
#include <memory>
#include <string>
#include "gtest/gtest.h"
names... | engine/shell/platform/common/client_wrapper/method_call_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/method_call_unittests.cc",
"repo_id": "engine",
"token_count": 226
} | 348 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_ENGINE_SWITCHES_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_ENGINE_SWITCHES_H_
#include <string>
#include <vector>
nam... | engine/shell/platform/common/engine_switches.h/0 | {
"file_path": "engine/shell/platform/common/engine_switches.h",
"repo_id": "engine",
"token_count": 343
} | 349 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/common/path_utils.h"
#if defined(_WIN32)
#include <windows.h>
#elif defined(__linux__)
#include <linux/limits.h>
#include... | engine/shell/platform/common/path_utils.cc/0 | {
"file_path": "engine/shell/platform/common/path_utils.cc",
"repo_id": "engine",
"token_count": 342
} | 350 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/common/text_input_model.h"
#include <limits>
#include <map>
#include <vector>
#include "gtest/gtest.h"
namespace flutte... | engine/shell/platform/common/text_input_model_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/text_input_model_unittests.cc",
"repo_id": "engine",
"token_count": 24166
} | 351 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_FRAMEWORK_HEADERS_FLUTTERCODECS_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_FRAMEWORK_HEADERS_FLUTTERCODEC... | engine/shell/platform/darwin/common/framework/Headers/FlutterCodecs.h/0 | {
"file_path": "engine/shell/platform/darwin/common/framework/Headers/FlutterCodecs.h",
"repo_id": "engine",
"token_count": 4669
} | 352 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_FRAMEWORK_SOURCE_FLUTTERTESTUTILS_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_COMMON_FRAMEWORK_SOURCE_FLUTTERTEST... | engine/shell/platform/darwin/common/framework/Source/FlutterTestUtils.h/0 | {
"file_path": "engine/shell/platform/darwin/common/framework/Source/FlutterTestUtils.h",
"repo_id": "engine",
"token_count": 205
} | 353 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERAPPDELEGATE_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERAPPDEL... | engine/shell/platform/darwin/ios/framework/Headers/FlutterAppDelegate.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Headers/FlutterAppDelegate.h",
"repo_id": "engine",
"token_count": 420
} | 354 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERCHANNELKEYRESPONDER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTER... | engine/shell/platform/darwin/ios/framework/Source/FlutterChannelKeyResponder.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterChannelKeyResponder.h",
"repo_id": "engine",
"token_count": 362
} | 355 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERENGINE_INTERNAL_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERENGI... | engine/shell/platform/darwin/ios/framework/Source/FlutterEngine_Internal.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterEngine_Internal.h",
"repo_id": "engine",
"token_count": 1417
} | 356 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMPLUGIN_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLATF... | engine/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.h",
"repo_id": "engine",
"token_count": 433
} | 357 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterSpellCheckPlugin.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import ... | engine/shell/platform/darwin/ios/framework/Source/FlutterSpellCheckPlugin.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterSpellCheckPlugin.mm",
"repo_id": "engine",
"token_count": 2440
} | 358 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterUndoManagerPlugin.h"
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#import "flut... | engine/shell/platform/darwin/ios/framework/Source/FlutterUndoManagerPluginTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterUndoManagerPluginTest.mm",
"repo_id": "engine",
"token_count": 2589
} | 359 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/ios/framework/Source/UIViewController+FlutterScreenAndSceneIfLoaded.h"
#include "flutter/fml/logging.h"
@implement... | engine/shell/platform/darwin/ios/framework/Source/UIViewController+FlutterScreenAndSceneIfLoaded.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/UIViewController+FlutterScreenAndSceneIfLoaded.mm",
"repo_id": "engine",
"token_count": 320
} | 360 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/ios/framework/Source/profiler_metrics_ios.h"
#import <Foundation/Foundation.h>
#import "flutter/shell/platform/dar... | engine/shell/platform/darwin/ios/framework/Source/profiler_metrics_ios.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/profiler_metrics_ios.mm",
"repo_id": "engine",
"token_count": 3492
} | 361 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_H_
#import "flutter/shell/platform/darwin/i... | engine/shell/platform/darwin/ios/ios_surface.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/ios_surface.h",
"repo_id": "engine",
"token_count": 627
} | 362 |
# Flutter macOS Embedder
This directory contains files specific to the Flutter macOS embedder. The
embedder is built as a macOS framework that is linked into the target
application. The framework is composed both of macOS-specific code and code
shared with the iOS embedder. These can be found in:
```
flutter/shell/pla... | engine/shell/platform/darwin/macos/README.md/0 | {
"file_path": "engine/shell/platform/darwin/macos/README.md",
"repo_id": "engine",
"token_count": 628
} | 363 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterAppLifecycleDelegate.h"
#import "flutter/shell/platform/darwin/macos/framework/Source... | engine/shell/platform/darwin/macos/framework/Source/FlutterAppLifecycleDelegate.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterAppLifecycleDelegate.mm",
"repo_id": "engine",
"token_count": 1649
} | 364 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTEREMBEDDERKEYRESPONDER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FL... | engine/shell/platform/darwin/macos/framework/Source/FlutterEmbedderKeyResponder.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterEmbedderKeyResponder.h",
"repo_id": "engine",
"token_count": 685
} | 365 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "FlutterMenuPlugin.h"
#include <map>
#import "flutter/shell/platform/common/platform_provided_menu.h"
#import "flutter/shell/platform/darwin/comm... | engine/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterMenuPlugin.mm",
"repo_id": "engine",
"token_count": 6126
} | 366 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERSURFACE_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERSURFACE_... | engine/shell/platform/darwin/macos/framework/Source/FlutterSurface.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterSurface.h",
"repo_id": "engine",
"token_count": 418
} | 367 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEWPROVIDER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIE... | engine/shell/platform/darwin/macos/framework/Source/FlutterViewProvider.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterViewProvider.h",
"repo_id": "engine",
"token_count": 286
} | 368 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/embedder/embedder_engine.h"
#include "flutter/fml/make_copyable.h"
#include "flutter/shell/platform/embedder/vsync_waiter... | engine/shell/platform/embedder/embedder_engine.cc/0 | {
"file_path": "engine/shell/platform/embedder/embedder_engine.cc",
"repo_id": "engine",
"token_count": 3014
} | 369 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_LAYERS_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_LAYERS_H_
#include <memory>
#include <vector>
... | engine/shell/platform/embedder/embedder_layers.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_layers.h",
"repo_id": "engine",
"token_count": 878
} | 370 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/embedder/embedder_surface_gl.h"
#include <utility>
#include "flutter/shell/common/shell_io_manager.h"
namespace flutter... | engine/shell/platform/embedder/embedder_surface_gl.cc/0 | {
"file_path": "engine/shell/platform/embedder/embedder_surface_gl.cc",
"repo_id": "engine",
"token_count": 1493
} | 371 |
# `platform/embedder/fixtures`
The files in this directory are golden-file outputss of [`tests`](../tests),
but lack a simple way to be re-generated.
For example, here is what a failure might look like on CI:
```txt
[0;32m[ RUN ] [mEmbedderTest.VerifyB143464703WithSoftwareBackend
[ERROR:flutter/shell/platform/... | engine/shell/platform/embedder/fixtures/README.md/0 | {
"file_path": "engine/shell/platform/embedder/fixtures/README.md",
"repo_id": "engine",
"token_count": 1604
} | 372 |
// Copyright 2013 The Flutter 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/tests/embedder_config_builder.h"
#include "flutter/common/constants.h"
#include "flutter/runtime/dart_vm.h"
#inc... | engine/shell/platform/embedder/tests/embedder_config_builder.cc/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_config_builder.cc",
"repo_id": "engine",
"token_count": 7581
} | 373 |
// Copyright 2013 The Flutter 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/tests/embedder_test_compositor_software.h"
#include "flutter/fml/logging.h"
#include "flutter/shell/platform/emb... | engine/shell/platform/embedder/tests/embedder_test_compositor_software.cc/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_test_compositor_software.cc",
"repo_id": "engine",
"token_count": 1205
} | 374 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#define FML_USED_ON_EMBEDDER
#include <limits>
#include <utility>
#include "flutter/shell/platform/embedder/tests/embedder_test_backingstore_producer.h"
... | engine/shell/platform/embedder/tests/embedder_unittests_util.cc/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_unittests_util.cc",
"repo_id": "engine",
"token_count": 4633
} | 375 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
part of zircon;
// ignore_for_file: native_function_body_in_non_sdk_code
// ignore_for_file: public_member_api_docs
@pragma('vm:entry-point')
base class ... | engine/shell/platform/fuchsia/dart-pkg/zircon/lib/src/handle.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/lib/src/handle.dart",
"repo_id": "engine",
"token_count": 613
} | 376 |
// AUTO GENERATED FILE, DO NOT EDIT.
//
// Generated by `package:ffigen`.
import 'dart:ffi' as ffi;
/// Bindings for `dart:zircon_ffi`.
class ZirconFFIBindings {
/// Holds the symbol lookup function.
final ffi.Pointer<T> Function<T extends ffi.NativeType>(String symbolName)
_lookup;
/// The symbols are lo... | engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/lib/zircon_ffi.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/lib/zircon_ffi.dart",
"repo_id": "engine",
"token_count": 5953
} | 377 |
# Copyright 2013 The Flutter 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/common/fuchsia_config.gni")
import("//flutter/tools/fuchsia/dart_kernel.gni")
import("$dart_src/build/... | engine/shell/platform/fuchsia/dart_runner/embedder/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/embedder/BUILD.gn",
"repo_id": "engine",
"token_count": 876
} | 378 |
# Copyright 2013 The Flutter 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/gn_... | engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_jit_runner/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_jit_runner/BUILD.gn",
"repo_id": "engine",
"token_count": 630
} | 379 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/fuchsia/flutter/canvas_spy.h"
namespace flutter {
CanvasSpy::CanvasSpy(SkCanvas* target_canvas) {
SkISize canvas_size ... | engine/shell/platform/fuchsia/flutter/canvas_spy.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/canvas_spy.cc",
"repo_id": "engine",
"token_count": 5291
} | 380 |
// Copyright 2013 The Flutter 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_FLUTTER_RUNNER_PRODUCT_CONFIGURATION_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_FLUTTER_RUNNER_PRODUC... | engine/shell/platform/fuchsia/flutter/flutter_runner_product_configuration.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/flutter_runner_product_configuration.h",
"repo_id": "engine",
"token_count": 397
} | 381 |
// Copyright 2013 The Flutter 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_KEYBOARD_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_KEYBOARD_H_
#include <fuchsia/ui/input3/cpp/fidl... | engine/shell/platform/fuchsia/flutter/keyboard.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/keyboard.h",
"repo_id": "engine",
"token_count": 882
} | 382 |
// Copyright 2013 The Flutter 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/ui/pointerinjector/cpp/fidl.h>
#include <fuchsia/ui/views/cpp/fidl.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <lib/asy... | engine/shell/platform/fuchsia/flutter/pointer_injector_delegate_unittest.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/pointer_injector_delegate_unittest.cc",
"repo_id": "engine",
"token_count": 9804
} | 383 |
// Copyright 2013 The Flutter 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_SURFACE_PRODUCER_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_SURFACE_PRODUCER_H_
#include <fuchsia/ui... | engine/shell/platform/fuchsia/flutter/surface_producer.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/surface_producer.h",
"repo_id": "engine",
"token_count": 886
} | 384 |
// Copyright 2013 The Flutter 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_TOUCH_SOURCE_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_TESTS_FAKES_TOUCH_SOURCE_H_
#inc... | engine/shell/platform/fuchsia/flutter/tests/fakes/touch_source.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/fakes/touch_source.h",
"repo_id": "engine",
"token_count": 730
} | 385 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.