Searched refs:deviceInfo (Results 1 – 4 of 4) sorted by relevance
/system/teeui/libteeui/example/ |
D | phys_button_example.cpp | 69 static context<ConUIParameters> setLayoutParams(DeviceInfo& deviceInfo, bool magnified, in setLayoutParams() argument 71 context<ConUIParameters> ctx(deviceInfo.mm2px_, deviceInfo.dp2px_); in setLayoutParams() 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()
|
D | touch_button_example.cpp | 99 static context<ConfUIParameters> setLayoutParams(DeviceInfo& deviceInfo, bool magnified, in setLayoutParams() argument 101 context<ConfUIParameters> ctx(deviceInfo.mm2px_, deviceInfo.dp2px_); in setLayoutParams() 102 ctx.setParam<RightEdgeOfScreen>(pxs(deviceInfo.width_)); in setLayoutParams() 103 ctx.setParam<BottomOfScreen>(pxs(deviceInfo.height_)); in setLayoutParams()
|
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/ |
D | NativeRenderer.java | 26 …public static native int setDeviceInfo(DeviceInfo deviceInfo, boolean magnified, boolean inverted,… in setDeviceInfo() argument
|
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/ |
D | FrameBufferBuffer.java | 400 DeviceInfo deviceInfo = DeviceInfoDB.getDeviceInfo(getConfigSelector().currentDevice()); in renderNativeBuffer() local 404 int w = deviceInfo.getWidthPx(); in renderNativeBuffer() 405 int h = deviceInfo.getHeightPx(); in renderNativeBuffer() 418 …NativeRenderer.setDeviceInfo(deviceInfo, magnified, inverted, getConfigSelector().currentLayout()); in renderNativeBuffer()
|