Fix naming typo of code 40/289640/1
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Mon, 13 Mar 2023 02:09:27 +0000 (11:09 +0900)
committerDaekwang Ryu <dkdk.ryu@samsung.com>
Mon, 13 Mar 2023 02:09:27 +0000 (11:09 +0900)
Change-Id: Idc914d5726e99528808f2bc7f02cd88c3c674d9c

libaurum/inc/Impl/Accessibility/AtspiAccessibleWatcher.h
libaurum/inc/TizenWindow.h
libaurum/inc/UiObject.h
libaurum/src/A11yEvent.cc
libaurum/src/TizenWindow.cc
org.tizen.aurum-bootstrap/inc/Commands/LongClickCommand.h
org.tizen.aurum-bootstrap/src/Commands/LongClickCommand.cc

index fb9968aabc12593e3fc8cfaad430c629a9d16ac4..2136587437e0321595a6664d949673212a13b960 100644 (file)
@@ -44,8 +44,8 @@ namespace AurumInternal {
  * @since_tizen 6.5
  */
 enum class WindowActivateInfoType {
-    DEFAULT_LABEL_ENALBED = 0x00,
-    DEFAULT_LABEL_ENALBED_WITHOUT_WINDOW = 0x01,
+    DEFAULT_LABEL_ENABLED = 0x00,
+    DEFAULT_LABEL_ENABLED_WITHOUT_WINDOW = 0x01,
     DEFAULT_LABEL_DISABLED = 0x02,
     KEYBOARD = 0x04,
 };
index 4c86227e4310f6ab2257281180cefa5700e916c2..7c695669f242c86684a999972bbbd9099ff21368 100644 (file)
@@ -30,7 +30,7 @@ public:
     int getPid();
     Rect<int> getWindowGeometry();
     bool isTransformed();
-    bool isAlpah();
+    bool isAlpha();
     int getOpaque();
     int getVisibility();
     bool isFocused();
index 35fabea6fd0c55f00f0e64d51f05fdcb71aa7fba..0c963d4d3926c898cbc82d2d8b862896bcdd63d7 100644 (file)
@@ -537,7 +537,7 @@ public:
      *
      * @since_tizen 6.5
      */
-    void longClick(const unsigned int durationMs = LOGNCLICK_INTERVAL) const;
+    void longClick(const unsigned int durationMs = LONGCLICK_INTERVAL) const;
 
     /**
      * TODO
@@ -666,7 +666,7 @@ private:
     std::shared_ptr<UiSelector>  mSelector;
     std::shared_ptr<AccessibleNode> mNode;
     const Waiter *mWaiter;
-    static const unsigned int LOGNCLICK_INTERVAL = 500;
+    static const unsigned int LONGCLICK_INTERVAL = 500;
 };
 
 }
index 6505dc5a3df4a7eac5ecabaf94c117015eef50f1..f59480446ccc1026d035b1d55a4f56bfa03a916c 100644 (file)
@@ -43,7 +43,7 @@ A11yEventInfo::A11yEventInfo(std::string event, std::string name, std::string pk
 static std::unordered_map<std::string,A11yEvent> const table = { {"window:create", A11yEvent::EVENT_WINDOW_CREATE},
                                                                                                                                 {"window:destroy", A11yEvent::EVENT_WINDOW_DESTROY},
                                                                                                                                 {"window:minimize", A11yEvent::EVENT_WINDOW_MINIMIZE},
-                                                                                                                                {"window:maxmize", A11yEvent::EVENT_WINDOW_MAXIMIZE},
+                                                                                                                                {"window:maximize", A11yEvent::EVENT_WINDOW_MAXIMIZE},
                                                                                                                                 {"window:restore", A11yEvent::EVENT_WINDOW_RESTORE},
                                                                                                                                 {"window:activate", A11yEvent::EVENT_WINDOW_ACTIVATE},
                                                                                                                                 {"window:deactivate", A11yEvent::EVENT_WINDOW_DEACTIVATE},
index ae19068a60f2e43d4562fb2739f19d56a1f7a02d..12f226e23c476f705c63cd035fe55ecce69b4ea1 100644 (file)
@@ -46,7 +46,7 @@ bool TizenWindow::isTransformed()
     return mIsTransformed;
 }
 
-bool TizenWindow::isAlpah()
+bool TizenWindow::isAlpha()
 {
     return mIsAlpha;
 }
index 2e1ccbf42c2203dacaf89aef05e8ea4015c8e701..02ed889f2340c11714d0cfb04efefb069d11e833 100644 (file)
@@ -32,5 +32,5 @@ public:
                      ::aurum::RspClick *response);
     ::grpc::Status execute() override;
 private:
-    const static unsigned int LOGNCLICK_INTERVAL = 500;
+    const static unsigned int LONGCLICK_INTERVAL = 500;
 };
index 8830c438f5dc64ab01fd4c7ad9ef218ff7310335..645d860cd4603d26b4df8bea7f0f586bb54efdb5 100644 (file)
@@ -36,14 +36,14 @@ LongClickCommand::LongClickCommand(const ::aurum::ReqClick *request,
     if (type == ::aurum::ReqClick_RequestType_ELEMENTID) {
         std::shared_ptr<UiObject> obj = mObjMap->getElement(mRequest->elementid());
         if (obj) {
-            obj->longClick(LOGNCLICK_INTERVAL);
+            obj->longClick(LONGCLICK_INTERVAL);
             mResponse->set_status(::aurum::RspStatus::OK);
         } else
             mResponse->set_status(::aurum::RspStatus::ERROR);
     } else if (type == ::aurum::ReqClick_RequestType_COORD) {
         std::shared_ptr<UiDevice> obj = UiDevice::getInstance();
         const ::aurum::Point& point = mRequest->coordination();
-        obj->click(point.x(), point.y(), LOGNCLICK_INTERVAL);
+        obj->click(point.x(), point.y(), LONGCLICK_INTERVAL);
         mResponse->set_status(::aurum::RspStatus::OK);
     } else if (type == ::aurum::ReqClick_RequestType_ATSPI) {
         mResponse->set_status(::aurum::RspStatus::ERROR);