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 fb9968a..2136587 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 4c86227..7c69566 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 35fabea..0c963d4 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 6505dc5..f594804 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 ae19068..12f226e 100644 (file)
@@ -46,7 +46,7 @@ bool TizenWindow::isTransformed()
     return mIsTransformed;
 }
 
-bool TizenWindow::isAlpah()
+bool TizenWindow::isAlpha()
 {
     return mIsAlpha;
 }
index 2e1ccbf..02ed889 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 8830c43..645d860 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);