Home
last modified time | relevance | path

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

/system/teeui/libteeui/include/teeui/example/
Dexample.h29 double dp2px_; member
/system/teeui/libteeui/include/teeui/
Dutils.h442 Numeric dp2px_;
447 Numeric mm2px_, dp2px_;
451 : valuepx_(valuepx), mm2px_(mm2px), dp2px_(dp2px) {}
457 operator Coordinate<dp, Numeric>() const { return valuepx_ / dp2px_; }
461 context(Numeric mm2px, Numeric dp2px) : mm2px_(mm2px), dp2px_(dp2px) {}
493 return {rhs.count(), mm2px_, dp2px_};
496 return {rhs.count() * mm2px_, mm2px_, dp2px_};
499 return {rhs.count() * dp2px_, mm2px_, dp2px_};
503 return {rhs.eval(*this).count(), mm2px_, dp2px_};
508 return {getParam<MetaParam<ParamName, ParamType>>()->count(), mm2px_, dp2px_};
/system/teeui/test/
Dteeui_device_config.cpp76 device_info_ptr->dp2px_ = dp2px; in createDevice()
/system/teeui/libteeui/example/
Dphys_button_example.cpp71 context<ConUIParameters> ctx(deviceInfo.mm2px_, deviceInfo.dp2px_); in setLayoutParams()
Dtouch_button_example.cpp101 context<ConfUIParameters> ctx(deviceInfo.mm2px_, deviceInfo.dp2px_); in setLayoutParams()
/system/teeui/libteeui_jni/
Dlibteeui_jni.cpp146 device_info.dp2px_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()