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_; }
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/
Dteeui_device_config.cpp126 device_info.dp2px_ = strtod(optarg, NULL); in initFromOptions()
/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()