/ide/tools/previewer/mock/ |
D | VirtualScreen.h | 33 int32_t GetOrignalWidth() const; 34 void SetOrignalWidth(const int32_t& value); 42 int32_t GetOrignalHeight() const; 43 void SetOrignalHeight(const int32_t& value); 45 int32_t GetCompressionWidth() const; 46 void SetCompressionWidth(const int32_t& value); 48 int32_t GetCompressionHeight() const; 49 void SetCompressionHeight(const int32_t& value); 65 void SetVirtualScreenWidthAndHeight(const int32_t& orignalWidth, 66 const int32_t& orignalHeight, [all …]
|
D | KeyInput.h | 25 virtual void SetKeyEvent(const int32_t keyCodeVal, const int32_t keyActionVal, in SetKeyEvent() 26 const std::vector<int32_t> pressedCodesVal, in SetKeyEvent() 36 int32_t keyCode; 37 int32_t keyAction;
|
D | VirtualScreen.cpp | 85 int32_t VirtualScreen::GetOrignalWidth() const in GetOrignalWidth() 90 void VirtualScreen::SetOrignalWidth(const int32_t& value) in SetOrignalWidth() 95 int32_t VirtualScreen::GetOrignalHeight() const in GetOrignalHeight() 100 void VirtualScreen::SetOrignalHeight(const int32_t& value) in SetOrignalHeight() 105 int32_t VirtualScreen::GetCompressionWidth() const in GetCompressionWidth() 110 void VirtualScreen::SetCompressionWidth(const int32_t& value) in SetCompressionWidth() 115 int32_t VirtualScreen::GetCompressionHeight() const in GetCompressionHeight() 120 void VirtualScreen::SetCompressionHeight(const int32_t& value) in SetCompressionHeight() 136 int32_t orignalWidth = CommandParser::GetInstance().GetOrignalResolutionWidth(); in InitVirtualScreen() 137 int32_t orignalHeight = CommandParser::GetInstance().GetOrignalResolutionHeight(); in InitVirtualScreen() [all …]
|
/ide/tools/previewer/mock/lite/ |
D | VirtualScreenImpl.h | 45 bool IsRectValid(int32_t x1, int32_t y1, int32_t x2, int32_t y2) const; 53 void Send(unsigned char* data, int32_t width, int32_t height); 68 void UpdateRegion(int32_t x1, int32_t y1, int32_t x2, int32_t y2); 81 int32_t extendPix = 15;
|
D | AblityKit.cpp | 23 int32_t OHOS::AbilityKit::RegisterReceiver(const char* bundleName, SuccessCallback success, FailCal… in RegisterReceiver() 33 int32_t OHOS::AbilityKit::UnregisterReceiver(const char* bundleName) in UnregisterReceiver() 39 int32_t OHOS::AbilityKit::SendMsgToPeerApp(bool isLocalMsg, const char* callingPkgName, const char*… in SendMsgToPeerApp() 53 int32_t OHOS::AbilityKit::DetectPhoneApp(const char* callingPkgName, const char* calledPkgName, in DetectPhoneApp() 64 int32_t OHOS::AbilityKit::DetectResourceRelease() in DetectResourceRelease() 69 int32_t OHOS::AbilityKit::SendMsgResourceRelease() in SendMsgResourceRelease()
|
D | BrightnessModuleImpl.cpp | 24 int32_t BrightnessImpl::SetValueImpl(uint8_t value) in SetValueImpl() 33 int32_t BrightnessImpl::GetValueImpl(uint8_t& value) in GetValueImpl() 40 int32_t BrightnessImpl::SetModeImpl(uint8_t mode) in SetModeImpl() 49 int32_t BrightnessImpl::GetModeImpl(uint8_t& mode) in GetModeImpl() 67 int32_t BrightnessImpl::GetSysMode(uint8_t& mode) in GetSysMode() 73 int32_t BrightnessImpl::SetSysMode(uint8_t mode) in SetSysMode()
|
D | KeyInputImpl.cpp | 36 void KeyInputImpl::SetKeyEvent(const int32_t keyCodeVal, const int32_t keyActionVal, in SetKeyEvent() 37 const std::vector<int32_t> pressedCodesVal, in SetKeyEvent()
|
D | KeyInputImpl.h | 26 void SetKeyEvent(const int32_t keyCodeVal, const int32_t keyActionVal, 27 const std::vector<int32_t> pressedCodesVal,
|
D | GeoLocation.cpp | 24 static const int32_t RES_OK = 0; 25 static const int32_t RES_ERROR = -1; 43 int32_t GetGeoLocation(LocDataUpdateCallback callback, LocTimeoutCallback timeoutCallback, void *ar… in GetGeoLocation() 56 int32_t SubGeoLocation(LocDataUpdateCallback callback) in SubGeoLocation() 77 int32_t SerializeLocData(const int8_t *rawData, uint32_t len, LocationData *result) in SerializeLocData()
|
D | VirtualScreenImpl.cpp | 63 bool VirtualScreenImpl::IsRectValid(int32_t x1, int32_t y1, int32_t x2, int32_t y2) const in IsRectValid() 87 void VirtualScreenImpl::UpdateRegion(int32_t x1, int32_t y1, int32_t x2, int32_t y2) in UpdateRegion() 146 void VirtualScreenImpl::Send(unsigned char* data, int32_t width, int32_t height) in Send()
|
D | VibratorModuleImpl.cpp | 28 int32_t Vibrate(const char* vibMode) in Vibrate()
|
D | BatteryModuleImpl.cpp | 28 int32_t GetBatteryStatus(bool *charging, double *level) in GetBatteryStatus()
|
/ide/tools/previewer/mock/rich/ |
D | VirtualScreenImpl.h | 28 const int32_t width, const int32_t height); 29 …static bool CallBack(const void* data, const size_t length, const int32_t width, const int32_t hei… 38 void Send(const void* data, int32_t retWidth, int32_t retHeight); 39 bool SendPixmap(const void* data, size_t length, int32_t retWidth, int32_t retHeight); 63 int32_t widthTemp; 64 int32_t heightTemp;
|
D | KeyInputImpl.h | 27 void SetKeyEvent(const int32_t keyCodeVal, const int32_t keyActionVal, 28 const std::vector<int32_t> pressedCodesVal,
|
D | KeyInputImpl.cpp | 55 void KeyInputImpl::SetKeyEvent(const int32_t keyCodeVal, const int32_t keyActionVal, in SetKeyEvent() 56 const vector<int32_t> pressedCodesVal, const string keyStrVal) in SetKeyEvent() 61 for (int32_t num : pressedCodesVal) { in SetKeyEvent()
|
D | VirtualScreenImpl.cpp | 72 const int32_t width, in LoadDocCallback() 73 const int32_t height) in LoadDocCallback() 104 const int32_t width, const int32_t height) in CallBack() 195 void VirtualScreenImpl::Send(const void* data, int32_t retWidth, int32_t retHeight) in Send() 237 bool VirtualScreenImpl::SendPixmap(const void* data, size_t length, int32_t retWidth, int32_t retHe… in SendPixmap() 265 for (size_t i = 0; i < headReservedSize / sizeof(int32_t); i++) { in SendPixmap()
|
/ide/tools/previewer/jsapp/rich/ |
D | JsAppImpl.h | 62 void ResolutionChanged(int32_t changedOriginWidth, int32_t changedOriginHeight, 63 … int32_t changedWidth, int32_t changedHeight, int32_t screenDensity) override; 64 void SetResolutionParams(int32_t changedOriginWidth, int32_t changedOriginHeight, 65 int32_t changedWidth, int32_t changedHeight, int32_t screenDensity); 100 void SetDeviceWidth(OHOS::Ace::Platform::AceRunArgs& args, const int32_t) const; 101 void SetDeviceHeight(OHOS::Ace::Platform::AceRunArgs& args, const int32_t) const; 119 void AssignValueForWidthAndHeight(const int32_t origWidth, const int32_t origHeight, 120 const int32_t compWidth, const int32_t compHeight); 122 const int32_t, double screenDendity = 0) const; 125 void SetDeviceScreenDensity(const int32_t screenDensity, const std::string type); [all …]
|
/ide/tools/previewer/util/ |
D | CommandParser.h | 34 bool IsResolutionValid(int32_t resolution) const; 35 int32_t GetOrignalResolutionWidth() const; 36 int32_t GetOrignalResolutionHeight() const; 37 int32_t GetCompressionResolutionWidth() const; 38 int32_t GetCompressionResolutionHeight() const; 86 const int32_t MIN_RESOLUTION = 1; 87 const int32_t MAX_RESOLUTION = 3840; 92 int32_t orignalResolutionWidth; 93 int32_t orignalResolutionHeight; 94 int32_t compressionResolutionWidth; [all …]
|
D | TimeTool.h | 28 static std::string FixedTime(int32_t time, int32_t width);
|
D | PublicMethods.cpp | 22 const int32_t RADIX_HEXADECIMAL = 16; in Ulltoa() 23 const int32_t dividendLength = 10; in Ulltoa()
|
D | JsonReader.h | 34 …static int32_t GetInt(const Json::Value& val, const std::string& key, const int32_t defaultVal = 0… 39 static int32_t GetArraySize(const Json::Value& val);
|
D | StringHelper.h | 29 int32_t nBytes = 0; in IsUtf8Data() 30 int32_t byteNumber[] = {0, 1, 2, 3, 4, 5, 6}; in IsUtf8Data()
|
D | PublicMethods.h | 27 static const int32_t MAX_ITOA_BIT = 65;
|
/ide/tools/previewer/jsapp/ |
D | JsApp.h | 46 virtual void ResolutionChanged(int32_t, int32_t, int32_t, int32_t, int32_t);
|
D | JsApp.cpp | 175 void JsApp::ResolutionChanged(int32_t, int32_t, int32_t, int32_t, int32_t) {}; in ResolutionChanged() argument
|