Searched refs:GetIndexForPoint (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/xfa/fde/ |
D | cfde_texteditengine_unittest.cpp | 462 TEST_F(CFDE_TextEditEngineTest, GetIndexForPoint) { in TEST_F() argument 465 EXPECT_EQ(0U, engine()->GetIndexForPoint({0.0f, 0.0f})); in TEST_F() 466 EXPECT_EQ(11U, engine()->GetIndexForPoint({999999.0f, 9999999.0f})); in TEST_F() 467 EXPECT_EQ(11U, engine()->GetIndexForPoint({999999.0f, 0.0f})); in TEST_F() 468 EXPECT_EQ(1U, engine()->GetIndexForPoint({5.0f, 5.0f})); in TEST_F() 469 EXPECT_EQ(1U, engine()->GetIndexForPoint({10.0f, 5.0f})); in TEST_F() 477 EXPECT_EQ(0U, engine()->GetIndexForPoint({0.0f, 0.0f})); in TEST_F() 478 EXPECT_EQ(87U, engine()->GetIndexForPoint({999999.0f, 9999999.0f})); in TEST_F() 479 EXPECT_EQ(11U, engine()->GetIndexForPoint({999999.0f, 0.0f})); in TEST_F() 480 EXPECT_EQ(12U, engine()->GetIndexForPoint({1.0f, 10.0f})); in TEST_F() [all …]
|
D | cfde_texteditengine.h | 165 size_t GetIndexForPoint(const CFX_PointF& point);
|
D | cfde_texteditengine.cpp | 941 size_t CFDE_TextEditEngine::GetIndexForPoint(const CFX_PointF& point) { in GetIndexForPoint() function in CFDE_TextEditEngine
|
/external/pdfium/xfa/fwl/ |
D | cfwl_edit.cpp | 1073 m_pEditEngine->GetIndexForPoint(DeviceToEngine(pMsg->m_pos))); in DoRButtonDown() 1118 m_pEditEngine->GetIndexForPoint(DeviceToEngine(pMsg->m_pos)); in OnLButtonDown() 1142 m_pEditEngine->GetIndexForPoint(DeviceToEngine(pMsg->m_pos)); in OnButtonDoubleClick() 1159 m_pEditEngine->GetIndexForPoint(DeviceToEngine(pMsg->m_pos))); in OnMouseMove()
|