Fix spelling mistakes

Signed-off-by: Zhang Wenjun <navy5555@126.com>
This commit is contained in:
Zhang Wenjun 2022-06-17 16:32:36 +08:00
parent 876d5d7d40
commit c417218c88
9 changed files with 22 additions and 22 deletions

View File

@ -152,7 +152,7 @@ public:
AccessibilityElementInfo &child) override;
/**
* @brief Get the child node informations
* @brief Get the child node information
* @param parent The parent info to get child.
* @param children The element info of children.
* @return Return true if gets child elementInfo successfully, else return false.
@ -237,4 +237,4 @@ private:
};
} // namespace Accessibility
} // namespace OHOS
#endif // ACCESSIBILITY_UI_TEST_ABILITY_IMPL_H
#endif // ACCESSIBILITY_UI_TEST_ABILITY_IMPL_H

View File

@ -184,7 +184,7 @@ public:
AccessibilityElementInfo &child) override;
/**
* @brief Get the child node informations
* @brief Get the child node information
* @param parent The parent info to get child.
* @param children The element info of children.
* @return Return true if gets child elementInfo successfully, else return false.
@ -298,4 +298,4 @@ private:
};
} // namespace Accessibility
} // namespace OHOS
#endif // ACCESSIBLE_ABILITY_CLIENT_IMPL_H
#endif // ACCESSIBLE_ABILITY_CLIENT_IMPL_H

View File

@ -156,7 +156,7 @@ public:
AccessibilityElementInfo &child) = 0;
/**
* @brief Get the child node informations
* @brief Get the child node information
* @param parent The parent info to get child.
* @param children The element info of children.
* @return Return true if gets child elementInfo successfully, else return false.
@ -237,4 +237,4 @@ public:
};
} // namespace Accessibility
} // namespace OHOS
#endif // ACCESSIBILITY_UI_TEST_ABILITY_H
#endif // ACCESSIBILITY_UI_TEST_ABILITY_H

View File

@ -147,7 +147,7 @@ public:
AccessibilityElementInfo &child) = 0;
/**
* @brief Get the child node informations
* @brief Get the child node information
* @param parent The parent info to get child.
* @param children The element info of children.
* @return Return true if gets child elementInfo successfully, else return false.
@ -235,4 +235,4 @@ public:
};
} // namespace Accessibility
} // namespace OHOS
#endif // ACCESSIBLE_ABILITY_CLIENT_H
#endif // ACCESSIBLE_ABILITY_CLIENT_H

View File

@ -282,9 +282,9 @@ protected:
/*
* The class define the event types and supply the api to
* get/set the property of event. and it triggerred by UI
* get/set the property of event. and it triggered by UI
* changed and sent to AA. According to the event property,
* AA can get event properties, such as: action triggerred
* AA can get event properties, such as: action triggered
* the event and the source.
*/
class AccessibilityEventInfo : public AccessibilityMemo {
@ -584,4 +584,4 @@ protected:
};
} // namespace Accessibility
} // namespace OHOS
#endif // ACCESSIBILITY_EVENT_INFO_H
#endif // ACCESSIBILITY_EVENT_INFO_H

View File

@ -294,4 +294,4 @@ interface GesturePos {
* @since 9
* @sysCap Accessibility
*/
type WindowType = 'application' | 'inputMethod' | 'system' | 'accessibilityOverlay' | 'screenDivider';
type WindowType = 'application' | 'inputMethod' | 'system' | 'accessibilityOverlay' | 'screenDivider';

View File

@ -281,7 +281,7 @@ public:
void AddEventEnabled(EventType type);
/**
* @brief Delet enabled event which is needed by accessible ability.
* @brief Delete enabled event which is needed by accessible ability.
* @param type EventType
* @return null.
*/
@ -364,4 +364,4 @@ private:
} // namespace Accessibility
} // namespace OHOS
#endif // ACCESSIBILITY_ACCOUNT_DATA_H
#endif // ACCESSIBILITY_ACCOUNT_DATA_H

View File

@ -106,7 +106,7 @@ private:
/**
* @brief Find processing event.
* @param connection the corresponding AccessiblityAbility
* @param sequenceNum the squence of event
* @param sequenceNum the sequence of event
* @return the processing event
*/
std::shared_ptr<ProcessingEvent> FindProcessingEvent(AccessibleAbilityConnection &connection,
@ -140,4 +140,4 @@ private:
};
} // namespace Accessibility
} // namespace OHOS
#endif // ACCESSIBILITY_KEYEVENT_FILTER_H_
#endif // ACCESSIBILITY_KEYEVENT_FILTER_H_

View File

@ -42,25 +42,25 @@ public:
AccessibilityEventInfoParcel(const AccessibilityEventInfo &eventInfo);
/**
* @brief Used for IPC comminication
* @brief Used for IPC communcation
* @param parcel
* @return true: Read parcel data successfully; ohterwise is not.
* @return true: Read parcel data successfully; otherwise is not.
* @since 3
* @sysCap Accessibility
*/
bool ReadFromParcel(Parcel &parcel);
/**
* @brief Used for IPC comminication
* @brief Used for IPC communcation
* @param parcel
* @return true: Write parcel data successfully; ohterwise is not.
* @return true: Write parcel data successfully; otherwise is not.
* @since 3
* @sysCap Accessibility
*/
virtual bool Marshalling(Parcel &parcel) const override;
/**
* @brief Used for IPC comminication
* @brief Used for IPC communcation
* @param parcel
* @return Read AccessibilityEventInfoParcel from parcel data
* @since 3
@ -70,4 +70,4 @@ public:
};
} // namespace Accessibility
} // namespace OHOS
#endif // ACCESSIBILITY_EVENT_INFO_PARCEL_H
#endif // ACCESSIBILITY_EVENT_INFO_PARCEL_H