code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_LATENCY_METADATA_H_ #define UI_EVENTS_EVENT_LATENCY_METADATA_H_ #include "base/time/time.h" namespace ui { // The struct contains metadata about Even...
Zhao-PengFei35/chromium_src_4
ui/events/event_latency_metadata.h
C++
unknown
1,016
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event_modifiers.h" #include "ui/events/event.h" namespace ui { namespace { static const int kEventFlagFromModifiers[] = { EF_NONE, ...
Zhao-PengFei35/chromium_src_4
ui/events/event_modifiers.cc
C++
unknown
3,933
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_MODIFIERS_H_ #define UI_EVENTS_EVENT_MODIFIERS_H_ #include "ui/events/events_export.h" namespace ui { enum { MODIFIER_NONE, MODIFIER_SHIFT, MOD...
Zhao-PengFei35/chromium_src_4
ui/events/event_modifiers.h
C++
unknown
2,836
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_OBSERVER_H_ #define UI_EVENTS_EVENT_OBSERVER_H_ #include "ui/events/events_export.h" namespace ui { class Event; // EventObservers are notified of e...
Zhao-PengFei35/chromium_src_4
ui/events/event_observer.h
C++
unknown
1,154
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event_processor.h" #include "ui/events/event_target.h" #include "ui/events/event_targeter.h" namespace ui { EventProcessor::EventProcessor() {} EventPro...
Zhao-PengFei35/chromium_src_4
ui/events/event_processor.cc
C++
unknown
3,392
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_PROCESSOR_H_ #define UI_EVENTS_EVENT_PROCESSOR_H_ #include "base/memory/weak_ptr.h" #include "ui/events/event_dispatcher.h" #include "ui/events/event_s...
Zhao-PengFei35/chromium_src_4
ui/events/event_processor.h
C++
unknown
2,227
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <tuple> #include <utility> #include <vector> #include "base/memory/ptr_util.h" #include "base/memory/raw_ptr.h" #include "testing/gtest/include/gtest/gtest.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/events/event_processor_unittest.cc
C++
unknown
20,595
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event_rewriter.h" #include <utility> #include "base/check_op.h" #include "base/notreached.h" #include "ui/events/event_rewriter_continuation.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/events/event_rewriter.cc
C++
unknown
3,359
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_REWRITER_H_ #define UI_EVENTS_EVENT_REWRITER_H_ #include <memory> #include "base/memory/weak_ptr.h" #include "ui/events/event_dispatcher.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/events/event_rewriter.h
C++
unknown
7,077
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_REWRITER_CONTINUATION_H_ #define UI_EVENTS_EVENT_REWRITER_CONTINUATION_H_ namespace ui { struct EventDispatchDetails; // Used to forward events from ...
Zhao-PengFei35/chromium_src_4
ui/events/event_rewriter_continuation.h
C++
unknown
1,224
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event_rewriter.h" #include <list> #include <map> #include <set> #include <utility> #include "base/check_op.h" #include "base/memory/raw_ptr.h" #include "b...
Zhao-PengFei35/chromium_src_4
ui/events/event_rewriter_unittest.cc
C++
unknown
15,047
// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_SINK_H_ #define UI_EVENTS_EVENT_SINK_H_ #include "ui/events/event_dispatcher.h" namespace ui { class Event; // EventSink receives events from an Eve...
Zhao-PengFei35/chromium_src_4
ui/events/event_sink.h
C++
unknown
585
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event_source.h" #include "base/logging.h" #include "base/memory/raw_ptr.h" #include "ui/events/event_rewriter_continuation.h" #include "ui/events/event_sin...
Zhao-PengFei35/chromium_src_4
ui/events/event_source.cc
C++
unknown
5,365
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_SOURCE_H_ #define UI_EVENTS_EVENT_SOURCE_H_ #include <list> #include <memory> #include <vector> #include "base/scoped_observation_traits.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/events/event_source.h
C++
unknown
3,233
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "build/build_config.h" #include "ui/events/event_switches.h" namespace switches { // Enable compensation for unstable pinch zoom. Some touch screens display // signi...
Zhao-PengFei35/chromium_src_4
ui/events/event_switches.cc
C++
unknown
2,144
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_SWITCHES_H_ #define UI_EVENTS_EVENT_SWITCHES_H_ #include "build/build_config.h" #include "ui/events/events_base_export.h" namespace switches { EVENTS...
Zhao-PengFei35/chromium_src_4
ui/events/event_switches.h
C++
unknown
913
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event_target.h" #include "base/check.h" #include "base/notreached.h" #include "base/ranges/algorithm.h" #include "ui/events/event.h" #include "ui/gfx/geome...
Zhao-PengFei35/chromium_src_4
ui/events/event_target.cc
C++
unknown
3,375
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_TARGET_H_ #define UI_EVENTS_EVENT_TARGET_H_ #include <memory> #include <vector> #include "base/memory/raw_ptr.h" #include "base/memory/raw_ptr_exclusi...
Zhao-PengFei35/chromium_src_4
ui/events/event_target.h
C++
unknown
5,616
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_TARGET_ITERATOR_H_ #define UI_EVENTS_EVENT_TARGET_ITERATOR_H_ #include <memory> #include <vector> namespace ui { class EventTarget; // An interface ...
Zhao-PengFei35/chromium_src_4
ui/events/event_target_iterator.h
C++
unknown
1,986
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event_target.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/events/test/events_test_utils.h" #include "ui/events/test/test_event_handler.h"...
Zhao-PengFei35/chromium_src_4
ui/events/event_target_unittest.cc
C++
unknown
7,692
// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event_targeter.h" namespace ui { EventTargeter::EventTargeter() = default; EventTargeter::~EventTargeter() = default; EventSink* EventTargeter::GetNewEv...
Zhao-PengFei35/chromium_src_4
ui/events/event_targeter.cc
C++
unknown
466
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_TARGETER_H_ #define UI_EVENTS_EVENT_TARGETER_H_ #include "base/memory/weak_ptr.h" #include "ui/events/events_export.h" namespace ui { class Event; cl...
Zhao-PengFei35/chromium_src_4
ui/events/event_targeter.h
C++
unknown
2,252
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event.h" #if defined(OHOS_UNITTESTS) #include "ui/events/event.cc" #endif // OHOS_UNITTESTS #include <stddef.h> #include <stdint.h> #include <limits> #inc...
Zhao-PengFei35/chromium_src_4
ui/events/event_unittest.cc
C++
unknown
46,450
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event_utils.h" #include <limits> #include <map> #include <vector> #include "base/check.h" #include "base/metrics/histogram_macros.h" #include "base/notrea...
Zhao-PengFei35/chromium_src_4
ui/events/event_utils.cc
C++
unknown
13,025
// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENT_UTILS_H_ #define UI_EVENTS_EVENT_UTILS_H_ #include <stdint.h> #include <memory> #include <vector> #include "base/strings/string_piece.h" #include "bu...
Zhao-PengFei35/chromium_src_4
ui/events/event_utils.h
C++
unknown
9,404
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENTS_BASE_EXPORT_H_ #define UI_EVENTS_EVENTS_BASE_EXPORT_H_ #if defined(COMPONENT_BUILD) #if defined(WIN32) #if defined(EVENTS_BASE_IMPLEMENTATION) #defin...
Zhao-PengFei35/chromium_src_4
ui/events/events_base_export.h
C
unknown
758
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/event.h" #include "ui/events/event_constants.h" #include "ui/events/event_utils.h" #include "ui/events/types/event_type.h" #include "ui/gfx/geometry/vector2...
Zhao-PengFei35/chromium_src_4
ui/events/events_default.cc
C++
unknown
5,562
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_EVENTS_EXPORT_H_ #define UI_EVENTS_EVENTS_EXPORT_H_ #if defined(COMPONENT_BUILD) #if defined(WIN32) #if defined(EVENTS_IMPLEMENTATION) #define EVENTS_EXPORT...
Zhao-PengFei35/chromium_src_4
ui/events/events_export.h
C
unknown
703
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file is for including headers that are not included in any other .cc // files contained with the ui/events module. We need to include these here so // that linker will...
Zhao-PengFei35/chromium_src_4
ui/events/events_exports.cc
C++
unknown
452
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stdint.h> #include "base/notreached.h" #include "base/time/time.h" #include "build/build_config.h" #include "ui/events/event_utils.h" #include "ui/events/keycodes/do...
Zhao-PengFei35/chromium_src_4
ui/events/events_stub.cc
C++
unknown
3,895
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_FUCHSIA_INPUT_EVENT_SINK_H_ #define UI_EVENTS_FUCHSIA_INPUT_EVENT_SINK_H_ #include "ui/events/events_export.h" namespace ui { class Event; // Translates F...
Zhao-PengFei35/chromium_src_4
ui/events/fuchsia/input_event_sink.h
C++
unknown
533
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/fuchsia/pointer_events_handler.h" #include <lib/async/default.h> #include <cmath> #include <limits> #include <memory> #include "base/fuchsia/fuchsia_logg...
Zhao-PengFei35/chromium_src_4
ui/events/fuchsia/pointer_events_handler.cc
C++
unknown
20,039
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_FUCHSIA_POINTER_EVENTS_HANDLER_H_ #define UI_EVENTS_FUCHSIA_POINTER_EVENTS_HANDLER_H_ #include <fidl/fuchsia.ui.pointer/cpp/fidl.h> #include <array> #includ...
Zhao-PengFei35/chromium_src_4
ui/events/fuchsia/pointer_events_handler.h
C++
unknown
6,172
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/fuchsia/pointer_events_handler.h" #include <fidl/fuchsia.ui.pointer/cpp/fidl.h> #include <fidl/fuchsia.ui.pointer/cpp/hlcpp_conversion.h> #include <gtest/g...
Zhao-PengFei35/chromium_src_4
ui/events/fuchsia/pointer_events_handler_unittest.cc
C++
unknown
44,343
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/fuchsia/util/pointer_event_utility.h" #include <zircon/types.h> #include <utility> namespace ui { namespace { namespace fup = fuchsia_ui_pointer; fup::V...
Zhao-PengFei35/chromium_src_4
ui/events/fuchsia/util/pointer_event_utility.cc
C++
unknown
6,302
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_FUCHSIA_UTIL_POINTER_EVENT_UTILITY_H_ #define UI_EVENTS_FUCHSIA_UTIL_POINTER_EVENT_UTILITY_H_ #include <fidl/fuchsia.ui.pointer/cpp/fidl.h> #include <ui/gfx/...
Zhao-PengFei35/chromium_src_4
ui/events/fuchsia/util/pointer_event_utility.h
C++
unknown
4,094
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_CURVE_H_ #define UI_EVENTS_GESTURE_CURVE_H_ #include "base/time/time.h" #include "ui/gfx/geometry/vector2d_f.h" namespace ui { // An abstraction of...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_curve.h
C++
unknown
1,011
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_BITSET_32_H_ #define UI_EVENTS_GESTURE_DETECTION_BITSET_32_H_ #include <stdint.h> #include "base/check_op.h" namespace ui { // Port of B...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/bitset_32.h
C++
unknown
5,128
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include "testing/gtest/include/gtest/gtest.h" #include "ui/events/gesture_detection/bitset_32.h" namespace ui { class BitSet32Test : public testing::Tes...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/bitset_32_unittest.cc
C++
unknown
5,855
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/filtered_gesture_provider.h" #include "base/auto_reset.h" #include "base/check.h" #include "base/notreached.h" #include "ui/events/gestur...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/filtered_gesture_provider.cc
C++
unknown
4,434
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_FILTERED_GESTURE_PROVIDER_H_ #define UI_EVENTS_GESTURE_DETECTION_FILTERED_GESTURE_PROVIDER_H_ #include <stdint.h> #include <memory> #inclu...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/filtered_gesture_provider.h
C++
unknown
3,766
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/filtered_gesture_provider.h" #include "base/test/task_environment.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/events/t...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/filtered_gesture_provider_unittest.cc
C++
unknown
5,621
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "build/build_config.h" #include "ui/events/gesture_detection/gesture_configuration.h" #include "build/chromeos_buildflags.h" namespace ui { namespace { GestureConfi...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_configuration.cc
C++
unknown
675
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_CONFIGURATION_H_ #define UI_EVENTS_GESTURE_DETECTION_GESTURE_CONFIGURATION_H_ #include "ui/events/gesture_detection/gesture_detecti...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_configuration.h
C++
unknown
11,811
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_configuration.h" #include "base/android/build_info.h" #include "base/memory/singleton.h" #include "ui/display/screen.h" #include ...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_configuration_android.cc
C++
unknown
3,876
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_configuration.h" #include "base/command_line.h" #include "base/memory/singleton.h" #include "base/strings/string_number_conversio...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_configuration_aura.cc
C++
unknown
3,485
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_configuration.h" #include "base/command_line.h" #include "base/memory/singleton.h" #include "ui/events/event_switches.h" namespa...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_configuration_cast.cc
C++
unknown
1,856
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_configuration.h" #include "base/memory/singleton.h" #include "ui/display/screen.h" namespace ui { namespace { class GestureConfi...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_configuration_default.cc
C++
unknown
1,080
// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_configuration.h" #include "base/command_line.h" #include "base/memory/singleton.h" #include "ui/events/event_switches.h" namespa...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_configuration_ios.cc
C++
unknown
1,454
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_DETECTION_EXPORT_H_ #define UI_EVENTS_GESTURE_DETECTION_GESTURE_DETECTION_EXPORT_H_ #if defined(COMPONENT_BUILD) #if defined(WIN32)...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_detection_export.h
C
unknown
869
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_detector.h" #include <stddef.h> #include <algorithm> #include <cmath> #include "base/memory/raw_ptr.h" #include "base/timer/tim...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_detector.cc
C++
unknown
26,688
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_DETECTOR_H_ #define UI_EVENTS_GESTURE_DETECTION_GESTURE_DETECTOR_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "b...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_detector.h
C++
unknown
9,974
/* * Copyright (c) 2024 Huawei Device Co., Ltd. * 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 ...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_detector_unittest.cc
C++
unknown
3,243
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_event_data.h" #include <ostream> #include "base/check_op.h" #include "base/notreached.h" namespace ui { namespace { EventPoin...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_event_data.cc
C++
unknown
3,431
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_EVENT_DATA_H_ #define UI_EVENTS_GESTURE_DETECTION_GESTURE_EVENT_DATA_H_ #include <stddef.h> #include "base/time/time.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_event_data.h
C++
unknown
2,032
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_event_data_packet.h" #include "base/check_op.h" #include "base/notreached.h" #include "ui/events/gesture_detection/motion_event.h...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_event_data_packet.cc
C++
unknown
4,914
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_EVENT_DATA_PACKET_H_ #define UI_EVENTS_GESTURE_DETECTION_GESTURE_EVENT_DATA_PACKET_H_ #include <stddef.h> #include <stdint.h> #incl...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_event_data_packet.h
C++
unknown
3,737
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include "testing/gtest/include/gtest/gtest.h" #include "ui/events/gesture_detection/gesture_event_data_packet.h" #include "ui/events/test/motion_event_tes...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
C++
unknown
6,463
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_listeners.h" namespace ui { bool SimpleGestureListener::OnDown(const MotionEvent& e, int tap_down_count) { return false; } vo...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_listeners.cc
C++
unknown
2,112
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_LISTENERS_H_ #define UI_EVENTS_GESTURE_DETECTION_GESTURE_LISTENERS_H_ #ifdef OHOS_DRAG_DROP #include "build/build_config.h" #endif #...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_listeners.h
C++
unknown
3,973
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_provider.h" #include <stddef.h> #include <cmath> #include "base/memory/raw_ptr.h" #include "base/time/time.h" #include "base/tr...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_provider.cc
C++
unknown
44,824
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_PROVIDER_H_ #define UI_EVENTS_GESTURE_DETECTION_GESTURE_PROVIDER_H_ #include <memory> #include "ui/display/display.h" #include "ui...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_provider.h
C++
unknown
5,339
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_provider_config_helper.h" #include "base/task/sequenced_task_runner.h" #include "ui/display/screen.h" #include "ui/events/gesture...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_provider_config_helper.cc
C++
unknown
4,662
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_PROVIDER_CONFIG_HELPER_H_ #define UI_EVENTS_GESTURE_DETECTION_GESTURE_PROVIDER_CONFIG_HELPER_H_ #include "base/task/sequenced_task_...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_provider_config_helper.h
C++
unknown
1,120
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #define private public #include "ui/events/gesture_detection/gesture_provider.cc" #undef private #include <stddef.h> #include <memory> #include "base/check.h" #include "base...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_provider_unittest.cc
C++
unknown
168,582
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/gesture_touch_uma_histogram.h" #include <ostream> #include "base/metrics/histogram_macros.h" #include "base/notreached.h" namespace ui ...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_touch_uma_histogram.cc
C++
unknown
5,711
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_TOUCH_UMA_HISTOGRAM_H_ #define UI_EVENTS_GESTURE_DETECTION_GESTURE_TOUCH_UMA_HISTOGRAM_H_ #include "ui/events/gesture_detection/ges...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/gesture_touch_uma_histogram.h
C++
unknown
3,244
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/motion_event.h" #include <ostream> #include "base/notreached.h" #include "ui/events/gesture_detection/motion_event_generic.h" namespace...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/motion_event.cc
C++
unknown
2,201
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_MOTION_EVENT_H_ #define UI_EVENTS_GESTURE_DETECTION_MOTION_EVENT_H_ #include <stddef.h> #include <stdint.h> #include <memory> #include "b...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/motion_event.h
C++
unknown
6,384
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/motion_event_buffer.h" #include <stddef.h> #include <algorithm> #include <iterator> #include <utility> #include "base/trace_event/trace...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/motion_event_buffer.cc
C++
unknown
12,410
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_MOTION_EVENT_BUFFER_H_ #define UI_EVENTS_GESTURE_DETECTION_MOTION_EVENT_BUFFER_H_ #include <memory> #include <vector> #include "base/memor...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/motion_event_buffer.h
C++
unknown
3,700
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include "base/numerics/safe_conversions.h" #include "base/time/time.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/events/gesture_detectio...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/motion_event_buffer_unittest.cc
C++
unknown
32,854
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/motion_event_generic.h" #include <ostream> #include <utility> #include "base/check_op.h" #include "base/memory/ptr_util.h" #include "bas...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/motion_event_generic.cc
C++
unknown
12,846
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_MOTION_EVENT_GENERIC_H_ #define UI_EVENTS_GESTURE_DETECTION_MOTION_EVENT_GENERIC_H_ #include <stddef.h> #include <stdint.h> #include "base...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/motion_event_generic.h
C++
unknown
5,663
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/motion_event_generic.h" #include <utility> #include "base/numerics/math_constants.h" #include "testing/gtest/include/gtest/gtest.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/motion_event_generic_unittest.cc
C++
unknown
9,727
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/scale_gesture_detector.h" #include <limits.h> #include <algorithm> #include <cmath> #include "base/check.h" #include "ui/events/gesture...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/scale_gesture_detector.cc
C++
unknown
10,212
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_SCALE_GESTURE_DETECTOR_H_ #define UI_EVENTS_GESTURE_DETECTION_SCALE_GESTURE_DETECTOR_H_ #include "base/memory/raw_ptr.h" #include "base/tim...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/scale_gesture_detector.h
C++
unknown
4,086
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/scale_gesture_listeners.h" namespace ui { bool SimpleScaleGestureListener::OnScale(const ScaleGestureDetector&, ...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/scale_gesture_listeners.cc
C++
unknown
700
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_SCALE_GESTURE_LISTENERS_H_ #define UI_EVENTS_GESTURE_DETECTION_SCALE_GESTURE_LISTENERS_H_ #include "ui/events/gesture_detection/gesture_det...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/scale_gesture_listeners.h
C++
unknown
1,731
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/snap_scroll_controller.h" #include <algorithm> #include <cmath> #include "ui/events/gesture_detection/motion_event.h" namespace ui { na...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/snap_scroll_controller.cc
C++
unknown
4,111
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_SNAP_SCROLL_CONTROLLER_H_ #define UI_EVENTS_GESTURE_DETECTION_SNAP_SCROLL_CONTROLLER_H_ #include "ui/events/gesture_detection/gesture_detec...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/snap_scroll_controller.h
C++
unknown
1,881
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/snap_scroll_controller.h" #include "base/time/time.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/events/test/motion_event...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/snap_scroll_controller_unittest.cc
C++
unknown
5,686
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/touch_disposition_gesture_filter.h" #include <stddef.h> #include "base/auto_reset.h" #include "base/check_op.h" #include "base/notreache...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/touch_disposition_gesture_filter.cc
C++
unknown
19,066
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_TOUCH_DISPOSITION_GESTURE_FILTER_H_ #define UI_EVENTS_GESTURE_DETECTION_TOUCH_DISPOSITION_GESTURE_FILTER_H_ #include <stdint.h> #include "...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/touch_disposition_gesture_filter.h
C++
unknown
5,900
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/touch_disposition_gesture_filter.h" #include <stddef.h> #include <stdint.h> #include <memory> #include "testing/gtest/include/gtest/gte...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
C++
unknown
50,029
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/velocity_tracker.h" #include <stddef.h> #include <cmath> #include <ostream> #include "base/check_op.h" #include "base/notreached.h" #in...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/velocity_tracker.cc
C++
unknown
28,266
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_VELOCITY_TRACKER_H_ #define UI_EVENTS_GESTURE_DETECTION_VELOCITY_TRACKER_H_ #include <stdint.h> #include <memory> #include "base/time/tim...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/velocity_tracker.h
C++
unknown
5,627
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_detection/velocity_tracker_state.h" #include "base/check_op.h" #include "ui/events/gesture_detection/motion_event.h" namespace ui { namespace { //...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/velocity_tracker_state.cc
C++
unknown
2,636
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_DETECTION_VELOCITY_TRACKER_STATE_H_ #define UI_EVENTS_GESTURE_DETECTION_VELOCITY_TRACKER_STATE_H_ #include <stdint.h> #include "ui/events/gesture_de...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/velocity_tracker_state.h
C++
unknown
1,631
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include <memory> #include "base/notreached.h" #include "base/time/time.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/events/gesture_dete...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_detection/velocity_tracker_unittest.cc
C++
unknown
9,504
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gesture_event_details.h" #include <ostream> #include "base/check_op.h" #include "base/notreached.h" namespace ui { GestureEventDetails::GestureEventDeta...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_event_details.cc
C++
unknown
3,300
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURE_EVENT_DETAILS_H_ #define UI_EVENTS_GESTURE_EVENT_DETAILS_H_ #include <string.h> #include "base/check_op.h" #include "ui/events/event_constants.h" #i...
Zhao-PengFei35/chromium_src_4
ui/events/gesture_event_details.h
C++
unknown
7,868
include_rules = [ "+third_party/blink/public/platform/web_gesture_curve.h", "+third_party/blink/public/common/input/web_gesture_device.h", "+ui/base/ui_base_features.h", ]
Zhao-PengFei35/chromium_src_4
ui/events/gestures/blink/DEPS
Python
unknown
178
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gestures/blink/web_gesture_curve_impl.h" #include <limits.h> #include <list> #include <tuple> #include <sstream> #include <utility> #include "base/metric...
Zhao-PengFei35/chromium_src_4
ui/events/gestures/blink/web_gesture_curve_impl.cc
C++
unknown
6,241
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURES_BLINK_WEB_GESTURE_CURVE_IMPL_H_ #define UI_EVENTS_GESTURES_BLINK_WEB_GESTURE_CURVE_IMPL_H_ #include <stdint.h> #include <memory> #include "third_p...
Zhao-PengFei35/chromium_src_4
ui/events/gestures/blink/web_gesture_curve_impl.h
C++
unknown
2,405
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gestures/blink/web_gesture_curve_impl.h" #include <memory> #include "base/time/time.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_part...
Zhao-PengFei35/chromium_src_4
ui/events/gestures/blink/web_gesture_curve_impl_unittest.cc
C++
unknown
3,608
// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gestures/fixed_velocity_curve.h" namespace ui { FixedVelocityCurve::FixedVelocityCurve(const gfx::Vector2dF& velocity, ...
Zhao-PengFei35/chromium_src_4
ui/events/gestures/fixed_velocity_curve.cc
C++
unknown
961
// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURES_FIXED_VELOCITY_CURVE_H_ #define UI_EVENTS_GESTURES_FIXED_VELOCITY_CURVE_H_ #include "base/time/time.h" #include "ui/events/events_base_export.h" #in...
Zhao-PengFei35/chromium_src_4
ui/events/gestures/fixed_velocity_curve.h
C++
unknown
1,159
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/events/gestures/fling_curve.h" #include <algorithm> #include <cmath> #include "base/check_op.h" #include "base/logging.h" #if BUILDFLAG(IS_OHOS) #include "base/...
Zhao-PengFei35/chromium_src_4
ui/events/gestures/fling_curve.cc
C++
unknown
3,559
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_GESTURES_FLING_CURVE_H_ #define UI_EVENTS_GESTURES_FLING_CURVE_H_ #include "base/time/time.h" #include "ui/events/events_base_export.h" #include "ui/events/g...
Zhao-PengFei35/chromium_src_4
ui/events/gestures/fling_curve.h
C++
unknown
1,632