Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_ListCtrl.cpp80 CPDF_Rect rcClient = GetClientRect(); in ResetAll() local
82 FX_FLOAT fWidth = rcClient.Width(); in ResetAll()
96 rcClient.left - m_ptScroll.x, in ResetAll()
97 rcClient.top - m_ptScroll.y)); in ResetAll()
140 CPDF_Rect rcClient = GetClientRect(); in DrawChildAppearance() local
141 CPDF_Rect rcTemp = rcClient; in DrawChildAppearance()
151 if (!(rcChild.top < rcClient.bottom || rcChild.bottom > rcClient.top)) { in DrawChildAppearance()
176 CPDF_Rect rcClient = GetClientRect(); in InToOut() local
178 return CPDF_Point(point.x + rcClient.left - m_ptScroll.x, in InToOut()
179 point.y + rcClient.top - m_ptScroll.y); in InToOut()
[all …]
DPWL_ScrollBar.cpp588 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd() local
594 if (rcClient.right - rcClient.left > in RePosChildWnd()
598 CPDF_Rect(rcClient.left, rcClient.bottom, in RePosChildWnd()
599 rcClient.left + PWL_SCROLLBAR_BUTTON_WIDTH, rcClient.top); in RePosChildWnd()
600 rcMaxButton = CPDF_Rect(rcClient.right - PWL_SCROLLBAR_BUTTON_WIDTH, in RePosChildWnd()
601 rcClient.bottom, rcClient.right, rcClient.top); in RePosChildWnd()
603 fBWidth = (rcClient.right - rcClient.left - in RePosChildWnd()
608 rcMinButton = CPDF_Rect(rcClient.left, rcClient.bottom, in RePosChildWnd()
609 rcClient.left + fBWidth, rcClient.top); in RePosChildWnd()
610 rcMaxButton = CPDF_Rect(rcClient.right - fBWidth, rcClient.bottom, in RePosChildWnd()
[all …]
DPWL_Signature.cpp30 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance() local
33 pUser2Device->Transform(rcClient.left, rcClient.top, x, y); in DrawThisAppearance()
36 (int32_t)rcClient.Width(), in DrawThisAppearance()
37 (int32_t)rcClient.Height()); in DrawThisAppearance()
51 CPDF_Rect rcClient = GetClientRect(); in GetScale() local
53 fHScale = rcClient.Width() / fImageW; in GetScale()
54 fVScale = rcClient.Height() / fImageH; in GetScale()
110 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd() local
112 CPDF_Rect rcText = rcClient; in RePosChildWnd()
113 CPDF_Rect rcDescription = rcClient; in RePosChildWnd()
[all …]
DPWL_Note.cpp45 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd() local
47 if (rcClient.Width() > 15.0f) { in RePosChildWnd()
48 rcClient.right -= 15.0f; in RePosChildWnd()
49 m_pText->Move(rcClient, TRUE, FALSE); in RePosChildWnd()
74 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance() local
75 rcClient.left = rcClient.right - 15.0f; in DrawThisAppearance()
77 CPDF_Point ptCenter = CPDF_Point((rcClient.left + rcClient.right) * 0.5f, in DrawThisAppearance()
78 (rcClient.top + rcClient.bottom) * 0.5f); in DrawThisAppearance()
235 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance() local
243 pathCross.SetPoint(0, rcClient.left, rcClient.top, FXPT_MOVETO); in DrawThisAppearance()
[all …]
DPWL_Edit.cpp90 CPDF_Rect rcClient = CPWL_Utils::DeflateRect( in GetClientRect() local
95 rcClient.right -= PWL_SCROLLBAR_WIDTH; in GetClientRect()
99 return rcClient; in GetClientRect()
253 CPDF_Rect rcClient = GetClientRect(); in GetThisAppearanceStream() local
266 sLine << rcClient.left + in GetThisAppearanceStream()
267 ((rcClient.right - rcClient.left) / nCharArray) * i in GetThisAppearanceStream()
268 << " " << rcClient.bottom << " m\n" in GetThisAppearanceStream()
269 << rcClient.left + in GetThisAppearanceStream()
270 ((rcClient.right - rcClient.left) / nCharArray) * i in GetThisAppearanceStream()
271 << " " << rcClient.top << " l S\n"; in GetThisAppearanceStream()
[all …]
DPWL_IconList.cpp36 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance() local
41 pDevice, pUser2Device, rcClient, in DrawThisAppearance()
46 pDevice, pUser2Device, rcClient, in DrawThisAppearance()
52 CPDF_Rect rcIcon = rcClient; in DrawThisAppearance()
102 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd() local
104 rcClient.left += in RePosChildWnd()
108 m_pText->Move(rcClient, TRUE, FALSE); in RePosChildWnd()
237 CPDF_Rect rcClient = GetClientRect(); in ScrollToItem() local
243 if (!(rcWnd.bottom > rcClient.bottom && rcWnd.top < rcClient.top)) { in ScrollToItem()
246 if (rcWnd.top > rcClient.top) { in ScrollToItem()
[all …]
DPWL_ListBox.cpp143 CPDF_Rect rcClient = GetClientRect(); in GetThisAppearanceStream() local
146 sClip << rcClient.left << " " << rcClient.bottom << " " in GetThisAppearanceStream()
147 << rcClient.right - rcClient.left << " " in GetThisAppearanceStream()
148 << rcClient.top - rcClient.bottom << " re W n\n"; in GetThisAppearanceStream()
163 CPDF_Rect rcClient = GetClientRect(); in DrawThisAppearance() local
173 if (rcContent.Width() > rcClient.Width()) in DrawThisAppearance()
176 rcItem.Intersect(rcClient); in DrawThisAppearance()
DPWL_Wnd.cpp354 CPDF_Rect rcClient = CPWL_Utils::DeflateRect( in DrawThisAppearance() local
356 CPWL_Utils::DrawFillRect(pDevice, pUser2Device, rcClient, in DrawThisAppearance()
537 CPDF_Rect rcClient = CPWL_Utils::DeflateRect( in GetClientRect() local
540 rcClient.right -= pVSB->GetScrollBarWidth(); in GetClientRect()
542 rcClient.Normalize(); in GetClientRect()
543 return rcWindow.Contains(rcClient) ? rcClient : CPDF_Rect(); in GetClientRect()
547 CPDF_Rect rcClient = GetClientRect(); in GetCenterPoint() local
548 return CPDF_Point((rcClient.left + rcClient.right) * 0.5f, in GetCenterPoint()
549 (rcClient.top + rcClient.bottom) * 0.5f); in GetCenterPoint()
DPWL_ComboBox.cpp354 CPDF_Rect rcClient = GetClientRect(); in RePosChildWnd() local
359 CPDF_Rect rcEdit = rcClient; in RePosChildWnd()
422 CPDF_Rect rcButton = rcClient; in RePosChildWnd()
426 if (rcButton.left < rcClient.left) in RePosChildWnd()
427 rcButton.left = rcClient.left; in RePosChildWnd()
432 CPDF_Rect rcEdit = rcClient; in RePosChildWnd()
435 if (rcEdit.left < rcClient.left) in RePosChildWnd()
436 rcEdit.left = rcClient.left; in RePosChildWnd()
/external/webrtc/talk/media/devices/
Dgdivideorenderer.cc205 RECT rcClient; in OnPaint() local
206 GetClientRect(handle(), &rcClient); in OnPaint()
210 0, 0, rcClient.right, rcClient.bottom, // destination rect in OnPaint()
219 RECT rcClient, rcWindow; in OnSize() local
220 GetClientRect(handle(), &rcClient); in OnSize()
225 ptDiff.x = (rcWindow.right - rcWindow.left) - rcClient.right; in OnSize()
226 ptDiff.y = (rcWindow.bottom - rcWindow.top) - rcClient.bottom; in OnSize()
/external/pdfium/fpdfsdk/src/
Dfsdk_baseform.cpp951 CPDF_Rect rcClient = CPWL_Utils::DeflateRect(rcWindow, fBorderWidth); local
1029 iconFit.GetFittingBounds() ? rcWindow : rcClient, &font_map,
1050 iconFit.GetFittingBounds() ? rcWindow : rcClient, &font_map,
1083 iconFit.GetFittingBounds() ? rcWindow : rcClient, &font_map,
1140 CPDF_Rect rcClient = CPWL_Utils::DeflateRect(rcWindow, fBorderWidth); local
1205 csAP_N_ON += CPWL_Utils::GetCheckBoxAppStream(rcClient, nStyle, crText);
1206 csAP_D_ON += CPWL_Utils::GetCheckBoxAppStream(rcClient, nStyle, crText);
1266 CPDF_Rect rcClient = CPWL_Utils::DeflateRect(rcWindow, fBorderWidth); local
1368 csAP_N_ON += CPWL_Utils::GetRadioButtonAppStream(rcClient, nStyle, crText);
1369 csAP_D_ON += CPWL_Utils::GetRadioButtonAppStream(rcClient, nStyle, crText);
[all …]