Home
last modified time | relevance | path

Searched refs:mAddButton (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryPanel.java40 private IconView mAddButton; field in CategoryPanel
128 mAddButton = (IconView) main.findViewById(R.id.addButton); in onCreateView()
129 if (mAddButton != null) { in onCreateView()
130 mAddButton.setOnClickListener(this); in onCreateView()
147 if (mAddButton == null) { in updateAddButtonVisibility()
152 mAddButton.setVisibility(View.VISIBLE); in updateAddButtonVisibility()
154 mAddButton.setText(mAdapter.getAddButtonText()); in updateAddButtonVisibility()
157 mAddButton.setVisibility(View.GONE); in updateAddButtonVisibility()
/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DAddManualPrinterDialog.java63 private Button mAddButton; field in AddManualPrinterDialog
84 mAddButton = getButton(AlertDialog.BUTTON_POSITIVE); in onCreate()
88 mAddButton.setOnClickListener(view1 -> addPrinter()); in onCreate()
117 mAddButton.setEnabled(hostMatch.matches()); in updateButtonState()
123 mAddButton.setEnabled(false); in addPrinter()
170 if (id == EditorInfo.IME_ACTION_DONE && mAddButton.isEnabled()) { in onEditorAction()
179 if (keyCode == KeyEvent.KEYCODE_ENTER && mAddButton.isEnabled()) { in onKey()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersActivity.java76 private TextView mAddButton; field in BlockedNumbersActivity
120 mAddButton = (TextView) findViewById(R.id.add_blocked); in onCreate()
121 mAddButton.setOnClickListener(this); in onCreate()
200 if (view == mAddButton) { in onClick()
257 mAddButton.setEnabled(false); in addBlockedNumber()
289 mAddButton.setEnabled(true); in onBlocked()