Home
last modified time | relevance | path

Searched refs:mCancelButton (Results 1 – 16 of 16) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DButtonSwitcher.java48 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/
DContactsDumpActivity.java43 private Button mCancelButton; field in ContactsDumpActivity
59 mCancelButton = (Button) findViewById(R.id.cancel); in onCreate()
73 mCancelButton.setEnabled(false); in onClick()
132 mCancelButton.setEnabled(true); in onActivityResult()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java48 private Button mCancelButton; field in CalendarDebugActivity
67 mCancelButton = (Button) findViewById(R.id.cancel); in onCreate()
83 mCancelButton.setEnabled(false); in onClick()
186 mCancelButton.setEnabled(true); in onActivityResult()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DChooseNewAdminFragment.java46 private MenuItem mCancelButton; field in ChooseNewAdminFragment
64 return Collections.singletonList(mCancelButton); in getToolbarMenuItems()
71 mCancelButton = new MenuItem.Builder(getContext()) in onCreate()
DEditUsernameFragment.java48 private MenuItem mCancelButton; field in EditUsernameFragment
65 return Arrays.asList(mCancelButton, mOkButton); in getToolbarMenuItems()
85 mCancelButton = new MenuItem.Builder(getContext()) in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialBaseFragment.java79 protected Button mCancelButton; field in ConfirmDeviceCredentialBaseFragment
119 mCancelButton = (Button) view.findViewById(R.id.cancelButton); in onViewCreated()
124 mCancelButton.setVisibility(showCancelButton || hasAlternateButton in onViewCreated()
127 mCancelButton.setText(mFrpAlternateButtonText); in onViewCreated()
129 mCancelButton.setOnClickListener(new View.OnClickListener() { in onViewCreated()
DConfirmLockPassword.java242 mCancelButton.setAlpha(0f); in prepareEnterAnimation()
251 if (mCancelButton.getVisibility() == View.VISIBLE) { in getActiveViews()
252 result.add(mCancelButton); in getActiveViews()
DConfirmLockPattern.java231 mCancelButton.setAlpha(0f); in prepareEnterAnimation()
256 if (mCancelButton.getVisibility() == View.VISIBLE) { in getActiveViews()
257 result.add(new ArrayList<Object>(Collections.singletonList(mCancelButton))); in getActiveViews()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseFragment.java79 protected Button mCancelButton; field in ConfirmDeviceCredentialBaseFragment
119 mCancelButton = (Button) view.findViewById(R.id.cancelButton); in onViewCreated()
124 mCancelButton.setVisibility(showCancelButton || hasAlternateButton in onViewCreated()
127 mCancelButton.setText(mFrpAlternateButtonText); in onViewCreated()
129 mCancelButton.setOnClickListener(new View.OnClickListener() { in onViewCreated()
DConfirmLockPassword.java242 mCancelButton.setAlpha(0f); in prepareEnterAnimation()
251 if (mCancelButton.getVisibility() == View.VISIBLE) { in getActiveViews()
252 result.add(mCancelButton); in getActiveViews()
DConfirmLockPattern.java231 mCancelButton.setAlpha(0f); in prepareEnterAnimation()
256 if (mCancelButton.getVisibility() == View.VISIBLE) { in getActiveViews()
257 result.add(new ArrayList<Object>(Collections.singletonList(mCancelButton))); in getActiveViews()
/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java70 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/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DReviewPermissionsFragment.java76 private Button mCancelButton; field in ReviewPermissionsFragment
156 } else if (view == mCancelButton) { in onClick()
295 mCancelButton = getActivity().requireViewById(R.id.cancel_button); in bindUi()
296 mCancelButton.setOnClickListener(this); in bindUi()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanFragment.java96 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java119 Button mCancelButton; field in DeviceAdminAdd
328 mCancelButton = (Button) findViewById(R.id.cancel_button); in onCreate()
329 mCancelButton.setFilterTouchesWhenObscured(true); in onCreate()
330 mCancelButton.setOnClickListener(new View.OnClickListener() { in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java120 Button mCancelButton; field in DeviceAdminAdd
377 mCancelButton = (Button) findViewById(R.id.cancel_button); in onCreate()
378 mCancelButton.setFilterTouchesWhenObscured(true); in onCreate()
379 mCancelButton.setOnClickListener(new View.OnClickListener() { in onCreate()