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 '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/frame_reference_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/frame_reference_test.dart",
"repo_id": "engine",
"token_count": 1087
} | 279 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
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/mouse/cursor_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/mouse/cursor_test.dart",
"repo_id": "engine",
"token_count": 655
} | 280 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:typed_data';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' as ui;
class StubPicture implements ScenePicture {
StubPictu... | engine/lib/web_ui/test/engine/scene_builder_utils.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/scene_builder_utils.dart",
"repo_id": "engine",
"token_count": 1584
} | 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:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:u... | engine/lib/web_ui/test/engine/surface/platform_view_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/surface/platform_view_test.dart",
"repo_id": "engine",
"token_count": 1409
} | 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.
@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/full_page_embedding_strategy_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/engine/view_embedder/embedding_strategy/full_page_embedding_strategy_test.dart",
"repo_id": "engine",
"token_count": 1238
} | 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: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/compositing/canvas_blend_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/compositing/canvas_blend_golden_test.dart",
"repo_id": "engine",
"token_count": 1520
} | 284 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '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/html/drawing/canvas_stroke_rects_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/drawing/canvas_stroke_rects_golden_test.dart",
"repo_id": "engine",
"token_count": 780
} | 285 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart' hide TextSt... | engine/lib/web_ui/test/html/path_metrics_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/path_metrics_golden_test.dart",
"repo_id": "engine",
"token_count": 2357
} | 286 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'package:ui/ui.dart';
import 'pa... | engine/lib/web_ui/test/html/text/canvas_paragraph_builder_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/html/text/canvas_paragraph_builder_test.dart",
"repo_id": "engine",
"token_count": 7716
} | 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:typed_data';
import 'package:test/bootstrap/browser.dart';
import 'package:test/test.dart';
import 'package:ui/src/engine.dart';
import 'pack... | engine/lib/web_ui/test/ui/canvas_draw_points_golden_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/canvas_draw_points_golden_test.dart",
"repo_id": "engine",
"token_count": 1642
} | 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: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/paragraph_style_test.dart/0 | {
"file_path": "engine/lib/web_ui/test/ui/paragraph_style_test.dart",
"repo_id": "engine",
"token_count": 2275
} | 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("//flutter/common/config.gni")
import("//flutter/testing/testing.gni")
source_set("test_font") {
sources = [
"test_font_data.cc",
"test_font... | engine/runtime/BUILD.gn/0 | {
"file_path": "engine/runtime/BUILD.gn",
"repo_id": "engine",
"token_count": 2355
} | 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_RUNTIME_DART_TIMESTAMP_PROVIDER_H_
#define FLUTTER_RUNTIME_DART_TIMESTAMP_PROVIDER_H_
#include "flutter/fml/time/timestamp_provider.h"
#i... | engine/runtime/dart_timestamp_provider.h/0 | {
"file_path": "engine/runtime/dart_timestamp_provider.h",
"repo_id": "engine",
"token_count": 367
} | 291 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/runtime/isolate_configuration.h"
#include "flutter/fml/make_copyable.h"
#include "flutter/runtime/dart_vm.h"
namespace flutter {
Isola... | engine/runtime/isolate_configuration.cc/0 | {
"file_path": "engine/runtime/isolate_configuration.cc",
"repo_id": "engine",
"token_count": 3738
} | 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/runtime/skia_concurrent_executor.h"
#include "flutter/fml/trace_event.h"
namespace flutter {
SkiaConcurrentExecutor::SkiaConcurrentExe... | engine/runtime/skia_concurrent_executor.cc/0 | {
"file_path": "engine/runtime/skia_concurrent_executor.cc",
"repo_id": "engine",
"token_count": 228
} | 293 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/common/shell.h"
#include "flutter/benchmarking/benchmarking.h"
#include "flutter/shell/common/thread_host.h"
#include "flutter/tes... | engine/shell/common/dart_native_benchmarks.cc/0 | {
"file_path": "engine/shell/common/dart_native_benchmarks.cc",
"repo_id": "engine",
"token_count": 1673
} | 294 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/common/graphics/persistent_cache.h"
#include <memory>
#include "flutter/assets/directory_asset_bundle.h"
#include "flutter/flow/layers/... | engine/shell/common/persistent_cache_unittests.cc/0 | {
"file_path": "engine/shell/common/persistent_cache_unittests.cc",
"repo_id": "engine",
"token_count": 2660
} | 295 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_COMMON_RUN_CONFIGURATION_H_
#define FLUTTER_SHELL_COMMON_RUN_CONFIGURATION_H_
#include <memory>
#include <string>
#include "flutter... | engine/shell/common/run_configuration.h/0 | {
"file_path": "engine/shell/common/run_configuration.h",
"repo_id": "engine",
"token_count": 3139
} | 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.
#include "flutter/shell/common/shell_test_platform_view_gl.h"
#include <utility>
#include <EGL/egl.h>
#include "flutter/shell/gpu/gpu_surface_gl_skia.h"... | engine/shell/common/shell_test_platform_view_gl.cc/0 | {
"file_path": "engine/shell/common/shell_test_platform_view_gl.cc",
"repo_id": "engine",
"token_count": 1430
} | 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.
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <sstream>
#include <string>
#include "flutter/fml/native_library.... | engine/shell/common/switches.cc/0 | {
"file_path": "engine/shell/common/switches.cc",
"repo_id": "engine",
"token_count": 7772
} | 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.
declare_args() {
shell_enable_gl = !is_fuchsia && !is_mac
# The logic for enabling Vulkan and Metal is in tools/gn.
shell_enable_metal = false
shell_... | engine/shell/config.gni/0 | {
"file_path": "engine/shell/config.gni",
"repo_id": "engine",
"token_count": 200
} | 299 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/gpu/gpu_surface_software.h"
#include <memory>
#include "flutter/fml/logging.h"
#include "third_party/skia/include/core/SkSurface... | engine/shell/gpu/gpu_surface_software.cc/0 | {
"file_path": "engine/shell/gpu/gpu_surface_software.cc",
"repo_id": "engine",
"token_count": 1048
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_CONTEXT_GL_IMPELLER_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_ANDROID_CONTEXT_GL_IMPELLER_H_
#include "flut... | engine/shell/platform/android/android_context_gl_impeller.h/0 | {
"file_path": "engine/shell/platform/android/android_context_gl_impeller.h",
"repo_id": "engine",
"token_count": 627
} | 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.
#define FML_USED_ON_EMBEDDER
#include "flutter/shell/platform/android/android_shell_holder.h"
#include <pthread.h>
#include <sys/resource.h>
#include <sy... | engine/shell/platform/android/android_shell_holder.cc/0 | {
"file_path": "engine/shell/platform/android/android_shell_holder.cc",
"repo_id": "engine",
"token_count": 5009
} | 302 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/android/context/android_context.h"
namespace flutter {
AndroidContext::AndroidContext(AndroidRenderingAPI rendering_api)... | engine/shell/platform/android/context/android_context.cc/0 | {
"file_path": "engine/shell/platform/android/context/android_context.cc",
"repo_id": "engine",
"token_count": 382
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_IMAGE_EXTERNAL_TEXTURE_GL_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_IMAGE_EXTERNAL_TEXTURE_GL_H_
#include <unordere... | engine/shell/platform/android/image_external_texture_gl.h/0 | {
"file_path": "engine/shell/platform/android/image_external_texture_gl.h",
"repo_id": "engine",
"token_count": 1368
} | 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.app;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import io.flutter.embedding.engine.Flu... | engine/shell/platform/android/io/flutter/app/FlutterPluginRegistry.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/app/FlutterPluginRegistry.java",
"repo_id": "engine",
"token_count": 2500
} | 305 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.android;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.io.UnsupportedEncodingException... | engine/shell/platform/android/io/flutter/embedding/android/KeyData.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/android/KeyData.java",
"repo_id": "engine",
"token_count": 1921
} | 306 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.engine.dart;
import android.content.res.AssetManager;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable... | engine/shell/platform/android/io/flutter/embedding/engine/dart/DartExecutor.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/dart/DartExecutor.java",
"repo_id": "engine",
"token_count": 5846
} | 307 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.engine.plugins.activity;
import android.app.Activity;
import android.os.Bundle;
import androidx.annotation.NonNull;
import an... | engine/shell/platform/android/io/flutter/embedding/engine/plugins/activity/ActivityPluginBinding.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/plugins/activity/ActivityPluginBinding.java",
"repo_id": "engine",
"token_count": 1530
} | 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.renderer;
import android.view.Surface;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
/**
... | engine/shell/platform/android/io/flutter/embedding/engine/renderer/RenderSurface.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/renderer/RenderSurface.java",
"repo_id": "engine",
"token_count": 882
} | 309 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.embedding.engine.systemchannels;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.flutter.Log;
import... | engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/embedding/engine/systemchannels/SpellCheckChannel.java",
"repo_id": "engine",
"token_count": 1440
} | 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.
package io.flutter.plugin.common;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.nio.ByteBuffer;
/**
* A codec for... | engine/shell/platform/android/io/flutter/plugin/common/MethodCodec.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/common/MethodCodec.java",
"repo_id": "engine",
"token_count": 966
} | 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.
package io.flutter.plugin.platform;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import androidx.ann... | engine/shell/platform/android/io/flutter/plugin/platform/PlatformOverlayView.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/plugin/platform/PlatformOverlayView.java",
"repo_id": "engine",
"token_count": 554
} | 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.
package io.flutter.view;
import android.hardware.display.DisplayManager;
import android.view.Choreographer;
import android.view.Display;
import androidx.a... | engine/shell/platform/android/io/flutter/view/VsyncWaiter.java/0 | {
"file_path": "engine/shell/platform/android/io/flutter/view/VsyncWaiter.java",
"repo_id": "engine",
"token_count": 1425
} | 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/android/platform_view_android_delegate/platform_view_android_delegate.h"
#include "flutter/shell/platform/android/jni/jni... | engine/shell/platform/android/platform_view_android_delegate/platform_view_android_delegate_unittests.cc/0 | {
"file_path": "engine/shell/platform/android/platform_view_android_delegate/platform_view_android_delegate_unittests.cc",
"repo_id": "engine",
"token_count": 3310
} | 314 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_ANDROID_SURFACE_TEXTURE_EXTERNAL_TEXTURE_GL_H_
#define FLUTTER_SHELL_PLATFORM_ANDROID_SURFACE_TEXTURE_EXTERNAL_TEXTURE_GL_H_... | engine/shell/platform/android/surface_texture_external_texture_gl.h/0 | {
"file_path": "engine/shell/platform/android/surface_texture_external_texture_gl.h",
"repo_id": "engine",
"token_count": 833
} | 315 |
package io.flutter.embedding.android;
import static org.robolectric.util.reflector.Reflector.reflector;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import androidx.annotation.Nullable;
import org.robole... | engine/shell/platform/android/test/io/flutter/embedding/android/SplashShadowResources.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/android/SplashShadowResources.java",
"repo_id": "engine",
"token_count": 611
} | 316 |
package io.flutter.embedding.engine.plugins.shim;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import android.app.Activity;
import android.content.Conte... | engine/shell/platform/android/test/io/flutter/embedding/engine/plugins/shim/ShimPluginRegistryTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/embedding/engine/plugins/shim/ShimPluginRegistryTest.java",
"repo_id": "engine",
"token_count": 2144
} | 317 |
package io.flutter.plugin.common;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.ArgumentMatchers.argThat;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import andr... | engine/shell/platform/android/test/io/flutter/plugin/common/MethodChannelTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/common/MethodChannelTest.java",
"repo_id": "engine",
"token_count": 1301
} | 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.
package io.flutter.plugin.platform;
import static io.flutter.Build.API_LEVELS;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mock... | engine/shell/platform/android/test/io/flutter/plugin/platform/SingleViewPresentationTest.java/0 | {
"file_path": "engine/shell/platform/android/test/io/flutter/plugin/platform/SingleViewPresentationTest.java",
"repo_id": "engine",
"token_count": 1212
} | 319 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<activity android:name="io.flutter.embedding.android.FlutterFragmentActivity" />
<activity android:name="io.flutter.embedding.android.FlutterFragmentActivityTest$FlutterFragmentActivityWithProvidedEngine" />
</applicatio... | engine/shell/platform/android/test_runner/src/main/AndroidManifest.xml/0 | {
"file_path": "engine/shell/platform/android/test_runner/src/main/AndroidManifest.xml",
"repo_id": "engine",
"token_count": 107
} | 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.
// This file contains the implementations of any class in the wrapper that
// - is not fully inline, and
// - is necessary for all clients of the wrapper (... | engine/shell/platform/common/client_wrapper/core_implementations.cc/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/core_implementations.cc",
"repo_id": "engine",
"token_count": 3974
} | 321 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_METHOD_CHANNEL_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER... | engine/shell/platform/common/client_wrapper/include/flutter/method_channel.h/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/include/flutter/method_channel.h",
"repo_id": "engine",
"token_count": 2131
} | 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.
// This file contains what would normally be standard_codec_serializer.cc,
// standard_message_codec.cc, and standard_method_codec.cc. They are grouped
// ... | engine/shell/platform/common/client_wrapper/standard_codec.cc/0 | {
"file_path": "engine/shell/platform/common/client_wrapper/standard_codec.cc",
"repo_id": "engine",
"token_count": 5755
} | 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.
#include "flutter/shell/platform/common/geometry.h"
#include "gtest/gtest.h"
namespace flutter {
TEST(Point, SetsCoordinates) {
Point point(-30.0, 42.... | engine/shell/platform/common/geometry_unittests.cc/0 | {
"file_path": "engine/shell/platform/common/geometry_unittests.cc",
"repo_id": "engine",
"token_count": 591
} | 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_COMMON_PUBLIC_FLUTTER_MESSENGER_H_
#define FLUTTER_SHELL_PLATFORM_COMMON_PUBLIC_FLUTTER_MESSENGER_H_
#include <stdbool.h>
#... | engine/shell/platform/common/public/flutter_messenger.h/0 | {
"file_path": "engine/shell/platform/common/public/flutter_messenger.h",
"repo_id": "engine",
"token_count": 1552
} | 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.
assert(is_mac || is_ios)
import("//flutter/common/config.gni")
import("//flutter/testing/testing.gni")
import("framework_common.gni")
source_set("common") {... | engine/shell/platform/darwin/common/BUILD.gn/0 | {
"file_path": "engine/shell/platform/darwin/common/BUILD.gn",
"repo_id": "engine",
"token_count": 1279
} | 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/common/framework/Source/FlutterBinaryMessengerRelay.h"
#import <OCMock/OCMock.h>
#import "flutter/shell/platform/d... | engine/shell/platform/darwin/common/framework/Source/FlutterBinaryMessengerRelayTest.mm/0 | {
"file_path": "engine/shell/platform/darwin/common/framework/Source/FlutterBinaryMessengerRelayTest.mm",
"repo_id": "engine",
"token_count": 1381
} | 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.
assert(is_ios || is_mac)
import("//flutter/common/config.gni")
import("//flutter/impeller/tools/impeller.gni")
source_set("graphics") {
cflags_objc = flut... | engine/shell/platform/darwin/graphics/BUILD.gn/0 | {
"file_path": "engine/shell/platform/darwin/graphics/BUILD.gn",
"repo_id": "engine",
"token_count": 419
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERPLUGIN_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERPLUGIN_H_
... | engine/shell/platform/darwin/ios/framework/Headers/FlutterPlugin.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Headers/FlutterPlugin.h",
"repo_id": "engine",
"token_count": 4667
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERDARTVMSERVICEPUBLISHER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUT... | engine/shell/platform/darwin/ios/framework/Source/FlutterDartVMServicePublisher.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterDartVMServicePublisher.h",
"repo_id": "engine",
"token_count": 309
} | 330 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews_Internal.h"
#include "flutter/display_list/effects/dl_image_filter.h"
#in... | engine/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews_Internal.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews_Internal.mm",
"repo_id": "engine",
"token_count": 7239
} | 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_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERTEXTUREREGISTRYRELAY_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTE... | engine/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelay.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterTextureRegistryRelay.h",
"repo_id": "engine",
"token_count": 392
} | 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_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERVIEWRESPONDER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERVIEWRE... | engine/shell/platform/darwin/ios/framework/Source/FlutterViewResponder.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/FlutterViewResponder.h",
"repo_id": "engine",
"token_count": 362
} | 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.
#import <OCMock/OCMock.h>
#import <XCTest/XCTest.h>
#import "flutter/shell/platform/darwin/common/framework/Headers/FlutterBinaryMessenger.h"
#import "flu... | engine/shell/platform/darwin/ios/framework/Source/accessibility_bridge_test.mm/0 | {
"file_path": "engine/shell/platform/darwin/ios/framework/Source/accessibility_bridge_test.mm",
"repo_id": "engine",
"token_count": 42641
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_CONTEXT_METAL_IMPELLER_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_CONTEXT_METAL_IMPELLER_H_
#include "... | engine/shell/platform/darwin/ios/ios_context_metal_impeller.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/ios_context_metal_impeller.h",
"repo_id": "engine",
"token_count": 656
} | 335 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_SOFTWARE_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_IOS_SURFACE_SOFTWARE_H_
#include "flutter/flow... | engine/shell/platform/darwin/ios/ios_surface_software.h/0 | {
"file_path": "engine/shell/platform/darwin/ios/ios_surface_software.h",
"repo_id": "engine",
"token_count": 621
} | 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_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPLUGINMACOS_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_HEADERS_FLUTTERPL... | engine/shell/platform/darwin/macos/framework/Headers/FlutterPluginMacOS.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Headers/FlutterPluginMacOS.h",
"repo_id": "engine",
"token_count": 626
} | 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.
#import <objc/message.h>
#import "FlutterChannelKeyResponder.h"
#import "KeyCodeMap_Internal.h"
#import "flutter/shell/platform/darwin/common/framework/He... | engine/shell/platform/darwin/macos/framework/Source/FlutterChannelKeyResponder.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterChannelKeyResponder.mm",
"repo_id": "engine",
"token_count": 2649
} | 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 "flutter/shell/platform/darwin/macos/framework/Source/FlutterEngineTestUtils.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/Flu... | engine/shell/platform/darwin/macos/framework/Source/FlutterEngineTestUtils.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterEngineTestUtils.mm",
"repo_id": "engine",
"token_count": 1201
} | 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 "flutter/shell/platform/darwin/macos/framework/Source/FlutterMutatorView.h"
#include <QuartzCore/QuartzCore.h>
#include <vector>
#include "flutte... | engine/shell/platform/darwin/macos/framework/Source/FlutterMutatorView.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterMutatorView.mm",
"repo_id": "engine",
"token_count": 7696
} | 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.
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.h"
#import <Foundation/Foundation.h>
#import <objc/message.h>
#inclu... | engine/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm",
"repo_id": "engine",
"token_count": 12098
} | 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_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEW_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEW_H_
#i... | engine/shell/platform/darwin/macos/framework/Source/FlutterView.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/FlutterView.h",
"repo_id": "engine",
"token_count": 1060
} | 342 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_TESTFLUTTERPLATFORMVIEW_H_
#define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_TESTFL... | engine/shell/platform/darwin/macos/framework/Source/TestFlutterPlatformView.h/0 | {
"file_path": "engine/shell/platform/darwin/macos/framework/Source/TestFlutterPlatformView.h",
"repo_id": "engine",
"token_count": 276
} | 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.
#include "flutter/shell/platform/embedder/embedder_external_texture_metal.h"
#include "flow/layers/layer.h"
#include "flutter/fml/logging.h"
#import "flut... | engine/shell/platform/embedder/embedder_external_texture_metal.mm/0 | {
"file_path": "engine/shell/platform/embedder/embedder_external_texture_metal.mm",
"repo_id": "engine",
"token_count": 2232
} | 344 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_RENDER_TARGET_CACHE_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_RENDER_TARGET_CACHE_H_
#include <... | engine/shell/platform/embedder/embedder_render_target_cache.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_render_target_cache.h",
"repo_id": "engine",
"token_count": 573
} | 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_EMBEDDER_EMBEDDER_SURFACE_METAL_IMPELLER_H_
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SURFACE_METAL_IMPELLER_H_
#inc... | engine/shell/platform/embedder/embedder_surface_metal_impeller.h/0 | {
"file_path": "engine/shell/platform/embedder/embedder_surface_metal_impeller.h",
"repo_id": "engine",
"token_count": 878
} | 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.
#include "flutter/shell/platform/embedder/tests/embedder_test.h"
#include "flutter/shell/platform/embedder/tests/embedder_test_context_software.h"
#ifdef ... | engine/shell/platform/embedder/tests/embedder_test.cc/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_test.cc",
"repo_id": "engine",
"token_count": 816
} | 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/embedder/tests/embedder_test_context_gl.h"
#include <utility>
#include "flutter/fml/make_copyable.h"
#include "flutter/f... | engine/shell/platform/embedder/tests/embedder_test_context_gl.cc/0 | {
"file_path": "engine/shell/platform/embedder/tests/embedder_test_context_gl.cc",
"repo_id": "engine",
"token_count": 1515
} | 348 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/tools/fuchsia/gn-sdk/src/gn_configs.gni")
config("sdk_ext_config") {
include_dirs = [ "../.." ]
}
group("fuchsia") {
public_deps = [ "... | engine/shell/platform/fuchsia/dart-pkg/fuchsia/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/fuchsia/BUILD.gn",
"repo_id": "engine",
"token_count": 286
} | 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.
part of zircon;
@pragma('vm:entry-point')
class ZDHandle {
@pragma('vm:entry-point')
ZDHandle._(this._ptr) {
_attachFinalizer();
}
void _atta... | engine/shell/platform/fuchsia/dart-pkg/zircon/lib/src/zd_handle.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon/lib/src/zd_handle.dart",
"repo_id": "engine",
"token_count": 747
} | 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 "basic_types.h"
#include <cstdint>
#include <cstdlib>
#include "flutter/fml/logging.h"
zircon_dart_byte_array_t* zircon_dart_byte_array_create(... | engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/basic_types.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/dart-pkg/zircon_ffi/basic_types.cc",
"repo_id": "engine",
"token_count": 435
} | 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.
assert(is_fuchsia)
import("//flutter/common/fuchsia_config.gni")
import("//flutter/testing/testing.gni")
import("//flutter/tools/fuchsia/dart.gni")
import("/... | engine/shell/platform/fuchsia/dart_runner/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/BUILD.gn",
"repo_id": "engine",
"token_count": 4471
} | 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_DART_RUNNER_EMBEDDER_SNAPSHOT_H_
#define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_RUNNER_EMBEDDER_SNAPSHOT_H_
#include <... | engine/shell/platform/fuchsia/dart_runner/embedder/snapshot.h/0 | {
"file_path": "engine/shell/platform/fuchsia/dart_runner/embedder/snapshot.h",
"repo_id": "engine",
"token_count": 225
} | 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.
#include "engine.h"
#include <fuchsia/accessibility/semantics/cpp/fidl.h>
#include <fuchsia/media/cpp/fidl.h>
#include <lib/async/cpp/task.h>
#include <li... | engine/shell/platform/fuchsia/flutter/engine.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/engine.cc",
"repo_id": "engine",
"token_count": 16585
} | 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.
#include <fuchsia/intl/cpp/fidl.h>
#include "flutter/fml/icu_util.h"
#include "gtest/gtest.h"
#include "fuchsia_intl.h"
using fuchsia::intl::CalendarId;... | engine/shell/platform/fuchsia/flutter/fuchsia_intl_unittest.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/fuchsia_intl_unittest.cc",
"repo_id": "engine",
"token_count": 1250
} | 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.
#include "runner.h"
#include <fcntl.h>
#include <fuchsia/mem/cpp/fidl.h>
#include <lib/async/cpp/task.h>
#include <lib/async/default.h>
#include <lib/insp... | engine/shell/platform/fuchsia/flutter/runner.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/runner.cc",
"repo_id": "engine",
"token_count": 4416
} | 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.
assert(is_fuchsia)
import("//flutter/tools/fuchsia/gn-sdk/src/gn_configs.gni")
group("fakes") {
testonly = true
public_deps = [
":focus",
":poi... | engine/shell/platform/fuchsia/flutter/tests/fakes/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/fakes/BUILD.gn",
"repo_id": "engine",
"token_count": 382
} | 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.
assert(is_fuchsia)
import("//flutter/tools/fuchsia/fuchsia_archive.gni")
import("//flutter/tools/fuchsia/gn-sdk/src/gn_configs.gni")
group("tests") {
test... | engine/shell/platform/fuchsia/flutter/tests/integration/embedder/BUILD.gn/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/embedder/BUILD.gn",
"repo_id": "engine",
"token_count": 913
} | 358 |
// Copyright 2020 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.
import 'dart:convert';
import 'dart:typed_data';
import 'dart:ui';
import 'dart:zircon';
void main() {
print('Launching mouse-input-view');
MyApp app ... | engine/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-view/lib/mouse-input-view.dart/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-view/lib/mouse-input-view.dart",
"repo_id": "engine",
"token_count": 1476
} | 359 |
{
"families": [
{
"family": "Roboto",
"fallback": true,
"fallback_group": "sans-serif",
"fonts": [
{
"asset": "Roboto-Regular.ttf"
}
]
},
{
"family": "Roboto Slab",
... | engine/shell/platform/fuchsia/flutter/tests/test_manifest.json/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/tests/test_manifest.json",
"repo_id": "engine",
"token_count": 424
} | 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.
#include "vulkan_surface_producer.h"
#include <lib/async/cpp/task.h>
#include <lib/async/default.h>
#include <memory>
#include <string>
#include <vector>... | engine/shell/platform/fuchsia/flutter/vulkan_surface_producer.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/flutter/vulkan_surface_producer.cc",
"repo_id": "engine",
"token_count": 3936
} | 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.
#include "mapped_resource.h"
#include <dlfcn.h>
#include <fcntl.h>
#include <fuchsia/io/cpp/fidl.h>
#include <fuchsia/mem/cpp/fidl.h>
#include <lib/fdio/d... | engine/shell/platform/fuchsia/runtime/dart/utils/mapped_resource.cc/0 | {
"file_path": "engine/shell/platform/fuchsia/runtime/dart/utils/mapped_resource.cc",
"repo_id": "engine",
"token_count": 2290
} | 362 |
// Copyright 2013 The Flutter 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 "include/flutter/flutter_window_controller.h"
#include <algorithm>
#include <iostream>
namespace flutter {
FlutterWindowController::FlutterWind... | engine/shell/platform/glfw/client_wrapper/flutter_window_controller.cc/0 | {
"file_path": "engine/shell/platform/glfw/client_wrapper/flutter_window_controller.cc",
"repo_id": "engine",
"token_count": 1401
} | 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.
#include "flutter/shell/platform/glfw/headless_event_loop.h"
#include <atomic>
#include <utility>
namespace flutter {
HeadlessEventLoop::HeadlessEventLo... | engine/shell/platform/glfw/headless_event_loop.cc/0 | {
"file_path": "engine/shell/platform/glfw/headless_event_loop.cc",
"repo_id": "engine",
"token_count": 304
} | 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_LINUX_FL_ACCESSIBLE_NODE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_ACCESSIBLE_NODE_H_
#include <atk/atk.h>
#include <gio/g... | engine/shell/platform/linux/fl_accessible_node.h/0 | {
"file_path": "engine/shell/platform/linux/fl_accessible_node.h",
"repo_id": "engine",
"token_count": 2453
} | 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.
#include "flutter/shell/platform/linux/public/flutter_linux/fl_dart_project.h"
#include <gmodule.h>
#include <cstdlib>
#include "gtest/gtest.h"
TEST(Fl... | engine/shell/platform/linux/fl_dart_project_test.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_dart_project_test.cc",
"repo_id": "engine",
"token_count": 1209
} | 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.
#include "flutter/shell/platform/linux/fl_key_embedder_responder.h"
#include <gtk/gtk.h>
#include <cinttypes>
#include "flutter/shell/platform/embedder/e... | engine/shell/platform/linux/fl_key_embedder_responder.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_key_embedder_responder.cc",
"repo_id": "engine",
"token_count": 13771
} | 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_LINUX_FL_METHOD_CALL_PRIVATE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_METHOD_CALL_PRIVATE_H_
#include "flutter/shell/plat... | engine/shell/platform/linux/fl_method_call_private.h/0 | {
"file_path": "engine/shell/platform/linux/fl_method_call_private.h",
"repo_id": "engine",
"token_count": 405
} | 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 <gtk/gtk.h>
#include "flutter/shell/platform/linux/fl_binary_messenger_private.h"
#include "flutter/shell/platform/linux/fl_method_codec_private.... | engine/shell/platform/linux/fl_platform_plugin_test.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_platform_plugin_test.cc",
"repo_id": "engine",
"token_count": 3613
} | 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.
#include "flutter/shell/platform/linux/fl_settings.h"
#include "flutter/shell/platform/linux/fl_gnome_settings.h"
#include "flutter/shell/platform/linux/fl... | engine/shell/platform/linux/fl_settings.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_settings.cc",
"repo_id": "engine",
"token_count": 764
} | 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/linux/fl_text_input_plugin.h"
#include <gtk/gtk.h>
#include "flutter/shell/platform/common/text_editing_delta.h"
#includ... | engine/shell/platform/linux/fl_text_input_plugin.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_text_input_plugin.cc",
"repo_id": "engine",
"token_count": 12315
} | 371 |
// Copyright 2013 The Flutter 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/linux/fl_view_accessible.h"
#include "flutter/shell/platform/linux/fl_accessible_node.h"
#include "flutter/shell/platform/... | engine/shell/platform/linux/fl_view_accessible.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_view_accessible.cc",
"repo_id": "engine",
"token_count": 3156
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_MESSAGE_CODEC_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_MESSAGE_CODEC_H_... | engine/shell/platform/linux/public/flutter_linux/fl_message_codec.h/0 | {
"file_path": "engine/shell/platform/linux/public/flutter_linux/fl_message_codec.h",
"repo_id": "engine",
"token_count": 1855
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FLUTTER_LINUX_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FLUTTER_LINUX_H_
#def... | engine/shell/platform/linux/public/flutter_linux/flutter_linux.h/0 | {
"file_path": "engine/shell/platform/linux/public/flutter_linux/flutter_linux.h",
"repo_id": "engine",
"token_count": 614
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_PLUGIN_REGISTRAR_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_PLUGIN_REGISTRAR_H_
#include "flut... | engine/shell/platform/linux/testing/mock_plugin_registrar.h/0 | {
"file_path": "engine/shell/platform/linux/testing/mock_plugin_registrar.h",
"repo_id": "engine",
"token_count": 441
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_ACCESSIBILITY_BRIDGE_WINDOWS_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_ACCESSIBILITY_BRIDGE_WINDOWS_H_
#include "fl... | engine/shell/platform/windows/accessibility_bridge_windows.h/0 | {
"file_path": "engine/shell/platform/windows/accessibility_bridge_windows.h",
"repo_id": "engine",
"token_count": 946
} | 376 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <string>
#include "flutter/shell/platform/windows/client_wrapper/include/flutter/plugin_registrar_windows.h"
#include "flutter/... | engine/shell/platform/windows/client_wrapper/plugin_registrar_windows_unittests.cc/0 | {
"file_path": "engine/shell/platform/windows/client_wrapper/plugin_registrar_windows_unittests.cc",
"repo_id": "engine",
"token_count": 3441
} | 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.
#include "dpi_utils.h"
#include "flutter/fml/macros.h"
namespace flutter {
namespace {
constexpr UINT kDefaultDpi = 96;
// This is the MDT_EFFECTIVE_D... | engine/shell/platform/windows/dpi_utils.cc/0 | {
"file_path": "engine/shell/platform/windows/dpi_utils.cc",
"repo_id": "engine",
"token_count": 1665
} | 378 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.