Lines Matching refs:ctx
71 context<ConUIParameters> ctx(deviceInfo.mm2px_, deviceInfo.dp2px_); in setLayoutParams() local
72 ctx.setParam<RightEdgeOfScreen>(pxs(deviceInfo.width_)); in setLayoutParams()
73 ctx.setParam<BottomOfScreen>(pxs(deviceInfo.height_)); in setLayoutParams()
74 ctx.setParam<PowerButtonTop>(mms(deviceInfo.powerButtonTopMm_)); in setLayoutParams()
75 ctx.setParam<PowerButtonBottom>(mms(deviceInfo.powerButtonBottomMm_)); in setLayoutParams()
76 ctx.setParam<VolUpButtonTop>(mms(deviceInfo.volUpButtonTopMm_)); in setLayoutParams()
77 ctx.setParam<VolUpButtonBottom>(mms(deviceInfo.volUpButtonBottomMm_)); in setLayoutParams()
79 ctx.setParam<DefaultFontSize>(18_dp); in setLayoutParams()
80 ctx.setParam<BodyFontSize>(20_dp); in setLayoutParams()
82 ctx.setParam<DefaultFontSize>(14_dp); in setLayoutParams()
83 ctx.setParam<BodyFontSize>(16_dp); in setLayoutParams()
86 ctx.setParam<ShieldColor>(kShieldColorInv); in setLayoutParams()
87 ctx.setParam<ColorText>(kTextColorInv); in setLayoutParams()
88 ctx.setParam<ColorBG>(kBackGroundColorInv); in setLayoutParams()
90 ctx.setParam<ShieldColor>(kShieldColor); in setLayoutParams()
91 ctx.setParam<ColorText>(kTextColor); in setLayoutParams()
92 ctx.setParam<ColorBG>(kBackGroundColor); in setLayoutParams()
94 return ctx; in setLayoutParams()