Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/pwl/
Dcpwl_scroll_bar.cpp352 CFX_FloatRect rcClient = GetClientRect(); in RePosChildWnd() local
358 if (rcClient.right - rcClient.left > in RePosChildWnd()
360 rcMinButton = CFX_FloatRect(rcClient.left, rcClient.bottom, in RePosChildWnd()
361 rcClient.left + kButtonWidth, rcClient.top); in RePosChildWnd()
363 CFX_FloatRect(rcClient.right - kButtonWidth, rcClient.bottom, in RePosChildWnd()
364 rcClient.right, rcClient.top); in RePosChildWnd()
366 fBWidth = (rcClient.right - rcClient.left - kPosButtonMinWidth - 2) / 2; in RePosChildWnd()
369 rcMinButton = CFX_FloatRect(rcClient.left, rcClient.bottom, in RePosChildWnd()
370 rcClient.left + fBWidth, rcClient.top); in RePosChildWnd()
371 rcMaxButton = CFX_FloatRect(rcClient.right - fBWidth, rcClient.bottom, in RePosChildWnd()
[all …]
Dcpwl_edit.cpp111 CFX_FloatRect rcClient = GetWindowRect().GetDeflated(width, width); in GetClientRect() local
114 rcClient.right -= PWL_SCROLLBAR_WIDTH; in GetClientRect()
118 return rcClient; in GetClientRect()
205 CFX_FloatRect rcClient = GetClientRect(); in DrawThisAppearance() local
223 rcClient.left + in DrawThisAppearance()
224 ((rcClient.right - rcClient.left) / nCharArray) * (i + 1), in DrawThisAppearance()
225 rcClient.bottom), in DrawThisAppearance()
229 rcClient.left + in DrawThisAppearance()
230 ((rcClient.right - rcClient.left) / nCharArray) * (i + 1), in DrawThisAppearance()
231 rcClient.top), in DrawThisAppearance()
[all …]
Dcpwl_appstream.cpp1179 CFX_FloatRect rcClient = rcWindow.GetDeflated(fBorderWidth, fBorderWidth); in SetAsPushButton() local
1248 GetPushButtonAppStream(iconFit.GetFittingBounds() ? rcWindow : rcClient, in SetAsPushButton()
1269 GetPushButtonAppStream(iconFit.GetFittingBounds() ? rcWindow : rcClient, in SetAsPushButton()
1304 GetPushButtonAppStream(iconFit.GetFittingBounds() ? rcWindow : rcClient, in SetAsPushButton()
1355 CFX_FloatRect rcClient = rcWindow.GetDeflated(fBorderWidth, fBorderWidth); in SetAsCheckBox() local
1417 csAP_N_ON += GetCheckBoxAppStream(rcClient, nStyle, crText); in SetAsCheckBox()
1418 csAP_D_ON += GetCheckBoxAppStream(rcClient, nStyle, crText); in SetAsCheckBox()
1471 CFX_FloatRect rcClient = rcWindow.GetDeflated(fBorderWidth, fBorderWidth); in SetAsRadioButton() local
1569 csAP_N_ON += GetRadioButtonAppStream(rcClient, nStyle, crText); in SetAsRadioButton()
1570 csAP_D_ON += GetRadioButtonAppStream(rcClient, nStyle, crText); in SetAsRadioButton()
[all …]
Dcpwl_wnd.cpp418 CFX_FloatRect rcClient = rcWindow.GetDeflated(width, width); in GetClientRect() local
420 rcClient.right -= pVSB->GetScrollBarWidth(); in GetClientRect()
422 rcClient.Normalize(); in GetClientRect()
423 return rcWindow.Contains(rcClient) ? rcClient : CFX_FloatRect(); in GetClientRect()
427 CFX_FloatRect rcClient = GetClientRect(); in GetCenterPoint() local
428 return CFX_PointF((rcClient.left + rcClient.right) * 0.5f, in GetCenterPoint()
429 (rcClient.top + rcClient.bottom) * 0.5f); in GetCenterPoint()
Dcpwl_combo_box.cpp326 const CFX_FloatRect rcClient = GetClientRect(); in RePosChildWnd() local
332 CFX_FloatRect rcButton = rcClient; in RePosChildWnd()
334 std::max(rcButton.right - kDefaultButtonWidth, rcClient.left); in RePosChildWnd()
335 CFX_FloatRect rcEdit = rcClient; in RePosChildWnd()
373 CFX_FloatRect rcButton = rcClient; in RePosChildWnd()
374 rcButton.left = std::max(rcButton.right - kDefaultButtonWidth, rcClient.left); in RePosChildWnd()
382 CFX_FloatRect rcEdit = rcClient; in RePosChildWnd()
Dcpwl_list_box.cpp104 CFX_FloatRect rcClient = GetClientRect(); in DrawThisAppearance() local
114 if (rcContent.Width() > rcClient.Width()) in DrawThisAppearance()
117 rcItem.Intersect(rcClient); in DrawThisAppearance()
/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()