Home
last modified time | relevance | path

Searched refs:nItemIndex (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_list.cpp129 void CFX_List::ReArrange(int32_t nItemIndex) { in ReArrange() argument
132 if (CFX_ListItem* pPrevItem = m_aListItems.GetAt(nItemIndex - 1)) in ReArrange()
135 for (int32_t i = nItemIndex, sz = m_aListItems.GetSize(); i < sz; i++) { in ReArrange()
272 void CFX_List::SetItemSelect(int32_t nItemIndex, FX_BOOL bSelected) { in SetItemSelect() argument
273 if (CFX_ListItem* pListItem = m_aListItems.GetAt(nItemIndex)) { in SetItemSelect()
278 void CFX_List::SetItemCaret(int32_t nItemIndex, FX_BOOL bCaret) { in SetItemCaret() argument
279 if (CFX_ListItem* pListItem = m_aListItems.GetAt(nItemIndex)) { in SetItemCaret()
292 FX_BOOL CFX_List::IsValid(int32_t nItemIndex) const { in IsValid()
293 return nItemIndex >= 0 && nItemIndex < m_aListItems.GetSize(); in IsValid()
313 void CPLST_Select::Add(int32_t nItemIndex) { in Add() argument
[all …]
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_IconList.cpp174 int32_t nItemIndex = FindItemIndex(point); in OnLButtonDown() local
175 SetSelect(nItemIndex); in OnLButtonDown()
176 ScrollToItem(nItemIndex); in OnLButtonDown()
192 int32_t nItemIndex = FindItemIndex(point); in OnMouseMove() local
193 SetSelect(nItemIndex); in OnMouseMove()
194 ScrollToItem(nItemIndex); in OnMouseMove()
204 int32_t nItemIndex = m_nSelectIndex - 1; in OnKeyDown() local
205 SetSelect(nItemIndex); in OnKeyDown()
206 ScrollToItem(nItemIndex); in OnKeyDown()
211 int32_t nItemIndex = m_nSelectIndex + 1; in OnKeyDown() local
[all …]
DPWL_ListBox.cpp417 void CPWL_ListBox::Select(int32_t nItemIndex) { in Select() argument
419 m_pList->Select(nItemIndex); in Select()
422 void CPWL_ListBox::SetCaret(int32_t nItemIndex) { in SetCaret() argument
424 m_pList->SetCaret(nItemIndex); in SetCaret()
427 void CPWL_ListBox::SetTopVisibleIndex(int32_t nItemIndex) { in SetTopVisibleIndex() argument
429 m_pList->SetTopItem(nItemIndex); in SetTopVisibleIndex()
432 void CPWL_ListBox::ScrollToListItem(int32_t nItemIndex) { in ScrollToListItem() argument
434 m_pList->ScrollToListItem(nItemIndex); in ScrollToListItem()
468 FX_BOOL CPWL_ListBox::IsItemSelected(int32_t nItemIndex) const { in IsItemSelected()
470 return m_pList->IsItemSelected(nItemIndex); in IsItemSelected()
DPWL_ComboBox.cpp248 void CPWL_ComboBox::SetSelect(int32_t nItemIndex) { in SetSelect() argument
250 m_pList->Select(nItemIndex); in SetSelect()
254 m_nSelectItem = nItemIndex; in SetSelect()
DPWL_Note.cpp717 void CPWL_NoteItem::ResetSubjectName(int32_t nItemIndex) { in ResetSubjectName() argument
718 if (nItemIndex < 0) { in ResetSubjectName()
723 nItemIndex = pContents->GetItemIndex(this); in ResetSubjectName()
729 sSubject.Format(pNote->GetReplyString().c_str(), nItemIndex); in ResetSubjectName()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_IconList.h23 virtual void OnNoteListSelChanged(int32_t nItemIndex) = 0;
67 void SetListData(int32_t nItemIndex, void* pData);
68 void SetListIcon(int32_t nItemIndex, int32_t nIconIndex);
69 void SetListString(int32_t nItemIndex, const CFX_WideString& str);
71 CFX_WideString GetListString(int32_t nItemIndex) const;
73 void ScrollToItem(int32_t nItemIndex);
84 CPWL_IconList_Item* GetListItem(int32_t nItemIndex) const;
85 void SelectItem(int32_t nItemIndex, FX_BOOL bSelect);
105 void SetListData(int32_t nItemIndex, void* pData);
106 void SetListIcon(int32_t nItemIndex, int32_t nIconIndex);
[all …]
DPWL_ListBox.h86 void SetTopVisibleIndex(int32_t nItemIndex);
87 void ScrollToListItem(int32_t nItemIndex);
90 void Select(int32_t nItemIndex);
91 void SetCaret(int32_t nItemIndex);
98 FX_BOOL IsItemSelected(int32_t nItemIndex) const;
DPWL_ComboBox.h76 void SetSelect(int32_t nItemIndex);
DPWL_Note.h226 virtual void ResetSubjectName(int32_t nItemIndex);
315 void ResetSubjectName(int32_t nItemIndex) override {} in ResetSubjectName() argument
/external/pdfium/fpdfsdk/include/fxedit/
Dfxet_list.h225 FX_BOOL IsValid(int32_t nItemIndex) const override;
234 virtual void ReArrange(int32_t nItemIndex);
236 void SetItemSelect(int32_t nItemIndex, FX_BOOL bSelected);
237 void SetItemCaret(int32_t nItemIndex, FX_BOOL bCaret);
250 nItemIndex = other_nItemIndex; in CPLST_Select_Item()
254 int32_t nItemIndex; member
264 void Add(int32_t nItemIndex);
266 void Sub(int32_t nItemIndex);
268 FX_BOOL IsExist(int32_t nItemIndex) const;
269 int32_t Find(int32_t nItemIndex) const;
[all …]
Dfx_edit.h532 virtual FX_BOOL IsValid(int32_t nItemIndex) const = 0;
536 virtual void ScrollToListItem(int32_t nItemIndex) = 0;
546 virtual void Select(int32_t nItemIndex) = 0;
547 virtual void SetCaret(int32_t nItemIndex) = 0;
564 virtual void OnVK(int32_t nItemIndex, FX_BOOL bShift, FX_BOOL bCtrl) = 0;