/cts/hostsidetests/theme/app/src/android/theme/app/modifiers/ |
DatePickerModifier.java | 21 import android.widget.DatePicker; 24 * {@link LayoutModifier} that sets a precise date on a {@link DatePicker}. 30 DatePicker tp = (DatePicker) view;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DatePickerActivity.java | 29 DatePicker picker = new DatePicker(this); 30 picker.init(2012, 3, 3, true, new DatePicker.OnDateChangedListener() { 32 public void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
|
DatePicker.java | 43 * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-datepicker.html">Date Picker 49 public class DatePicker extends FrameLayout { 83 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); 86 public DatePicker(Context context) { 90 public DatePicker(Context context, AttributeSet attrs) { 95 public DatePicker(Context context, AttributeSet attrs, int defStyle) { 174 com.android.internal.R.styleable.DatePicker); 295 * Constructor called from {@link DatePicker#onSaveInstanceState()} 471 mOnDateChangedListener.onDateChanged(DatePicker.this, year, mMonth, mDay);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
DatePickerTest.java | 31 import android.widget.DatePicker; 34 * Test {@link DatePicker}. 47 new DatePicker(mContext); 49 new DatePicker(mContext, null); 51 new DatePicker(mContext, getAttributeSet(R.layout.datepicker_layout)); 53 new DatePicker(mContext, getAttributeSet(R.layout.datepicker_layout), 0); 59 new DatePicker(null, getAttributeSet(R.layout.datepicker_layout), 0); 67 MockDatePicker datePicker = createDatePicker(); 69 assertTrue(datePicker.isEnabled()); 71 datePicker.setEnabled(false) [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/ |
ChromeDatePickerDialog.java | 9 import android.widget.DatePicker; 36 DatePicker datePicker = getDatePicker(); 37 datePicker.clearFocus(); 38 mCallBack.onDateSet(datePicker, datePicker.getYear(), 39 datePicker.getMonth(), datePicker.getDayOfMonth());
|
DateTimePickerDialog.java | 14 import android.widget.DatePicker; 15 import android.widget.DatePicker.OnDateChangedListener; 23 private final DatePicker mDatePicker; 36 * @param dateView The DatePicker view associated with this listener. 45 void onDateTimeSet(DatePicker dateView, TimePicker timeView, int year, int monthOfYear, 81 mDatePicker = (DatePicker) view.findViewById(R.id.date_picker); 109 public void onDateChanged(DatePicker view, int year,
|
DateDialogNormalizer.java | 7 import android.widget.DatePicker; 8 import android.widget.DatePicker.OnDateChangedListener; 18 private static void setLimits(DatePicker picker, long minMillis, long maxMillis) { 19 // DatePicker intervals are non inclusive, the DatePicker will throw an 59 public static void normalize(DatePicker picker, OnDateChangedListener listener,
|
InputDialogContainer.java | 15 import android.widget.DatePicker; 299 public void onDateSet(DatePicker view, int year, int month, int monthDay) { 326 public void onDateTimeSet(DatePicker dateView, TimePicker timeView,
|
/frameworks/base/core/java/android/app/ |
DatePickerDialog.java | 28 import android.widget.DatePicker; 29 import android.widget.DatePicker.OnDateChangedListener; 30 import android.widget.DatePicker.ValidationCallback; 37 * A simple dialog containing an {@link android.widget.DatePicker}. 49 private final DatePicker mDatePicker; 67 void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth); 118 mDatePicker = (DatePicker) view.findViewById(R.id.datePicker); 124 public void onDateChanged(DatePicker view, int year, int month, int day) { 145 * Gets the {@link DatePicker} contained in this dialog [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
DatePicker.java | 28 public class DatePicker extends Picker { 53 public static DatePicker newInstance() { 58 * Creates a new instance of DatePicker 61 * of the fields Year, Month and Day to be displayed in the DatePicker. 63 public static DatePicker newInstance(String format) { 68 * Creates a new instance of DatePicker 71 * of the fields Year, Month and Day to be displayed in the DatePicker. 74 public static DatePicker newInstance(String format, int startYear) { 79 * Creates a new instance of DatePicker 82 * of the fields Year, Month and Day to be displayed in the DatePicker [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 17 package com.android.contacts.datepicker; 19 // This is a fork of the standard Android DatePicker that additionally allows toggling the year 32 import com.android.contacts.datepicker.DatePicker.OnDateChangedListener; 38 * A simple dialog containing an {@link DatePicker}. 40 * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-datepicker.html">Date Picker 47 public static int NO_YEAR = DatePicker.NO_YEAR; 54 private final DatePicker mDatePicker; 75 void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth); 167 mDatePicker = (DatePicker) view.findViewById(R.id.datePicker) [all...] |
DatePicker.java | 17 package com.android.contacts.datepicker; 19 // This is a fork of the standard Android DatePicker that additionally allows toggling the year 53 * <p>See the <a href="{@docRoot}resources/tutorials/views/hello-datepicker.html">Date Picker 59 public class DatePicker extends FrameLayout { 91 * @param year The year that was set or {@link DatePicker#NO_YEAR} if no year was set 96 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); 99 public DatePicker(Context context) { 103 public DatePicker(Context context, AttributeSet attrs) { 107 public DatePicker(Context context, AttributeSet attrs, int defStyle) { 258 * Constructor called from {@link DatePicker#onSaveInstanceState() [all...] |
/frameworks/base/core/java/android/widget/ |
DatePicker.java | 93 public class DatePicker extends FrameLayout { 94 private static final String LOG_TAG = DatePicker.class.getSimpleName(); 115 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); 118 public DatePicker(Context context) { 122 public DatePicker(Context context, AttributeSet attrs) { 126 public DatePicker(Context context, AttributeSet attrs, int defStyleAttr) { 130 public DatePicker(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 133 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.DatePicker, 213 * Gets the minimal date supported by this {@link DatePicker} in 238 * Gets the maximal date supported by this {@link DatePicker} i [all...] |
TextViewWithCircularIndicator.java | 58 R.styleable.DatePicker, defStyleAttr, defStyleRes);
|
DatePickerCalendarDelegate.java | 48 class DatePickerCalendarDelegate extends DatePicker.AbstractDatePickerDelegate implements 92 private DatePicker.OnDateChangedListener mDateChangedListener; 105 public DatePickerCalendarDelegate(DatePicker delegator, Context context, AttributeSet attrs, 120 R.styleable.DatePicker, defStyleAttr, defStyleRes); 371 DatePicker.OnDateChangedListener callBack) { 499 "CalendarView does not exists for the new DatePicker"); 504 // No-op for compatibility with the old DatePicker. 514 // No-op for compatibility with the old DatePicker. 583 event.setClassName(DatePicker.class.getName()); 588 info.setClassName(DatePicker.class.getName()) [all...] |
/developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/ |
PhoneMainActivity.java | 33 import android.widget.DatePicker; 72 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
|
/developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/ |
PhoneMainActivity.java | 33 import android.widget.DatePicker; 72 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DateWidgets1.java | 28 import android.widget.DatePicker; 36 * {@link android.app.TimePickerDialog} and {@link android.widget.DatePicker}. 131 public void onDateSet(DatePicker view, int year, int monthOfYear,
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/ |
PhoneMainActivity.java | 33 import android.widget.DatePicker; 72 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
DateTimeEditor.java | 31 import android.widget.DatePicker; 75 public void onDateSet(DatePicker view, int year, 91 launchDialogOnClick(activity, "datePicker", dateButton, datePickerFragment);
|
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettingsSetupWizard.java | 44 import android.widget.DatePicker; 78 private DatePicker mDatePicker; 140 mDatePicker = (DatePicker)findViewById(R.id.date_picker);
|
DateTimeSettings.java | 43 import android.widget.DatePicker; 172 public void onDateSet(DatePicker view, int year, int month, int day) { 234 static void configureDatePicker(DatePicker datePicker) { 239 datePicker.setMinDate(t.getTimeInMillis()); 242 datePicker.setMaxDate(t.getTimeInMillis()); 250 DatePickerDialog datePicker = (DatePickerDialog)d; 252 datePicker.updateDate(
|
/cts/tests/app/src/android/app/cts/ |
DialogStubActivity.java | 40 import android.widget.DatePicker; 101 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) { 406 public void onDateChanged(DatePicker view, int year, int month, int day) {
|
/cts/tests/tests/content/src/android/content/cts/ |
ContextTest.java | 143 int[] attrs = android.R.styleable.DatePicker;
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EventFieldEditorView.java | 29 import com.android.contacts.datepicker.DatePicker; 30 import com.android.contacts.datepicker.DatePickerDialog; 31 import com.android.contacts.datepicker.DatePickerDialog.OnDateSetListener; 228 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
|