Home
last modified time | relevance | path

Searched refs:window_ (Results 1 – 6 of 6) sorted by relevance

/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_panel.cpp48 window_ = OHOS::Rosen::Window::Create(GeneratePanelName(), winOption_, context, wmError); in CreatePanel()
53 if (window_ == nullptr || wmError != WMError::WM_OK) { in CreatePanel()
56 windowId_ = window_->GetWindowId(); in CreatePanel()
59 wmError = window_->Destroy(); in CreatePanel()
77 if (window_ == nullptr) { in SetPanelProperties()
85 window_->GetSurfaceNode()->SetFrameGravity(Rosen::Gravity::TOP_LEFT); in SetPanelProperties()
88 window_->GetSurfaceNode()->SetFrameGravity(Rosen::Gravity::TOP_LEFT); in SetPanelProperties()
92 WMError wmError = window_->SetWindowGravity(gravity, invalidGravityPercent); in SetPanelProperties()
107 auto result = window_->Destroy(); in DestroyPanel()
114 if (window_ == nullptr) { in Resize()
[all …]
/base/inputmethod/imf/test/unittest/cpp_test/common/src/
Dtdd_util.cpp48 sptr<Window> TddUtil::WindowManager::window_ = nullptr; member in OHOS::MiscServices::TddUtil::WindowManager
231 window_ = Window::Create(windowName, winOption, context, wmError); in CreateWindow()
233 currentWindowId_ = window_->GetWindowId(); in CreateWindow()
238 if (window_ == nullptr) { in ShowWindow()
242 auto ret = window_->Show(); in ShowWindow()
248 if (window_ == nullptr) { in HideWindow()
252 auto ret = window_->Hide(); in HideWindow()
258 if (window_ != nullptr) { in DestroyWindow()
259 window_->Destroy(); in DestroyWindow()
/base/hiviewdfx/hiview/plugins/freeze_detector/
Drule_cluster.h31 …FreezeResult() : window_(0), code_(0), scope_(""), samePackage_(""), domain_(""), stringId_("") {}; in FreezeResult()
33 …: window_(window), code_(0), scope_(""), samePackage_(""), domain_(domain), stringId_(stringId) {}; in FreezeResult()
35 : window_(0), code_(code), scope_(scope), samePackage_(""), domain_(""), stringId_("") {}; in FreezeResult()
69 return window_; in GetWindow()
83 long window_;
/base/usb/usb_manager/services/native/src/
Dusb_device_manager.cpp59 std::shared_ptr<UsbFunctionSwitchWindow> window_ = UsbFunctionSwitchWindow::GetInstance(); in Init() local
60 int32_t ret = window_->Init(); in Init()
201 std::shared_ptr<UsbFunctionSwitchWindow> window_ = UsbFunctionSwitchWindow::GetInstance(); in ProcessFunctionSwitchWindow() local
204 if (!window_->PopUpFunctionSwitchWindow()) { in ProcessFunctionSwitchWindow()
209 if (!window_->DismissFunctionSwitchWindow()) { in ProcessFunctionSwitchWindow()
/base/inputmethod/imf/test/unittest/cpp_test/common/include/
Dtdd_util.h61 static sptr<Rosen::Window> window_;
/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/
Dinput_method_panel.h76 sptr<OHOS::Rosen::Window> window_ = nullptr; variable