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.
#include "include/flutter/flutter_engine.h"
#include <algorithm>
#include <iostream>
namespace flutter {
FlutterEngine::FlutterEngine() {}
FlutterEngin... | engine/shell/platform/glfw/client_wrapper/flutter_engine.cc/0 | {
"file_path": "engine/shell/platform/glfw/client_wrapper/flutter_engine.cc",
"repo_id": "engine",
"token_count": 1127
} | 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 "flutter/shell/platform/glfw/glfw_event_loop.h"
#include <GLFW/glfw3.h>
#include <atomic>
#include <utility>
namespace flutter {
GLFWEventLoop... | engine/shell/platform/glfw/glfw_event_loop.cc/0 | {
"file_path": "engine/shell/platform/glfw/glfw_event_loop.cc",
"repo_id": "engine",
"token_count": 438
} | 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.
import("//build/config/linux/pkg_config.gni")
import("//flutter/shell/platform/glfw/config.gni")
pkg_config("x11") {
packages = [ "x11" ]
}
pkg_config("gt... | engine/shell/platform/linux/config/BUILD.gn/0 | {
"file_path": "engine/shell/platform/linux/config/BUILD.gn",
"repo_id": "engine",
"token_count": 172
} | 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.
#include "flutter/shell/platform/linux/public/flutter_linux/fl_dart_project.h"
#include <gmodule.h>
struct _FlDartProject {
GObject parent_instance;
... | engine/shell/platform/linux/fl_dart_project.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_dart_project.cc",
"repo_id": "engine",
"token_count": 1675
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_KEY_CHANNEL_RESPONDER_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_KEY_CHANNEL_RESPONDER_H_
#include <gdk/gdk.h>
#i... | engine/shell/platform/linux/fl_key_channel_responder.h/0 | {
"file_path": "engine/shell/platform/linux/fl_key_channel_responder.h",
"repo_id": "engine",
"token_count": 830
} | 358 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/linux/public/flutter_linux/fl_message_codec.h"
#include "gtest/gtest.h"
G_DECLARE_FINAL_TYPE(FlTestCodec, fl_test_codec, ... | engine/shell/platform/linux/fl_message_codec_test.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_message_codec_test.cc",
"repo_id": "engine",
"token_count": 2247
} | 359 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/linux/fl_platform_plugin.h"
#include <gtk/gtk.h>
#include <cstring>
#include "flutter/shell/platform/linux/public/flutte... | engine/shell/platform/linux/fl_platform_plugin.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_platform_plugin.cc",
"repo_id": "engine",
"token_count": 6164
} | 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 "flutter/shell/platform/linux/fl_scrolling_view_delegate.h"
G_DEFINE_INTERFACE(FlScrollingViewDelegate,
fl_scrolling_view_dele... | engine/shell/platform/linux/fl_scrolling_view_delegate.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_scrolling_view_delegate.cc",
"repo_id": "engine",
"token_count": 566
} | 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 "flutter/shell/platform/linux/fl_task_runner.h"
#include "flutter/shell/platform/linux/fl_engine_private.h"
static constexpr int kMicrosecondsPer... | engine/shell/platform/linux/fl_task_runner.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_task_runner.cc",
"repo_id": "engine",
"token_count": 2554
} | 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 "flutter/shell/platform/linux/public/flutter_linux/fl_value.h"
#include <gmodule.h>
#include "gtest/gtest.h"
TEST(FlDartProjectTest, Null) {
... | engine/shell/platform/linux/fl_value_test.cc/0 | {
"file_path": "engine/shell/platform/linux/fl_value_test.cc",
"repo_id": "engine",
"token_count": 18566
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_JSON_MESSAGE_CODEC_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_JSON_MESSAG... | engine/shell/platform/linux/public/flutter_linux/fl_json_message_codec.h/0 | {
"file_path": "engine/shell/platform/linux/public/flutter_linux/fl_json_message_codec.h",
"repo_id": "engine",
"token_count": 1440
} | 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_PUBLIC_FLUTTER_LINUX_FL_VALUE_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_PUBLIC_FLUTTER_LINUX_FL_VALUE_H_
#include <glib... | engine/shell/platform/linux/public/flutter_linux/fl_value.h/0 | {
"file_path": "engine/shell/platform/linux/public/flutter_linux/fl_value.h",
"repo_id": "engine",
"token_count": 7424
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_IM_CONTEXT_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_IM_CONTEXT_H_
#include <gtk/gtk.h>
#inc... | engine/shell/platform/linux/testing/mock_im_context.h/0 | {
"file_path": "engine/shell/platform/linux/testing/mock_im_context.h",
"repo_id": "engine",
"token_count": 904
} | 366 |
# Windows Platform Embedder
This code is the glue between the Flutter engine and the Windows platform.
It is responsible for:
1. Launching the Flutter engine.
2. Providing a view for the Flutter engine to render into.
3. Dispatching events to the Flutter engine.
For more information on embedders, see the
[Flutter ar... | engine/shell/platform/windows/README.md/0 | {
"file_path": "engine/shell/platform/windows/README.md",
"repo_id": "engine",
"token_count": 768
} | 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_WINDOWS_CLIENT_WRAPPER_INCLUDE_FLUTTER_FLUTTER_VIEW_CONTROLLER_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_INCL... | engine/shell/platform/windows/client_wrapper/include/flutter/flutter_view_controller.h/0 | {
"file_path": "engine/shell/platform/windows/client_wrapper/include/flutter/flutter_view_controller.h",
"repo_id": "engine",
"token_count": 960
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_DIRECT_MANIPULATION_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_DIRECT_MANIPULATION_H_
#include "flutter/fml/memory/r... | engine/shell/platform/windows/direct_manipulation.h/0 | {
"file_path": "engine/shell/platform/windows/direct_manipulation.h",
"repo_id": "engine",
"token_count": 1676
} | 369 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_EGL_WINDOW_SURFACE_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_EGL_WINDOW_SURFACE_H_
#include <EGL/egl.h>
#include "... | engine/shell/platform/windows/egl/window_surface.h/0 | {
"file_path": "engine/shell/platform/windows/egl/window_surface.h",
"repo_id": "engine",
"token_count": 560
} | 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/windows/flutter_window.h"
#include <WinUser.h>
#include <dwmapi.h>
#include <chrono>
#include <map>
#include "flutter/f... | engine/shell/platform/windows/flutter_window.cc/0 | {
"file_path": "engine/shell/platform/windows/flutter_window.cc",
"repo_id": "engine",
"token_count": 14233
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_HANDLER_BASE_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_HANDLER_BASE_H_
#include <string>
namespa... | engine/shell/platform/windows/keyboard_handler_base.h/0 | {
"file_path": "engine/shell/platform/windows/keyboard_handler_base.h",
"repo_id": "engine",
"token_count": 603
} | 372 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/windows/platform_handler.h"
#include <windows.h>
#include <cstring>
#include <optional>
#include "flutter/fml/logging.h... | engine/shell/platform/windows/platform_handler.cc/0 | {
"file_path": "engine/shell/platform/windows/platform_handler.cc",
"repo_id": "engine",
"token_count": 6645
} | 373 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <cstring>
#include <cwchar>
#include "flutter/fml/macros.h"
#include "flutter/shell/platform/windows/system_utils.h"
#include "flutter/shell/plat... | engine/shell/platform/windows/system_utils_unittests.cc/0 | {
"file_path": "engine/shell/platform/windows/system_utils_unittests.cc",
"repo_id": "engine",
"token_count": 1455
} | 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_WINDOWS_TESTING_MOCK_TEXT_INPUT_MANAGER_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_TEXT_INPUT_MANAGER_H_
#inclu... | engine/shell/platform/windows/testing/mock_text_input_manager.h/0 | {
"file_path": "engine/shell/platform/windows/testing/mock_text_input_manager.h",
"repo_id": "engine",
"token_count": 470
} | 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.
#include "flutter/shell/platform/windows/testing/windows_test_context.h"
#include "flutter/fml/platform/win/wstring_conversion.h"
namespace flutter {
nam... | engine/shell/platform/windows/testing/windows_test_context.cc/0 | {
"file_path": "engine/shell/platform/windows/testing/windows_test_context.cc",
"repo_id": "engine",
"token_count": 562
} | 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 "windows_lifecycle_manager.h"
#include <TlHelp32.h>
#include <WinUser.h>
#include <Windows.h>
#include <tchar.h>
#include "flutter/shell/platfor... | engine/shell/platform/windows/windows_lifecycle_manager.cc/0 | {
"file_path": "engine/shell/platform/windows/windows_lifecycle_manager.cc",
"repo_id": "engine",
"token_count": 4151
} | 377 |
#!/usr/bin/env python3
#
# Copyright 2013 The Flutter 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 argparse
import os
import re
import shutil
import subprocess
import sys
"""Tool for starting a GDB client and server to debug... | engine/sky/tools/flutter_gdb/0 | {
"file_path": "engine/sky/tools/flutter_gdb",
"repo_id": "engine",
"token_count": 4037
} | 378 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_TESTING_ANDROID_NATIVE_ACTIVITY_NATIVE_ACTIVITY_H_
#define FLUTTER_TESTING_ANDROID_NATIVE_ACTIVITY_NATIVE_ACTIVITY_H_
#include <android/na... | engine/testing/android/native_activity/native_activity.h/0 | {
"file_path": "engine/testing/android/native_activity/native_activity.h",
"repo_id": "engine",
"token_count": 770
} | 379 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
name: android_background_image
publish_to: none
environment:
sdk: '>=3.2.0-0 <4.0.0'
# Do not add any dependencies that require more than what is provided ... | engine/testing/android_background_image/pubspec.yaml/0 | {
"file_path": "engine/testing/android_background_image/pubspec.yaml",
"repo_id": "engine",
"token_count": 250
} | 380 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_TESTING_CANVAS_TEST_H_
#define FLUTTER_TESTING_CANVAS_TEST_H_
#include "flutter/fml/macros.h"
#include "flutter/testing/mock_canvas.h"
#in... | engine/testing/canvas_test.h/0 | {
"file_path": "engine/testing/canvas_test.h",
"repo_id": "engine",
"token_count": 367
} | 381 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: avoid_relative_lib_imports
import 'dart:typed_data';
import 'dart:ui' as ui;
import 'package:litetest/litetest.dart';
import '../../... | engine/testing/dart/gpu_test.dart/0 | {
"file_path": "engine/testing/dart/gpu_test.dart",
"repo_id": "engine",
"token_count": 2493
} | 382 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui';
import 'package:litetest/litetest.dart';
void main() {
test('MaskFilter - NOP blur does not crash', () async {
final PictureRecor... | engine/testing/dart/mask_filter_test.dart/0 | {
"file_path": "engine/testing/dart/mask_filter_test.dart",
"repo_id": "engine",
"token_count": 308
} | 383 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui';
import 'package:litetest/litetest.dart';
typedef StringFunction = String Function();
typedef IntFunction = int Function();
String top(... | engine/testing/dart/plugin_utilities_test.dart/0 | {
"file_path": "engine/testing/dart/plugin_utilities_test.dart",
"repo_id": "engine",
"token_count": 487
} | 384 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_TESTING_DEBUGGER_DETECTION_H_
#define FLUTTER_TESTING_DEBUGGER_DETECTION_H_
#include "flutter/fml/macros.h"
namespace flutter {
namespace... | engine/testing/debugger_detection.h/0 | {
"file_path": "engine/testing/debugger_detection.h",
"repo_id": "engine",
"token_count": 181
} | 385 |
{
"images" : [
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "3x... | engine/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/AppIcon.appiconset/Contents.json/0 | {
"file_path": "engine/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/AppIcon.appiconset/Contents.json",
"repo_id": "engine",
"token_count": 1023
} | 386 |
// Copyright 2013 The Flutter 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 dev.flutter.scenariosui;
import android.content.Intent;
import androidx.annotation.NonNull;
import androidx.test.filters.LargeTest;
import android... | engine/testing/scenario_app/android/app/src/androidTest/java/dev/flutter/scenariosui/SpawnEngineTests.java/0 | {
"file_path": "engine/testing/scenario_app/android/app/src/androidTest/java/dev/flutter/scenariosui/SpawnEngineTests.java",
"repo_id": "engine",
"token_count": 379
} | 387 |
// Copyright 2013 The Flutter 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:typed_data';
/// A screenshot from the Android emulator.
class Screenshot {
Screenshot(this.fil... | engine/testing/scenario_app/bin/utils/screenshot_transformer.dart/0 | {
"file_path": "engine/testing/scenario_app/bin/utils/screenshot_transformer.dart",
"repo_id": "engine",
"token_count": 743
} | 388 |
// Copyright 2019 The Chromium 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_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_APPDELEGATE_H_
#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_APPDELEGATE_H_
#... | engine/testing/scenario_app/ios/Scenarios/Scenarios/AppDelegate.h/0 | {
"file_path": "engine/testing/scenario_app/ios/Scenarios/Scenarios/AppDelegate.h",
"repo_id": "engine",
"token_count": 209
} | 389 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<string>TRUEPREDICATE</string>... | engine/testing/scenario_app/ios/Scenarios/ScenariosShare/Info.plist/0 | {
"file_path": "engine/testing/scenario_app/ios/Scenarios/ScenariosShare/Info.plist",
"repo_id": "engine",
"token_count": 227
} | 390 |
// Copyright 2013 The Flutter 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_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENTESTMANAGER_H_
#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITEST... | engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenTestManager.h/0 | {
"file_path": "engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenTestManager.h",
"repo_id": "engine",
"token_count": 495
} | 391 |
// Copyright 2013 The Flutter 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 'channel_util.dart';
import 'scenario.dart';
/// A blank page that just sends back to the platform what the set initial
/// route is.
class Initial... | engine/testing/scenario_app/lib/src/initial_route_reply.dart/0 | {
"file_path": "engine/testing/scenario_app/lib/src/initial_route_reply.dart",
"repo_id": "engine",
"token_count": 199
} | 392 |
/// Skia Gold errors thrown by intepreting process exits and [stdout]/[stderr].
final class SkiaGoldProcessError extends Error {
/// Creates a new [SkiaGoldProcessError] from the provided origin.
///
/// - [command] is the command that was executed.
/// - [stdout] is the result of the process's standard output.... | engine/testing/skia_gold_client/lib/src/errors.dart/0 | {
"file_path": "engine/testing/skia_gold_client/lib/src/errors.dart",
"repo_id": "engine",
"token_count": 524
} | 393 |
// Copyright 2013 The Flutter 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_TESTING_TEST_TIMEOUT_LISTENER_H_
#define FLUTTER_TESTING_TEST_TIMEOUT_LISTENER_H_
#include <memory>
#include "flutter/fml/macros.h"
#incl... | engine/testing/test_timeout_listener.h/0 | {
"file_path": "engine/testing/test_timeout_listener.h",
"repo_id": "engine",
"token_count": 400
} | 394 |
// Copyright 2019 The Chromium 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 UI_ACCESSIBILITY_AX_CONSTANTS_H_
#define UI_ACCESSIBILITY_AX_CONSTANTS_H_
#include <cstdint>
namespace ax {
namespace mojom {
// https://www.w... | engine/third_party/accessibility/ax/ax_constants.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_constants.h",
"repo_id": "engine",
"token_count": 273
} | 395 |
// Copyright 2013 The Chromium 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 UI_ACCESSIBILITY_AX_NODE_H_
#define UI_ACCESSIBILITY_AX_NODE_H_
#include <cstdint>
#include <memory>
#include <optional>
#include <ostream>
#incl... | engine/third_party/accessibility/ax/ax_node.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_node.h",
"repo_id": "engine",
"token_count": 9226
} | 396 |
// Copyright 2017 The Chromium 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 UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_
#define UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_
#include "ax_base_export.h"
#include "ax_enums.h"
namespac... | engine/third_party/accessibility/ax/ax_role_properties.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_role_properties.h",
"repo_id": "engine",
"token_count": 2478
} | 397 |
// Copyright 2019 The Chromium 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 "ax_platform_node_delegate_utils_win.h"
#include "ax/ax_node_data.h"
#include "ax/ax_role_properties.h"
#include "ax/platform/ax_platform_node.h... | engine/third_party/accessibility/ax/platform/ax_platform_node_delegate_utils_win.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node_delegate_utils_win.cc",
"repo_id": "engine",
"token_count": 402
} | 398 |
//
// Copyright 2015 The Chromium 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 "ax_platform_node_win_unittest.h"
#include <oleacc.h>
#include <wrl/client.h>
#include <memory>
#include "ax_fragment_root_win.h"
#include ... | engine/third_party/accessibility/ax/platform/ax_platform_node_win_unittest.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node_win_unittest.cc",
"repo_id": "engine",
"token_count": 77539
} | 399 |
// Copyright 2020 The Chromium 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 "test_ax_tree_manager.h"
#include "ax_node.h"
#include "ax_tree_data.h"
#include "ax_tree_manager_map.h"
namespace ui {
TestAXTreeManager::Tes... | engine/third_party/accessibility/ax/test_ax_tree_manager.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/test_ax_tree_manager.cc",
"repo_id": "engine",
"token_count": 787
} | 400 |
# `base/numerics`
This directory contains a dependency-free, header-only library of templates
providing well-defined semantics for safely and performantly handling a variety
of numeric operations, including most common arithmetic operations and
conversions.
The public API is broken out into the following header files... | engine/third_party/accessibility/base/numerics/README.md/0 | {
"file_path": "engine/third_party/accessibility/base/numerics/README.md",
"repo_id": "engine",
"token_count": 5463
} | 401 |
// Copyright 2013 The Flutter 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 "simple_token.h"
#include <ostream>
#include <random>
namespace base {
constexpr size_t kRandomTokenLength = 10;
SimpleToken::SimpleToken(cons... | engine/third_party/accessibility/base/simple_token.cc/0 | {
"file_path": "engine/third_party/accessibility/base/simple_token.cc",
"repo_id": "engine",
"token_count": 424
} | 402 |
// Copyright (c) 2010 The Chromium 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 "base/win/scoped_bstr.h"
#include <cstdint>
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
namespace base {
namespa... | engine/third_party/accessibility/base/win/scoped_bstr.cc/0 | {
"file_path": "engine/third_party/accessibility/base/win/scoped_bstr.cc",
"repo_id": "engine",
"token_count": 844
} | 403 |
// Copyright (c) 2012 The Chromium 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 "insets_f.h"
#include "base/string_utils.h"
namespace gfx {
std::string InsetsF::ToString() const {
// Print members in the same order o... | engine/third_party/accessibility/gfx/geometry/insets_f.cc/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/insets_f.cc",
"repo_id": "engine",
"token_count": 143
} | 404 |
// Copyright (c) 2013 The Chromium 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 <cstddef>
#include <limits>
#include "ax_build/build_config.h"
#include "gfx/test/gfx_util.h"
#include "gtest/gtest.h"
#include "rect.h"
#in... | engine/third_party/accessibility/gfx/geometry/rect_unittest.cc/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/rect_unittest.cc",
"repo_id": "engine",
"token_count": 20207
} | 405 |
// Copyright 2014 The Chromium 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 ACCESSIBILITY_GFX_MAC_COORDINATE_CONVERSION_H_
#define ACCESSIBILITY_GFX_MAC_COORDINATE_CONVERSION_H_
#import <Foundation/Foundation.h>
#include... | engine/third_party/accessibility/gfx/mac/coordinate_conversion.h/0 | {
"file_path": "engine/third_party/accessibility/gfx/mac/coordinate_conversion.h",
"repo_id": "engine",
"token_count": 393
} | 406 |
// Copyright 2013 The Flutter 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 TONIC_COMMON_MACROS_H_
#define TONIC_COMMON_MACROS_H_
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include "tonic/common/log.h"
#def... | engine/third_party/tonic/common/macros.h/0 | {
"file_path": "engine/third_party/tonic/common/macros.h",
"repo_id": "engine",
"token_count": 554
} | 407 |
// Copyright 2013 The Flutter 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 LIB_TONIC_DART_MICROTASK_QUEUE_H_
#define LIB_TONIC_DART_MICROTASK_QUEUE_H_
#include <vector>
#include "third_party/dart/runtime/include/dart_api... | engine/third_party/tonic/dart_microtask_queue.h/0 | {
"file_path": "engine/third_party/tonic/dart_microtask_queue.h",
"repo_id": "engine",
"token_count": 339
} | 408 |
// Copyright 2013 The Flutter 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 "tonic/logging/dart_error.h"
#include <atomic>
#include "tonic/common/macros.h"
#include "tonic/converter/dart_converter.h"
namespace tonic {
n... | engine/third_party/tonic/logging/dart_error.cc/0 | {
"file_path": "engine/third_party/tonic/logging/dart_error.cc",
"repo_id": "engine",
"token_count": 868
} | 409 |
// Copyright 2013 The Flutter 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 LIB_TONIC_TYPED_DATA_DART_BYTE_DATA_H_
#define LIB_TONIC_TYPED_DATA_DART_BYTE_DATA_H_
#include <vector>
#include "third_party/dart/runtime/includ... | engine/third_party/tonic/typed_data/dart_byte_data.h/0 | {
"file_path": "engine/third_party/tonic/typed_data/dart_byte_data.h",
"repo_id": "engine",
"token_count": 636
} | 410 |
/*
* Copyright 2019 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | engine/third_party/txt/src/skia/paragraph_skia.cc/0 | {
"file_path": "engine/third_party/txt/src/skia/paragraph_skia.cc",
"repo_id": "engine",
"token_count": 6506
} | 411 |
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.1.0 [10406996] " type="baseline" client="" dependencies="true" name="" variant="all" version="8.1.0 [10406996] ">
<issue
id="HardcodedDebugMode"
message="Avoid hardcoding the debug mode; leaving it out allows debug and release bui... | engine/tools/android_lint/baseline.xml/0 | {
"file_path": "engine/tools/android_lint/baseline.xml",
"repo_id": "engine",
"token_count": 772
} | 412 |
{
"configVersion": 2,
"packages": [
{
"name": "const_finder_fixtures",
"rootUri": "../lib/",
"languageVersion": "2.17"
},
{
"name": "const_finder_fixtures_package",
"rootUri": "../pkg/",
"languageVersion": "2.17"
... | engine/tools/const_finder/test/fixtures/.dart_tool/package_config.json/0 | {
"file_path": "engine/tools/const_finder/test/fixtures/.dart_tool/package_config.json",
"repo_id": "engine",
"token_count": 197
} | 413 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io' show Directory;
import 'dart:math';
import 'package:path/path.dart' as p;
import '../dart_utils.dart';
import '../environment.dart';
imp... | engine/tools/engine_tool/lib/src/commands/lint_command.dart/0 | {
"file_path": "engine/tools/engine_tool/lib/src/commands/lint_command.dart",
"repo_id": "engine",
"token_count": 2474
} | 414 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ffi' as ffi show Abi;
import 'dart:io' as io;
import 'package:engine_build_configs/engine_build_configs.dart';
import 'package:engine_repo_to... | engine/tools/engine_tool/test/format_command_test.dart/0 | {
"file_path": "engine/tools/engine_tool/test/format_command_test.dart",
"repo_id": "engine",
"token_count": 3214
} | 415 |
# Copyright 2013 The Flutter 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")
# Builds the component in a non-product JIT build. This will
# launch the vm service in the runner.
dart_debug_build_cf... | engine/tools/fuchsia/dart/dart_build_config.gni/0 | {
"file_path": "engine/tools/fuchsia/dart/dart_build_config.gni",
"repo_id": "engine",
"token_count": 638
} | 416 |
#!/bin/bash
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
### Starts a new branch from Fuchsia's checkout of the Flutter engine.
### This is necessary to avoid skew between the version of the Dart VM use... | engine/tools/fuchsia/devshell/branch_from_fuchsia.sh/0 | {
"file_path": "engine/tools/fuchsia/devshell/branch_from_fuchsia.sh",
"repo_id": "engine",
"token_count": 368
} | 417 |
# Copyright 2013 The Flutter 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/clang.gni")
fuchsia_sdk_base = "//fuchsia/sdk/$host_os/arch/$target_cpu"
fuchsia_sdk_dist = "$fuchsia_sdk_base/dist"
sysroot_... | engine/tools/fuchsia/fuchsia_libs.gni/0 | {
"file_path": "engine/tools/fuchsia/fuchsia_libs.gni",
"repo_id": "engine",
"token_count": 1405
} | 418 |
// Copyright 2013 The Flutter 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 used to generate the switch statements in the Locale class.
// See: ../lib/ui/window.dart
// When running this script, use the output of t... | engine/tools/gen_locale.dart/0 | {
"file_path": "engine/tools/gen_locale.dart",
"repo_id": "engine",
"token_count": 1078
} | 419 |
# Golden Tests Harvester
A command-line tool that uploads golden images to Skia gold from a directory.
## Usage
This program assumes you've _already run_ a suite of golden tests that produce
a directory of images with a JSON digest named `digests.json`, which is
[documented in `lib/golden_tests_harvester.dart`][lib]... | engine/tools/golden_tests_harvester/README.md/0 | {
"file_path": "engine/tools/golden_tests_harvester/README.md",
"repo_id": "engine",
"token_count": 306
} | 420 |
#!/usr/bin/env python3
#
# Copyright 2013 The Flutter 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 argparse
import os
import subprocess
import sys
ANDROID_SRC_ROOT = 'flutter/shell/platform/android'
SCRIPT_DIR = os.path.dir... | engine/tools/javadoc/gen_javadoc.py/0 | {
"file_path": "engine/tools/javadoc/gen_javadoc.py",
"repo_id": "engine",
"token_count": 1421
} | 421 |
Mozilla Public License
Version 2.0
1. Definitions
1.1. “Contributor”
means each individual or legal entity that creates, contributes to the creation of, or owns Covered Software.
1.2. “Contributor Version”
means the combination of the Contributions of others (if any) used by a Contributor and that particular Contr... | engine/tools/licenses/data/mozilla-2.0/0 | {
"file_path": "engine/tools/licenses/data/mozilla-2.0",
"repo_id": "engine",
"token_count": 3357
} | 422 |
# Copyright 2013 The Flutter 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/version/version.gni")
shared_library("path_ops") {
public_configs = [ "//flutter:config" ]
sources = [
"path_ops.cc",
"p... | engine/tools/path_ops/BUILD.gn/0 | {
"file_path": "engine/tools/path_ops/BUILD.gn",
"repo_id": "engine",
"token_count": 160
} | 423 |
// Copyright 2013 The Flutter 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_VULKAN_SWIFTSHADER_PATH_H_
#define FLUTTER_VULKAN_SWIFTSHADER_PATH_H_
#ifndef VULKAN_SO_PATH
#if FML_OS_MACOSX
#define VULKAN_SO_PATH "lib... | engine/vulkan/swiftshader_path.h/0 | {
"file_path": "engine/vulkan/swiftshader_path.h",
"repo_id": "engine",
"token_count": 253
} | 424 |
// Copyright 2013 The Flutter 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_VULKAN_VULKAN_NATIVE_SURFACE_ANDROID_H_
#define FLUTTER_VULKAN_VULKAN_NATIVE_SURFACE_ANDROID_H_
#include "flutter/fml/macros.h"
#include "... | engine/vulkan/vulkan_native_surface_android.h/0 | {
"file_path": "engine/vulkan/vulkan_native_surface_android.h",
"repo_id": "engine",
"token_count": 411
} | 425 |
{
"comment:0": "NOTE: THIS FILE IS GENERATED. DO NOT EDIT.",
"comment:1": "Instead modify 'flutter/web_sdk/libraries.yaml' and follow the instructions therein.",
"dartdevc": {
"include": [
{
"path": "../dart-sdk/lib/libraries.json",
"target": "dartdevc"
}
],
"libraries": {
... | engine/web_sdk/libraries.json/0 | {
"file_path": "engine/web_sdk/libraries.json",
"repo_id": "engine",
"token_count": 1323
} | 426 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:image/image.dart';
import 'package:path/path.dart' as p;
import 'package:skia_gold_client/skia_gold_client.dart';
/// C... | engine/web_sdk/web_test_utils/lib/image_compare.dart/0 | {
"file_path": "engine/web_sdk/web_test_utils/lib/image_compare.dart",
"repo_id": "engine",
"token_count": 933
} | 427 |
<component name="libraryTable">
<library name="org.mockito:mockito-core:2.2.2" type="repository">
<properties maven-id="org.mockito:mockito-core:2.2.2" />
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/mockito/mockito-core/2.2.2/mockito-core-2.2.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/n... | flutter-intellij/.idea/libraries/org_mockito_mockito_core_2_2_2.xml/0 | {
"file_path": "flutter-intellij/.idea/libraries/org_mockito_mockito_core_2_2_2.xml",
"repo_id": "flutter-intellij",
"token_count": 328
} | 428 |
include: package:lints/recommended.yaml
analyzer:
exclude:
- 'out/**'
- 'tool/icon_generator/**'
language:
strict-casts: true
linter:
rules:
- directives_ordering
- unawaited_futures
| flutter-intellij/analysis_options.yaml/0 | {
"file_path": "flutter-intellij/analysis_options.yaml",
"repo_id": "flutter-intellij",
"token_count": 86
} | 429 |
/*
* Copyright 2019 The Chromium 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.tests.gui
import com.intellij.openapi.diagnostic.Logger
import com.intellij.testGuiFramework.framework.RunWithIde
import com.in... | flutter-intellij/flutter-gui-tests/testSrc/io/flutter/tests/gui/SmokeTest.kt/0 | {
"file_path": "flutter-intellij/flutter-gui-tests/testSrc/io/flutter/tests/gui/SmokeTest.kt",
"repo_id": "flutter-intellij",
"token_count": 469
} | 430 |
/*
* Copyright 2016 The Chromium 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;
import com.intellij.notification.Notification;
import com.intellij.notification.NotificationListener;
import com.intellij.notif... | flutter-intellij/flutter-idea/src/io/flutter/FlutterMessages.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/FlutterMessages.java",
"repo_id": "flutter-intellij",
"token_count": 971
} | 431 |
/*
* Copyright 2020 The Chromium 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.analytics;
import com.intellij.openapi.components.Service;
import com.intellij.openapi.project.Project;
import org.jetbrains.ann... | flutter-intellij/flutter-idea/src/io/flutter/analytics/TimeTracker.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/analytics/TimeTracker.java",
"repo_id": "flutter-intellij",
"token_count": 298
} | 432 |
/*
* Copyright 2021 The Chromium 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.dart;
import com.intellij.psi.PsiElement;
import com.jetbrains.lang.dart.DartTokenTypes;
import com.jetbrains.lang.dart.psi.Dart... | flutter-intellij/flutter-idea/src/io/flutter/dart/DartPsiUtil.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/dart/DartPsiUtil.java",
"repo_id": "flutter-intellij",
"token_count": 1349
} | 433 |
/*
* Copyright 2021 The Chromium 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.editor;
import com.intellij.openapi.command.CommandProcessor;
import com.intellij.openapi.editor.Document;
import com.intellij.o... | flutter-intellij/flutter-idea/src/io/flutter/editor/FlutterColorProvider.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/FlutterColorProvider.java",
"repo_id": "flutter-intellij",
"token_count": 4900
} | 434 |
/*
* Copyright 2019 The Chromium 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.editor;
/**
* A line range describing the extent of and indent guide.
*/
public class LineRange {
LineRange(int startLine, i... | flutter-intellij/flutter-idea/src/io/flutter/editor/LineRange.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/LineRange.java",
"repo_id": "flutter-intellij",
"token_count": 135
} | 435 |
/*
* Copyright 2021 The Chromium 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.font;
import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer;
import com.intellij.openapi.application.Application;
import com... | flutter-intellij/flutter-idea/src/io/flutter/font/FontPreviewProcessor.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/font/FontPreviewProcessor.java",
"repo_id": "flutter-intellij",
"token_count": 8444
} | 436 |
/*
* Copyright 2017 The Chromium 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.inspector;
import java.util.Objects;
/**
* Reference to a Dart object.
* <p>
* This class is similar to the Observatory prot... | flutter-intellij/flutter-idea/src/io/flutter/inspector/InspectorInstanceRef.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspector/InspectorInstanceRef.java",
"repo_id": "flutter-intellij",
"token_count": 356
} | 437 |
package io.flutter.jxbrowser;
public enum FailureType {
SYSTEM_INCOMPATIBLE,
FILE_DOWNLOAD_FAILED,
MISSING_KEY,
DIRECTORY_CREATION_FAILED,
MISSING_PLATFORM_FILES,
CLASS_LOAD_FAILED,
CLASS_NOT_FOUND,
}
| flutter-intellij/flutter-idea/src/io/flutter/jxbrowser/FailureType.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/jxbrowser/FailureType.java",
"repo_id": "flutter-intellij",
"token_count": 105
} | 438 |
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="io.flutter.module.settings.ProjectType">
<grid id="27dc6" binding="projectTypePanel" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-verti... | flutter-intellij/flutter-idea/src/io/flutter/module/settings/ProjectType.form/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/module/settings/ProjectType.form",
"repo_id": "flutter-intellij",
"token_count": 682
} | 439 |
/*
* Copyright 2018 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE path.
*/
package io.flutter.perf;
import com.google.common.base.Objects;
import com.intellij.openapi.util.TextRange;
import com.intellij.openapi.vfs.LocalFi... | flutter-intellij/flutter-idea/src/io/flutter/perf/Location.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/Location.java",
"repo_id": "flutter-intellij",
"token_count": 633
} | 440 |
/*
* Copyright 2019 The Chromium 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.performance;
import com.intellij.execution.runners.ExecutionUtil;
import com.intellij.icons.AllIcons;
import com.intellij.ide.br... | flutter-intellij/flutter-idea/src/io/flutter/performance/FlutterPerformanceView.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/performance/FlutterPerformanceView.java",
"repo_id": "flutter-intellij",
"token_count": 4435
} | 441 |
/*
* Copyright 2019 The Chromium 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.preview;
import com.google.common.util.concurrent.Uninterruptibles;
import com.intellij.ide.DataManager;
import com.intellij.ope... | flutter-intellij/flutter-idea/src/io/flutter/preview/WidgetEditToolbar.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/preview/WidgetEditToolbar.java",
"repo_id": "flutter-intellij",
"token_count": 5137
} | 442 |
/*
* Copyright 2017 The Chromium 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.run;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.actionSystem.ActionPlaces;
import com.intellij.openapi.acti... | flutter-intellij/flutter-idea/src/io/flutter/run/FlutterPopFrameAction.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/FlutterPopFrameAction.java",
"repo_id": "flutter-intellij",
"token_count": 826
} | 443 |
/*
* Copyright 2017 The Chromium 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.run.bazel;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.configurations.CommandLineTokenizer;
... | flutter-intellij/flutter-idea/src/io/flutter/run/bazel/BazelFields.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/bazel/BazelFields.java",
"repo_id": "flutter-intellij",
"token_count": 4686
} | 444 |
/*
* Copyright 2018 The Chromium 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.run.bazelTest;
import com.intellij.execution.configurations.ConfigurationFactory;
import com.intellij.execution.configurations.C... | flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/FlutterBazelTestConfigurationType.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/FlutterBazelTestConfigurationType.java",
"repo_id": "flutter-intellij",
"token_count": 1296
} | 445 |
/*
* Copyright 2017 The Chromium 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.run.daemon;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import com.goo... | flutter-intellij/flutter-idea/src/io/flutter/run/daemon/DaemonEvent.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/daemon/DaemonEvent.java",
"repo_id": "flutter-intellij",
"token_count": 2996
} | 446 |
/*
* Copyright 2017 The Chromium 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.run.test;
import com.intellij.psi.PsiElement;
import com.jetbrains.lang.dart.psi.DartFile;
import io.flutter.FlutterUtils;
impor... | flutter-intellij/flutter-idea/src/io/flutter/run/test/TestConfigUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/test/TestConfigUtils.java",
"repo_id": "flutter-intellij",
"token_count": 351
} | 447 |
/*
* Copyright 2017 The Chromium 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.sdk;
import com.intellij.openapi.roots.libraries.LibraryProperties;
import com.intellij.util.xmlb.XmlSerializerUtil;
import com.... | flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterPluginLibraryProperties.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterPluginLibraryProperties.java",
"repo_id": "flutter-intellij",
"token_count": 362
} | 448 |
/*
* Copyright 2020 The Chromium 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.survey;
import com.google.gson.JsonObject;
import com.google.gson.JsonSyntaxException;
import com.intellij.ide.util.PropertiesCo... | flutter-intellij/flutter-idea/src/io/flutter/survey/FlutterSurveyService.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/survey/FlutterSurveyService.java",
"repo_id": "flutter-intellij",
"token_count": 865
} | 449 |
/*
* Copyright 2017 The Chromium 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.utils;
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.... | flutter-intellij/flutter-idea/src/io/flutter/utils/FileWatch.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/FileWatch.java",
"repo_id": "flutter-intellij",
"token_count": 2906
} | 450 |
package io.flutter.utils;
import com.intellij.ide.util.PropertiesComponent;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.wm.ToolWindow;
import com.intellij.openapi.wm.ToolWindowManager;
import com.intellij.openapi.wm.ex.ToolWindowManagerListener;
import org.jetbrains.annotations.NotNull;
/... | flutter-intellij/flutter-idea/src/io/flutter/utils/ViewListener.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/ViewListener.java",
"repo_id": "flutter-intellij",
"token_count": 381
} | 451 |
/*
* Copyright 2018 The Chromium 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 com.google.gson.JsonObject;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.TextRange;
impo... | flutter-intellij/flutter-idea/src/io/flutter/view/DiagnosticsTreeCellRenderer.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/DiagnosticsTreeCellRenderer.java",
"repo_id": "flutter-intellij",
"token_count": 4274
} | 452 |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | flutter-intellij/flutter-idea/src/io/flutter/view/InspectorTreeUI.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/InspectorTreeUI.java",
"repo_id": "flutter-intellij",
"token_count": 9432
} | 453 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.