Home
last modified time | relevance | path

Searched refs:fFactor (Results 1 – 6 of 6) sorted by relevance

/haiku/src/add-ons/screen_savers/nebula/
H A DNebula.cpp667 float fFactor; member in Nebula
765 fFactor = (view->Bounds().Width()+1) / gWidth; in StartSaver()
766 if ((int)fFactor != fFactor) in StartSaver()
767 fFactor += 0.01; in StartSaver()
770 gHeight = (int32)((view->Bounds().Height()+1)/fFactor + 0.5f); in StartSaver()
783 view->SetScale(fFactor); in StartSaver()
813 (view->Bounds().Height() / fFactor - 1 - gHeight) / 2); in Draw()
/haiku/src/preferences/keymap/
H A DKeyboardLayoutView.cpp679 fFactor = min_c(factorX, factorY); in _LayoutKeyboard()
681 * fFactor) / 2), in _LayoutKeyboard()
682 floorf((Bounds().Height() - fLayout->Bounds().Height() * fFactor) / 2)); in _LayoutKeyboard()
764 + fLayout->DefaultKeySize().height * fFactor - fGap - 1); in _DrawKey()
766 + (key->frame.Width() - key->second_row) * fFactor - fGap - 2); in _DrawKey()
1207 keyPoint.x /= fFactor; in _KeyAt()
1208 keyPoint.y /= fFactor; in _KeyAt()
1229 rect.left = ceilf(keyFrame.left * fFactor); in _FrameFor()
1230 rect.top = ceilf(keyFrame.top * fFactor); in _FrameFor()
1231 rect.right = floorf((keyFrame.Width()) * fFactor + rect.left - fGap - 1); in _FrameFor()
[all …]
H A DKeyboardLayoutView.h129 float fFactor; variable
/haiku/src/apps/cortex/ValControl/
H A DNumericValControl.cpp150 float fFactor; in initConstraintsFromParam() local
152 fParam->GetResponse(&r, &fFactor, &fOffset); in initConstraintsFromParam()
173 printf(" response; factor %.2f, offset %.2f\n", fFactor, fOffset); in initConstraintsFromParam()
/haiku/src/kits/media/
H A DParameterWeb.cpp1854 fFactor = factor; in SetResponse()
1865 *_factor = fFactor; in GetResponse()
1911 write_to_buffer<float>(&buffer, fFactor); in Flatten()
1963 fFactor = read_from_buffer_swap32<float>(&buffer, SwapOnUnflatten()); in Unflatten()
1978 fFactor(1.0), in BContinuousParameter()
/haiku/headers/os/media/
H A DParameterWeb.h349 float fFactor; variable