-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=
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=
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
<Reference URI="bin%2Ftbtcoreapp-dali">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>BwnvgG8sD2EdRtBUa5HwwaS60PEqE7+CWAcAtTppgG4=</DigestValue>
+<DigestValue>FWyvPfqgfssOkfEMJ12Ojkek1k7uEO1rRuj5bGNAPNU=</DigestValue>
</Reference>
<Reference URI="res%2Fdali-toolkit-test-theme_720x1280.json">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
</Reference>
</SignedInfo>
<SignatureValue>
-C+C+QgCk1L/TC2zHmWqj+u1dZtgLVdElydmQJXPlYIzFBw0fkFA95kojII4HoyN4W0RjVfqEK47y
-LsCrl2kWpU/tEMWuX/sos9kdqZijT6/Gzt5ZZvgvYFlJvxbF3g5J7HOQ5CZ2U2h/sAvU5+ayhnAi
-5++vkxr8yyDxh7CQMqk=
+IzTrn/hel9oCkkujQaXdBzMmKNoirMS/J0sLcoZec53fuqPB+ChdtSfjxaGRy0SjOfvZ8w2d0gma
+AqrXggJRgiL9mPx6hcQD4CdBec4S1f2lyuFI+IPUueq6KCPwMPkqjo5KIfmABh9OeFY1CMo6KmS9
+8AjMSAhKabl2auB1g/o=
</SignatureValue>
<KeyInfo>
<X509Data>
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
<Reference URI="author-signature.xml">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>aJEorr20NN+WLYn8DIR0+RRSoK54vR8nvGNhsBxATIQ=</DigestValue>
+<DigestValue>Fn8W8MQveXlwDKIR98cZUgmGilvrLqA7ldWn5XjpTWI=</DigestValue>
</Reference>
<Reference URI="bin%2Ftbtcoreapp-dali">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
-<DigestValue>BwnvgG8sD2EdRtBUa5HwwaS60PEqE7+CWAcAtTppgG4=</DigestValue>
+<DigestValue>FWyvPfqgfssOkfEMJ12Ojkek1k7uEO1rRuj5bGNAPNU=</DigestValue>
</Reference>
<Reference URI="res%2Fdali-toolkit-test-theme_720x1280.json">
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
</Reference>
</SignedInfo>
<SignatureValue>
-aaFq6x6BIxcsRkaSqx7eL3b+qPs7NgRPZzU+LS7HT04lFCPZMuLq2kLvbSo5XwhM1V8gQdBz9xYO
-ey9FyQg4/mJ/85xRu1Af7v4q0N9xwT7huqNfyqOs8QDj2O+q05ab0bP/OTKjLvd+P6eoguwDdevN
-jxOP52U4qNOsipizpjA=
+Q0Eyl1XVAMv4eK0ofMzMSfv6uhE6zLS5wNJBe09HXHH6WMa65+g20uQXXkQWE7od4XmF7nEuQpky
+Hq1BI9StyQW3GxtC8JdZUyMxrn95QsRQ6VRI2GUil4x/3MO8yFVzr29LbhBDhmXmKjVhKC7QaTzG
+Dx9eW3GTrZ0/+O0vTuQ=
</SignatureValue>
<KeyInfo>
<X509Data>
-/*
- * 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_
+/*******************************************************************************
+ * 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_
Vector2 bodySize;
Vector2 footerSize;
- TextLabel lbtTitle;
+ TextLabel lblTitle;
+ //TextLabel lblInfoTitle;
Control ctlRoot;
Control ctlHeader;
+/*******************************************************************************
+ * 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 <dali.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 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 <dali.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 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 <dali.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 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 <dali.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 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 <dali.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 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 <dali.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 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 <dali.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 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 <dali.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 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 <dali.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 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 <dali.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 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 <dali.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 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 <dali.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 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 <dali.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 tbtcoreapp.cpp
+ * @brief tbt dali entry file
+ *
+ * @author Jahangir Alam(ja.alam@samsung.com)
+ * @date July, 2016
+ * @credit
+ *
+ */
+
#include <app.h>
#include <string.h>
#include <dali.h>
-/*
- * 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);
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);
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();
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);
+/*******************************************************************************
+ * 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"
+/*******************************************************************************
+ * 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 <color value='green'><b>Pass</b></color>. "
+ "Otherwise, press <color value='red'><b>Fail</b></color>.";
Stage stage = Stage::GetCurrent();
Vector2 stageSize = stage.GetSize();
+/*******************************************************************************
+ * 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 )
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 <color value='green'> <b>Pass</b></color>."
+ " Otherwise, press <color value='red'><b>Fail</b></color>.\n";
Vector2 stageSize= Stage::GetCurrent().GetSize();
Property::Map ctl;
+/*******************************************************************************
+ * 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 <color value='green'><b>Pass</b></color>. "
+ "Otherwise, press <color value='red'><b>Fail</b></color>";
Stage stage = Stage::GetCurrent();
+/*******************************************************************************
+ * 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 <color value='green'><b>Pass</b></color>."
+ " Otherwise, press <color value='red'><b>Fail</b></color>";
Stage stage = Stage::GetCurrent();
Vector2 stageSize = stage.GetSize();
+/*******************************************************************************
+ * 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 <color value='green'><b>Pass</b></color>. "
+ "Otherwise, press <color value='red'><b>Fail</b></color>";
Stage stage = Stage::GetCurrent();
Vector2 stageSize = stage.GetSize();
+/*******************************************************************************
+ * 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 <color value='green'><b>Pass</b></color>."
+ " Otherwise, press <color value='red'><b>Fail</b></color>";
Stage stage = Stage::GetCurrent();
mFocusManager = KeyboardFocusManager::Get();
+/*******************************************************************************
+ * 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 <color value='green'><b>Pass</b></color>. "
+ "Otherwise, press <color value='red'><b>Fail</b></color>.";
Stage stage = Stage::GetCurrent();
+/*******************************************************************************
+ * 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 <color value='green'><b>Pass</b></color>."
+ " Otherwise, press <color value='red'><b>Fail</b></color>\n";
Stage stage = Stage::GetCurrent();
Vector2 stageSize = stage.GetSize();
+/*******************************************************************************
+ * 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;
//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 <color value='green'><b>Pass</b></color>."
+ " Otherwise, press <color value='red'><b>Fail</b></color>.\n";
+
Stage stage = Stage::GetCurrent();
Vector2 stageSize = stage.GetSize();
+/*******************************************************************************
+ * 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 <color value='green'><b>Pass</b></color>. "
+ "Otherwise, press <color value='red'><b>Fail</b></color>";
Stage stage = Stage::GetCurrent();
Vector2 stageSize = stage.GetSize();
+/*******************************************************************************
+ * 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 <color value='green'><b>Pass</b></color>."
+ " Otherwise, press <color value='red'><b>Fail</b></color>";
Stage stage = Stage::GetCurrent();
+/*******************************************************************************
+ * 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 )
{
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 <color value='green'><b>Pass</b></color>. "
+ "Otherwise, press <color value='red'><b>Fail</b></color>.\n";
+
Stage stage = Stage::GetCurrent();
+/*******************************************************************************
+ * 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 <color value='green'><b>Pass</b></color>. "
+ "Otherwise, press <color value='red'><b>Fail</b></color>";
Stage stage = Stage::GetCurrent();