Home | History | Annotate | Download | only in browser

Lines Matching defs:crumb

37  * Simple bread crumb view
51 private List<Crumb> mCrumbs;
90 mCrumbs = new ArrayList<Crumb>();
123 Crumb c = getTopCrumb();
156 Crumb crumb = new Crumb(name, canGoBack, data);
157 pushCrumb(crumb);
158 return crumb.crumbView;
162 Crumb crumb = new Crumb(view, true, data);
163 pushCrumb(crumb);
187 private void pushCrumb(Crumb crumb) {
191 mCrumbs.add(crumb);
192 addView(crumb.crumbView);
194 crumb.crumbView.setOnClickListener(this);
228 Crumb top = getTopCrumb();
250 // Set the crumb to GONE.
253 // Each crumb is followed by a separator (except the last
259 // Move to the next crumb.
290 Crumb getTopCrumb() {
291 Crumb crumb = null;
293 crumb = mCrumbs.get(mCrumbs.size() - 1);
295 return crumb;
304 // pop until view matches crumb view
315 // If there is at least one crumb, the baseline will be its
328 // showing; i.e. if there is one crumb and no back button.
345 class Crumb {
351 public Crumb(String title, boolean backEnabled, Object tag) {
355 public Crumb(View view, boolean backEnabled, Object tag) {