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 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_ANDROID_ANIMATION_UTILS_H_ #define UI_ANDROID_ANIMATION_UTILS_H_ namespace ui { template <typename T> T Lerp(T a, T b, T t) { return a + (b - a) * t; } template...
Zhao-PengFei35/chromium_src_4
ui/android/animation_utils.h
C++
unknown
704
// 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/android/color_utils_android.h" #include "base/check.h" #include "base/numerics/safe_math.h" #include "ui/gfx/color_utils.h" namespace ui { std::string OptionalS...
Zhao-PengFei35/chromium_src_4
ui/android/color_utils_android.cc
C++
unknown
906
// 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_ANDROID_COLOR_UTILS_ANDROID_H_ #define UI_ANDROID_COLOR_UTILS_ANDROID_H_ #include <stdint.h> #include <limits> #include <string> #include "third_party/abseil-cpp/...
Zhao-PengFei35/chromium_src_4
ui/android/color_utils_android.h
C++
unknown
1,334
// 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/android/color_utils_android.h" #include <stdint.h> #include <limits> #include "testing/gtest/include/gtest/gtest.h" #include "third_party/abseil-cpp/absl/types/...
Zhao-PengFei35/chromium_src_4
ui/android/color_utils_android_unittest.cc
C++
unknown
1,978
// Copyright 2016 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/android/delegated_frame_host_android.h" #include <iterator> #include "base/android/build_info.h" #include "base/check_op.h" #include "base/feature_list.h" #inclu...
Zhao-PengFei35/chromium_src_4
ui/android/delegated_frame_host_android.cc
C++
unknown
20,061
// Copyright 2016 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_ANDROID_DELEGATED_FRAME_HOST_ANDROID_H_ #define UI_ANDROID_DELEGATED_FRAME_HOST_ANDROID_H_ #include <vector> #include "base/memory/raw_ptr.h" #include "base/memory...
Zhao-PengFei35/chromium_src_4
ui/android/delegated_frame_host_android.h
C++
unknown
9,249
// 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/android/display_android_manager.h" #include <jni.h> #include <initializer_list> #include <map> #include "base/android/jni_android.h" #include "base/trace_event/t...
Zhao-PengFei35/chromium_src_4
ui/android/display_android_manager.cc
C++
unknown
5,692
// Copyright 2016 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_ANDROID_DISPLAY_ANDROID_MANAGER_H_ #define UI_ANDROID_DISPLAY_ANDROID_MANAGER_H_ #include <jni.h> #include "base/android/jni_android.h" #include "ui/display/screen...
Zhao-PengFei35/chromium_src_4
ui/android/display_android_manager.h
C++
unknown
2,601
// Copyright 2016 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/android/dummy_screen_android.h" #include "ui/display/display.h" #include "ui/display/screen.h" namespace ui { using display::Display; using display::DisplayObser...
Zhao-PengFei35/chromium_src_4
ui/android/dummy_screen_android.cc
C++
unknown
2,123
// Copyright 2016 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_ANDROID_DUMMY_SCREEN_ANDROID_H_ #define UI_ANDROID_DUMMY_SCREEN_ANDROID_H_ #include "ui/android/ui_android_export.h" namespace display { class Screen; } namespace...
Zhao-PengFei35/chromium_src_4
ui/android/dummy_screen_android.h
C++
unknown
555
// Copyright 2015 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/android/edge_effect.h" #include "base/notreached.h" #include "cc/slim/layer.h" #include "cc/slim/ui_resource_layer.h" #include "ui/android/animation_utils.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/android/edge_effect.cc
C++
unknown
11,478
// 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_ANDROID_EDGE_EFFECT_H_ #define UI_ANDROID_EDGE_EFFECT_H_ #include "base/memory/raw_ptr.h" #include "base/memory/scoped_refptr.h" #include "base/time/time.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/android/edge_effect.h
C++
unknown
2,125
// 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/android/event_forwarder.h" #include "base/android/jni_array.h" #include "base/trace_event/typed_macros.h" #include "ui/android/ui_android_jni_headers/EventForward...
Zhao-PengFei35/chromium_src_4
ui/android/event_forwarder.cc
C++
unknown
11,879
// 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_ANDROID_EVENT_FORWARDER_H_ #define UI_ANDROID_EVENT_FORWARDER_H_ #include "base/android/scoped_java_ref.h" #include "base/memory/raw_ptr.h" #include "base/observer_...
Zhao-PengFei35/chromium_src_4
ui/android/event_forwarder.h
C++
unknown
5,221
// 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/android/handle_view_resources.h" #include "base/trace_event/trace_event.h" #include "ui/android/ui_android_jni_headers/HandleViewResources_jni.h" namespace { st...
Zhao-PengFei35/chromium_src_4
ui/android/handle_view_resources.cc
C++
unknown
2,069
// 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_ANDROID_HANDLE_VIEW_RESOURCES_H_ #define UI_ANDROID_HANDLE_VIEW_RESOURCES_H_ #include "base/android/jni_android.h" #include "base/android/scoped_java_ref.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/android/handle_view_resources.h
C++
unknown
1,163
// 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. package org.chromium.ui; import android.view.View; import androidx.annotation.Nullable; import org.chromium.base.Callback; import org.chromium.base.ThreadUtils; /** * A pr...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/AsyncViewProvider.java
Java
unknown
5,557
// 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. package org.chromium.ui; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/AsyncViewStub.java
Java
unknown
6,073
// 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. package org.chromium.ui; import android.view.View; import android.view.ViewStub; import org.chromium.base.Callback; import org.chromium.base.Promise; /** * View provider th...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/DeferredViewStubInflationProvider.java
Java
unknown
1,310
// 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. package org.chromium.ui; import android.content.Context; import android.graphics.Color; import android.graphics.Typeface; import android.text.TextUtils; import android.util.Ty...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/DropdownAdapter.java
Java
unknown
7,823
// 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. package org.chromium.ui; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.PixelFormat; import androi...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/DropdownDividerDrawable.java
Java
unknown
1,788
// 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. package org.chromium.ui; import android.graphics.drawable.Drawable; import androidx.annotation.Nullable; import org.chromium.url.GURL; /** * Dropdown item interface used to...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/DropdownItem.java
Java
unknown
3,096
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui; import android.graphics.drawable.Drawable; import androidx.annotation.Nullable; import org.chromium.url.GURL; /** * Base implementation of Dropdown...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/DropdownItemBase.java
Java
unknown
2,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. package org.chromium.ui; import android.content.Context; import android.view.View; import android.widget.AdapterView; import android.widget.ListAdapter; import android.widget....
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java
Java
unknown
4,092
// 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. package org.chromium.ui; import android.content.Context; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.view.View; import android.view...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/DropdownPopupWindowImpl.java
Java
unknown
9,224
// 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. package org.chromium.ui; import android.widget.AdapterView; import android.widget.ListAdapter; import android.widget.ListView; import android.widget.PopupWindow; /** * The i...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/DropdownPopupWindowInterface.java
Java
unknown
2,554
// 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. package org.chromium.ui; import android.content.Context; import android.text.Layout; import android.util.AttributeSet; import androidx.appcompat.widget.AppCompatTextView; /*...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/ElidedUrlTextView.java
Java
unknown
4,951
// 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. package org.chromium.ui; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Rect; import android.graphics.drawable.Drawable; import...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/HorizontalListDividerDrawable.java
Java
unknown
1,514
// 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. package org.chromium.ui; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Rect; import android.os.Handler; import android.os.Str...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/KeyboardVisibilityDelegate.java
Java
unknown
9,415
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Windo...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/LayoutInflaterUtils.java
Java
unknown
2,141
// 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. package org.chromium.ui; import android.view.MotionEvent; import androidx.annotation.Nullable; import org.chromium.base.TraceEvent; import java.lang.reflect.InvocationTarge...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/MotionEventUtils.java
Java
unknown
1,912
// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui; import org.chromium.base.annotations.CalledByNative; /** * Simple interface allowing customized response to an overscrolling pull input. */ public ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/OverscrollRefreshHandler.java
Java
unknown
1,863
// 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. package org.chromium.ui; /** * Contains all of the command line switches that are specific to the ui/ portion of Chromium on * Android. */ public abstract class UiSwitches ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/UiSwitches.java
Java
unknown
628
// 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. package org.chromium.ui; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.TypedArray; import android.graphics.Bitmap; impo...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/UiUtils.java
Java
unknown
18,864
// 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. package org.chromium.ui; import android.view.View; import org.chromium.base.Callback; /** * Interface to support asynchronous inflation of views. * @param <T> The view typ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/ViewProvider.java
Java
unknown
712
// 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. package org.chromium.ui.base; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Intent; import android.content.IntentSender...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/ActivityIntentRequestTrackerDelegate.java
Java
unknown
2,285
// 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. package org.chromium.ui.base; import android.app.Activity; import android.view.View; import androidx.annotation.Nullable; import org.chromium.ui.KeyboardVisibilityDelegate; ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/ActivityKeyboardVisibilityDelegate.java
Java
unknown
2,322
// 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. package org.chromium.ui.base; import android.app.Activity; import android.content.Context; import androidx.annotation.NonNull; import org.chromium.base.ActivityState; import...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/ActivityWindowAndroid.java
Java
unknown
5,847
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.base; import androidx.annotation.VisibleForTesting; import org.chromium.base.Callback; import org.chromium.base.lifetime.Destroyable; import org.chrom...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/ApplicationViewportInsetSupplier.java
Java
unknown
8,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. package org.chromium.ui.base; import android.annotation.SuppressLint; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context;...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/Clipboard.java
Java
unknown
13,510
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.base; import android.content.ClipData; import android.content.ClipDescription; import android.content.ClipboardManager; import android.content.ContentR...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/ClipboardImpl.java
Java
unknown
26,468
// 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. package org.chromium.ui.base; import android.content.Context; import androidx.annotation.UiThread; import androidx.annotation.VisibleForTesting; import org.chromium.base.Con...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
Java
unknown
5,333
// 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. package org.chromium.ui.base; import android.content.ClipData; import android.content.ClipDescription; import android.os.Build; import android.view.DragEvent; import android.v...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/EventForwarder.java
Java
unknown
28,750
// 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. package org.chromium.ui.base; import android.view.DragEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; /** * A class to updat...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/EventOffsetHandler.java
Java
unknown
3,145
// 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. package org.chromium.ui.base; import android.app.KeyguardManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; impo...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/IdleDetector.java
Java
unknown
2,870
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.base; import java.lang.ref.WeakReference; /** * A WeakReference sublcass that's immutable. * This is so that it's safe to pass the same instance to ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/ImmutableWeakReference.java
Java
unknown
660
// 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. package org.chromium.ui.base; import android.app.Activity; import android.content.Intent; import android.content.IntentSender; import android.os.Bundle; import java.lang.ref....
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/IntentRequestTracker.java
Java
unknown
4,116
// 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. package org.chromium.ui.base; import static org.chromium.ui.base.WindowAndroid.START_INTENT_FAILURE; import android.app.Activity; import android.app.PendingIntent; import and...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/IntentRequestTrackerImpl.java
Java
unknown
5,170
// 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. package org.chromium.ui.base; import android.view.View; import androidx.annotation.VisibleForTesting; import org.chromium.base.ContextUtils; import org.chromium.base.LocaleU...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java
Java
unknown
4,762
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.base; import android.Manifest.permission; import android.webkit.MimeTypeMap; import androidx.annotation.IntDef; import androidx.annotation.Nullable; i...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/MimeTypeUtils.java
Java
unknown
3,624
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.base; import android.os.Build; import android.os.Handler; import android.os.Looper; import android.view.AttachedSurfaceControl; import android.view.Fra...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/OverlayTransformApiHelper.java
Java
unknown
6,149
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.base; /** * An interface for the custom image file picker. * See {@link SelectFileDialog}. */ public interface PhotoPicker { /** * Called a...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/PhotoPicker.java
Java
unknown
715
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.base; import java.util.List; /** A delegate interface for the photo picker. */ public interface PhotoPickerDelegate { /** * Called to display...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/PhotoPickerDelegate.java
Java
unknown
1,690
// 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. package org.chromium.ui.base; import android.net.Uri; import androidx.annotation.IntDef; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/PhotoPickerListener.java
Java
unknown
1,367
// 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. package org.chromium.ui.base; import android.content.res.AssetFileDescriptor; import android.content.res.AssetManager; import org.chromium.base.ContextUtils; import org.chrom...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
Java
unknown
4,218
// 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. package org.chromium.ui.base; import android.content.Context; import android.content.pm.FeatureInfo; import android.os.Build; import android.view.MotionEvent; import org.chro...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/SPenSupport.java
Java
unknown
2,490
// 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. package org.chromium.ui.base; import android.Manifest; import android.annotation.SuppressLint; import android.app.Activity; import android.content.ClipData; import android.con...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java
Java
unknown
64,820
// 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. package org.chromium.ui.base; import android.content.pm.PackageManager; import android.view.InputDevice; import org.chromium.base.ContextUtils; import org.chromium.base.annot...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/TouchDevice.java
Java
unknown
3,849
// 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. package org.chromium.ui.base; import org.chromium.base.annotations.JNINamespace; import org.chromium.base.annotations.NativeMethods; import org.chromium.build.annotations.Main...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/UiAndroidFeatureList.java
Java
unknown
1,134
// 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. package org.chromium.ui.base; import android.content.ClipData; import android.graphics.Bitmap; import android.os.Bundle; import android.view.MotionEvent; import android.view.P...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/ViewAndroidDelegate.java
Java
unknown
25,052
// 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. package org.chromium.ui.base; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import andr...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/ViewUtils.java
Java
unknown
10,346
// 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. package org.chromium.ui.base; /** * Information about various kinds of insets on the application viewport. * * Objects of this class are vended by ApplicationViewportInsetS...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/ViewportInsets.java
Java
unknown
6,764
// 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. package org.chromium.ui.base; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.annotation.SuppressLint; import android.app.A...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
Java
unknown
44,122
// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.base; import android.graphics.Rect; import android.view.Window; /** * This is a delegate that handles communication about a window's current state an...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/base/WindowDelegate.java
Java
unknown
1,528
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.display; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Point; import android.view.Display; import and...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/display/DisplayAndroid.java
Java
unknown
13,687
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.display; import android.annotation.SuppressLint; import android.content.Context; import android.hardware.display.DisplayManager; import android.hardwar...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java
Java
unknown
9,223
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.display; /** * Contains all of the command line switches that are specific to the display. */ public abstract class DisplaySwitches { // Native s...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/display/DisplaySwitches.java
Java
unknown
524
// 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. package org.chromium.ui.display; /** * Helper functions relevant to working with displays, but have no parallel in the native * DisplayAndroid class. */ public abstract cla...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/display/DisplayUtil.java
Java
unknown
1,191
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.display; import android.content.ComponentCallbacks; import android.content.Context; import android.content.res.Configuration; import android.graphics.P...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/display/PhysicalDisplayAndroid.java
Java
unknown
13,384
// 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. package org.chromium.ui.dragdrop; import android.animation.ObjectAnimator; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/dragdrop/AnimatedImageDragShadowBuilder.java
Java
unknown
13,950
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.dragdrop; import android.content.Intent; import android.view.DragAndDropPermissions; import android.view.DragEvent; /** * Delegate for browser relate...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/dragdrop/DragAndDropBrowserDelegate.java
Java
unknown
845
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.dragdrop; import android.graphics.Bitmap; import android.os.Build; import android.view.View; /** * Delegate to facilitate Drag and Drop operations, f...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/dragdrop/DragAndDropDelegate.java
Java
unknown
1,378
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.dragdrop; import android.content.ClipData; import android.content.ClipData.Item; import android.content.ClipDescription; import android.content.Context...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/dragdrop/DragAndDropDelegateImpl.java
Java
unknown
18,585
// 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. package org.chromium.ui.dragdrop; import android.util.SparseBooleanArray; import android.view.DragEvent; import android.view.View; import android.view.View.OnDragListener; im...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/dragdrop/DragEventDispatchHelper.java
Java
unknown
6,170
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.dragdrop; import android.view.View; /** Helper class the listen and track the latest drag event for the view. */ public interface DragStateTracker ext...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/dragdrop/DragStateTracker.java
Java
unknown
1,025
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.dragdrop; import android.text.TextUtils; import androidx.annotation.VisibleForTesting; import org.chromium.base.annotations.CalledByNative; import or...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/dragdrop/DropDataAndroid.java
Java
unknown
1,910
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.dragdrop; import android.content.ContentProvider; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/dragdrop/DropDataContentProvider.java
Java
unknown
2,877
// Copyright 2022 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 org.chromium.ui.dragdrop; import android.content.ContentProvider; import android.content.ContentResolver; import android.database.Cursor; import ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/dragdrop/DropDataProviderImpl.java
Java
unknown
15,393
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.dragdrop; import static org.chromium.ui.dragdrop.DropDataProviderImpl.CACHE_METHOD_NAME; import static org.chromium.ui.dragdrop.DropDataProviderImpl.ON...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/dragdrop/DropDataProviderUtils.java
Java
unknown
3,164
// 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. package org.chromium.ui.drawable; import android.graphics.drawable.Animatable; import android.graphics.drawable.Drawable; import android.os.Build; import android.os.Handler; i...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/drawable/AnimationLooper.java
Java
unknown
3,040
// 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. package org.chromium.ui.drawable; import android.content.Context; import android.graphics.drawable.Animatable; import android.graphics.drawable.AnimatedStateListDrawable; impo...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/drawable/StateListDrawableBuilder.java
Java
unknown
5,701
// 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. package org.chromium.ui.events.devices; import android.content.Context; import android.hardware.input.InputManager; import android.hardware.input.InputManager.InputDeviceListe...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/events/devices/InputDeviceObserver.java
Java
unknown
2,775
// 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. package org.chromium.ui.gfx; import android.provider.Settings; import org.chromium.base.ContextUtils; import org.chromium.base.annotations.CalledByNative; import org.chromium...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/gfx/Animation.java
Java
unknown
1,102
// 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. package org.chromium.ui.gfx; import android.graphics.Bitmap; import org.chromium.base.Log; import org.chromium.base.annotations.CalledByNative; import org.chromium.base.annot...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java
Java
unknown
2,594
// 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. package org.chromium.ui.gfx; import android.content.ComponentCallbacks; import android.content.res.Configuration; import android.content.res.Resources; import android.util.Typ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java
Java
unknown
5,562
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.gl; import android.os.Build; import android.view.SurfaceControl; import androidx.annotation.RequiresApi; import org.chromium.base.annotations.CalledB...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/gl/ScopedJavaSurfaceControl.java
Java
unknown
667
// 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. package org.chromium.ui.gl; import android.graphics.SurfaceTexture; import org.chromium.base.annotations.JNINamespace; import org.chromium.base.annotations.NativeMethods; imp...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java
Java
unknown
1,610
// 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. package org.chromium.ui.gl; import android.graphics.SurfaceTexture; import android.util.Log; import org.chromium.base.annotations.CalledByNative; import org.chromium.base.ann...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
Java
unknown
2,307
// 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. package org.chromium.ui.interpolators; import android.view.animation.Interpolator; import androidx.interpolator.view.animation.FastOutLinearInInterpolator; import androidx.in...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/interpolators/BakedBezierInterpolator.java
Java
unknown
8,131
// 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. package org.chromium.ui.modaldialog; import androidx.annotation.IntDef; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @IntDef({DialogDi...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modaldialog/DialogDismissalCause.java
Java
unknown
3,637
// 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. package org.chromium.ui.modaldialog; import android.util.SparseArray; import androidx.annotation.IntDef; import androidx.annotation.NonNull; import androidx.annotation.Nullab...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modaldialog/ModalDialogManager.java
Java
unknown
23,726
// 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. package org.chromium.ui.modaldialog; /** * Classes that hold an instance of {@link ModalDialogManager} should implement this interface. */ public interface ModalDialogManage...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modaldialog/ModalDialogManagerHolder.java
Java
unknown
469
// 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. package org.chromium.ui.modaldialog; import android.graphics.drawable.Drawable; import android.view.View; import androidx.activity.OnBackPressedCallback; import androidx.anno...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modaldialog/ModalDialogProperties.java
Java
unknown
9,712
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.modaldialog; import androidx.annotation.Nullable; import org.chromium.ui.modaldialog.ModalDialogManager.ModalDialogPriority; import org.chromium.ui.mo...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modaldialog/PendingDialogContainer.java
Java
unknown
9,148
// 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. package org.chromium.ui.modaldialog; import androidx.annotation.NonNull; import org.chromium.base.Callback; import org.chromium.ui.modelutil.PropertyModel; /** * A default ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modaldialog/SimpleModalDialogController.java
Java
unknown
1,665
// 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. package org.chromium.ui.modelutil; import androidx.annotation.Nullable; /** * Helper class for implementing a {@link ListObserver} that just forwards to its own observers. *...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modelutil/ForwardingListObservable.java
Java
unknown
1,294
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.modelutil; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.LayoutRes; import ...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modelutil/LayoutViewBuilder.java
Java
unknown
1,207
// 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. package org.chromium.ui.modelutil; import androidx.annotation.Nullable; import org.chromium.ui.ViewProvider; import java.util.HashSet; import java.util.Set; /** * ModelCha...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modelutil/LazyConstructionPropertyMcp.java
Java
unknown
4,263
// 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. package org.chromium.ui.modelutil; /** * Base class for a {@link ListObservable} containing a {@link SimpleList} of items. * It allows models to compose different ListObserva...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modelutil/ListModel.java
Java
unknown
671
// 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. package org.chromium.ui.modelutil; import androidx.annotation.NonNull; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Iter...
Zhao-PengFei35/chromium_src_4
ui/android/java/src/org/chromium/ui/modelutil/ListModelBase.java
Java
unknown
6,922