From: Jahangir Date: Mon, 10 Oct 2016 21:34:34 +0000 (-0400) Subject: [TBT][DALi][Added module guide info] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a78412ed13fe3f8d2956cb1cbee9f77fe4d411f;p=test%2Ftct%2Fnative%2Fbehavior.git [TBT][DALi][Added module guide info] Change-Id: I6422143912ecdba4b46ebc2077703d585b6591ac --- diff --git a/release/binary-armv7l/org.tizen.tbtcoreapp-dali-1.0.0-arm.tpk b/release/binary-armv7l/org.tizen.tbtcoreapp-dali-1.0.0-arm.tpk index cc8e70e..be45a6d 100644 Binary files a/release/binary-armv7l/org.tizen.tbtcoreapp-dali-1.0.0-arm.tpk and b/release/binary-armv7l/org.tizen.tbtcoreapp-dali-1.0.0-arm.tpk differ diff --git a/release/binary-x86/org.tizen.tbtcoreapp-dali-1.0.0-i386.tpk b/release/binary-x86/org.tizen.tbtcoreapp-dali-1.0.0-i386.tpk index 0574c69..ad30fe4 100644 Binary files a/release/binary-x86/org.tizen.tbtcoreapp-dali-1.0.0-i386.tpk and b/release/binary-x86/org.tizen.tbtcoreapp-dali-1.0.0-i386.tpk differ diff --git a/tbtcoreapp-dali/.gitignore b/tbtcoreapp-dali/.gitignore index 98bbc31..65fa71e 100644 --- a/tbtcoreapp-dali/.gitignore +++ b/tbtcoreapp-dali/.gitignore @@ -1 +1,2 @@ /Debug +/SA_Report diff --git a/tbtcoreapp-dali/.sdk_delta.info b/tbtcoreapp-dali/.sdk_delta.info index 12f35f8..bf2301c 100644 Binary files a/tbtcoreapp-dali/.sdk_delta.info and b/tbtcoreapp-dali/.sdk_delta.info differ diff --git a/tbtcoreapp-dali/.sign/.manifest.tmp b/tbtcoreapp-dali/.sign/.manifest.tmp index 43615a3..1368cf1 100644 --- a/tbtcoreapp-dali/.sign/.manifest.tmp +++ b/tbtcoreapp-dali/.sign/.manifest.tmp @@ -1,4 +1,4 @@ -bin/tbtcoreapp-dali__DEL__BwnvgG8sD2EdRtBUa5HwwaS60PEqE7+CWAcAtTppgG4= +bin/tbtcoreapp-dali__DEL__FWyvPfqgfssOkfEMJ12Ojkek1k7uEO1rRuj5bGNAPNU= res/dali-toolkit-test-theme_720x1280.json__DEL__DCzB9UIk8miYUX+Ll21N0W0mefzt37DPTsrTRPo4PfE= res/images/Default_home.png__DEL__G5tVggT06pLAhU2qhwPAmVTMSNTBF3T5sqkIydsMt44= res/images/customTextFieldBgImage.jpg__DEL__tRuXc9qO5C064IhIkuWVtgw2OiQ1R6sCYm0KA+AbmGU= @@ -22,4 +22,4 @@ res/images/text-field-bg.9.png__DEL__MB7LhGWONfE9F3kWbkkHJNgQ4SIfT3U+WND+9+siVpU res/images/top-bar.png__DEL__gvQ+T+R9lVRmJmRoRaYoeIHhzxEwsXgRSr4wjnbEokM= shared/res/tbtcoreapp-dali.png__DEL__1d0oEZHqPn+QzNzGIHwj9ODby6x9ggFs9uOsav6jPNs= tizen-manifest.xml__DEL__jVCHDxVZ/eHQqLpBXF33+IyKIcQTWevk9pMnSecwrsE= -author-signature.xml__DEL__aJEorr20NN+WLYn8DIR0+RRSoK54vR8nvGNhsBxATIQ= +author-signature.xml__DEL__Fn8W8MQveXlwDKIR98cZUgmGilvrLqA7ldWn5XjpTWI= diff --git a/tbtcoreapp-dali/.sign/author-signature.xml b/tbtcoreapp-dali/.sign/author-signature.xml index 41a554e..49b83ce 100644 --- a/tbtcoreapp-dali/.sign/author-signature.xml +++ b/tbtcoreapp-dali/.sign/author-signature.xml @@ -4,7 +4,7 @@ -BwnvgG8sD2EdRtBUa5HwwaS60PEqE7+CWAcAtTppgG4= +FWyvPfqgfssOkfEMJ12Ojkek1k7uEO1rRuj5bGNAPNU= @@ -107,9 +107,9 @@ -C+C+QgCk1L/TC2zHmWqj+u1dZtgLVdElydmQJXPlYIzFBw0fkFA95kojII4HoyN4W0RjVfqEK47y -LsCrl2kWpU/tEMWuX/sos9kdqZijT6/Gzt5ZZvgvYFlJvxbF3g5J7HOQ5CZ2U2h/sAvU5+ayhnAi -5++vkxr8yyDxh7CQMqk= +IzTrn/hel9oCkkujQaXdBzMmKNoirMS/J0sLcoZec53fuqPB+ChdtSfjxaGRy0SjOfvZ8w2d0gma +AqrXggJRgiL9mPx6hcQD4CdBec4S1f2lyuFI+IPUueq6KCPwMPkqjo5KIfmABh9OeFY1CMo6KmS9 +8AjMSAhKabl2auB1g/o= diff --git a/tbtcoreapp-dali/.sign/signature1.xml b/tbtcoreapp-dali/.sign/signature1.xml index e21c9a0..1d8c055 100644 --- a/tbtcoreapp-dali/.sign/signature1.xml +++ b/tbtcoreapp-dali/.sign/signature1.xml @@ -4,11 +4,11 @@ -aJEorr20NN+WLYn8DIR0+RRSoK54vR8nvGNhsBxATIQ= +Fn8W8MQveXlwDKIR98cZUgmGilvrLqA7ldWn5XjpTWI= -BwnvgG8sD2EdRtBUa5HwwaS60PEqE7+CWAcAtTppgG4= +FWyvPfqgfssOkfEMJ12Ojkek1k7uEO1rRuj5bGNAPNU= @@ -111,9 +111,9 @@ -aaFq6x6BIxcsRkaSqx7eL3b+qPs7NgRPZzU+LS7HT04lFCPZMuLq2kLvbSo5XwhM1V8gQdBz9xYO -ey9FyQg4/mJ/85xRu1Af7v4q0N9xwT7huqNfyqOs8QDj2O+q05ab0bP/OTKjLvd+P6eoguwDdevN -jxOP52U4qNOsipizpjA= +Q0Eyl1XVAMv4eK0ofMzMSfv6uhE6zLS5wNJBe09HXHH6WMa65+g20uQXXkQWE7od4XmF7nEuQpky +Hq1BI9StyQW3GxtC8JdZUyMxrn95QsRQ6VRI2GUil4x/3MO8yFVzr29LbhBDhmXmKjVhKC7QaTzG +Dx9eW3GTrZ0/+O0vTuQ= diff --git a/tbtcoreapp-dali/inc/utils/constrants.h b/tbtcoreapp-dali/inc/utils/constrants.h index 2ffa9e7..cc94b07 100644 --- a/tbtcoreapp-dali/inc/utils/constrants.h +++ b/tbtcoreapp-dali/inc/utils/constrants.h @@ -1,8 +1,26 @@ -/* - * constrants.h +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file constraints.h + * @brief constant values + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit * - * Created on: Sep 1, 2016 - * Author: jahangir */ #ifndef CONSTRANTS_H_ diff --git a/tbtcoreapp-dali/inc/utils/dali-ui-utils.h b/tbtcoreapp-dali/inc/utils/dali-ui-utils.h index ffedb6f..599cc2d 100644 --- a/tbtcoreapp-dali/inc/utils/dali-ui-utils.h +++ b/tbtcoreapp-dali/inc/utils/dali-ui-utils.h @@ -1,11 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ /** - * @file dali-ui-utils.h - * @brief This file provide necessary Util functions of UI. - * @since_tizen 3.0 - * @author Jahangir Alam (ja.alam@samsung.com) - * @date July, 2016 - * @bug + * @file dali-ui-utils.h + * @brief UI Utils + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 * @credit + * */ #ifndef DALI_UI_UTILS_H_ @@ -41,7 +56,8 @@ public: Vector2 bodySize; Vector2 footerSize; - TextLabel lbtTitle; + TextLabel lblTitle; + //TextLabel lblInfoTitle; Control ctlRoot; Control ctlHeader; diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-accessibility-manager-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-accessibility-manager-view.h index 68e4b73..a8f6f8e 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-accessibility-manager-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-accessibility-manager-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-accessibility-manager-view.h + * @brief To test functionality of accessibility manager + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_ACCESSIBILITY_MANAGER #define __TBT_MODULE_APP_DALI_ACCESSIBILITY_MANAGER #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-actor-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-actor-view.h index a486ba9..6dead41 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-actor-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-actor-view.h @@ -1,3 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-actor-view.h + * @brief To test functionality of dali actor + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + + #ifndef __TBT_MODULE_APP_DALI_ACTOR #define __TBT_MODULE_APP_DALI_ACTOR #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-app-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-app-view.h index 1ac2fb4..473ffcc 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-app-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-app-view.h @@ -1,3 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-app-view.h + * @brief To test functionality of dali app + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + + #ifndef __TBT_MODULE_APP_DALI_APP #define __TBT_MODULE_APP_DALI_APP #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-button-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-button-view.h index da4962e..bca8fb2 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-button-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-button-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-button-view.h + * @brief To test functionality of dali button + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_BUTTON #define __TBT_MODULE_APP_DALI_BUTTON #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-gesture-detector-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-gesture-detector-view.h index 2caaaa6..6a35564 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-gesture-detector-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-gesture-detector-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-gesture-detector-view.h + * @brief To test functionality of dali gesture-detector + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_GESTURE_DETECTOR #define __TBT_MODULE_APP_DALI_GESTURE_DETECTOR #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-keyboard-focus-manager-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-keyboard-focus-manager-view.h index c8d220f..b9994f3 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-keyboard-focus-manager-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-keyboard-focus-manager-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-keyboard-focus-manager-view.h + * @brief To test functionality of dali keyboard focus manager + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_KEY_BOARD_FOCUS_MANAGER #define __TBT_MODULE_APP_DALI_KEY_BOARD_FOCUS_MANAGER #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-scroll-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-scroll-view.h index dedcfc7..ec67a6a 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-scroll-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-scroll-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-scroll-view.h + * @brief To test functionality of dali scroll + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_SCROLL #define __TBT_MODULE_APP_DALI_SCROLL #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-slider-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-slider-view.h index dc11c02..d0aaf96 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-slider-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-slider-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-slider-view.h + * @brief To test functionality of dali slider + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_SLIDER #define __TBT_MODULE_APP_DALI_SLIDER #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-stage-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-stage-view.h index f477855..c68732f 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-stage-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-stage-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-stage-view.h + * @brief To test functionality of dali stage + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_STAGE #define __TBT_MODULE_APP_DALI_STAGE #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-style-manager-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-style-manager-view.h index 211de6c..492c8e4 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-style-manager-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-style-manager-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-style-manager-view.h + * @brief To test functionality of dali style manager + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_STYLE_MANAGER #define __TBT_MODULE_APP_DALI_STYLE_MANAGER #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-text-control-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-text-control-view.h index 531ad54..d547b0f 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-text-control-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-text-control-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-text-control-view.h + * @brief To test functionality of dali text control + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_TEXT_CONTROL #define __TBT_MODULE_APP_DALI_TEXT_CONTROL #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-touch-data-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-touch-data-view.h index 18fd96f..ef8f523 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-touch-data-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-touch-data-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-touch-data-view.h + * @brief To test functionality of dali touch data + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_TOUCH_DATA #define __TBT_MODULE_APP_DALI_TOUCH_DATA #include diff --git a/tbtcoreapp-dali/inc/view/tbt-dali-tts-view.h b/tbtcoreapp-dali/inc/view/tbt-dali-tts-view.h index 536a845..d6cdbda 100644 --- a/tbtcoreapp-dali/inc/view/tbt-dali-tts-view.h +++ b/tbtcoreapp-dali/inc/view/tbt-dali-tts-view.h @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-tts-view.h + * @brief To test functionality of dali tts + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #ifndef __TBT_MODULE_APP_DALI_TTS #define __TBT_MODULE_APP_DALI_TTS #include diff --git a/tbtcoreapp-dali/src/tbtcoreapp-dali.cpp b/tbtcoreapp-dali/src/tbtcoreapp-dali.cpp index 90e6487..30a2899 100644 --- a/tbtcoreapp-dali/src/tbtcoreapp-dali.cpp +++ b/tbtcoreapp-dali/src/tbtcoreapp-dali.cpp @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbtcoreapp.cpp + * @brief tbt dali entry file + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include #include #include diff --git a/tbtcoreapp-dali/src/utils/dali-ui-utils.cpp b/tbtcoreapp-dali/src/utils/dali-ui-utils.cpp index cf91667..2dbbb18 100644 --- a/tbtcoreapp-dali/src/utils/dali-ui-utils.cpp +++ b/tbtcoreapp-dali/src/utils/dali-ui-utils.cpp @@ -1,9 +1,28 @@ -/* - * dali-ui-utils.cpp +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file dali-ui-utils.cpp + * @brief UI Utils + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit * - * Created on: Aug 30, 2016 - * Author: jahangir */ + #include "utils/dali-ui-utils.h" const Vector4 CUSTOM_BLUE_COLOR = Vector4( 66.0f/255.0f, 180.0f/255.0f, 198.0f/255.0f, 1.0f ); const Vector4 EDITOR_COLOR = Vector4( 214.0f, 234.0f, 248.0f, 1.0f); @@ -36,11 +55,11 @@ void UiUtils::Init(std::string title) this->footerSize=Vector2(stageSize.width, stageSize.height*0.125); this->bodySize=Vector2(stageSize.width, stageSize.height - (this->headerSize.y+footerSize.y)); - this->lbtTitle=TextLabel::New(title); - this->lbtTitle.SetAnchorPoint(AnchorPoint::TOP_LEFT); - this->lbtTitle.SetParentOrigin(ParentOrigin::TOP_LEFT); - this->lbtTitle.SetProperty( TextLabel::Property::VERTICAL_ALIGNMENT, "CENTER"); - this->lbtTitle.SetProperty( TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER"); + this->lblTitle=TextLabel::New(title); + this->lblTitle.SetAnchorPoint(AnchorPoint::TOP_LEFT); + this->lblTitle.SetParentOrigin(ParentOrigin::TOP_LEFT); + this->lblTitle.SetProperty( TextLabel::Property::VERTICAL_ALIGNMENT, "CENTER"); + this->lblTitle.SetProperty( TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER"); this->ctlHeader=Control::New(); this->ctlHeader.SetAnchorPoint(AnchorPoint::TOP_LEFT); @@ -48,7 +67,7 @@ void UiUtils::Init(std::string title) this->ctlHeader.SetSize(this->headerSize); this->ctlHeader.SetPosition(0.0f, 0.0f); this->ctlHeader.SetBackgroundColor(CUSTOM_BLUE_COLOR); - this->ctlHeader.Add(this->lbtTitle); + this->ctlHeader.Add(this->lblTitle); this->ctlRoot.Add(this->ctlHeader); this->ctlBody=Control::New(); @@ -305,12 +324,13 @@ void UiUtils::FillInfoPage(std::string content) DBG("UiUtils::FillInfoPage"); TextLabel lblText=TextLabel::New(); lblText.SetProperty(TextLabel::Property::ENABLE_MARKUP, true); + lblText.SetProperty(TextLabel::Property::MULTI_LINE, true); lblText.SetProperty( TextLabel::Property::TEXT, content); lblText.SetAnchorPoint(AnchorPoint::TOP_LEFT); lblText.SetParentOrigin(ParentOrigin::TOP_LEFT); lblText.SetSize(bodySize); lblText.SetProperty(TextLabel::Property::POINT_SIZE,10.0f); - lblText.SetProperty(TextLabel::Property::TEXT_COLOR,Color::CYAN); + lblText.SetProperty(TextLabel::Property::TEXT_COLOR,Color::BLACK); lblText.SetPosition(0.0f, 0.0f); this->ctlInfo.Add(lblText); diff --git a/tbtcoreapp-dali/src/utils/type-cast.cpp b/tbtcoreapp-dali/src/utils/type-cast.cpp index 5487791..0a53dc4 100644 --- a/tbtcoreapp-dali/src/utils/type-cast.cpp +++ b/tbtcoreapp-dali/src/utils/type-cast.cpp @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file type-cast.cpp + * @brief Type casting + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "utils/type-cast.h" diff --git a/tbtcoreapp-dali/src/view/tbt-dali-accessibilty-manager-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-accessibilty-manager-view.cpp index 40b8851..0a374da 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-accessibilty-manager-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-accessibilty-manager-view.cpp @@ -1,10 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-accessibility-manager-view.cpp + * @brief To test functionality of dali accessibility manager + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-accessibility-manager-view.h" TBTDaliAccessibilityManagerView::TBTDaliAccessibilityManagerView(Application& mApplication, app_control_h _control) : UiUtils(mApplication, _control) { Init("Accessibility Manager"); - mInfoText="Testing Accessibility Manager Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:" + "\n1. Run DALi Accessibility Manager." + "\n2. Press Up/Down button to change the focus control." + "\n3. If the corresponding event signals " + "mgs are changed then press Pass. " + "Otherwise, press Fail."; Stage stage = Stage::GetCurrent(); Vector2 stageSize = stage.GetSize(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-actor-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-actor-view.cpp index 01b1faa..de1c9e7 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-actor-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-actor-view.cpp @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-actor-view.cpp + * @brief To test functionality of dali actor + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-actor-view.h" std::string GetState ( TouchPoint::State state ) @@ -87,7 +112,14 @@ TBTDaliActorView::TBTDaliActorView(Application& mApplication, app_control_h _con DBG("In TBTDaliActorView"); Init("Actor"); - mInfoText="Testing Dali Actor Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:\n" + "1. Run DALi Actor.\n" + "2. Connect mouse with target using OTG cable.\n" + "3. Touch/Hover/Wheel on Test Button.\n" + "4. If the corresponding event signal and data mgs are changed" + " then press Pass." + " Otherwise, press Fail.\n"; Vector2 stageSize= Stage::GetCurrent().GetSize(); Property::Map ctl; diff --git a/tbtcoreapp-dali/src/view/tbt-dali-app-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-app-view.cpp index 4a01568..78fd6bf 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-app-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-app-view.cpp @@ -1,10 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-app-view.cpp + * @brief To test functionality of dali app + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-app-view.h" TBTDaliAppView::TBTDaliAppView(Application& mApplication, app_control_h _control) : UiUtils(mApplication, _control) { Init("Application Signal"); - mInfoText="Dali Application Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:" + "\n1. Run DALi Application." + "\n2. Occurred the corresponding event for application state change. Ex. if change the region/language from settings." + "\n3. If the corresponding event signals mgs " + "are changed then press Pass. " + "Otherwise, press Fail"; Stage stage = Stage::GetCurrent(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-button-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-button-view.cpp index f7f781f..28f59ef 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-button-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-button-view.cpp @@ -1,10 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-button-view.cpp + * @brief To test functionality of dali button + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-button-view.h" TBTDaliButtonView::TBTDaliButtonView(Application& mApplication, app_control_h _control) : UiUtils(mApplication, _control) { Init("Button");//initialize the common view - mInfoText="Testing Dali Button Actor Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:\n" + "1. Run DALi Button.\n" + "2. Touch on the test button.\n" + "3. If the corresponding event signals mgs\n" + " are changed then press Pass." + " Otherwise, press Fail"; Stage stage = Stage::GetCurrent(); Vector2 stageSize = stage.GetSize(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-gesture-detector-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-gesture-detector-view.cpp index 05f0732..5140b4d 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-gesture-detector-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-gesture-detector-view.cpp @@ -1,10 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-gesture-detector-view.cpp + * @brief To test functionality of dali gesture detector + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-gesture-detector-view.h" TBTDaliGestureDetectorView::TBTDaliGestureDetectorView(Application& mApplication, app_control_h _control) : UiUtils(mApplication, _control) { Init("Gesture Detector");//initialize the common view - mInfoText="Testing Gesture Detector Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:" + "\n1. Run DALi Gesture Detector." + "\n2. Perform the long press, pinch and pan gesture." + "\n3. If the corresponding event signals mgs" + " are changed then press Pass. " + "Otherwise, press Fail"; Stage stage = Stage::GetCurrent(); Vector2 stageSize = stage.GetSize(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-keyboard-focus-manager-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-keyboard-focus-manager-view.cpp index 2056b41..09e4d90 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-keyboard-focus-manager-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-keyboard-focus-manager-view.cpp @@ -1,10 +1,43 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-keyboard-focus-manager-view.cpp + * @brief To test functionality of dali keyboard focus manager + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-keyboard-focus-manager-view.h" TBTDaliKeyBoardFocusManagerView::TBTDaliKeyBoardFocusManagerView(Application& mApplication, app_control_h _control) : UiUtils(mApplication, _control) { Init("Key Board Focus Manager"); - mInfoText="Testing Keyboard Focus Manager Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:" + "\n1. Run DALi Keyboard Focus Manager." + "\n2. Connect keyboard with target using OTG cable." + "\n3. Press Up/Down button to change the focus of control " + "\n4. Change the text control text (text field & text editor)." + "\n5. If the corresponding event signals" + " mgs are changed then press Pass." + " Otherwise, press Fail"; Stage stage = Stage::GetCurrent(); mFocusManager = KeyboardFocusManager::Get(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-scroll-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-scroll-view.cpp index 54e657c..c10de19 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-scroll-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-scroll-view.cpp @@ -1,10 +1,42 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-scroll-view.cpp + * @brief To test functionality of dali scroll + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-scroll-view.h" TBTDaliScrollView::TBTDaliScrollView(Application& mApplication, app_control_h _control) : UiUtils(mApplication, _control) { Init("Scroll View");//initialize the common view - mInfoText="Testing Dali Scroll View Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:" + "\n1. Run DALi Scroll View." + "\n2. Connect mouse with target using OTG Cable." + "\n3. Scroll the item left/right." + "\n4. If the corresponding event signals mgs" + " are changed then press Pass. " + "Otherwise, press Fail."; Stage stage = Stage::GetCurrent(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-slider-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-slider-view.cpp index 9761a73..816939e 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-slider-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-slider-view.cpp @@ -1,10 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-slider-view.cpp + * @brief To test functionality of dali slider + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-slider-view.h" TBTDaliSliderView::TBTDaliSliderView(Application& mApplication, app_control_h _control) : UiUtils(mApplication, _control) { Init("Slider");//initialize the common view - mInfoText="Testing Dali Slider Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:\n" + "1. Run DALi Slider.\n" + "2. Change the slider position.\n" + "3. If the corresponding event signals mgs" + " are changed then press Pass." + " Otherwise, press Fail\n"; Stage stage = Stage::GetCurrent(); Vector2 stageSize = stage.GetSize(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-stage-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-stage-view.cpp index 9113b6e..6afeb3a 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-stage-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-stage-view.cpp @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-stage-view.cpp + * @brief To test functionality of dali stage + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-stage-view.h" //Application gApplication; @@ -8,7 +33,16 @@ TBTDaliStageView::TBTDaliStageView(Application& mApplication, app_control_h _con //gApplication=mApplication; Init("Stage");//initialize the common view - mInfoText="Testing Stage Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:\n" + "1. Run DALi Stage.\n" + "2. Connect mouse with target using OTG cable.\n" + "3. Touch/Hover/Wheel on Test Area.\n" + "4. Enter text in text field.\n" + "5. If the corresponding event signal and data mgs" + "are changed then press Pass." + " Otherwise, press Fail.\n"; + Stage stage = Stage::GetCurrent(); Vector2 stageSize = stage.GetSize(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-style-manager-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-style-manager-view.cpp index 4a7135c..c533bdd 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-style-manager-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-style-manager-view.cpp @@ -1,10 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-style-manager-view.cpp + * @brief To test functionality of dali style manager + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-style-manager-view.h" TBTDaliStyleManagerView::TBTDaliStyleManagerView(Application& mApplication, app_control_h _control) : UiUtils(mApplication, _control) { Init("Style Manager"); - mInfoText="Testing Dali Style Manager Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:" + "\n1. Run DALi Style Manage." + "\n2. Press the style change test button." + "\n3. If the corresponding event signals" + " mgs are changed then press Pass. " + "Otherwise, press Fail"; Stage stage = Stage::GetCurrent(); Vector2 stageSize = stage.GetSize(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-text-control-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-text-control-view.cpp index 577a058..02231a8 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-text-control-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-text-control-view.cpp @@ -1,10 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-text-control-view.cpp + * @brief To test functionality of dali text control + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-text-control-view.h" TBTDaliTextControlView::TBTDaliTextControlView(Application& mApplication, app_control_h _control) : UiUtils(mApplication, _control) { Init("Text Control");//initialize the common view - mInfoText="Testing Dali Text Control Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:" + "\n1. Run DALi Text Control." + "\n2. Change the text control text (text field & text editor)." + "\n3. If the corresponding event signals mgs " + "are changed then press Pass." + " Otherwise, press Fail"; Stage stage = Stage::GetCurrent(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-touch-data-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-touch-data-view.cpp index 516f7eb..15c7d04 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-touch-data-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-touch-data-view.cpp @@ -1,3 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-touch-data-view.cpp + * @brief To test functionality of dali touch data + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-touch-data-view.h" std::string GetTouchDataState ( TouchPoint::State state ) { @@ -82,7 +107,14 @@ TBTDaliTouchDataView::TBTDaliTouchDataView(Application& mApplication, app_contro UiUtils(mApplication, _control) { Init("Touch Data");//initialize the common view - mInfoText="Testing Dali Touch Data Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:\n" + "1. Run DALi Touch Data.\n" + "2. Touch on the screen.\n" + "3. If the touched data mgs are changed" + " then press Pass. " + "Otherwise, press Fail.\n"; + Stage stage = Stage::GetCurrent(); diff --git a/tbtcoreapp-dali/src/view/tbt-dali-tts-view.cpp b/tbtcoreapp-dali/src/view/tbt-dali-tts-view.cpp index d2f5798..2537823 100644 --- a/tbtcoreapp-dali/src/view/tbt-dali-tts-view.cpp +++ b/tbtcoreapp-dali/src/view/tbt-dali-tts-view.cpp @@ -1,10 +1,41 @@ +/******************************************************************************* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *******************************************************************************/ +/** + * @file tbt-dali-tts-view.cpp + * @brief To test functionality of dali tts + * + * @author Jahangir Alam(ja.alam@samsung.com) + * @date July, 2016 + * @credit + * + */ + #include "view/tbt-dali-tts-view.h" TBTTTSView::TBTTTSView(Application& mApplication, app_control_h _control) : UiUtils(mApplication, _control) { Init("TTS Player");//initialize the common view - mInfoText="Testing Dali TTS Player Functionality"; + mInfoText=std::string("")+ + "\nTo perform the test:" + "\n1. Run DALi TTS." + "\n2. Press the Play/Pause/Stop test button." + "\n3. If the corresponding event signals " + "state are changed then press Pass. " + "Otherwise, press Fail"; Stage stage = Stage::GetCurrent();