Home
last modified time | relevance | path

Searched refs:newOffset (Results 1 - 13 of 13) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_browse.cpp478 uint16_t newOffset = offset; in AssembleMpItem() local
484 newOffset += PushOctets1((buffer + newOffset), item.itemType_); in AssembleMpItem()
487 newOffset += PushOctets2((buffer + newOffset), itemLength + item.name_.size()); in AssembleMpItem()
490 newOffset += PushOctets2((buffer + newOffset), item.playerId_); in AssembleMpItem()
493 newOffset += PushOctets1((buffer + newOffset), item.majorType_); in AssembleMpItem()
496 newOffset in AssembleMpItem()
605 uint16_t newOffset = offset; AssembleMeItem() local
[all...]
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A DrandomAccessFile_impl.cpp100 int64_t newOffset = CalculateOffset(offset, entity_->filePointer); in WriteSync() local
101 int writeCode = DoWriteRAF(buf, len, entity_->fd.get()->GetFD(), newOffset); in WriteSync()
106 entity_->filePointer = newOffset + writeCode; in WriteSync()
111 int64_t newOffset = CalculateOffset(offset, entity_->filePointer); in ReadSync() local
112 int readCode = DoReadRAF(buf, len, entity_->fd.get()->GetFD(), newOffset); in ReadSync()
117 entity_->filePointer = newOffset + readCode; in ReadSync()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_selector.h59 auto newOffset = rect.GetOffset(); in AddRectY() local
60 newOffset.AddY(deltaY); in AddRectY()
61 rect.SetOffset(newOffset); in AddRectY()
66 auto newOffset = rect.GetOffset(); in AddRectX() local
67 newOffset.AddX(deltaX); in AddRectX()
68 rect.SetOffset(newOffset); in AddRectX()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/
H A Dshape_container_pattern.cpp57 auto newOffset = OffsetT(Dimension(currentOffset->GetX() * scale), in ViewPortTransform() local
59 context->UpdateOffset(newOffset); in ViewPortTransform()
60 context->OnOffsetUpdate(newOffset); in ViewPortTransform()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/
H A Dgrid_layout_range_solver.cpp134 float newOffset = targetLen - len + mainGap; in SolveBackward() local
135 newOffset -= info_->GetHeightInRange(startLine, idx, mainGap); in SolveBackward()
136 return { startLine, startItem, newOffset }; in SolveBackward()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_manager.cpp1701 Offset newOffset { touchOffset.GetX() - originPoint.GetX(), touchOffset.GetY() - originPoint.GetY() }; in CalcDragMoveOffset()
1702 return newOffset; in CalcDragMoveOffset()
1706 bool needDoDragMoveAnimate, bool isMenuShow, const Offset& newOffset, int32_t containerId) in UpdateDragMovePositionFinished()
1716 OffsetF(newOffset.GetX(), newOffset.GetY())); in UpdateDragMovePositionFinished()
1718 renderContext->UpdateTransformTranslate({ newOffset.GetX(), newOffset.GetY(), 0.0f }); in UpdateDragMovePositionFinished()
1753 Offset newOffset = CalcDragMoveOffset(PRESERVE_HEIGHT, point.GetX(), point.GetY(), info_); in DoDragMoveAnimate() local
1755 if (UpdateDragMovePositionFinished(needDoDragMoveAnimate, isMenuShow, newOffset, containerId) || in DoDragMoveAnimate()
1759 DragMoveAnimation(newOffset, overlayManage in DoDragMoveAnimate()
1705 UpdateDragMovePositionFinished( bool needDoDragMoveAnimate, bool isMenuShow, const Offset& newOffset, int32_t containerId) UpdateDragMovePositionFinished() argument
1762 DragMoveAnimation( const Offset& newOffset, const RefPtr<OverlayManager>& overlayManager, Point point) DragMoveAnimation() argument
1844 Offset newOffset = CalcDragMoveOffset(PRESERVE_HEIGHT, static_cast<int32_t>(event.GetGlobalLocation().GetX()), DoDragStartAnimation() local
1852 DragStartAnimation( const Offset& newOffset, const RefPtr<OverlayManager>& overlayManager, const OffsetF& gatherNodeCenter, Point point) DragStartAnimation() argument
[all...]
H A Ddrag_drop_manager.h315 void DragMoveAnimation(const Offset& newOffset, const RefPtr<OverlayManager>& overlayManager, Point point);
318 void DragStartAnimation(const Offset& newOffset, const RefPtr<OverlayManager>& overlayManager,
481 bool needDoDragMoveAnimate, bool isMenuShow, const Offset& newOffset, int32_t containerId);
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/utils/
H A Dmedia_cached_buffer.cpp291 uint64_t newOffset = offset + static_cast<uint64_t>(writeSize); in WriteMergerPre() local
293 uint64_t moveLen = (chunkInfo->offset + dataLength) > newOffset ? in WriteMergerPre()
294 (chunkInfo->offset + dataLength) - newOffset : 0; in WriteMergerPre()
298 chunkInfo->offset = newOffset; in WriteMergerPre()
300 uint64_t lostLength = newOffset > nextFragmentPos->offsetBegin ? in WriteMergerPre()
301 newOffset - nextFragmentPos->offsetBegin : 0; in WriteMergerPre()
303 lruCache_.Update(nextFragmentPos->offsetBegin, newOffset, nextFragmentPos); in WriteMergerPre()
304 nextFragmentPos->offsetBegin = newOffset; in WriteMergerPre()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_pattern.h255 void FireSwipeActionOffsetChange(float oldOffset, float newOffset);
H A Dlist_item_pattern.cpp689 void ListItemPattern::FireSwipeActionOffsetChange(float oldOffset, float newOffset) in FireSwipeActionOffsetChange() argument
691 if (NearEqual(oldOffset, newOffset)) { in FireSwipeActionOffsetChange()
698 listItemEventHub->FireOffsetChangeEvent(Dimension(newOffset).ConvertToVp()); in FireSwipeActionOffsetChange()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_symbol_animation.cpp527 // the newOffset is offset of path on new node; in CalculateOffset()
529 Vector2f newOffset = { -left, -top }; in CalculateOffset() local
530 return Vector4f(nodeTranslation[0], nodeTranslation[1], newOffset[0], newOffset[1]); in CalculateOffset()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp8266 auto newOffset = MoveTextRect(offset);
8267 MoveFirstHandle(newOffset);
8268 MoveSecondHandle(newOffset);
8619 auto newOffset = MoveTextRect(param.offset);
8621 MoveSecondHandle(newOffset);
8623 MoveFirstHandle(newOffset);
8626 if (NearEqual(newOffset, 0.0f)) {
8634 auto newOffset = MoveTextRect(param.offset);
8635 if (NearEqual(newOffset, 0.0f)) {
8643 auto newOffset
[all...]
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.cpp1843 OffsetF newOffset = rootNode_->GetGeometryNode()->GetFrameOffset(); in SetRootRect() local
1844 newOffset.SetY(static_cast<float>(offset)); in SetRootRect()
1845 rootNode_->GetGeometryNode()->SetMarginFrameOffset(newOffset); in SetRootRect()

Completed in 35 milliseconds