OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DateTimeFieldsState
(Results
1 - 24
of
24
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DateTimeFieldsState.cpp
28
#include "core/html/forms/
DateTimeFieldsState
.h"
34
const unsigned
DateTimeFieldsState
::emptyValue = static_cast<unsigned>(-1);
39
return
DateTimeFieldsState
::emptyValue;
42
return parsed ? value :
DateTimeFieldsState
::emptyValue;
45
static
DateTimeFieldsState
::AMPMValue getAMPMFromFormControlState(const FormControlState& state, size_t index)
48
return
DateTimeFieldsState
::AMPMValueEmpty;
51
return
DateTimeFieldsState
::AMPMValueAM;
53
return
DateTimeFieldsState
::AMPMValuePM;
54
return
DateTimeFieldsState
::AMPMValueEmpty;
57
DateTimeFieldsState
::DateTimeFieldsState(
[
all
...]
DateTimeFieldsState.h
35
//
DateTimeFieldsState
represents fields in date/time for form state
41
class
DateTimeFieldsState
{
51
DateTimeFieldsState
();
53
static
DateTimeFieldsState
restoreFormControlState(const FormControlState&);
DateInputType.h
62
virtual String formatDateTimeFieldsState(const
DateTimeFieldsState
&) const OVERRIDE;
DateTimeLocalInputType.h
64
virtual String formatDateTimeFieldsState(const
DateTimeFieldsState
&) const OVERRIDE FINAL;
MonthInputType.h
64
virtual String formatDateTimeFieldsState(const
DateTimeFieldsState
&) const OVERRIDE FINAL;
TimeInputType.h
62
virtual String formatDateTimeFieldsState(const
DateTimeFieldsState
&) const OVERRIDE FINAL;
WeekInputType.h
60
virtual String formatDateTimeFieldsState(const
DateTimeFieldsState
&) const OVERRIDE FINAL;
WeekInputType.cpp
37
#include "core/html/forms/
DateTimeFieldsState
.h"
93
String WeekInputType::formatDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
) const
95
if (!
dateTimeFieldsState
.hasYear() || !
dateTimeFieldsState
.hasWeekOfYear())
97
return String::format("%04u-W%02u",
dateTimeFieldsState
.year(),
dateTimeFieldsState
.weekOfYear());
DateInputType.cpp
37
#include "core/html/forms/
DateTimeFieldsState
.h"
97
String DateInputType::formatDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
) const
99
if (!
dateTimeFieldsState
.hasDayOfMonth() || !
dateTimeFieldsState
.hasMonth() || !
dateTimeFieldsState
.hasYear())
102
return String::format("%04u-%02u-%02u",
dateTimeFieldsState
.year(),
dateTimeFieldsState
.month(),
dateTimeFieldsState
.dayOfMonth());
DateTimeLocalInputType.cpp
38
#include "core/html/forms/
DateTimeFieldsState
.h"
108
String DateTimeLocalInputType::formatDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
) const
110
if (!
dateTimeFieldsState
.hasDayOfMonth() || !
dateTimeFieldsState
.hasMonth() || !
dateTimeFieldsState
.hasYear()
111
|| !
dateTimeFieldsState
.hasHour() || !
dateTimeFieldsState
.hasMinute() || !
dateTimeFieldsState
.hasAMPM())
114
if (
dateTimeFieldsState
.hasMillisecond() && dateTimeFieldsState.millisecond())
[
all
...]
MonthInputType.cpp
37
#include "core/html/forms/
DateTimeFieldsState
.h"
138
String MonthInputType::formatDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
) const
140
if (!
dateTimeFieldsState
.hasMonth() || !
dateTimeFieldsState
.hasYear())
142
return String::format("%04u-%02u",
dateTimeFieldsState
.year(),
dateTimeFieldsState
.month());
TimeInputType.cpp
37
#include "core/html/forms/
DateTimeFieldsState
.h"
128
String TimeInputType::formatDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
) const
130
if (!
dateTimeFieldsState
.hasHour() || !
dateTimeFieldsState
.hasMinute() || !
dateTimeFieldsState
.hasAMPM())
132
if (
dateTimeFieldsState
.hasMillisecond() &&
dateTimeFieldsState
.millisecond()) {
134
dateTimeFieldsState
.hour23(),
135
dateTimeFieldsState
.minute()
[
all
...]
BaseMultipleFieldsDateAndTimeInputType.cpp
42
#include "core/html/forms/
DateTimeFieldsState
.h"
464
DateTimeFieldsState
dateTimeFieldsState
=
DateTimeFieldsState
::restoreFormControlState(state);
465
edit->setValueAsDateTimeFieldsState(
dateTimeFieldsState
);
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DateTimeFieldElements.h
45
virtual void populateDateTimeFieldsState(
DateTimeFieldsState
&) OVERRIDE FINAL;
47
virtual void setValueAsDateTimeFieldsState(const
DateTimeFieldsState
&) OVERRIDE FINAL;
60
virtual void populateDateTimeFieldsState(
DateTimeFieldsState
&) OVERRIDE FINAL;
62
virtual void setValueAsDateTimeFieldsState(const
DateTimeFieldsState
&) OVERRIDE FINAL;
75
virtual void setValueAsDateTimeFieldsState(const
DateTimeFieldsState
&) OVERRIDE FINAL;
88
virtual void populateDateTimeFieldsState(
DateTimeFieldsState
&) OVERRIDE FINAL;
102
virtual void populateDateTimeFieldsState(
DateTimeFieldsState
&) OVERRIDE FINAL;
116
virtual void populateDateTimeFieldsState(
DateTimeFieldsState
&) OVERRIDE FINAL;
130
virtual void populateDateTimeFieldsState(
DateTimeFieldsState
&) OVERRIDE FINAL;
144
virtual void populateDateTimeFieldsState(
DateTimeFieldsState
&) OVERRIDE FINAL
[
all
...]
DateTimeFieldElements.cpp
30
#include "core/html/forms/
DateTimeFieldsState
.h"
58
void DateTimeAMPMFieldElement::populateDateTimeFieldsState(
DateTimeFieldsState
&
dateTimeFieldsState
)
61
dateTimeFieldsState
.setAMPM(valueAsInteger() ?
DateTimeFieldsState
::AMPMValuePM :
DateTimeFieldsState
::AMPMValueAM);
63
dateTimeFieldsState
.setAMPM(
DateTimeFieldsState
::AMPMValueEmpty);
71
void DateTimeAMPMFieldElement::setValueAsDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
)
[
all
...]
DateTimeFieldElement.h
36
class
DateTimeFieldsState
;
68
virtual void populateDateTimeFieldsState(
DateTimeFieldsState
&) = 0;
73
virtual void setValueAsDateTimeFieldsState(const
DateTimeFieldsState
&) = 0;
DateTimeEditElement.h
36
class
DateTimeFieldsState
;
58
virtual String formatDateTimeFieldsState(const
DateTimeFieldsState
&) const = 0;
101
void setValueAsDateTimeFieldsState(const
DateTimeFieldsState
&);
106
DateTimeFieldsState
valueAsDateTimeFieldsState() const;
DateTimeEditElement.cpp
34
#include "core/html/forms/
DateTimeFieldsState
.h"
729
void DateTimeEditElement::setValueAsDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
)
732
m_fields[fieldIndex]->setValueAsDateTimeFieldsState(
dateTimeFieldsState
);
754
DateTimeFieldsState
dateTimeFieldsState
= valueAsDateTimeFieldsState();
755
dateTimeFieldsState
.setYear(date.fullYear());
756
dateTimeFieldsState
.setMonth(date.month() + 1);
757
dateTimeFieldsState
.setDayOfMonth(date.monthDay());
758
setValueAsDateTimeFieldsState(
dateTimeFieldsState
);
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/
webcore_html.target.darwin-arm.mk
195
third_party/WebKit/Source/core/html/forms/
DateTimeFieldsState
.cpp \
webcore_html.target.darwin-mips.mk
195
third_party/WebKit/Source/core/html/forms/
DateTimeFieldsState
.cpp \
webcore_html.target.darwin-x86.mk
195
third_party/WebKit/Source/core/html/forms/
DateTimeFieldsState
.cpp \
webcore_html.target.linux-arm.mk
195
third_party/WebKit/Source/core/html/forms/
DateTimeFieldsState
.cpp \
webcore_html.target.linux-mips.mk
195
third_party/WebKit/Source/core/html/forms/
DateTimeFieldsState
.cpp \
webcore_html.target.linux-x86.mk
195
third_party/WebKit/Source/core/html/forms/
DateTimeFieldsState
.cpp \
Completed in 68 milliseconds