Searched refs:dp2px_ (Results 1 – 6 of 6) sorted by relevance
/system/teeui/libteeui/include/teeui/example/ |
D | example.h | 29 double dp2px_; member
|
/system/teeui/libteeui/include/teeui/ |
D | utils.h | 442 Numeric dp2px_; 447 Numeric mm2px_, dp2px_; 451 : valuepx_(valuepx), mm2px_(mm2px), dp2px_(dp2px) {} 457 operator Coordinate<dp, Numeric>() const { return valuepx_ / dp2px_; } 463 dp2px_ = (mm2px * 25.4) / 160.0; /* 1dp = 1/160th of an inch */ 466 context(Numeric mm2px, Numeric dp2px) : mm2px_(mm2px), dp2px_(dp2px) {} 498 return {rhs.count(), mm2px_, dp2px_}; 501 return {rhs.count() * mm2px_, mm2px_, dp2px_}; 504 return {rhs.count() * dp2px_, mm2px_, dp2px_}; 508 return {rhs.eval(*this).count(), mm2px_, dp2px_}; [all …]
|
/system/teeui/test/ |
D | teeui_device_config.cpp | 126 device_info.dp2px_ = strtod(optarg, NULL); in initFromOptions()
|
/system/teeui/libteeui/example/ |
D | phys_button_example.cpp | 71 context<ConUIParameters> ctx(deviceInfo.mm2px_, deviceInfo.dp2px_); in setLayoutParams()
|
D | touch_button_example.cpp | 101 context<ConfUIParameters> ctx(deviceInfo.mm2px_, deviceInfo.dp2px_); in setLayoutParams()
|
/system/teeui/libteeui_jni/ |
D | libteeui_jni.cpp | 146 device_info.dp2px_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
|