/foundation/arkui/ace_engine_lite/frameworks/examples/alarm/src/main/js/default/pages/index/ |
D | index.js | 87 var hour = timeArray[0]; variable 93 if (hour == "00") { 94 hour = onTheHour; 95 return hour + ":" + minute + " 上午"; 97 if (Number(hour) == onTheHour) { 98 return hour + ":" + minute + " 下午"; 100 if (Number(hour) > onTheHour) { 101 hour = Number(hour) - onTheHour; 102 return hour + ":" + minute + " 下午"; 104 return hour + ":" + minute + " 上午";
|
/foundation/arkui/ace_engine_lite/frameworks/examples/alarm/src/main/js/default/pages/editAlarm/ |
D | edit_alarm.js | 85 var hour = hourTimeArray[0]; variable 90 if (Number(hour) != onTheHour) { 91 hour = Number(hour) + onTheHour; 93 this.dataWrapper.time = hour + ":" + minute; 95 if (Number(hour) == onTheHour) { 96 hour = "00"; 98 this.dataWrapper.time = hour + ":" + minute; 106 this.targetHour = e.hour;
|
/foundation/arkui/ui_lite/frameworks/components/ |
D | ui_abstract_clock.cpp | 19 void UIAbstractClock::SetTime24Hour(uint8_t hour, uint8_t minute, uint8_t second) in SetTime24Hour() argument 21 currentHour_ = hour % ONE_DAY_IN_HOUR; in SetTime24Hour() 27 void UIAbstractClock::SetTime12Hour(uint8_t hour, uint8_t minute, uint8_t second, bool am) in SetTime12Hour() argument 29 SetTime24Hour((hour % HALF_DAY_IN_HOUR) + (am ? 0 : HALF_DAY_IN_HOUR), minute, second); in SetTime12Hour()
|
D | ui_analog_clock.cpp | 139 void UIAnalogClock::SetInitTime24Hour(uint8_t hour, uint8_t minute, uint8_t second) in SetInitTime24Hour() argument 141 currentHour_ = hour % ONE_DAY_IN_HOUR; in SetInitTime24Hour() 162 void UIAnalogClock::SetInitTime12Hour(uint8_t hour, uint8_t minute, uint8_t second, bool am) in SetInitTime12Hour() argument 164 SetInitTime24Hour((hour % HALF_DAY_IN_HOUR) + (am ? 0 : HALF_DAY_IN_HOUR), minute, second); in SetInitTime12Hour()
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
D | picker_time_component.cpp | 80 for (uint32_t hour = 0; hour <= 23; ++hour) { // time's hour from 0 to 23. in HandleHourColumnBuilding() local 81 if (hour == selectedTime_.GetHour()) { in HandleHourColumnBuilding() 84 hourColumn->AppendOption(GetHourFormatString(hour)); in HandleHourColumnBuilding() 96 for (uint32_t hour = 1; hour <= 12; ++hour) { // hour start from 1 to 12 in HandleHourColumnBuilding() local 97 if (hour == selectedHour) { in HandleHourColumnBuilding() 100 hourColumn->AppendOption(GetHourFormatString(hour)); in HandleHourColumnBuilding() 298 std::string PickerTimeComponent::GetHourFormatString(uint32_t hour) const in GetHourFormatString() 301 time.minute = hour; // minute range [0, 59], hour range [0, 23]; hour range is in minute range. in GetHourFormatString()
|
D | picker_data.h | 93 …PickerTime(uint32_t hour, uint32_t minute, uint32_t second) : hour_(hour), minute_(minute), second… in PickerTime() argument
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
D | ui_abstract_clock.h | 88 UIAbstractClock(uint8_t hour, uint8_t minute, uint8_t second) in UIAbstractClock() argument 89 : currentHour_(hour), currentMinute_(minute), currentSecond_(second) in UIAbstractClock() 122 void SetTime24Hour(uint8_t hour, uint8_t minute, uint8_t second); 135 void SetTime12Hour(uint8_t hour, uint8_t minute, uint8_t second, bool am);
|
D | ui_analog_clock.h | 287 void SetInitTime24Hour(uint8_t hour, uint8_t minute, uint8_t second); 300 void SetInitTime12Hour(uint8_t hour, uint8_t minute, uint8_t second, bool am);
|
/foundation/ability/form_fwk/services/include/ |
D | form_timer.h | 43 int hour; variable 56 hour = -1; in FormTimer() 69 hour = -1; 82 hour = -1; 94 hour = hourTime;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
D | timepicker_row_accessibility_property.cpp | 43 int hour = hourPickerColumnPattern->GetCurrentIndex(); // + 1; in GetText() local 45 hour += 1; in GetText() 47 std::string textHour = std::to_string(hour); in GetText() 48 if (hour < DOUBLE_DIGIT) { in GetText()
|
D | timepicker_row_pattern.cpp | 436 for (uint32_t hour = 0; hour <= 23; ++hour) { // time's hour from 0 to 23. in HandleHourColumnBuilding() local 437 if (hour == selectedTime_.GetHour()) { in HandleHourColumnBuilding() 438 hourColumnPattern->SetCurrentIndex(hour); in HandleHourColumnBuilding() 461 for (uint32_t hour = 1; hour <= AM_PM_HOUR_12; ++hour) { // AM_PM hour start from 1 to 12 in HandleHourColumnBuilding() local 462 if (hour == selectedHour) { in HandleHourColumnBuilding() 463 hourColumnPattern->SetCurrentIndex(hour - 1); in HandleHourColumnBuilding() 500 auto hour = *iter; in UpdateAllChildNode() local 501 CHECK_NULL_VOID(hour); in UpdateAllChildNode() 507 auto hourStackNode = DynamicCast<FrameNode>(hour); in UpdateAllChildNode() 518 auto hour = *iter; in UpdateAllChildNode() local [all …]
|
/foundation/multimedia/player_framework/test/sample/AVRecorder/entry/src/main/ets/utils/ |
D | DateTimeUtils.ets | 40 concatTime(hour: number, minute: number, second: number): string { 41 return `${this.fill(hour)}${this.fill(minute)}${this.fill(second)}`; 61 let hour = Math.floor(t / 60 / 60) % 24 62 let h = hour < 10 ? '0' + hour : hour
|
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/common/js/ |
D | picker_view.js | 36 console.log("getTime called:hour=" + e.hour + " minute=" + e.minute); 37 this.textValue = e.hour + ":" + e.minute;
|
/foundation/arkui/ace_engine/frameworks/core/components/clock/ |
D | render_clock.h | 30 using OnHourCallback = std::function<void(const std::string& hour)>; 31 using AccessibilityTimeCallback = std::function<void(double hour, double minute)>; 115 void UpdateAccessibilityInfo(double hour, double minute);
|
D | flutter_render_clock.cpp | 168 auto hour = static_cast<int32_t>(timeOfNow.hour24_); in Paint() local 169 if (curHour_ != hour) { in Paint() 170 curHour_ = hour; in Paint()
|
D | rosen_render_clock.cpp | 183 auto hour = static_cast<int32_t>(timeOfNow.hour24_); in PerformLayout() local 184 if (curHour_ != hour) { in PerformLayout() 185 curHour_ = hour; in PerformLayout()
|
D | render_clock.cpp | 95 …renderClockHand_->SetAccessibilityTimeCallback([wp = WeakClaim(this)](double hour, double minute) { in RenderClock() argument 98 renderClock->UpdateAccessibilityInfo(hour, minute); in RenderClock() 214 void RenderClock::UpdateAccessibilityInfo(double hour, double minute) in UpdateAccessibilityInfo() argument 222 …std::string content = std::to_string(static_cast<int32_t>(hour)).append(":").append(minuteToString… in UpdateAccessibilityInfo()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/utils/ |
D | exlog.cpp | 38 int hour = nowMs / (1000LL * 60 * 60) % 24; in ExTime() local 49 << " " << std::setw(minWidth) << std::setfill(fill) << hour in ExTime()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
D | js_datepicker.cpp | 180 auto hour = argsPtr->GetValue("hour"); in DatePickerDateChangeEventToJSValue() local 181 if (hour && hour->IsNumber()) { in DatePickerDateChangeEventToJSValue() 182 dateTime.tm_hour = hour->GetInt(); in DatePickerDateChangeEventToJSValue() 495 JSRef<JSVal> hour = hourFunc->Call(timeObj); in ParseTime() local 499 if (hour->IsNumber() && minute->IsNumber() && second->IsNumber()) { in ParseTime() 500 pickerTime.SetHour(hour->ToNumber<int32_t>()); in ParseTime() 536 auto hour = sourceJson->GetValue("hour"); in ParseSelectedDateTimeObject() local 537 if (hour && hour->IsNumber()) { in ParseSelectedDateTimeObject() 538 dateTime.tm_hour = hour->GetInt(); in ParseSelectedDateTimeObject() 741 auto hour = selectedJson->GetValue("hour"); in Show() local [all …]
|
/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/picker_view/time_picker/time_picker1/ |
D | time_picker1.js | 23 this.time1 = e1.hour;
|
/foundation/ai/intelligent_voice_framework/utils/ |
D | time_util.h | 86 long hour = secs / (H_PER_MIN * MIN_PER_S); in TimeElapse() local 90 std::cout << hour << ":" << min << ":" << sec << std::endl; in TimeElapse()
|
/foundation/resourceschedule/ffrt/src/dfx/log/linux/ |
D | log_base.cpp | 39 auto hour = std::to_string(curtime.tm_hour); in GetCurrentTime() local 44 return year + "-" + mon + "-" + day + " " + hour + ":" + min + ":" + sec + "." + ms; in GetCurrentTime()
|
/foundation/multimedia/player_framework/services/engine/gstreamer/common/utils/ |
D | dumper.cpp | 62 uint64_t hour = static_cast<uint64_t>(tv.tv_sec / secPerHour); in DumpDotGraph() local 72 ret = sprintf_s(fullPath, PATH_MAX, format, realPath.c_str(), hour, minute, sec, millsec, in DumpDotGraph()
|
/foundation/multimedia/av_codec/services/dfx/ |
D | avcodec_log_dump.cpp | 63 int64_t hour = allMinute / 60 % 24; in AddNewLog() local 66 logStr += std::to_string(hour); in AddNewLog()
|
/foundation/multimedia/player_framework/services/dfx/ |
D | dfx_log_dump.cpp | 59 int64_t hour = allMinute / 60 % 24; in AddNewLog() local 62 logStr += std::to_string(hour); in AddNewLog()
|