Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/m/o/modrana-HEAD/modules/gui_modules/base_gui_module.py   modrana(Download)
                # high DPI smartphone
                return True
            elif size > 1024 and deviceType == constants.DEVICE_TYPE_TABLET:
                # high DPI tablet
                return True

src/m/o/modrana-HEAD/modules/device_modules/device_q7.py   modrana(Download)
#---------------------------------------------------------------------------
from modules.device_modules.base_device_module import DeviceModule
from core.constants import DEVICE_TYPE_TABLET
 
 
    def getDeviceType(self):
        return DEVICE_TYPE_TABLET