Lines Matching refs:label
51 public static LabelDialogFragment newInstance(Alarm alarm, String label, String tag) { in newInstance() argument
54 args.putString(KEY_LABEL, label); in newInstance()
61 public static LabelDialogFragment newInstance(TimerObj timer, String label, String tag) { in newInstance() argument
64 args.putString(KEY_LABEL, label); in newInstance()
81 final String label = bundle.getString(KEY_LABEL); in onCreateView() local
89 mLabelBox.setText(label); in onCreateView()
114 setLabelBoxBackground(TextUtils.isEmpty(label)); in onCreateView()
139 String label = mLabelBox.getText().toString(); in set() local
140 if (label.trim().length() == 0) { in set()
142 label = ""; in set()
146 set(alarm, tag, label); in set()
148 set(timer, tag, label); in set()
154 private void set(Alarm alarm, String tag, String label) { in set() argument
158 ((DeskClock) getActivity()).onDialogLabelSet(alarm, label, tag); in set()
166 private void set(TimerObj timer, String tag, String label) { in set() argument
170 ((DeskClock) getActivity()).onDialogLabelSet(timer, label, tag); in set()
184 void onDialogLabelSet(Alarm alarm, String label, String tag); in onDialogLabelSet() argument
188 void onDialogLabelSet(TimerObj timer, String label, String tag); in onDialogLabelSet() argument