Home
last modified time | relevance | path

Searched refs:cachedIndex (Results 1 - 7 of 7) sorted by relevance

/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Dishared_result_set_stub.cpp103 int cachedIndex = 0; in HandleOnGoRequest() local
104 bool ret = resultSet_->OnGo(oldRow, newRow, &cachedIndex); in HandleOnGoRequest()
108 reply.WriteInt32(cachedIndex); in HandleOnGoRequest()
110 LOG_DEBUG("HandleOnGoRequest call %{public}d", cachedIndex); in HandleOnGoRequest()
H A Dishared_result_set_proxy.cpp113 bool ISharedResultSetProxy::OnGo(int oldRowIndex, int newRowIndex, int *cachedIndex) in OnGo() argument
132 if (cachedIndex != nullptr) { in OnGo()
133 *cachedIndex = ret; in OnGo()
H A Ddatashare_result_set.cpp76 bool DataShareResultSet::OnGo(int startRowIndex, int targetRowIndex, int *cachedIndex) in OnGo() argument
89 if (cachedIndex != nullptr) { in OnGo()
90 *cachedIndex = result; in OnGo()
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlayout_manager.h202 int32_t CalculateRepeatedIndex(int32_t cachedIndex) in CalculateRepeatedIndex() argument
206 repeatedIndex = ((cachedIndex - indexOffset_) > 0 ? (cachedIndex - indexOffset_) : 0); in CalculateRepeatedIndex()
208 if (cachedIndex < indexOffset_) { in CalculateRepeatedIndex()
211 if (cachedIndex > indexOffset_ + repeatedLength_) { in CalculateRepeatedIndex()
214 repeatedIndex = cachedIndex - indexOffset_; in CalculateRepeatedIndex()
/foundation/distributeddatamgr/data_share/interfaces/inner_api/consumer/include/
H A Ddatashare_shared_result_set.h41 virtual bool OnGo(int oldRowIndex, int newRowIndex, int *cachedIndex) = 0;
H A Ddatashare_result_set.h143 bool OnGo(int startRowIndex, int targetRowIndex, int *cachedIndex = nullptr) override;
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/
H A Dishared_result_set_proxy.h32 bool OnGo(int startRowIndex, int targetRowIndex, int *cachedIndex = nullptr) override;

Completed in 5 milliseconds