Lines Matching full:label
44 * DialogFragment to edit label.
54 // As long as the label box exists, save its state. in onSaveInstanceState()
66 var label = args.getString(ARG_LABEL) in onCreateDialog() variable
68 label = it.getString(ARG_LABEL, label) in onCreateDialog()
74 .setMessage(R.string.label) in onCreateDialog()
89 mLabelBox?.setText(label) in onCreateDialog()
111 * Sets the new label into the timer or alarm.
114 var label: String = mLabelBox!!.getText().toString() in setLabel() variable
115 if (label.trim { it <= ' ' }.isEmpty()) { in setLabel()
116 // Don't allow user to input label with only whitespace. in setLabel()
117 label = "" in setLabel()
121 (activity as AlarmLabelDialogHandler).onDialogLabelSet(mAlarm!!, label, mTag!!) in setLabel()
125 DataModel.dataModel.setTimerLabel(timer, label) in setLabel()
131 fun onDialogLabelSet(alarm: Alarm, label: String, tag: String) in onDialogLabelSet()
150 * Handles completing the label edit from the IME keyboard.
164 * Handles completing the label edit from the Ok button of the dialog.
184 fun newInstance(alarm: Alarm, label: String?, tag: String?): LabelDialogFragment { in newInstance()
186 args.putString(ARG_LABEL, label) in newInstance()
198 args.putString(ARG_LABEL, timer.label) in newInstance()