Lines Matching refs:Make

22         , fRelativePos(SkPoint::Make(0.0f, 0.0f)) {}  in Control()
27 SkPoint relativeClickPos = SkPoint::Make(clickPos.fX - fRelativePos.fX, in click()
47 SkPoint relativeClickPos = SkPoint::Make(click.fX - fRelativePos.fX, in isInCtrlRegion()
159 control->setParent(this, SkPoint::Make(0.0f, fHeight)); in add()
187 static sk_sp<ParentControl> Make() { in Make() function in ControlPanel
193 static sk_sp<ParentControl> Make(SkScalar width) { in Make() function in ControlPanel
269 static sk_sp<Control> Make(SkString name, int* output, int min, int max) { in Make() function in DiscreteSliderControl
339 control->setParent(this, SkPoint::Make(0.0f, kSelectorHeight)); in add()
365 fControlSelector = DiscreteSliderControl::Make( in onSetParent()
367 fControlSelector->setParent(this, SkPoint::Make(0.0f, 0.0f)); in onSetParent()
379 static sk_sp<ParentControl> Make(const SkString& name) { in Make() function in ControlSwitcher
459 static sk_sp<Control> Make(const SkString& name, SkScalar* output, SkScalar min, SkScalar max) { in Make() function in ContinuousSliderControl
527 static sk_sp<Control> Make(const SkString& name, SkVector* output) { in Make() function in RadialDirectionControl
539 SkPoint lineEnd = SkPoint::Make(fCtrlRegion.centerX(), fCtrlRegion.centerY()) in onDrawContent()
605 static sk_sp<Control> Make(SkColor3f* input) { in Make() function in ColorDisplay
646 {SkVector::Make(0.0f, 1.0f), 1.0f, SkColor3f::Make(0.6f, 0.45f, 0.3f)}; in BevelView()
648 {SkVector::Make(0.0f, -1.0f), 1.0f, SkColor3f::Make(0.3f, 0.45f, 0.6f)}; in BevelView()
650 {SkVector::Make(1.0f, 0.0f), 1.0f, SkColor3f::Make(0.0f, 0.0f, 0.0f)}; in BevelView()
654 fControlPanel.add(ContinuousSliderControl::Make(SkString("BevelWidth"), &fBevelWidth, in BevelView()
656 fControlPanel.add(ContinuousSliderControl::Make(SkString("BevelHeight"), &fBevelHeight, in BevelView()
658 fControlPanel.add(DiscreteSliderControl::Make(SkString("BevelType"), &fBevelType, in BevelView()
660 sk_sp<ParentControl> lightCtrlSelector = ControlSwitcher::Make(SkString("SelectedLight")); in BevelView()
664 sk_sp<ParentControl> currLightPanel = ControlPanel::Make(); in BevelView()
667 currLightPanel->add(RadialDirectionControl::Make(dirName, &(fLightDefs[i].fDirXY))); in BevelView()
670 currLightPanel->add(ContinuousSliderControl::Make(heightName, &(fLightDefs[i].fDirZ), in BevelView()
674 currLightPanel->add(ContinuousSliderControl::Make(redName, &(fLightDefs[i].fColor.fX), in BevelView()
678 currLightPanel->add(ContinuousSliderControl::Make(greenName, &(fLightDefs[i].fColor.fY), in BevelView()
682 currLightPanel->add(ContinuousSliderControl::Make(blueName, &(fLightDefs[i].fColor.fZ), in BevelView()
684 currLightPanel->add(ColorDisplay::Make(&(fLightDefs[i].fColor))); in BevelView()
720 paint.setShader(SkLightingShader::Make(nullptr, fNormalSource, fLights)); in drawShape()
748 SkPoint3::Make(fLightDefs[i].fDirXY.fX, in onDrawContent()
752 builder.setAmbientLightColor(SkColor3f::Make(0.4f, 0.4f, 0.4f)); in onDrawContent()