Home
last modified time | relevance | path

Searched refs:deleteView (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java119 View deleteView = view.findViewById(R.id.trash_user); in onBindViewHolder() local
120 if (deleteView != null) { in onBindViewHolder()
122 deleteView.setVisibility(View.VISIBLE); in onBindViewHolder()
124 deleteView.setOnClickListener(mDeleteClickListener); in onBindViewHolder()
125 deleteView.setTag(this); in onBindViewHolder()
127 deleteView.setVisibility(View.GONE); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserPreference.java119 View deleteView = view.findViewById(R.id.trash_user); in onBindViewHolder() local
120 if (deleteView != null) { in onBindViewHolder()
122 deleteView.setVisibility(View.VISIBLE); in onBindViewHolder()
124 deleteView.setOnClickListener(mDeleteClickListener); in onBindViewHolder()
125 deleteView.setTag(this); in onBindViewHolder()
127 deleteView.setVisibility(View.GONE); in onBindViewHolder()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerSetupViewTest.java65 private View deleteView; field in TimerSetupViewTest
94 deleteView = timerSetupView.findViewById(R.id.timer_setup_delete); in setUp()
105 deleteView = null; in tearDown()
247 assertFalse(deleteView.isEnabled()); in assertIsReset()
248 assertTrue(TextUtils.equals("Delete", deleteView.getContentDescription())); in assertIsReset()
277 assertTrue(deleteView.isEnabled()); in assertHasValue()
278 assertTrue(TextUtils.equals("Delete " + seconds % 10, deleteView.getContentDescription())); in assertHasValue()
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java532 deleteView(view, shouldAnimate); in updateEmptyNonNameEditors()
568 private void deleteView(View view, boolean shouldAnimate) { in deleteView() method in KindSectionView