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.java65 private Button mAddButton; field in AddManualPrinterDialog
87 mAddButton = getButton(AlertDialog.BUTTON_POSITIVE); in onCreate()
91 mAddButton.setOnClickListener(view1 -> addPrinter()); in onCreate()
126 mAddButton.setEnabled(uriMatcher.matches()); in updateButtonState()
132 mAddButton.setEnabled(false); in addPrinter()
187 if (id == EditorInfo.IME_ACTION_DONE && mAddButton.isEnabled()) { in onEditorAction()
196 if (keyCode == KeyEvent.KEYCODE_ENTER && mAddButton.isEnabled()) { in onKey()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersActivity.java83 private TextView mAddButton; field in BlockedNumbersActivity
128 mAddButton = (TextView) findViewById(R.id.add_blocked); in onCreate()
129 mAddButton.setOnClickListener(this); in onCreate()
130 mAddButton.setContentDescription(getText(R.string.block_number)); in onCreate()
236 if (view == mAddButton) { in onClick()
297 mAddButton.setEnabled(false); in addBlockedNumber()
339 mAddButton.setEnabled(true); in onBlocked()