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 '../browser_detection.dart';
import '../dom.dart';
import... | engine/lib/web_ui/lib/src/engine/html/dom_canvas.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/dom_canvas.dart",
"repo_id": "engine",
"token_count": 4594
} | 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:math' as math;
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import '../dom.dart';
import '../engine_canvas.dart';
import '..... | engine/lib/web_ui/lib/src/engine/html/picture.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/picture.dart",
"repo_id": "engine",
"token_count": 10183
} | 255 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import '../dom.dart';
import '../util.dart';
import '../vector_math.dart';
import 'surface.d... | engine/lib/web_ui/lib/src/engine/html/transform.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/html/transform.dart",
"repo_id": "engine",
"token_count": 846
} | 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.
const int kMaxCodePoint = 0x10ffff;
const int kPrefixDigit0 = 48;
const int kPrefixRadix = 10;
const int kFontIndexDigit0 = 65 + 32; // 'a'..'z'
const in... | engine/lib/web_ui/lib/src/engine/noto_font_encoding.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/noto_font_encoding.dart",
"repo_id": "engine",
"token_count": 179
} | 257 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:math' as math;
import 'dart:typed_data';
import 'package:ui/src/engine.dart';
import 'package:ui/src/engine/skwasm/skwas... | engine/lib/web_ui/lib/src/engine/renderer.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/renderer.dart",
"repo_id": "engine",
"token_count": 2529
} | 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 '../platform_views/slots.dart';
import 'label_and_value.dart';
import 'semantics.dart';
/// Manages the semantic element corresponding to a platfor... | engine/lib/web_ui/lib/src/engine/semantics/platform_view.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/semantics/platform_view.dart",
"repo_id": "engine",
"token_count": 610
} | 259 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:_wasm';
import 'dart:js_interop';
@pragma('wasm:prefer-inline')
@pragma('dart2js:tryInline')
JSAny dartToJsWrapper(Object object) =>
Wasm... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/dart_js_conversion.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/dart_js_conversion.dart",
"repo_id": "engine",
"token_count": 194
} | 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.
@DefaultAsset('skwasm')
library skwasm_impl;
import 'dart:ffi';
import 'package:ui/src/engine/skwasm/skwasm_impl.dart';
final class RawPaint extends Opa... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_paint.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/raw/raw_paint.dart",
"repo_id": "engine",
"token_count": 1139
} | 261 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:js_interop';
import 'dart:math' as math;
import 'dart:typed_data';
import 'package:ui/src/engine.dart';
import 'package:... | engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/renderer.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/skwasm/skwasm_impl/renderer.dart",
"repo_id": "engine",
"token_count": 5037
} | 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 '../../engine.dart' show registerHotRestartListener;
import '../dom.dart';
import '../platform_dispatcher.dart';
import '../view_embedder/dom_manage... | engine/lib/web_ui/lib/src/engine/text/measurement.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/text/measurement.dart",
"repo_id": "engine",
"token_count": 1397
} | 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:math' as math;
import 'dart:typed_data';
import 'package:ui/ui.dart' as ui;
import 'util.dart';
class Matrix4 {
/// Constructs a new mat4... | engine/lib/web_ui/lib/src/engine/vector_math.dart/0 | {
"file_path": "engine/lib/web_ui/lib/src/engine/vector_math.dart",
"repo_id": "engine",
"token_count": 18343
} | 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.
/// This library defines the web equivalent of the native dart:ui.
///
/// All types in this library are public.
library ui;
import 'dart:async';
import '... | engine/lib/web_ui/lib/ui.dart/0 | {
"file_path": "engine/lib/web_ui/lib/ui.dart",
"repo_id": "engine",
"token_count": 358
} | 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.
#include "export.h"
#include "helpers.h"
#include "third_party/skia/include/core/SkContourMeasure.h"
#include "third_party/skia/include/core/SkPath.h"
us... | engine/lib/web_ui/skwasm/contour_measure.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/contour_measure.cpp",
"repo_id": "engine",
"token_count": 837
} | 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.
#include "../export.h"
#include "third_party/skia/modules/skparagraph/include/Paragraph.h"
using namespace skia::textlayout;
SKWASM_EXPORT LineMetrics* l... | engine/lib/web_ui/skwasm/text/line_metrics.cpp/0 | {
"file_path": "engine/lib/web_ui/skwasm/text/line_metrics.cpp",
"repo_id": "engine",
"token_count": 1070
} | 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 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'common.dart';
void main() {
... | engine/lib/web_ui/test/canvaskit/display_canvas_factory_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/display_canvas_factory_test.dart",
"repo_id": "engine",
"token_count": 1394
} | 268 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import '../common/matchers.dart';
imp... | engine/lib/web_ui/test/canvaskit/painting_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/canvaskit/painting_test.dart",
"repo_id": "engine",
"token_count": 331
} | 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:convert';
import 'dart:typed_data';
import 'package:ui/src/engine.dart';
import 'package:ui/ui_web/src/ui_web.dart' as ui_web;
class FakeAss... | engine/lib/web_ui/test/common/fake_asset_manager.dart/0 | {
"file_path": "engine/lib/web_ui/test/common/fake_asset_manager.dart",
"repo_id": "engine",
"token_count": 1402
} | 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' as ui;
voi... | engine/lib/web_ui/test/engine/display_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/display_test.dart",
"repo_id": "engine",
"token_count": 339
} | 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/util.dart';
typedef TestCacheEntry = ({String... | engine/lib/web_ui/test/engine/lru_cache_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/lru_cache_test.dart",
"repo_id": "engine",
"token_count": 1185
} | 272 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart' hide window;
impor... | engine/lib/web_ui/test/engine/routing_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/routing_test.dart",
"repo_id": "engine",
"token_count": 6644
} | 273 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
void main()... | engine/lib/web_ui/test/engine/surface/path/path_iterator_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/surface/path/path_iterator_test.dart",
"repo_id": "engine",
"token_count": 1264
} | 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.
@TestOn('browser')
library;
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine/dom.dart';
import... | engine/lib/web_ui/test/engine/view_embedder/embedding_strategy/custom_element_embedding_strategy_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/view_embedder/embedding_strategy/custom_element_embedding_strategy_test.dart",
"repo_id": "engine",
"token_count": 950
} | 275 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart';
import '.... | engine/lib/web_ui/test/html/clip_op_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/clip_op_golden_test.dart",
"repo_id": "engine",
"token_count": 1240
} | 276 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart';
import '.... | engine/lib/web_ui/test/html/drawing/canvas_rrect_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/drawing/canvas_rrect_golden_test.dart",
"repo_id": "engine",
"token_count": 1335
} | 277 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:test/bootstrap/browser.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' hide window;
import '... | engine/lib/web_ui/test/html/paragraph/text_overflow_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/paragraph/text_overflow_golden_test.dart",
"repo_id": "engine",
"token_count": 653
} | 278 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart';
import 'p... | engine/lib/web_ui/test/html/shadow_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/shadow_golden_test.dart",
"repo_id": "engine",
"token_count": 1779
} | 279 |
# UI Tests
These tests are intended to be renderer-agnostic. These tests should not use
APIs which only exist in either the HTML or CanvasKit renderers.
In practice, this means these tests should only use `dart:ui` APIs or
`dart:_engine` APIs which are not renderer-specific.
## Notes
These tests should call `setUpU... | engine/lib/web_ui/test/ui/README.md/0 | {
"file_path": "engine/lib/web_ui/test/ui/README.md",
"repo_id": "engine",
"token_count": 111
} | 280 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/ui.dart' as ui;
import '../common/test_initialization.da... | engine/lib/web_ui/test/ui/paint_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/paint_test.dart",
"repo_id": "engine",
"token_count": 941
} | 281 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:ui/src/engine.dart';
import 'package:ui/src/engine/skwasm/skwasm_stub.dart'
if (dart.library.ffi) 'package:ui/src... | engine/lib/web_ui/test/ui/utils.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/utils.dart",
"repo_id": "engine",
"token_count": 424
} | 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_RUNTIME_DART_SNAPSHOT_H_
#define FLUTTER_RUNTIME_DART_SNAPSHOT_H_
#include <memory>
#include <string>
#include "flutter/common/settings.h... | engine/runtime/dart_snapshot.h/0 | {
"file_path": "engine/runtime/dart_snapshot.h",
"repo_id": "engine",
"token_count": 2620
} | 283 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:isolate';
import 'dart:ui';
import 'split_lib_test.dart' deferred as splitlib;
void main() {}
@pragma('vm:entry-point'... | engine/runtime/fixtures/runtime_test.dart/0 | {
"file_path": "engine/runtime/fixtures/runtime_test.dart",
"repo_id": "engine",
"token_count": 2195
} | 284 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#define RAPIDJSON_HAS_STDSTRING 1
#include "flutter/runtime/service_protocol.h"
#include <cstring>
#include <sstream>
#include <string>
#include <utility... | engine/runtime/service_protocol.cc/0 | {
"file_path": "engine/runtime/service_protocol.cc",
"repo_id": "engine",
"token_count": 4044
} | 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_COMMON_CONTEXT_OPTIONS_H_
#define FLUTTER_SHELL_COMMON_CONTEXT_OPTIONS_H_
#include <optional>
#include "flutter/fml/macros.h"
#incl... | engine/shell/common/context_options.h/0 | {
"file_path": "engine/shell/common/context_options.h",
"repo_id": "engine",
"token_count": 512
} | 286 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/common/resource_cache_limit_calculator.h"
#include "gtest/gtest.h"
namespace flutter {
namespace testing {
class TestResourceCac... | engine/shell/common/resource_cache_limit_calculator_unittests.cc/0 | {
"file_path": "engine/shell/common/resource_cache_limit_calculator_unittests.cc",
"repo_id": "engine",
"token_count": 641
} | 287 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/common/shell_test_platform_view.h"
#ifdef SHELL_ENABLE_GL
#include "flutter/shell/common/shell_test_platform_view_gl.h"
#endif //... | engine/shell/common/shell_test_platform_view.cc/0 | {
"file_path": "engine/shell/common/shell_test_platform_view.cc",
"repo_id": "engine",
"token_count": 1495
} | 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_COMMON_SNAPSHOT_CONTROLLER_SKIA_H_
#define FLUTTER_SHELL_COMMON_SNAPSHOT_CONTROLLER_SKIA_H_
#include "flutter/shell/common/snapshot_... | engine/shell/common/snapshot_controller_skia.h/0 | {
"file_path": "engine/shell/common/snapshot_controller_skia.h",
"repo_id": "engine",
"token_count": 414
} | 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.
#define FML_USED_ON_EMBEDDER
#include "flutter/shell/common/shell_test.h"
#include "flutter/flow/layers/layer_tree.h"
#include "flutter/flow/layers/trans... | engine/shell/common/vsync_waiters_test.cc/0 | {
"file_path": "engine/shell/common/vsync_waiters_test.cc",
"repo_id": "engine",
"token_count": 940
} | 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.
#ifndef FLUTTER_SHELL_GPU_GPU_SURFACE_METAL_SKIA_H_
#define FLUTTER_SHELL_GPU_GPU_SURFACE_METAL_SKIA_H_
#include "flutter/common/graphics/msaa_sample_coun... | engine/shell/gpu/gpu_surface_metal_skia.h/0 | {
"file_path": "engine/shell/gpu/gpu_surface_metal_skia.h",
"repo_id": "engine",
"token_count": 868
} | 291 |
# Android Platform Embedder
Android embedder for Flutter, including Java [`io.flutter`](io/flutter/) sources
and Android specific engine-side C++.
This code provides the glue between the Flutter engine and the Android platform,
and is responsible for:
- Initializing the Flutter engine.
- Providing a platform view fo... | engine/shell/platform/android/README.md/0 | {
"file_path": "engine/shell/platform/android/README.md",
"repo_id": "engine",
"token_count": 3004
} | 292 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/android/android_image_generator.h"
#include <memory>
#include <utility>
#include <android/bitmap.h>
#include <android/ha... | engine/shell/platform/android/android_image_generator.cc/0 | {
"file_path": "engine/shell/platform/android/android_image_generator.cc",
"repo_id": "engine",
"token_count": 2787
} | 293 |
// This file only exists to provide IDE support to Android Studio.
//
// See ./README.md for details.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:7.4.2"
}
}
repositories {
google()
mavenCentral()
}
app... | engine/shell/platform/android/build.gradle/0 | {
"file_path": "engine/shell/platform/android/build.gradle",
"repo_id": "engine",
"token_count": 748
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_IMAGE_EXTERNAL_TEXTURE_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_IMAGE_EXTERNAL_TEXTURE_H_
#include "flutter/common... | engine/shell/platform/android/image_external_texture.h/0 | {
"file_path": "engine/shell/platform/android/image_external_texture.h",
"repo_id": "engine",
"token_count": 870
} | 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.app;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;... | engine/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/app/FlutterFragmentActivity.java",
"repo_id": "engine",
"token_count": 1586
} | 296 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.android;
import static io.flutter.Build.API_LEVELS;
import android.annotation.SuppressLint;
import android.annotation.Target... | engine/shell/platform/android/io/flutter/embedding/android/FlutterView.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/FlutterView.java",
"repo_id": "engine",
"token_count": 20542
} | 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.embedding.engine;
import android.view.Surface;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
@Keep
public class... | engine/shell/platform/android/io/flutter/embedding/engine/FlutterOverlaySurface.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/FlutterOverlaySurface.java",
"repo_id": "engine",
"token_count": 198
} | 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.embedding.engine.plugins.activity;
import androidx.annotation.NonNull;
/**
* {@link io.flutter.embedding.engine.plugins.FlutterPlugin... | engine/shell/platform/android/io/flutter/embedding/engine/plugins/activity/ActivityAware.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/plugins/activity/ActivityAware.java",
"repo_id": "engine",
"token_count": 1682
} | 299 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.engine.renderer;
import static io.flutter.Build.API_LEVELS;
import android.annotation.TargetApi;
import android.graphics.Bit... | engine/shell/platform/android/io/flutter/embedding/engine/renderer/FlutterRenderer.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/renderer/FlutterRenderer.java",
"repo_id": "engine",
"token_count": 17307
} | 300 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.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/RestorationChannel.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/RestorationChannel.java",
"repo_id": "engine",
"token_count": 2368
} | 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.
package io.flutter.plugin.common;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.flutter.BuildConfig;
import java.util... | engine/shell/platform/android/io/flutter/plugin/common/MethodCall.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/common/MethodCall.java",
"repo_id": "engine",
"token_count": 1173
} | 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.
package io.flutter.plugin.platform;
import android.view.MotionEvent;
import android.view.View;
import android.view.accessibility.AccessibilityEvent;
impor... | engine/shell/platform/android/io/flutter/plugin/platform/AccessibilityEventsDelegate.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/platform/AccessibilityEventsDelegate.java",
"repo_id": "engine",
"token_count": 649
} | 303 |
package io.flutter.plugin.platform;
import static android.content.ComponentCallbacks2.TRIM_MEMORY_COMPLETE;
import static io.flutter.Build.API_LEVELS;
import android.annotation.TargetApi;
import android.graphics.SurfaceTexture;
import android.os.Build;
import android.view.Surface;
import io.flutter.view.TextureRegist... | engine/shell/platform/android/io/flutter/plugin/platform/SurfaceTexturePlatformViewRenderTarget.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/platform/SurfaceTexturePlatformViewRenderTarget.java",
"repo_id": "engine",
"token_count": 1196
} | 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.
package io.flutter.view;
import static io.flutter.Build.API_LEVELS;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import a... | engine/shell/platform/android/io/flutter/view/FlutterView.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/view/FlutterView.java",
"repo_id": "engine",
"token_count": 11686
} | 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.
#include "flutter/shell/platform/android/platform_view_android_delegate/platform_view_android_delegate.h"
#include <utility>
namespace flutter {
void pu... | engine/shell/platform/android/platform_view_android_delegate/platform_view_android_delegate.cc/0 | {
"file_path": "engine/shell/platform/android/platform_view_android_delegate/platform_view_android_delegate.cc",
"repo_id": "engine",
"token_count": 3704
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_SURFACE_TEXTURE_EXTERNAL_TEXTURE_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_SURFACE_TEXTURE_EXTERNAL_TEXTURE_H_
#inc... | engine/shell/platform/android/surface_texture_external_texture.h/0 | {
"file_path": "engine/shell/platform/android/surface_texture_external_texture.h",
"repo_id": "engine",
"token_count": 626
} | 307 |
package io.flutter.embedding.android;
import static android.view.KeyEvent.*;
import static io.flutter.embedding.android.KeyData.Type;
import static io.flutter.util.KeyCodes.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import st... | engine/shell/platform/android/test/io/flutter/embedding/android/KeyboardManagerTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/android/KeyboardManagerTest.java",
"repo_id": "engine",
"token_count": 27592
} | 308 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.engine.loader;
import static android.os.Looper.getMainLooper;
import static io.flutter.Build.API_LEVELS;
import static junit.... | engine/shell/platform/android/test/io/flutter/embedding/engine/loader/FlutterLoaderTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/loader/FlutterLoaderTest.java",
"repo_id": "engine",
"token_count": 3332
} | 309 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugin.platform;
import static android.view.View.OnFocusChangeListener;
import static io.flutter.Build.API_LEVELS;
import static org.ju... | engine/shell/platform/android/test/io/flutter/plugin/platform/PlatformViewWrapperTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/platform/PlatformViewWrapperTest.java",
"repo_id": "engine",
"token_count": 2926
} | 310 |
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:8.0.1"
}
}
repositories {
google()
mavenCentral()
}
apply plugin: "com.android.library"
rootProject.buildDir = project.property("build_dir")
// Shows warnings for usage of deprecat... | engine/shell/platform/android/test_runner/build.gradle/0 | {
"file_path": "engine/shell/platform/android/test_runner/build.gradle",
"repo_id": "engine",
"token_count": 1000
} | 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_CLIENT_WRAPPER_BINARY_MESSENGER_IMPL_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_BINARY_MESSENGER_IMPL_H_... | engine/shell/platform/common/client_wrapper/binary_messenger_impl.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/binary_messenger_impl.h",
"repo_id": "engine",
"token_count": 541
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_MESSAGE_CODEC_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_... | engine/shell/platform/common/client_wrapper/include/flutter/message_codec.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/include/flutter/message_codec.h",
"repo_id": "engine",
"token_count": 775
} | 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.
#include "flutter/shell/platform/common/client_wrapper/include/flutter/plugin_registrar.h"
#include <memory>
#include <vector>
#include "flutter/shell/pl... | engine/shell/platform/common/client_wrapper/plugin_registrar_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/plugin_registrar_unittests.cc",
"repo_id": "engine",
"token_count": 2960
} | 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_platform_node_delegate.h"
#include "flutter/third_party/accessibility/ax/ax_action_data.h"
#include "gtest/gtest.h"
#include "test_acce... | engine/shell/platform/common/flutter_platform_node_delegate_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/flutter_platform_node_delegate_unittests.cc",
"repo_id": "engine",
"token_count": 3923
} | 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_COMMON_PUBLIC_FLUTTER_EXPORT_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_PUBLIC_FLUTTER_EXPORT_H_
#ifdef FLUTTER_DESKTOP_LIBRA... | engine/shell/platform/common/public/flutter_export.h/0 | {
"file_path": "engine/shell/platform/common/public/flutter_export.h",
"repo_id": "engine",
"token_count": 295
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERHEADLESSDARTRUNNER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTE... | engine/shell/platform/darwin/ios/framework/Headers/FlutterHeadlessDartRunner.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Headers/FlutterHeadlessDartRunner.h",
"repo_id": "engine",
"token_count": 1214
} | 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.
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#include "flutter/common/constants.h"
#include "flutter/shell/platform/darwin/common/framework/Headers... | engine/shell/platform/darwin/ios/framework/Source/FlutterDartProjectTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterDartProjectTest.mm",
"repo_id": "engine",
"token_count": 6228
} | 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.
#define FML_USED_ON_EMBEDDER
#import "flutter/shell/platform/darwin/ios/framework/Headers/FlutterHeadlessDartRunner.h"
#include <memory>
#include "flutt... | engine/shell/platform/darwin/ios/framework/Source/FlutterHeadlessDartRunner.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterHeadlessDartRunner.mm",
"repo_id": "engine",
"token_count": 902
} | 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 <OCMock/OCMock.h>
#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryM... | engine/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsTest.mm",
"repo_id": "engine",
"token_count": 56534
} | 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 "flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.h"
#import "flutter/shell/platform/darwin/ios/framework/Source/UIViewCon... | engine/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm",
"repo_id": "engine",
"token_count": 46195
} | 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.
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#include "flutter/fml/platform/darwin/message_loop_darwin.h"
#import "flutter/lib/ui/window/platform_c... | engine/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.mm",
"repo_id": "engine",
"token_count": 47279
} | 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/framework/Source/accessibility_bridge.h"
#include <utility>
#include "flutter/fml/logging.h"
#import "flutter/... | engine/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm",
"repo_id": "engine",
"token_count": 6263
} | 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_PLATFORM_DARWIN_IOS_IOS_CONTEXT_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_CONTEXT_H_
#include <memory>
#include "flutter/com... | engine/shell/platform/darwin/ios/ios_context.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/ios_context.h",
"repo_id": "engine",
"token_count": 2403
} | 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_IOS_IOS_SURFACE_METAL_SKIA_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_METAL_SKIA_H_
#include "flutter/... | engine/shell/platform/darwin/ios/ios_surface_metal_skia.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/ios_surface_metal_skia.h",
"repo_id": "engine",
"token_count": 790
} | 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_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERMACOS_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERMACOS_H_... | engine/shell/platform/darwin/macos/framework/Headers/FlutterMacOS.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Headers/FlutterMacOS.h",
"repo_id": "engine",
"token_count": 303
} | 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.
#import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterEngine.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterEngine... | engine/shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm",
"repo_id": "engine",
"token_count": 19711
} | 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 <objc/message.h>
#import "FlutterMouseCursorPlugin.h"
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterCodecs.h"
static NSS... | engine/shell/platform/darwin/macos/framework/Source/FlutterMouseCursorPlugin.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterMouseCursorPlugin.mm",
"repo_id": "engine",
"token_count": 1834
} | 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 <Cocoa/Cocoa.h>
#import <Metal/Metal.h>
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterSurface.h"
#import "flutter/shell/pla... | engine/shell/platform/darwin/macos/framework/Source/FlutterSurfaceManagerTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterSurfaceManagerTest.mm",
"repo_id": "engine",
"token_count": 4092
} | 329 |
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterVSyncWaiter.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterDisplayLink.h"
#include "flutter/fml/logging.h"
#include <optional>
#include <vector>
#if (FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_PROFILE)
#define VSYNC_TRACI... | engine/shell/platform/darwin/macos/framework/Source/FlutterVSyncWaiter.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterVSyncWaiter.mm",
"repo_id": "engine",
"token_count": 3039
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_KEYCODEMAP_INTERNAL_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_KEYCODEMAP... | engine/shell/platform/darwin/macos/framework/Source/KeyCodeMap_Internal.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/KeyCodeMap_Internal.h",
"repo_id": "engine",
"token_count": 1030
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_EXTERNAL_TEXTURE_GL_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_EXTERNAL_TEXTURE_GL_H_
#include "... | engine/shell/platform/embedder/embedder_external_texture_gl.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_external_texture_gl.h",
"repo_id": "engine",
"token_count": 672
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_RENDER_TARGET_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_RENDER_TARGET_H_
#include <memory>
#inc... | engine/shell/platform/embedder/embedder_render_target.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_render_target.h",
"repo_id": "engine",
"token_count": 1387
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_METAL_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_METAL_H_
#include "flutter/fml/... | engine/shell/platform/embedder/embedder_surface_metal.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_surface_metal.h",
"repo_id": "engine",
"token_count": 851
} | 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 "tests/embedder_test_context.h"
#define FML_USED_ON_EMBEDDER
#include <atomic>
#include <string>
#include <vector>
#include "vulkan/vulkan.h"
#... | engine/shell/platform/embedder/tests/embedder_gl_unittests.cc/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_gl_unittests.cc",
"repo_id": "engine",
"token_count": 71698
} | 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.
#include "flutter/shell/platform/embedder/tests/embedder_test_context.h"
#include <utility>
#include "flutter/fml/make_copyable.h"
#include "flutter/fml/... | engine/shell/platform/embedder/tests/embedder_test_context.cc/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_test_context.cc",
"repo_id": "engine",
"token_count": 3348
} | 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_VSYNC_WAITER_EMBEDDER_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_VSYNC_WAITER_EMBEDDER_H_
#include "flutter/fml/ma... | engine/shell/platform/embedder/vsync_waiter_embedder.h/0 | {
"file_path": "engine/shell/platform/embedder/vsync_waiter_embedder.h",
"repo_id": "engine",
"token_count": 506
} | 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.
part of zircon;
// ignore_for_file: native_function_body_in_non_sdk_code
// ignore_for_file: public_member_api_docs
@pragma('vm:entry-point')
class _Name... | engine/shell/platform/fuchsia/dart-pkg/zircon/lib/src/system.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/lib/src/system.dart",
"repo_id": "engine",
"token_count": 2760
} | 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.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:typed_data';
import 'dart:zircon';
import 'package:litetest/litetest.dart';
//... | engine/shell/platform/fuchsia/dart-pkg/zircon/test/zircon_tests.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/test/zircon_tests.dart",
"repo_id": "engine",
"token_count": 9558
} | 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.
import 'dart:async';
import 'dart:io';
import 'package:args/args.dart';
import 'package:crypto/crypto.dart';
import 'package:vm/kernel_front_end.dart'
... | engine/shell/platform/fuchsia/dart/compiler.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart/compiler.dart",
"repo_id": "engine",
"token_count": 578
} | 340 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is linked into the dart executable when it has a snapshot
// linked into it.
#include "embedder/snapshot.h"
namespace dart_runner {
// The ... | engine/shell/platform/fuchsia/dart_runner/embedder/snapshot.cc.tmpl/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/embedder/snapshot.cc.tmpl",
"repo_id": "engine",
"token_count": 294
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_RUNNER_SERVICE_ISOLATE_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_RUNNER_SERVICE_ISOLATE_H_
#include "thir... | engine/shell/platform/fuchsia/dart_runner/service_isolate.h/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/service_isolate.h",
"repo_id": "engine",
"token_count": 307
} | 342 |
// Copyright 2022 The Flutter 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 "dart_runner/dart_test_component_controller.h"
#include "gtest/gtest.h"
namespace dart_runner::testing {
namespace {
std::string GetCurrentTest... | engine/shell/platform/fuchsia/dart_runner/tests/suite_impl_unittests.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/tests/suite_impl_unittests.cc",
"repo_id": "engine",
"token_count": 199
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_COMPONENT_V2_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_COMPONENT_V2_H_
#include <array>
#include <m... | engine/shell/platform/fuchsia/flutter/component_v2.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/component_v2.h",
"repo_id": "engine",
"token_count": 1828
} | 344 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "fuchsia_intl.h"
#include <sstream>
#include <string>
#include <vector>
#include "rapidjson/document.h"
#include "rapidjson/stringbuffer.h"
#inc... | engine/shell/platform/fuchsia/flutter/fuchsia_intl.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/fuchsia_intl.cc",
"repo_id": "engine",
"token_count": 941
} | 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
{
use: [
// This is used by the Dart VM to communicate from Dart code to C++ code.
{
storage: "tmp",
path: "/tmp"... | engine/shell/platform/fuchsia/flutter/meta/common.shard.cml/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/meta/common.shard.cml",
"repo_id": "engine",
"token_count": 1175
} | 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_RTREE_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_FLUTTER_RTREE_H_
#include <list>
#include <map>
#include "... | engine/shell/platform/fuchsia/flutter/rtree.h/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/rtree.h",
"repo_id": "engine",
"token_count": 682
} | 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/fuchsia/flutter/external_view_embedder.h"
#include <fuchsia/math/cpp/fidl.h>
#include <fuchsia/sysmem/cpp/fidl.h>
#includ... | engine/shell/platform/fuchsia/flutter/tests/external_view_embedder_unittests.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/external_view_embedder_unittests.cc",
"repo_id": "engine",
"token_count": 33371
} | 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.
assert(is_fuchsia)
import("//flutter/tools/fuchsia/gn-sdk/src/gn_configs.gni")
group("integration") {
testonly = true
deps = [
"embedder:tests",
... | engine/shell/platform/fuchsia/flutter/tests/integration/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/BUILD.gn",
"repo_id": "engine",
"token_count": 148
} | 349 |
// Copyright 2022 The Fuchsia 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/mouse-input/mouse-input-test.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-test.cc",
"repo_id": "engine",
"token_count": 9453
} | 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 "pointer_event_utility.h"
namespace flutter_runner::testing {
using fup_EventPhase = fuchsia::ui::pointer::EventPhase;
using fup_TouchEvent = fu... | engine/shell/platform/fuchsia/flutter/tests/pointer_event_utility.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/pointer_event_utility.cc",
"repo_id": "engine",
"token_count": 2030
} | 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.
#include "vulkan_surface_pool.h"
#include <lib/fdio/directory.h>
#include <lib/zx/process.h>
#include <algorithm>
#include <string>
#include "flutter/fm... | engine/shell/platform/fuchsia/flutter/vulkan_surface_pool.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/vulkan_surface_pool.cc",
"repo_id": "engine",
"token_count": 3909
} | 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_FUCHSIA_RUNTIME_DART_UTILS_INLINES_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_INLINES_H_
namespace dart_u... | engine/shell/platform/fuchsia/runtime/dart/utils/inlines.h/0 | {
"file_path": "engine/shell/platform/fuchsia/runtime/dart/utils/inlines.h",
"repo_id": "engine",
"token_count": 206
} | 353 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.