OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:timePicker
(Results
1 - 14
of
14
) sorted by null
/cts/hostsidetests/theme/app/src/android/theme/app/modifiers/
TimePickerModifier.java
20
import android.widget.
TimePicker
;
26
TimePicker
timePicker
= (
TimePicker
) view;
27
timePicker
.setIs24HourView(true);
28
timePicker
.setCurrentHour(13);
29
timePicker
.setCurrentMinute(37);
/development/samples/ApiDemos/src/com/example/android/apis/view/
DateWidgets2.java
23
import android.widget.
TimePicker
;
38
TimePicker
timePicker
= (
TimePicker
) findViewById(R.id.
timePicker
);
39
timePicker
.setCurrentHour(12);
40
timePicker
.setCurrentMinute(15);
46
timePicker
.setOnTimeChangedListener(new
TimePicker
.OnTimeChangedListener() {
48
public void onTimeChanged(
TimePicker
view, int hourOfDay, int minute)
[
all
...]
/cts/tests/autofillservice/src/android/autofillservice/cts/
MultipleTimesTimeListener.java
23
import android.widget.
TimePicker
;
29
* Custom {@OnDateChangedListener} used to assert a {@link
TimePicker
} was auto-filled properly.
31
final class MultipleTimesTimeListener implements
TimePicker
.OnTimeChangedListener {
34
private final
TimePicker
timePicker
;
38
MultipleTimesTimeListener(String name, int times,
TimePicker
timePicker
, int expectedHour,
41
this.
timePicker
=
timePicker
;
48
public void onTimeChanged(
TimePicker
view, int hour, int minute)
[
all
...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
LeanbackPickerDialogFragment.java
23
import android.support.v17.leanback.widget.picker.
TimePicker
;
68
* Generated a new DialogFragment displaying a Leanback
TimePicker
widget.
70
* @return The fragment to be started displaying a
TimePicker
widget for setting time.
128
TimePicker
timePicker
= (
TimePicker
) pickerContainer.findViewById(R.id.time_picker);
129
timePicker
.setActivated(true);
130
timePicker
.setOnClickListener(new View.OnClickListener(){
134
mCalendar.set(Calendar.HOUR_OF_DAY,
timePicker
.getHour());
135
mCalendar.set(Calendar.MINUTE,
timePicker
.getMinute())
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
TimePickerDialogFragment.java
29
import android.widget.
TimePicker
;
36
* DialogFragment used to show
TimePicker
.
62
public void onTimeSet(
TimePicker
view, int hourOfDay, int minute) {
70
final
TimePicker
timePicker
= new
TimePicker
(context);
71
timePicker
.setCurrentHour(hour);
72
timePicker
.setCurrentMinute(minute);
73
timePicker
.setIs24HourView(DateFormat.is24HourFormat(context));
75
return builder.setView(
timePicker
)
[
all
...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/picker/
TimePickerTest.java
51
TimePicker
mTimePicker12HourView;
52
TimePicker
mTimePicker24HourView;
69
mTimePicker12HourView = (
TimePicker
) mActivity.findViewById(R.id.time_picker12);
82
mTimePicker24HourView = (
TimePicker
) mActivity.findViewById(R.id.time_picker24);
92
// A layout with only a
TimePicker
widget that is initially activated.
117
assertThat("
TimePicker
in 24-hour mode returns a different hour in getHour()",
127
assertThat("
TimePicker
in 24-hour mode returns a different hour in getHour()",
137
assertThat("
TimePicker
in 24-hour mode returns a different hour in getHour()",
147
assertThat("
TimePicker
in 24-hour mode returns a different hour in getHour()",
157
assertThat("
TimePicker
in 24-hour mode returns a different hour in getHour()"
[
all
...]
/prebuilts/misc/common/android-support-test/espresso/
espresso_contrib_release_no_deps.jar
/prebuilts/tools/common/m2/repository/com/jayway/android/robotium/robotium-solo/5.5.3/
robotium-solo-5.5.3.jar
/external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
/prebuilts/misc/common/robolectric/lib/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-6.0.0_r1-robolectric-0.jar
Completed in 287 milliseconds