/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/search/ |
D | WidgetsSearchBarControllerTest.java | 53 private ImageButton mCancelButton; field in WidgetsSearchBarControllerTest 66 mCancelButton = new ImageButton(testActivity); in setUp() 68 mSearchAlgorithm, mEditText, mCancelButton, mSearchModeListener); in setUp() 103 assertEquals(mCancelButton.getVisibility(), View.VISIBLE); in afterTextChanged_shouldShowCancelButton() 126 assertEquals(mCancelButton.getVisibility(), View.GONE); in afterTextChanged_empty_shouldHideCancelButton() 131 mCancelButton.performClick(); in cancelSearch_shouldInformSearchModeListenerToClearResultsAndExitSearch() 138 mCancelButton.performClick(); in cancelSearch_shouldCancelSearch() 146 mCancelButton.performClick(); in cancelSearch_shouldClearSearchBar()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/ |
D | WidgetsSearchBarController.java | 47 protected ImageButton mCancelButton; field in WidgetsSearchBarController 59 mCancelButton = cancelButton; in WidgetsSearchBarController() 60 mCancelButton.setOnClickListener(v -> clearSearchResult()); in WidgetsSearchBarController() 70 mCancelButton.setVisibility(GONE); in afterTextChanged() 75 mCancelButton.setVisibility(VISIBLE); in afterTextChanged()
|
D | LauncherWidgetsSearchBar.java | 37 private ImageButton mCancelButton; field in LauncherWidgetsSearchBar 57 mEditText, mCancelButton, searchModeListener); in initialize() 69 mCancelButton = findViewById(R.id.widgets_search_cancel_button); in onFinishInflate()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ButtonSwitcher.java | 48 private Button mCancelButton; field in ButtonSwitcher 72 mCancelButton = (Button)findViewById(R.id.dict_cancel_button); in onLayout() 90 return mCancelButton; in getButton() 121 mCancelButton.setTranslationX(STATUS_CANCEL == status ? 0 : width); in setButtonPositionWithoutAnimation() 154 mCancelButton.setOnClickListener(mOnClickListener); in setInternalOnClickListener()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
D | ContactsDumpActivity.java | 43 private Button mCancelButton; field in ContactsDumpActivity 59 mCancelButton = (Button) findViewById(R.id.cancel); in onCreate() 80 mCancelButton.setEnabled(false); in onClick() 139 mCancelButton.setEnabled(true); in onActivityResult()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDebugActivity.java | 48 private Button mCancelButton; field in CalendarDebugActivity 67 mCancelButton = (Button) findViewById(R.id.cancel); in onCreate() 90 mCancelButton.setEnabled(false); in onClick() 193 mCancelButton.setEnabled(true); in onActivityResult()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseFragment.java | 76 protected Button mCancelButton; field in ConfirmDeviceCredentialBaseFragment 124 mCancelButton = view.findViewById(R.id.cancelButton); in onViewCreated() 128 mCancelButton.setVisibility(showCancelButton || hasAlternateButton in onViewCreated() 131 mCancelButton.setText(mFrpAlternateButtonText); in onViewCreated() 133 mCancelButton.setOnClickListener(v -> { in onViewCreated()
|
D | ConfirmLockPassword.java | 283 mCancelButton.setAlpha(0f); in prepareEnterAnimation() 295 if (mCancelButton.getVisibility() == View.VISIBLE) { in getActiveViews() 296 result.add(mCancelButton); in getActiveViews()
|
D | ConfirmLockPattern.java | 246 mCancelButton.setAlpha(0f); in prepareEnterAnimation() 275 if (mCancelButton.getVisibility() == View.VISIBLE) { in getActiveViews() 276 result.add(new ArrayList<>(Collections.singletonList(mCancelButton))); in getActiveViews()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | BottomBar.java | 70 private ImageButton mCancelButton; field in BottomBar 134 LayerDrawable layerDrawable = (LayerDrawable) mCancelButton.getBackground(); in setCancelBackgroundColor() 198 mCancelButton = in onFinishInflate() 200 mCancelButton.setOnTouchListener(new OnTouchListener() { in onFinishInflate() 412 mCancelButton.setBackground(applyCircleDrawableToShutterBackground( in setupShutterBackgroundForModeIndex()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | ReviewPermissionsFragment.java | 76 private Button mCancelButton; field in ReviewPermissionsFragment 159 } else if (view == mCancelButton) { in onClick() 298 mCancelButton = getActivity().requireViewById(R.id.cancel_button); in bindUi() 299 mCancelButton.setOnClickListener(this); in bindUi()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/ |
D | ScanFragment.java | 96 private Button mCancelButton; field in ScanFragment 117 mCancelButton = (Button) view.findViewById(R.id.tune_cancel); in onCreateView() 118 mCancelButton.setOnClickListener( in onCreateView() 216 mCancelButton.setEnabled(false); in finishScan()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/ |
D | DeviceAdminAdd.java | 108 Button mCancelButton; field in DeviceAdminAdd 382 mCancelButton = (Button) findViewById(R.id.cancel_button); in createAddDeviceAdminUi() 383 mCancelButton.setFilterTouchesWhenObscured(true); in createAddDeviceAdminUi() 384 mCancelButton.setOnClickListener(new View.OnClickListener() { in createAddDeviceAdminUi()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/ |
D | DeviceAdminAdd.java | 126 Button mCancelButton; field in DeviceAdminAdd 387 mCancelButton = (Button) findViewById(R.id.cancel_button); in onCreate() 388 mCancelButton.setFilterTouchesWhenObscured(true); in onCreate() 389 mCancelButton.setOnClickListener(new View.OnClickListener() { in onCreate()
|
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/ |
D | AddAppNetworksFragment.java | 113 Button mCancelButton; field in AddAppNetworksFragment 218 mCancelButton = view.findViewById(R.id.cancel); in onViewCreated() 223 mCancelButton.setOnClickListener(getCancelClickListener()); in onViewCreated()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/ |
D | AddAppNetworksFragmentTest.java | 143 assertThat(mAddAppNetworksFragment.mCancelButton).isNotNull(); in launchFragment_shouldShowCancelButton()
|