Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: ui/android/java/src/org/chromium/ui/picker/DateTimeSuggestionListAdapter.java

Issue 574673003: Move *Picker.java and *PickerDialog.java to ui/android/java/... - Part1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased patch. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.content.browser.input; 5 package org.chromium.ui.picker;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.view.LayoutInflater; 8 import android.view.LayoutInflater;
9 import android.view.View; 9 import android.view.View;
10 import android.view.ViewGroup; 10 import android.view.ViewGroup;
11 import android.widget.ArrayAdapter; 11 import android.widget.ArrayAdapter;
12 import android.widget.TextView; 12 import android.widget.TextView;
13 13
14 import org.chromium.content.R; 14 import org.chromium.ui.R;
15 15
16 import java.util.List; 16 import java.util.List;
17 17
18 /** 18 /**
19 * Date/time suggestion adapter for the suggestion dialog. 19 * Date/time suggestion adapter for the suggestion dialog.
20 */ 20 */
21 class DateTimeSuggestionListAdapter extends ArrayAdapter<DateTimeSuggestion> { 21 class DateTimeSuggestionListAdapter extends ArrayAdapter<DateTimeSuggestion> {
22 private final Context mContext; 22 private final Context mContext;
23 23
24 DateTimeSuggestionListAdapter(Context context, List<DateTimeSuggestion> obje cts) { 24 DateTimeSuggestionListAdapter(Context context, List<DateTimeSuggestion> obje cts) {
(...skipping 20 matching lines...) Expand all
45 } 45 }
46 46
47 return layout; 47 return layout;
48 } 48 }
49 49
50 @Override 50 @Override
51 public int getCount() { 51 public int getCount() {
52 return super.getCount() + 1; 52 return super.getCount() + 1;
53 } 53 }
54 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698