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.java78 private TextView mAddButton; field in BlockedNumbersActivity
122 mAddButton = (TextView) findViewById(R.id.add_blocked); in onCreate()
123 mAddButton.setOnClickListener(this); in onCreate()
124 mAddButton.setContentDescription(getText(R.string.block_number)); in onCreate()
230 if (view == mAddButton) { in onClick()
287 mAddButton.setEnabled(false); in addBlockedNumber()
319 mAddButton.setEnabled(true); in onBlocked()