Home
last modified time | relevance | path

Searched refs:setOnLongClickListener (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/support/compat/src/main/java/androidx/core/view/
DDragStartHelper.java107 mView.setOnLongClickListener(mLongClickListener); in attach()
117 mView.setOnLongClickListener(null); in detach()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DViewBindingAdapter.java144 public static void setOnLongClickListener(View view, View.OnLongClickListener clickListener, in setOnLongClickListener() method in ViewBindingAdapter
146 view.setOnLongClickListener(clickListener); in setOnLongClickListener()
153 view.setOnLongClickListener(clickListener); in setOnLongClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DButtonDispatcher.java80 view.setOnLongClickListener(mLongClickListener); in addView()
227 public void setOnLongClickListener(View.OnLongClickListener longClickListener) {
231 mViews.get(i).setOnLongClickListener(mLongClickListener);
DNavigationBarFragment.java735 backButton.setOnLongClickListener(this::onLongPressBackRecents); in updateScreenPinningGestures()
737 backButton.setOnLongClickListener(this::onLongPressBackHome); in updateScreenPinningGestures()
752 recentsButton.setOnLongClickListener(this::onLongPressBackRecents); in prepareNavigationBarView()
759 homeButton.setOnLongClickListener(this::onHomeLongClick); in prepareNavigationBarView()
763 accessibilityButton.setOnLongClickListener(this::onAccessibilityLongClick); in prepareNavigationBarView()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DTooltipCompatHandler.java100 view.setOnLongClickListener(null); in setTooltipText()
115 mAnchor.setOnLongClickListener(this); in TooltipCompatHandler()
DActivityChooserView.java245 mDefaultActivityButton.setOnLongClickListener(mCallbacks); in ActivityChooserView()
/frameworks/base/core/tests/coretests/src/android/view/
DLongpressTest.java45 mSimpleView.setOnLongClickListener(new OnLongClickListener() { in setUp()
DDisabledLongpressTest.java46 mSimpleView.setOnLongClickListener(new OnLongClickListener() { in setUp()
/frameworks/base/core/java/android/widget/
DZoomButton.java67 setOnLongClickListener(this); in ZoomButton()
DActivityChooserView.java254 mDefaultActivityButton.setOnLongClickListener(mCallbacks); in ActivityChooserView()
DNumberPicker.java715 mIncrementButton.setOnLongClickListener(onLongClickListener); in NumberPicker()
724 mDecrementButton.setOnLongClickListener(onLongClickListener); in NumberPicker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationButton.java84 setOnLongClickListener(v -> { in onFinishInflate()
DCarFacetButton.java106 setOnLongClickListener(v -> { in setupIntents()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DItemTouchHelperTest.java154 target.itemView.setOnLongClickListener(new View.OnLongClickListener() { in attachToNullRecycleViewDuringLongPress()
183 target.itemView.setOnLongClickListener(new View.OnLongClickListener() { in attachToAnotherRecycleViewDuringLongPress()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java121 setOnLongClickListener(new OnLongClickListener() { in onFinishInflate()
DKeyguardPinBasedInputView.java209 mDeleteButton.setOnLongClickListener(new View.OnLongClickListener() { in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileView.java147 mLabelContainer.setOnLongClickListener(longClick); in init()
DQSTileBaseView.java147 setOnLongClickListener(longClick); in init()
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DSliceView.java258 public void setOnLongClickListener(View.OnLongClickListener listener) { in setOnLongClickListener() method in SliceView
259 super.setOnLongClickListener(listener); in setOnLongClickListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DPluginFragment.java209 holder.itemView.setOnLongClickListener(v -> { in onBindViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewHeader.java253 mIconView.setOnLongClickListener(this); in onFinishInflate()
623 mAppIconView.setOnLongClickListener(this); in showAppOverlay()
DTaskView.java185 setOnLongClickListener(this); in TaskView()
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
DSliceBrowser.java289 v.setOnLongClickListener(new View.OnLongClickListener() { in createSliceView()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java228 holder.itemView.setOnLongClickListener(new OnLongClickListener() { in onBindViewHolder()
/frameworks/support/compat/src/androidTest/java/androidx/core/view/
DDragStartHelperTest.java350 mDragSource.setOnLongClickListener(new View.OnLongClickListener() {

12