text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// 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.
#include "ax_node_position.h"
#include "ax_build/build_config.h"
#include "ax_enums.h"
#include "ax_node_data.h"
#include "ax_tree_manager.h"
#include "a... | engine/third_party/accessibility/ax/ax_node_position.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_node_position.cc",
"repo_id": "engine",
"token_count": 4778
} | 412 |
// 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.
#include "ax_table_info.h"
#include "gtest/gtest.h"
#include "ax_enums.h"
#include "ax_node.h"
#include "ax_tree.h"
namespace ui {
namespace {
void M... | engine/third_party/accessibility/ax/ax_table_info_unittest.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_table_info_unittest.cc",
"repo_id": "engine",
"token_count": 19483
} | 413 |
// 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_PLATFORM_AX_FRAGMENT_ROOT_DELEGATE_WIN_H_
#define UI_ACCESSIBILITY_PLATFORM_AX_FRAGMENT_ROOT_DELEGATE_WIN_H_
#include "flutter/t... | engine/third_party/accessibility/ax/platform/ax_fragment_root_delegate_win.h/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_fragment_root_delegate_win.h",
"repo_id": "engine",
"token_count": 459
} | 414 |
// 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.
#ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_MAC_UNITTEST_H_
#define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_MAC_UNITTEST_H_
#include "ax_platfo... | engine/third_party/accessibility/ax/platform/ax_platform_node_mac_unittest.h/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node_mac_unittest.h",
"repo_id": "engine",
"token_count": 286
} | 415 |
// 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_PLATFORM_AX_PLATFORM_TREE_MANAGER_H_
#define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_TREE_MANAGER_H_
#include "ax/ax_export.h"
#in... | engine/third_party/accessibility/ax/platform/ax_platform_tree_manager.h/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_platform_tree_manager.h",
"repo_id": "engine",
"token_count": 422
} | 416 |
# Copyright 2013 The Flutter 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/build/dart/dart.gni")
import("//flutter/common/config.gni")
source_set("base") {
visibility = [ "//flutter/third_party/accessibility/*" ]... | engine/third_party/accessibility/base/BUILD.gn/0 | {
"file_path": "engine/third_party/accessibility/base/BUILD.gn",
"repo_id": "engine",
"token_count": 675
} | 417 |
// 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 BASE_NUMERICS_CLAMPED_MATH_IMPL_H_
#define BASE_NUMERICS_CLAMPED_MATH_IMPL_H_
#include <climits>
#include <cmath>
#include <cstddef>
#include <cs... | engine/third_party/accessibility/base/numerics/clamped_math_impl.h/0 | {
"file_path": "engine/third_party/accessibility/base/numerics/clamped_math_impl.h",
"repo_id": "engine",
"token_count": 5936
} | 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.
#include "string_utils.h"
#include <cerrno>
#include <cstddef>
#include <string>
#include "base/logging.h"
#include "gtest/gtest.h"
namespace base {
TE... | engine/third_party/accessibility/base/string_utils_unittest.cc/0 | {
"file_path": "engine/third_party/accessibility/base/string_utils_unittest.cc",
"repo_id": "engine",
"token_count": 1335
} | 419 |
// 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 "base/win/scoped_safearray.h"
#include "base/test/gtest_util.h"
#include <array>
#include <cstddef>
#include <vector>
#include "gtest/gtest.h"
... | engine/third_party/accessibility/base/win/scoped_safearray_unittest.cc/0 | {
"file_path": "engine/third_party/accessibility/base/win/scoped_safearray_unittest.cc",
"repo_id": "engine",
"token_count": 3641
} | 420 |
// 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.
#ifndef UI_GFX_GEOMETRY_POINT_H_
#define UI_GFX_GEOMETRY_POINT_H_
#include <iosfwd>
#include <string>
#include <tuple>
#include "ax_build/build_conf... | engine/third_party/accessibility/gfx/geometry/point.h/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/point.h",
"repo_id": "engine",
"token_count": 1513
} | 421 |
// 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.
#ifndef UI_GFX_GEOMETRY_SIZE_CONVERSIONS_H_
#define UI_GFX_GEOMETRY_SIZE_CONVERSIONS_H_
#include "size.h"
#include "size_f.h"
namespace gfx {
// Re... | engine/third_party/accessibility/gfx/geometry/size_conversions.h/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/size_conversions.h",
"repo_id": "engine",
"token_count": 252
} | 422 |
// 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 "range.h"
#include <algorithm>
#include <cinttypes>
#include "base/string_utils.h"
namespace gfx {
std::string Range::ToString() const {
... | engine/third_party/accessibility/gfx/range/range.cc/0 | {
"file_path": "engine/third_party/accessibility/gfx/range/range.cc",
"repo_id": "engine",
"token_count": 174
} | 423 |
//
// Copyright (c) Meta Platforms, Inc. and affiliates.
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
//
// @flow
// @format
//
#import "spring_animation.h"
#include <Foundation/Foundation.h>
@interface SpringAnimation ()
@property(... | engine/third_party/spring_animation/spring_animation.mm/0 | {
"file_path": "engine/third_party/spring_animation/spring_animation.mm",
"repo_id": "engine",
"token_count": 828
} | 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 LIB_TONIC_DART_BINDING_MACROS_H_
#define LIB_TONIC_DART_BINDING_MACROS_H_
#include "tonic/dart_args.h"
#define DART_NATIVE_NO_UI_CHECK_CALLBACK(C... | engine/third_party/tonic/dart_binding_macros.h/0 | {
"file_path": "engine/third_party/tonic/dart_binding_macros.h",
"repo_id": "engine",
"token_count": 850
} | 425 |
// Copyright 2013 The Flutter 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_STATE_H_
#define LIB_TONIC_DART_STATE_H_
#include <atomic>
#include <functional>
#include <memory>
#include "third_party/dart/runt... | engine/third_party/tonic/dart_state.h/0 | {
"file_path": "engine/third_party/tonic/dart_state.h",
"repo_id": "engine",
"token_count": 1138
} | 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.
#ifndef FILESYSTEM_FILE_H_
#define FILESYSTEM_FILE_H_
#include <string>
#include <vector>
#include "tonic/filesystem/filesystem/eintr_wrapper.h"
#include... | engine/third_party/tonic/filesystem/filesystem/file.h/0 | {
"file_path": "engine/third_party/tonic/filesystem/filesystem/file.h",
"repo_id": "engine",
"token_count": 502
} | 427 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Spec: https://github.com/lrhn/dep-pkgspec/blob/master/DEP-pkgspec.md
#include "tonic/parsers/packages_map.h"
#include <memory>
namespace tonic {
name... | engine/third_party/tonic/parsers/packages_map.cc/0 | {
"file_path": "engine/third_party/tonic/parsers/packages_map.cc",
"repo_id": "engine",
"token_count": 812
} | 428 |
// Copyright 2013 The Flutter 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/typed_data/typed_list.h"
#include <cstring>
#include "tonic/logging/dart_error.h"
namespace tonic {
template <Dart_TypedData_Type kType... | engine/third_party/tonic/typed_data/typed_list.cc/0 | {
"file_path": "engine/third_party/tonic/typed_data/typed_list.cc",
"repo_id": "engine",
"token_count": 1352
} | 429 |
/*
* Copyright 2018 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/txt/font_asset_provider.cc/0 | {
"file_path": "engine/third_party/txt/src/txt/font_asset_provider.cc",
"repo_id": "engine",
"token_count": 338
} | 430 |
// Copyright 2013 The Flutter 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 "txt/platform.h"
#if defined(SK_FONTMGR_FREETYPE_EMPTY_AVAILABLE)
#include "third_party/skia/include/ports/SkFontMgr_empty.h"
#endif
namespace t... | engine/third_party/txt/src/txt/platform.cc/0 | {
"file_path": "engine/third_party/txt/src/txt/platform.cc",
"repo_id": "engine",
"token_count": 266
} | 431 |
/*
* Copyright 2017 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 t... | engine/third_party/txt/src/txt/text_style.cc/0 | {
"file_path": "engine/third_party/txt/src/txt/text_style.cc",
"repo_id": "engine",
"token_count": 785
} | 432 |
## Usage ##
To generate code for line/word break properties, follow these steps:
### 1. **<u>Download the unicode files:</u>**
The properties files can be found on the unicode.org website, for example [LineBreak.txt](https://www.unicode.org/Public/13.0.0/ucd/LineBreak.txt) and [WordBreakProperty.txt](https://www.uni... | engine/third_party/web_unicode/README.md/0 | {
"file_path": "engine/third_party/web_unicode/README.md",
"repo_id": "engine",
"token_count": 334
} | 433 |
#!/bin/bash
# This script requires depot_tools to be on path.
print_usage () {
echo "Usage:"
echo " ./create_cipd_packages.sh <VERSION_TAG> [PATH_TO_SDK_DIR]"
echo " Downloads, packages, and uploads Android SDK packages where:"
echo " - VERSION_TAG is the tag of the cipd packages, e.g. 28r6 or 31v1. ... | engine/tools/android_sdk/create_cipd_packages.sh/0 | {
"file_path": "engine/tools/android_sdk/create_cipd_packages.sh",
"repo_id": "engine",
"token_count": 2047
} | 434 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// To use, run:
// $ gradle updateDependencies
//
// This script downloads the embedding dependencies into a lib/ directory,
// extract jar files from AA... | engine/tools/cipd/android_embedding_bundle/build.gradle/0 | {
"file_path": "engine/tools/cipd/android_embedding_bundle/build.gradle",
"repo_id": "engine",
"token_count": 1053
} | 435 |
# Compare Goldens
This is a script that will let you check golden image diffs locally.
The directories are scanned for png files that match in name, then the diff
is written to `diff_<name of file>` in the CWD. This allows you to get
results quicker than having to upload to skia gold. By default it uses fuzzy
RMSE t... | engine/tools/compare_goldens/README.md/0 | {
"file_path": "engine/tools/compare_goldens/README.md",
"repo_id": "engine",
"token_count": 305
} | 436 |
// Copyright 2013 The Flutter 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: prefer_const_constructors, unused_local_variable, depend_on_referenced_packages
import 'dart:core';
import 'package:const_finder_fixtu... | engine/tools/const_finder/test/fixtures/lib/consts_and_non.dart/0 | {
"file_path": "engine/tools/const_finder/test/fixtures/lib/consts_and_non.dart",
"repo_id": "engine",
"token_count": 399
} | 437 |
#!/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.
# The return code of this script will always be 0, even if there is an error,
# unless the --fail-loudly flag is passed.
import argpar... | engine/tools/download_fuchsia_sdk.py/0 | {
"file_path": "engine/tools/download_fuchsia_sdk.py",
"repo_id": "engine",
"token_count": 1713
} | 438 |
// Copyright 2013 The Flutter 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' as io;
import 'package:process_runner/process_runner.dart';
import 'environment.dart';
import 'logger.dart';
/// Update Flutter engine ... | engine/tools/engine_tool/lib/src/dependencies.dart/0 | {
"file_path": "engine/tools/engine_tool/lib/src/dependencies.dart",
"repo_id": "engine",
"token_count": 515
} | 439 |
// Copyright 2013 The Flutter 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' as convert;
import 'dart:ffi' as ffi show Abi;
import 'dart:io' as io;
import 'package:engine_build_configs/engine_build_configs.dar... | engine/tools/engine_tool/test/query_command_test.dart/0 | {
"file_path": "engine/tools/engine_tool/test/query_command_test.dart",
"repo_id": "engine",
"token_count": 1867
} | 440 |
// Copyright 2013 The Flutter 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 <hb-subset.h>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <limits>
#include <set>
#include <string>
#include "hb_wrappers... | engine/tools/font_subset/main.cc/0 | {
"file_path": "engine/tools/font_subset/main.cc",
"repo_id": "engine",
"token_count": 3125
} | 441 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/tools/fuchsia/dart/dart_library.gni")
import("//flutter/tools/fuchsia/dart/dart_package_config.gni")
import("//flutter/tools/fuchsia/dart/to... | engine/tools/fuchsia/dart/dart_tool.gni/0 | {
"file_path": "engine/tools/fuchsia/dart/dart_tool.gni",
"repo_id": "engine",
"token_count": 1171
} | 442 |
#!/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.
### Runs a Fuchsia integration test from shell/platform/fuchsia/flutter/tests/integration.
###
### Usage:
### $ENGINE_DIR/flutter/tools/fuchsia/... | engine/tools/fuchsia/devshell/run_integration_test.sh/0 | {
"file_path": "engine/tools/fuchsia/devshell/run_integration_test.sh",
"repo_id": "engine",
"token_count": 2824
} | 443 |
#!/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.
""" Interpolates test suite information into a cml file.
"""
from argparse import ArgumentParser
import sys
def main():
# Parse ... | engine/tools/fuchsia/interpolate_test_suite.py/0 | {
"file_path": "engine/tools/fuchsia/interpolate_test_suite.py",
"repo_id": "engine",
"token_count": 260
} | 444 |
//---------------------------------------------------------------------------------------------
// Copyright (c) 2022 Google LLC
// Licensed under the MIT License. See License.txt in the project root for license information.
//-------------------------------------------------------------------------------------------... | engine/tools/gen_web_locale_keymap/data/key_mappings.dart.tmpl/0 | {
"file_path": "engine/tools/gen_web_locale_keymap/data/key_mappings.dart.tmpl",
"repo_id": "engine",
"token_count": 532
} | 445 |
// Copyright 2013 The Flutter 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' as convert;
/// A Dart representation of a `digest.json` file.
///
/// A single file is typically used to represent the results of a... | engine/tools/golden_tests_harvester/lib/src/digests_json_format.dart/0 | {
"file_path": "engine/tools/golden_tests_harvester/lib/src/digests_json_format.dart",
"repo_id": "engine",
"token_count": 1324
} | 446 |
This directory contains canonical text files representing licenses
that are often referenced (by name or URL), so that the license script
doesn't need to actively go out to the network to find the license
files.
The mapping of URL to these files is in ../lib/license.dart in the
License.fromUrl constructor.
| engine/tools/licenses/data/README/0 | {
"file_path": "engine/tools/licenses/data/README",
"repo_id": "engine",
"token_count": 71
} | 447 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
Map<Key, dynamic> _cache = <Key, dynamic>{};
const int _maxSize = 10;
T cache<T>(Key key, T Function() getter) {
T result;
if (_cache[key] != null) {
... | engine/tools/licenses/lib/cache.dart/0 | {
"file_path": "engine/tools/licenses/lib/cache.dart",
"repo_id": "engine",
"token_count": 369
} | 448 |
// Copyright 2013 The Flutter 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:litetest/litetest.dart';
import 'package:path_ops/path_ops.dart';
void main() {
test('Path tests', () {
final Path path = Path()
... | engine/tools/path_ops/dart/test/path_ops_test.dart/0 | {
"file_path": "engine/tools/path_ops/dart/test/path_ops_test.dart",
"repo_id": "engine",
"token_count": 1966
} | 449 |
// Copyright 2013 The Flutter 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' as io;
import 'package:engine_build_configs/src/ci_yaml.dart';
import 'package:engine_repo_tools/engine_repo_tools.dart';
import 'package... | engine/tools/pkg/engine_build_configs/test/ci_yaml_test.dart/0 | {
"file_path": "engine/tools/pkg/engine_build_configs/test/ci_yaml_test.dart",
"repo_id": "engine",
"token_count": 1910
} | 450 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// FLUTTER_NOLINT: https://github.com/flutter/flutter/issues/105732
#include <filesystem>
#include <string>
#include <string_view>
#include "flutter/fml/... | engine/tools/templater/templater_main.cc/0 | {
"file_path": "engine/tools/templater/templater_main.cc",
"repo_id": "engine",
"token_count": 863
} | 451 |
// Copyright 2013 The Flutter 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_BACKBUFFER_H_
#define FLUTTER_VULKAN_VULKAN_BACKBUFFER_H_
#include <array>
#include "flutter/fml/compiler_specific.h"
#incl... | engine/vulkan/vulkan_backbuffer.h/0 | {
"file_path": "engine/vulkan/vulkan_backbuffer.h",
"repo_id": "engine",
"token_count": 617
} | 452 |
// Copyright 2013 The Flutter 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_SKIA_PROC_TABLE_H_
#define FLUTTER_VULKAN_VULKAN_SKIA_PROC_TABLE_H_
#include "flutter/vulkan/procs/vulkan_proc_table.h"
#in... | engine/vulkan/vulkan_skia_proc_table.h/0 | {
"file_path": "engine/vulkan/vulkan_skia_proc_table.h",
"repo_id": "engine",
"token_count": 229
} | 453 |
// Copyright 2013 The Flutter 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_print
import 'dart:io';
import 'package:analyzer/dart/analysis/features.dart';
import 'package:analyzer/dart/analysis/results.d... | engine/web_sdk/test/api_conform_test.dart/0 | {
"file_path": "engine/web_sdk/test/api_conform_test.dart",
"repo_id": "engine",
"token_count": 6070
} | 454 |
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<option name="OTHER_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="8" />
</value>
... | flutter-intellij/.idea/codeStyles/Project.xml/0 | {
"file_path": "flutter-intellij/.idea/codeStyles/Project.xml",
"repo_id": "flutter-intellij",
"token_count": 10456
} | 455 |
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="flutter-intellij [plugin-test]" type="DartCommandLineRunConfigurationType" factoryName="Dart Command Line Application">
<option name="arguments" value="test" />
<option name="filePath" value="$PROJECT_DIR$/tool/plugin/bin/m... | flutter-intellij/.idea/runConfigurations/flutter_intellij__plugin_test_.xml/0 | {
"file_path": "flutter-intellij/.idea/runConfigurations/flutter_intellij__plugin_test_.xml",
"repo_id": "flutter-intellij",
"token_count": 140
} | 456 |
## The plugin tool
Building is done by the `plugin` tool. See [tool/plugin/README.md](../tool/plugin/README.md) for details.
## Releasing the plugin
Update the [product-matrix.json](../product-matrix.json):
- IntelliJ IDEA versions can be found here: https://www.jetbrains.com/idea/download/other.html
- Version num... | flutter-intellij/docs/building.md/0 | {
"file_path": "flutter-intellij/docs/building.md",
"repo_id": "flutter-intellij",
"token_count": 1053
} | 457 |
/*
* 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.fixtures
import com.intellij.execution.impl.ConsoleViewImpl
import com.intellij.openapi.project.Project
import com.in... | flutter-intellij/flutter-gui-tests/testSrc/io/flutter/tests/gui/fixtures/FlutterMessagesToolWindowFixture.kt/0 | {
"file_path": "flutter-intellij/flutter-gui-tests/testSrc/io/flutter/tests/gui/fixtures/FlutterMessagesToolWindowFixture.kt",
"repo_id": "flutter-intellij",
"token_count": 901
} | 458 |
/*
* 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;
import com.intellij.framework.FrameworkType;
import com.intellij.framework.detection.DetectionExcludesConfiguration;
import com... | flutter-intellij/flutter-idea/src/io/flutter/ProjectOpenActivity.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/ProjectOpenActivity.java",
"repo_id": "flutter-intellij",
"token_count": 2150
} | 459 |
/*
* 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.actions;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.project.DumbAwareAction;
import com.intellij.op... | flutter-intellij/flutter-idea/src/io/flutter/actions/FlutterRetargetAppAction.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/actions/FlutterRetargetAppAction.java",
"repo_id": "flutter-intellij",
"token_count": 869
} | 460 |
/*
* 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.android;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.openapi.project.Project;
import org.jetb... | flutter-intellij/flutter-idea/src/io/flutter/android/GradleSyncProvider.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/android/GradleSyncProvider.java",
"repo_id": "flutter-intellij",
"token_count": 157
} | 461 |
/*
* 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.dart;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google... | flutter-intellij/flutter-idea/src/io/flutter/dart/FlutterRequestUtilities.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/dart/FlutterRequestUtilities.java",
"repo_id": "flutter-intellij",
"token_count": 1861
} | 462 |
/*
* 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;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.ui.popu... | flutter-intellij/flutter-idea/src/io/flutter/editor/PreviewViewControllerBase.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/PreviewViewControllerBase.java",
"repo_id": "flutter-intellij",
"token_count": 8551
} | 463 |
/*
* 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.inspections;
import com.intellij.ide.plugins.PluginManagerConfigurable;
import com.intellij.openapi.fileEditor.FileEditor;
impor... | flutter-intellij/flutter-idea/src/io/flutter/inspections/IncompatibleDartPluginNotificationProvider.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspections/IncompatibleDartPluginNotificationProvider.java",
"repo_id": "flutter-intellij",
"token_count": 1438
} | 464 |
/*
* 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.inspector;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.actionSystem.DataKey;
import com.intellij.openapi... | flutter-intellij/flutter-idea/src/io/flutter/inspector/InspectorTree.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspector/InspectorTree.java",
"repo_id": "flutter-intellij",
"token_count": 1615
} | 465 |
/*
* 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.logging;
import com.intellij.execution.ConsoleFolding;
import com.intellij.openapi.project.Project;
import org.jetbrains.annotat... | flutter-intellij/flutter-idea/src/io/flutter/logging/FlutterConsoleLogFolding.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/logging/FlutterConsoleLogFolding.java",
"repo_id": "flutter-intellij",
"token_count": 280
} | 466 |
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="io.flutter.module.settings.SettingsHelpForm">
<grid id="27dc6" binding="mainPanel" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertica... | flutter-intellij/flutter-idea/src/io/flutter/module/settings/SettingsHelpForm.form/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/module/settings/SettingsHelpForm.form",
"repo_id": "flutter-intellij",
"token_count": 3047
} | 467 |
/*
* 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.perf;
import com.google.gson.JsonArray;
import java.util.ArrayList;
import java.util.List;
public class PerfSourceReport {
p... | flutter-intellij/flutter-idea/src/io/flutter/perf/PerfSourceReport.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/PerfSourceReport.java",
"repo_id": "flutter-intellij",
"token_count": 433
} | 468 |
/*
* 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.openapi.Disposable;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.... | flutter-intellij/flutter-idea/src/io/flutter/performance/PerfMemoryPanel.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/performance/PerfMemoryPanel.java",
"repo_id": "flutter-intellij",
"token_count": 546
} | 469 |
/*
* 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.project;
import com.intellij.ProjectTopics;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.P... | flutter-intellij/flutter-idea/src/io/flutter/project/ProjectWatch.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/project/ProjectWatch.java",
"repo_id": "flutter-intellij",
"token_count": 867
} | 470 |
/*
* 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.run;
import com.intellij.execution.configurations.ConfigurationFactory;
import com.intellij.execution.configurations.Configurati... | flutter-intellij/flutter-idea/src/io/flutter/run/FlutterRunConfigurationType.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/FlutterRunConfigurationType.java",
"repo_id": "flutter-intellij",
"token_count": 898
} | 471 |
/*
* 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.run.bazel;
import com.intellij.openapi.fileChooser.FileChooserDescriptor;
import com.intellij.openapi.fileChooser.FileChooserDes... | flutter-intellij/flutter-idea/src/io/flutter/run/bazel/FlutterBazelConfigurationEditorForm.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/bazel/FlutterBazelConfigurationEditorForm.java",
"repo_id": "flutter-intellij",
"token_count": 825
} | 472 |
/*
* 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.run.common;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.executors.DefaultDebugExecutor;
impo... | flutter-intellij/flutter-idea/src/io/flutter/run/common/RunMode.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/common/RunMode.java",
"repo_id": "flutter-intellij",
"token_count": 656
} | 473 |
/*
* 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.common.collect.ImmutableList;
import io.flutter.run.FlutterDevice;
import org.jetbrains.annotation... | flutter-intellij/flutter-idea/src/io/flutter/run/daemon/DeviceSelection.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/daemon/DeviceSelection.java",
"repo_id": "flutter-intellij",
"token_count": 664
} | 474 |
/*
* 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.openapi.fileChooser.FileChooserDescriptorFactory;
import com.intellij.openapi.options.Configuratio... | flutter-intellij/flutter-idea/src/io/flutter/run/test/TestForm.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/test/TestForm.java",
"repo_id": "flutter-intellij",
"token_count": 1975
} | 475 |
/*
* 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.sdk;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
@NonNls
public class FlutterSdkChannel ... | flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterSdkChannel.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterSdkChannel.java",
"repo_id": "flutter-intellij",
"token_count": 637
} | 476 |
/*
* 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.toolwindow;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.wm.ToolWindow;
import com.intellij.openapi.... | flutter-intellij/flutter-idea/src/io/flutter/toolwindow/FlutterViewToolWindowManagerListener.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/toolwindow/FlutterViewToolWindowManagerListener.java",
"repo_id": "flutter-intellij",
"token_count": 576
} | 477 |
/*
* 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.gson.*;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.commons... | flutter-intellij/flutter-idea/src/io/flutter/utils/JsonUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/JsonUtils.java",
"repo_id": "flutter-intellij",
"token_count": 844
} | 478 |
/*
* 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.utils.animation;
/**
* A collection of common animation curves.
* <p>
* https://flutter.github.io/assets-for-api-docs/animati... | flutter-intellij/flutter-idea/src/io/flutter/utils/animation/Curves.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/animation/Curves.java",
"repo_id": "flutter-intellij",
"token_count": 3940
} | 479 |
/*
* 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.view;
import com.google.common.annotations.VisibleForTesting;
import com.intellij.execution.runners.ExecutionUtil;
import com.in... | flutter-intellij/flutter-idea/src/io/flutter/view/FlutterView.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/FlutterView.java",
"repo_id": "flutter-intellij",
"token_count": 15989
} | 480 |
/*
* 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.vmService;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.i... | flutter-intellij/flutter-idea/src/io/flutter/vmService/VMServiceManager.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/VMServiceManager.java",
"repo_id": "flutter-intellij",
"token_count": 7976
} | 481 |
/*
* Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
* for details. 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 has been automatically generated. Please do not edit it manually.
* To regenerate the... | flutter-intellij/flutter-idea/src/org/dartlang/analysis/server/protocol/FlutterService.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/org/dartlang/analysis/server/protocol/FlutterService.java",
"repo_id": "flutter-intellij",
"token_count": 184
} | 482 |
/*
* 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.inspector;
import io.flutter.inspector.TreeScrollAnimator.Interval;
import org.junit.Test;
import static junit.framework.TestCa... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/inspector/TreeScrollAnimatorTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/inspector/TreeScrollAnimatorTest.java",
"repo_id": "flutter-intellij",
"token_count": 1625
} | 483 |
/*
* 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.util.xmlb.XmlSerializer;
import io.flutter.run.daemon.DevToolsInstance;
import org.jdom.Element;
... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/bazel/BazelFieldsTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/bazel/BazelFieldsTest.java",
"repo_id": "flutter-intellij",
"token_count": 1245
} | 484 |
/*
* 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.testing;
import com.intellij.openapi.project.Project;
import io.flutter.editor.ActiveEditorsOutlineService;
import io.flutter.ut... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/testing/FakeActiveEditorsOutlineService.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/testing/FakeActiveEditorsOutlineService.java",
"repo_id": "flutter-intellij",
"token_count": 851
} | 485 |
/*
* 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.utils.animation;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.asse... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/utils/animation/CurvesTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/utils/animation/CurvesTest.java",
"repo_id": "flutter-intellij",
"token_count": 2198
} | 486 |
/*
* Copyright (c) 2015, the Dart project authors.
*
* Licensed under the Eclipse Public License v1.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.eclipse.org/legal/epl-v10.html
*
* Unless required by applicable law or... | flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/EventKind.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/EventKind.java",
"repo_id": "flutter-intellij",
"token_count": 1246
} | 487 |
/*
* Copyright (c) 2015, the Dart project authors.
*
* Licensed under the Eclipse Public License v1.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.eclipse.org/legal/epl-v10.html
*
* Unless required by applicable law or... | flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/InstanceSet.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/InstanceSet.java",
"repo_id": "flutter-intellij",
"token_count": 465
} | 488 |
/*
* Copyright (c) 2015, the Dart project authors.
*
* Licensed under the Eclipse Public License v1.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.eclipse.org/legal/epl-v10.html
*
* Unless required by applicable law or... | flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/Obj.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/Obj.java",
"repo_id": "flutter-intellij",
"token_count": 833
} | 489 |
/*
* Copyright (c) 2014, the Dart project authors.
*
* Licensed under the Eclipse Public License v1.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.eclipse.org/legal/epl-v10.html
*
* Unless required by applicable law or... | flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/logging/Logging.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/logging/Logging.java",
"repo_id": "flutter-intellij",
"token_count": 270
} | 490 |
/*
* 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.android;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.roots.libraries.LibraryType;
import com.intell... | flutter-intellij/flutter-studio/src/io/flutter/android/AndroidModuleLibraryType.java/0 | {
"file_path": "flutter-intellij/flutter-studio/src/io/flutter/android/AndroidModuleLibraryType.java",
"repo_id": "flutter-intellij",
"token_count": 682
} | 491 |
/*
* 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 com.android.tools.idea.tests.gui.framework.fixture;
import com.android.tools.idea.tests.gui.framework.GuiTests;
import com.android.tools.id... | flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/FlutterFrameFixture.java/0 | {
"file_path": "flutter-intellij/flutter-studio/testSrc/com/android/tools/idea/tests/gui/framework/fixture/FlutterFrameFixture.java",
"repo_id": "flutter-intellij",
"token_count": 496
} | 492 |
# Location of the bash script.
build_file: "flutter-intellij-kokoro/kokoro/gcp_windows/kokoro_test.bat"
| flutter-intellij/kokoro/gcp_windows/presubmit.cfg/0 | {
"file_path": "flutter-intellij/kokoro/gcp_windows/presubmit.cfg",
"repo_id": "flutter-intellij",
"token_count": 39
} | 493 |
<?xml version='1.0'?>
<!--
~ 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.
-->
<list>
<!--<option name="TEMPLATE_CONFIG_NAME">-->
<!--<value>-->
<!--<option name="FOREGROUND" value="008000"/>... | flutter-intellij/resources/colorSchemes/FlutterCodeColorSchemeDefault.xml/0 | {
"file_path": "flutter-intellij/resources/colorSchemes/FlutterCodeColorSchemeDefault.xml",
"repo_id": "flutter-intellij",
"token_count": 269
} | 494 |
# Generated file - do not edit.
# suppress inspection "UnusedProperty" for whole file
f04b6.codepoint=abc
abc=material/abc.png
f05b1.codepoint=abc_outlined
abc_outlined=material/abc_outlined.png
e4c4.codepoint=abc_rounded
abc_rounded=material/abc_rounded.png
f03c3.codepoint=abc_sharp
abc_sharp=material/abc_sharp.p... | flutter-intellij/resources/flutter/icons/material.properties/0 | {
"file_path": "flutter-intellij/resources/flutter/icons/material.properties",
"repo_id": "flutter-intellij",
"token_count": 280866
} | 495 |
rem Copyright 2020 The Chromium Authors. All rights reserved.
rem Use of this source code is governed by a BSD-style license that can be
rem found in the LICENSE file.
@echo on
echo "JAVA_HOME=%JAVA_HOME%"
echo "install dart"
choco install dart-sdk > choco.log
rem Use "call" to run the script otherwise this job ends ... | flutter-intellij/tool/github.bat/0 | {
"file_path": "flutter-intellij/tool/github.bat",
"repo_id": "flutter-intellij",
"token_count": 249
} | 496 |
// 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.
import 'dart:async';
import 'dart:io';
import 'package:args/command_runner.dart';
import 'runner.dart';
import 'util.dart';
class LintCommand extends Comm... | flutter-intellij/tool/plugin/lib/lint.dart/0 | {
"file_path": "flutter-intellij/tool/plugin/lib/lint.dart",
"repo_id": "flutter-intellij",
"token_count": 1443
} | 497 |
<!-- when editing this file also update https://github.com/flutter/.github/blob/main/CONTRIBUTING.md -->
Contributing to Flutter
=======================
_tl;dr: join [Discord](https://github.com/flutter/flutter/wiki/Chat), be [courteous](CODE_OF_CONDUCT.md), follow the steps below to set up a development environment;... | flutter/CONTRIBUTING.md/0 | {
"file_path": "flutter/CONTRIBUTING.md",
"repo_id": "flutter",
"token_count": 3008
} | 498 |
23e56af4a622ded77838958ffccc89cf4aaa23b2
| flutter/bin/internal/flutter_packages.version/0 | {
"file_path": "flutter/bin/internal/flutter_packages.version",
"repo_id": "flutter",
"token_count": 23
} | 499 |
// Copyright 2014 The Flutter 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:flutter/material.dart';
import 'use_cases.dart';
class AutoCompleteUseCase extends UseCase {
@override
String get name => 'AutoCompl... | flutter/dev/a11y_assessments/lib/use_cases/auto_complete.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/lib/use_cases/auto_complete.dart",
"repo_id": "flutter",
"token_count": 821
} | 500 |
// Copyright 2014 The Flutter 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:a11y_assessments/use_cases/auto_complete.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
i... | flutter/dev/a11y_assessments/test/auto_complete_test.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/test/auto_complete_test.dart",
"repo_id": "flutter",
"token_count": 210
} | 501 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// See also packages/flutter_goldens/test/flutter_goldens_test.dart
import 'dart:typed_data';
import 'package:file/file.dart';
import 'package:file/memor... | flutter/dev/automated_tests/flutter_test/flutter_gold_test.dart/0 | {
"file_path": "flutter/dev/automated_tests/flutter_test/flutter_gold_test.dart",
"repo_id": "flutter",
"token_count": 1281
} | 502 |
// Copyright 2014 The Flutter 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:flutter_test/flutter_test.dart';
// This is a test to make sure that an asynchronous exception thrown after a
// tes... | flutter/dev/automated_tests/test_smoke_test/fail_test_on_exception_after_test.dart/0 | {
"file_path": "flutter/dev/automated_tests/test_smoke_test/fail_test_on_exception_after_test.dart",
"repo_id": "flutter",
"token_count": 269
} | 503 |
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
| flutter/dev/benchmarks/complex_layout/android/gradle/wrapper/gradle-wrapper.properties/0 | {
"file_path": "flutter/dev/benchmarks/complex_layout/android/gradle/wrapper/gradle-wrapper.properties",
"repo_id": "flutter",
"token_count": 73
} | 504 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| flutter/dev/benchmarks/complex_layout/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "flutter/dev/benchmarks/complex_layout/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "flutter",
"token_count": 32
} | 505 |
// Copyright 2014 The Flutter 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:complex_layout/src/app.dart';
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
import... | flutter/dev/benchmarks/complex_layout/test_memory/scroll_perf.dart/0 | {
"file_path": "flutter/dev/benchmarks/complex_layout/test_memory/scroll_perf.dart",
"repo_id": "flutter",
"token_count": 776
} | 506 |
# Macrobenchmarks
Performance benchmarks use either flutter drive or the web benchmark harness.
## Mobile benchmarks
### Cull opacity benchmark
To run the cull opacity benchmark on a device:
```
flutter drive --profile -t test_driver/run_app.dart --driver test_driver/cull_opacity_perf_test.dart
```
Results should... | flutter/dev/benchmarks/macrobenchmarks/README.md/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/README.md",
"repo_id": "flutter",
"token_count": 1586
} | 507 |
// Copyright 2014 The Flutter 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:ui' as ui show Codec;
import 'dart:ui';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dar... | flutter/dev/benchmarks/macrobenchmarks/lib/src/animated_placeholder.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/animated_placeholder.dart",
"repo_id": "flutter",
"token_count": 1026
} | 508 |
// Copyright 2014 The Flutter 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:flutter/material.dart';
/// Displays a new (from image cache's perspective) large image every 500ms.
class LargeImag... | flutter/dev/benchmarks/macrobenchmarks/lib/src/large_image_changer.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/large_image_changer.dart",
"repo_id": "flutter",
"token_count": 637
} | 509 |
// Copyright 2014 The Flutter 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';
import 'dart:typed_data';
import 'dart:ui';
import 'package:flutter/material.dart';
// Adapted from test case submitted in
// https://... | flutter/dev/benchmarks/macrobenchmarks/lib/src/very_long_picture_scrolling.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/very_long_picture_scrolling.dart",
"repo_id": "flutter",
"token_count": 3115
} | 510 |
// Copyright 2014 The Flutter 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:flutter/material.dart';
import 'recorder.dart';
/// Creates a [PageView] that uses a font style that can't be rende... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_pageview_scroll_linethrough.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_pageview_scroll_linethrough.dart",
"repo_id": "flutter",
"token_count": 1853
} | 511 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.