/foundation/graphic/ui/test/unittest/events/ |
D | drag_event_unit_test.cpp | 135 Point currentPos = dragEvent_->GetCurrentPos(); variable 136 if (MATH_ABS(currentPos.x - startPos.x) >= MATH_ABS(currentPos.y - startPos.y)) { 137 if (currentPos.x > startPos.x) { 143 if (currentPos.y > startPos.y) {
|
/foundation/appexecfwk/appexecfwk_lite/services/bundlemgr_lite/src/ |
D | zip_file.cpp | 113 ZipPos currentPos = centralDirPos_; in ParseAllEntries() local 122 if (fseek(file_, currentPos, SEEK_SET) != 0) { in ParseAllEntries() 139 i, directoryEntry.signature, currentPos); in ParseAllEntries() 158 ZIPPOS_ADD_AND_CHECK_OVERFLOW(currentPos, sizeof(directoryEntry), currentPos); in ParseAllEntries() 159 ZIPPOS_ADD_AND_CHECK_OVERFLOW(currentPos, directoryEntry.nameSize, currentPos); in ParseAllEntries() 160 ZIPPOS_ADD_AND_CHECK_OVERFLOW(currentPos, directoryEntry.extraSize, currentPos); in ParseAllEntries() 161 ZIPPOS_ADD_AND_CHECK_OVERFLOW(currentPos, directoryEntry.commentSize, currentPos); in ParseAllEntries()
|
/foundation/ace/ace_engine/frameworks/core/components/video/ |
D | video_element.cpp | 260 auto&& positionUpdatedEvent = [videoElement, uiTaskExecutor](uint32_t currentPos) { in RegistMediaPlayerEvent() argument 261 uiTaskExecutor.PostSyncTask([&videoElement, currentPos] { in RegistMediaPlayerEvent() 264 video->OnCurrentTimeChange(currentPos); in RegistMediaPlayerEvent() 923 uint32_t currentPos, bool needFireEvent) { in InitListener() argument 924 …uiTaskExecutor.PostSyncTask([&videoElement, width, height, isPlaying, duration, currentPos, needFi… in InitListener() 927 video->OnPrepared(width, height, isPlaying, duration, currentPos, needFireEvent); in InitListener() 941 auto onCurrentTimeChange = [videoElement, uiTaskExecutor](uint32_t currentPos) { in InitListener() argument 942 uiTaskExecutor.PostSyncTask([&videoElement, currentPos] { in InitListener() 945 video->OnCurrentTimeChange(currentPos); in InitListener() 1067 …uint32_t width, uint32_t height, bool isPlaying, uint32_t duration, uint32_t currentPos, bool need… in OnPrepared() argument [all …]
|
D | video_element.h | 61 void SetCurrentTime(float currentPos, SeekMode seekMode = SeekMode::SEEK_PREVIOUS_SYNC); 85 …uint32_t width, uint32_t height, bool isPlaying, uint32_t duration, uint32_t currentPos, bool need… 87 void OnCurrentTimeChange(uint32_t currentPos);
|
/foundation/graphic/ui/frameworks/components/ |
D | ui_abstract_scroll.cpp | 229 bool UIAbstractScroll::DragThrowAnimator(Point currentPos, Point lastPos, uint8_t dragDirection, bo… in DragThrowAnimator() argument 237 CalculateDragDistance(currentPos, lastPos, dragDirection, dragDistanceX, dragDistanceY); in DragThrowAnimator() 264 void UIAbstractScroll::CalculateDragDistance(Point currentPos, in CalculateDragDistance() argument 271 dragDistanceY = currentPos.y - lastPos.y; in CalculateDragDistance() 286 dragDistanceX = currentPos.x - lastPos.x; in CalculateDragDistance()
|
/foundation/appexecfwk/standard/services/bundlemgr/src/ |
D | zip_file.cpp | 113 ZipPos currentPos = centralDirPos_; in ParseAllEntries() local 122 if (fseek(file_, currentPos, SEEK_SET) != 0) { in ParseAllEntries() 138 currentPos); in ParseAllEntries() 155 currentPos += sizeof(directoryEntry); in ParseAllEntries() 156 … currentPos += directoryEntry.nameSize + directoryEntry.extraSize + directoryEntry.commentSize; in ParseAllEntries()
|
/foundation/ace/ace_engine_lite/frameworks/src/core/components/ |
D | canvas_component.cpp | 839 const char *currentPos = font; in GetSubFont() local 841 while (*currentPos != '\0') { in GetSubFont() 848 uint16_t len = endPos - currentPos; in GetSubFont() 849 uint16_t startIndex = currentPos - font; in GetSubFont() 866 if (*(currentPos) == ' ' && *(currentPos + 1) != ' ') { in GetSubFont() 868 endPos = currentPos + 1; in GetSubFont() 870 currentPos++; in GetSubFont()
|
/foundation/graphic/ui/interfaces/kits/components/ |
D | ui_abstract_scroll.h | 417 …bool DragThrowAnimator(Point currentPos, Point lastPos, uint8_t dragDirection, bool dragBack = tru… 441 virtual void CalculateDragDistance(Point currentPos,
|
/foundation/ace/ace_engine/frameworks/core/components_v2/list/ |
D | render_list.cpp | 1482 double currentPos = spThis->GetMainAxis(info.GetTouches().front().GetLocalLocation()); in PrepareRawRecognizer() local 1483 spThis->OnSelectedItemMove(currentPos); in PrepareRawRecognizer()
|