author
int64 658
755k
| date
stringlengths 19
19
| timezone
int64 -46,800
43.2k
| hash
stringlengths 40
40
| message
stringlengths 5
490
| mods
list | language
stringclasses 20
values | license
stringclasses 3
values | repo
stringlengths 5
68
| original_message
stringlengths 12
491
|
---|---|---|---|---|---|---|---|---|---|
594,239 |
20.03.2018 14:28:04
| -28,800 |
ec4545cbd7019b188fdedd3c4e6f4378935a9542
|
Delete CustomTheme.json
|
[
{
"change_type": "DELETE",
"old_path": "TV/ScriptLayoutSample/ScriptLayoutSample/res/style/CustomTheme.json",
"new_path": null,
"diff": "-{\n- \"constants\":\n- {\n- \"STYLE_DIR\":\"/home/owner/apps_rw/org.tizen.example.ScriptLayoutSample/res/\"\n- },\n- \"styles\":\n- {\n- // Change an icon size, see if it gets properly re-sized\n- \"RadioButton\":{\n- \"unselectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/CustomeTheme/radio-button-unselected-disabled.png\"\n- },\n- \"selectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/CustomeTheme/radio-button-selected-disabled.png\"\n- },\n- \"label\":\n- {\n- \"visualType\": \"TEXT\",\n- \"horizontalAlignment\": \"CENTER\",\n- \"pointSize\" : 8.0, // Point size must always be provided to Text Visual\n- \"verticalAlignment\": \"CENTER\"\n- }\n- },\n- \"CheckBoxButton\":{\n- \"unselectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/CustomeTheme/checkbox-unselected-disabled.png\"\n- },\n- \"selectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/CustomeTheme/checkbox-selected-disabled.png\"\n- },\n- \"label\":\n- {\n- \"visualType\": \"TEXT\",\n- \"horizontalAlignment\": \"CENTER\",\n- \"pointSize\" : 8.0, // Point size must always be provided to Text Visual\n- \"verticalAlignment\": \"CENTER\"\n- }\n- },\n- \"PushButton\":\n- {\n- \"autoRepeating\":false,\n- \"togglable\":false,\n- \"labelPadding\":[ 12.0, 12.0, 12.0, 12.0 ],\n- \"label\":\n- {\n- \"visualType\": \"TEXT\",\n- \"horizontalAlignment\": \"CENTER\",\n- \"pointSize\" : 8.0, // Point size must always be provided to Text Visual\n- \"verticalAlignment\": \"CENTER\"\n- },\n- \"unselectedBackgroundVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/Button/btn_bg_25_25_25_95.9.png\"\n- },\n- \"unselectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/Button/btn_bg_25_25_25_95.9.png\"\n- },\n- \"selectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/Button/btn_bg_0_129_198_100.9.png\"\n- },\n- \"selectedBackgroundVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/Button/btn_bg_0_129_198_100.9.png\"\n- }\n- },\n- \"TextLabel\":\n- {\n- //\"pointSize\":15,\n- //\"enableAutoScroll\":false\n- },\n- \"Title\":{\n- \"textColor\":[ 1.0, 1.0, 1.0, 1.0],\n- \"background\":\n- {\n- \"visualType\":\"COLOR\",\n- \"mixColor\": [ 0.168, 0.568, 0.686, 1.0]\n- //\"mixColor\": [ 43.0 / 255.0, 145.0 / 255.0, 175.0 / 255.0, 1.0]\n- }\n- }\n- }\n-}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete CustomTheme.json
|
594,239 |
20.03.2018 14:28:15
| -28,800 |
6c7dc6cb02a0b7789010681c2b0bfe36fb41f9bd
|
Delete DefaultTheme.json
|
[
{
"change_type": "DELETE",
"old_path": "TV/ScriptLayoutSample/ScriptLayoutSample/res/style/DefaultTheme.json",
"new_path": null,
"diff": "-{\n- \"constants\":\n- {\n- \"STYLE_DIR\":\"/home/owner/apps_rw/org.tizen.example.ScriptLayoutSample/res/\"\n- },\n- \"styles\":\n- {\n- // Change an icon size, see if it gets properly re-sized\n- \"RadioButton\":{\n- \"unselectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/RadioButton/Unselected.png\"\n- },\n- \"selectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/RadioButton/Selected.png\"\n- },\n- \"label\":\n- {\n- \"visualType\": \"TEXT\",\n- \"horizontalAlignment\": \"CENTER\",\n- \"pointSize\" : 8.0, // Point size must always be provided to Text Visual\n- \"verticalAlignment\": \"CENTER\"\n- }\n- },\n- \"CheckBoxButton\":{\n- \"unselectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/CheckBox/Unselected.png\"\n- },\n- \"selectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/CheckBox/Selected.png\"\n- },\n- \"label\":\n- {\n- \"visualType\": \"TEXT\",\n- \"horizontalAlignment\": \"CENTER\",\n- \"pointSize\" : 8.0, // Point size must always be provided to Text Visual\n- \"verticalAlignment\": \"CENTER\"\n- }\n- },\n- \"PushButton\":\n- {\n- \"autoRepeating\":false,\n- \"togglable\":false,\n- \"labelPadding\":[ 12.0, 12.0, 12.0, 12.0 ],\n- \"label\":\n- {\n- \"visualType\": \"TEXT\",\n- \"horizontalAlignment\": \"CENTER\",\n- \"pointSize\" : 8.0, // Point size must always be provided to Text Visual\n- \"verticalAlignment\": \"CENTER\"\n- },\n- \"unselectedBackgroundVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/Button/btn_bg_25_25_25_95.9.png\"\n- },\n- \"unselectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/Button/btn_bg_25_25_25_95.9.png\"\n- },\n- \"selectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/Button/btn_bg_0_129_198_100.9.png\"\n- },\n- \"selectedBackgroundVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/Button/btn_bg_0_129_198_100.9.png\"\n- }\n- },\n- \"TextLabel\":\n- {\n- //\"pointSize\":15,\n- //\"enableAutoScroll\":false\n- },\n- \"Title\":{\n- \"textColor\":[ 1.0, 1.0, 1.0, 1.0],\n- \"background\":\n- {\n- \"visualType\":\"COLOR\",\n- \"mixColor\": [ 0.168, 0.568, 0.686, 1.0]\n- }\n- }\n- }\n-}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete DefaultTheme.json
|
594,239 |
20.03.2018 14:29:02
| -28,800 |
6d5c27451aeb64174082d1f5e019576f5c3742ab
|
Delete style-example-theme-one.json
|
[
{
"change_type": "DELETE",
"old_path": "TV/ScriptLayoutSample/ScriptLayoutSample/res/style/style-example-theme-one.json",
"new_path": null,
"diff": "-{\n- \"constants\":\n- {\n- \"STYLE_DIR\":\"/home/owner/apps_rw/org.tizen.example.ScriptLayoutSample/res\"\n- },\n- \"styles\":\n- {\n- \"Title\":{\n- \"textColor\":\"#0000ff\",\n- \"background\":\n- {\n- \"visualType\":\"COLOR\",\n- \"mixColor\": [ 1.0, 1.0, 1.0, 1.0 ]\n- }\n- },\n- \"TableView\":{\n- \"background\":\n- {\n- \"visualType\":\"COLOR\",\n- \"mixColor\": [ 1.0, 1.0, 1.0, 0.03 ]\n- }\n- },\n- \"FlexContainer\":{\n- \"background\":\n- {\n- \"visualType\":\"COLOR\",\n- \"mixColor\": [ 1.0, 1.0, 1.0, 0.1 ]\n- }\n- },\n- \"RadioButton\":{\n- \"label\":{\n- \"textColor\": [1,1,1,1]\n- }\n- },\n- \"CheckBoxButton\":{\n- \"label\":{\n- \"textColor\": [1,1,1,1]\n- }\n- },\n- \"ColorLabel1\":{\n- \"textColor\": [1,0,0,1]\n- },\n- \"ColorLabel2\":{\n- \"textColor\": [0,1,0,1]\n- },\n- \"ColorLabel3\":{\n- \"textColor\": [0.3,0.3,1,1]\n- },\n- \"ThemeLabel\":{\n- \"textColor\":[0,1,1,1]\n- },\n- \"PopupTitle\":{\n- \"textColor\":[1,1,1,1]\n- },\n- \"PopupBody\":{\n- \"textColor\":[1,1,0,1]\n- },\n- \"TextLabel\":{\n- \"textColor\":[0,0,0,1]\n- },\n- \"ColorSlider1\":{\n- \"styles\":[\"Slider\"],\n- \"showPopup\": false\n- },\n- \"ColorSlider2\":{\n- \"styles\":[\"slider\"],\n- \"showPopup\": false\n- },\n- \"ColorSlider3\":{\n- \"styles\":[\"slider\"],\n- \"showPopup\": false\n- },\n- \"ImageChannelControl\":\n- {\n- \"enableVisibilityTransition\":\n- [\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"opacity\",\n- \"initialValue\":0,\n- \"targetValue\":1,\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_IN_OUT\",\n- \"timePeriod\":\n- {\n- \"duration\":0.25,\n- \"delay\":0\n- }\n- }\n- },\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"size\",\n- \"targetValue\":[1,1]\n- }\n- ],\n- \"disableVisibilityTransition\":\n- [\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"opacity\",\n- \"targetValue\":0,\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_IN_OUT\",\n- \"timePeriod\":\n- {\n- \"duration\":0.25,\n- \"delay\":0\n- }\n- }\n- },\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"size\",\n- \"targetValue\":[1,1,1]\n- }\n- ]\n- },\n- \"ShadowButton\":\n- {\n- \"states\":\n- {\n- \"NORMAL\":\n- {\n- \"visuals\":\n- {\n- \"backgroundVisual\":{\n- \"visualType\":\"IMAGE\",\n- \"url\":\"{STYLE_DIR}/images/shadowButtonBg.9.png\",\n- \"depthIndex\":0\n- },\n-\n- \"checkboxBgVisual\":{\n- \"visualType\":\"IMAGE\",\n- \"url\":\"{STYLE_DIR}/images/CheckBg.png\",\n- \"transform\":{\n- \"size\":[0.12, 0.37],\n- \"offset\":[30,0],\n- \"offsetPolicy\":[\"ABSOLUTE\", \"ABSOLUTE\"],\n- \"sizePolicy\":[\"RELATIVE\", \"RELATIVE\"],\n- \"origin\":\"CENTER_BEGIN\",\n- \"anchorPoint\":\"CENTER_BEGIN\"\n- },\n- \"depthIndex\":1\n- },\n-\n- \"labelVisual\":{\n- \"visualType\":\"TEXT\",\n- \"text\":\"Don't show again\",\n- \"pointSize\":20,\n- \"horizontalAlignment\":\"END\",\n- \"verticalAlignment\":\"CENTER\",\n- \"textColor\":[1,1,1,1],\n- \"mixColor\":[0,0,0,1],\n- \"transform\":{\n- \"size\":[0.9, 0.9],\n- \"offset\":[-30,0],\n- \"offsetPolicy\":[\"ABSOLUTE\", \"ABSOLUTE\"],\n- \"sizePolicy\":[\"RELATIVE\", \"RELATIVE\"],\n- \"origin\":\"CENTER_END\",\n- \"anchorPoint\":\"CENTER_END\"\n- },\n- \"depthIndex\":1\n- }\n- },\n- \"states\":\n- {\n- \"CHECKED\":\n- {\n- \"visuals\":\n- {\n- \"checkboxFgVisual\":{\n- \"visualType\":\"IMAGE\",\n- \"url\":\"{STYLE_DIR}/images/Tick.png\",\n- \"transform\":{\n- \"size\":[0.12, 0.37],\n- \"offset\":[30,0],\n- \"offsetPolicy\":[\"ABSOLUTE\", \"ABSOLUTE\"],\n- \"sizePolicy\":[\"RELATIVE\", \"RELATIVE\"],\n- \"origin\":\"CENTER_BEGIN\",\n- \"anchorPoint\":\"CENTER_BEGIN\"\n- },\n- \"depthIndex\":2\n- }\n- },\n- \"entryTransition\":\n- [\n- {\n- \"target\":\"checkboxFgVisual\",\n- \"property\":\"pixelArea\",\n- \"initialValue\":[0.0, 0.0, 0.0, 1.0],\n- \"targetValue\":[0.0, 0.0, 1.0, 1.0],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_IN\",\n- \"timePeriod\":\n- {\n- \"duration\":0.4,\n- \"delay\":0\n- }\n- }\n- },\n- {\n- \"target\":\"checkboxFgVisual\",\n- \"property\":\"size\",\n- \"initialValue\":[0.0, 0.37],\n- \"targetValue\":[0.12, 0.37],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_IN\",\n- \"timePeriod\":\n- {\n- \"duration\":0.4,\n- \"delay\":0\n- }\n- }\n- }\n- ],\n- \"exitTransition\":\n- [\n- {\n- \"target\":\"checkboxFgVisual\",\n- \"property\":\"pixelArea\",\n- \"initialValue\":[0.0, 0.0, 1.0, 1.0],\n- \"targetValue\":[0.0, 0.0, 0.0, 1.0],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_OUT\",\n- \"timePeriod\":\n- {\n- \"duration\":0.4,\n- \"delay\":0\n- }\n- }\n- },\n- {\n- \"target\":\"checkboxFgVisual\",\n- \"property\":\"size\",\n- \"targetValue\":[0.0, 0.37],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_OUT\",\n- \"timePeriod\":\n- {\n- \"duration\":0.4,\n- \"delay\":0\n- }\n- }\n- }\n- ]\n- },\n- \"UNCHECKED\":\n- {\n- }\n- }\n- },\n- //\"FOCUSED\"\n- \"DISABLED\":\n- {\n- \"visuals\":\n- {\n- \"checkboxBgVisual\":{\n- \"visualType\":\"IMAGE\",\n- \"url\":\"{STYLE_DIR}/images/CheckBg.png\",\n- \"transform\":{\n- \"size\":[0.09, 0.28],\n- \"offset\":[30,0],\n- \"offsetPolicy\":[\"ABSOLUTE\", \"ABSOLUTE\"],\n- \"sizePolicy\":[\"RELATIVE\", \"RELATIVE\"],\n- \"origin\":\"CENTER_BEGIN\",\n- \"anchorPoint\":\"CENTER_BEGIN\"\n- },\n- \"depthIndex\":0\n- },\n-\n- \"checkboxFgVisual\":{\n- \"visualType\":\"IMAGE\",\n- \"url\":\"{STYLE_DIR}/images/Tick.png\",\n- \"transform\":{\n- \"size\":[0.09, 0.28],\n- \"offset\":[30,0],\n- \"offsetPolicy\":[\"ABSOLUTE\", \"ABSOLUTE\"],\n- \"sizePolicy\":[\"RELATIVE\", \"RELATIVE\"],\n- \"origin\":\"CENTER_BEGIN\",\n- \"anchorPoint\":\"CENTER_BEGIN\"\n- },\n- \"depthIndex\":1\n- },\n-\n- \"labelVisual\":{\n- \"visualType\":\"TEXT\",\n- \"text\":\"Don't show again\",\n- \"pointSize\":20,\n- \"horizontalAlignment\":\"END\",\n- \"verticalAlignment\":\"CENTER\",\n- \"textColor\":[1,1,1,1],\n- \"mixColor\":[0.3, 0.3, 0.3, 1],\n- \"transform\":{\n- \"size\":[0.9, 0.9],\n- \"offset\":[-30,0],\n- \"offsetPolicy\":[\"ABSOLUTE\", \"ABSOLUTE\"],\n- \"sizePolicy\":[\"RELATIVE\", \"RELATIVE\"],\n- \"origin\":\"CENTER_END\",\n- \"anchorPoint\":\"CENTER_END\"\n- },\n- \"depthIndex\":1\n- }\n- },\n- \"states\":\n- {\n- \"CHECKED\":\n- {\n- \"visuals\":\n- {\n- \"checkboxFgVisual\":{\n- \"visualType\":\"IMAGE\",\n- \"url\":\"{STYLE_DIR}/images/Tick.png\",\n- \"transform\":{\n- \"size\":[0.09, 0.28],\n- \"offset\":[30,0],\n- \"offsetPolicy\":[\"ABSOLUTE\", \"ABSOLUTE\"],\n- \"sizePolicy\":[\"RELATIVE\", \"RELATIVE\"],\n- \"origin\":\"CENTER_BEGIN\",\n- \"anchorPoint\":\"CENTER_BEGIN\"\n- },\n- \"depthIndex\":2\n- }\n- }\n- },\n- \"UNCHECKED\":\n- {\n- }\n- }\n- }\n- },\n- \"transitions\":\n- [\n- {\n- \"from\":\"DISABLED\",\n- \"to\":\"NORMAL\",\n- \"visualName\":\"backgroundVisual\",\n- \"effect\":\"FADE_IN\",\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_OUT_BACK\",\n- \"duration\":0.8\n- }\n- },\n- {\n- \"from\":\"DISABLED\",\n- \"to\":\"NORMAL\",\n- \"visualName\":\"*\",\n- \"effect\":\"CROSSFADE\",\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_OUT_BACK\",\n- \"duration\":0.8\n- }\n- },\n- {\n- \"from\":\"NORMAL\",\n- \"to\":\"DISABLED\",\n- \"visualName\":\"backgroundVisual\",\n- \"effect\":\"FADE_OUT\",\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_OUT_BACK\",\n- \"duration\":0.8\n- }\n- },\n- {\n- \"from\":\"NORMAL\",\n- \"to\":\"DISABLED\",\n- \"visualName\":\"*\",\n- \"effect\":\"CROSSFADE\",\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_OUT_BACK\",\n- \"duration\":0.8\n- }\n- }\n- ]\n- },\n- \"BeatControl\":\n- {\n- \"beatVisual\":{\n- \"visualType\":\"IMAGE\",\n- \"url\":\"{APPLICATION_RESOURCE_PATH}/images/Logo-for-demo.png\"\n- },\n-\n- \"bounceTransition\":\n- [\n- {\n- \"target\":\"beatVisual\",\n- \"property\":\"size\",\n- \"initialValue\":[0.5, 0.5],\n- \"targetValue\":[0.75, 0.75],\n- \"animator\":\n- {\n- \"alphaFunction\":\"BOUNCE\",\n- \"timePeriod\":\n- {\n- \"duration\":0.5,\n- \"delay\":0\n- }\n- }\n- }\n- ],\n-\n- \"leftTransition\":\n- [\n- {\n- \"target\":\"beatVisual\",\n- \"property\":\"offset\",\n- \"initialValue\":[0, 0],\n- \"targetValue\":[0.25, 0],\n- \"animator\":\n- {\n- \"alphaFunction\":\"BOUNCE\",\n- \"timePeriod\":\n- {\n- \"duration\":0.5,\n- \"delay\":0\n- }\n- }\n- }\n- ],\n-\n- \"upTransition\":\n- [\n- {\n- \"target\":\"beatVisual\",\n- \"property\":\"offset\",\n- \"initialValue\":[0, 0],\n- \"targetValue\":[0, 0.25],\n- \"animator\":\n- {\n- \"alphaFunction\":\"BOUNCE\",\n- \"timePeriod\":\n- {\n- \"duration\":0.5,\n- \"delay\":0\n- }\n- }\n- }\n- ],\n-\n- \"fadeTransition\":\n- [\n- {\n- \"target\":\"beatVisual\",\n- \"property\":\"opacity\",\n- \"targetValue\":0,\n- \"animator\":\n- {\n- \"alphaFunction\":\"BOUNCE\",\n- \"timePeriod\":\n- {\n- \"duration\":0.8,\n- \"delay\":0\n- }\n- }\n- }\n- ]\n- }\n- }\n-}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete style-example-theme-one.json
|
594,239 |
20.03.2018 14:29:12
| -28,800 |
7856c56c470061402648ede33a4193a8a8e15dc0
|
Delete style-example-theme-three.json
|
[
{
"change_type": "DELETE",
"old_path": "TV/ScriptLayoutSample/ScriptLayoutSample/res/style/style-example-theme-three.json",
"new_path": null,
"diff": "-{\n- \"styles\":\n- {\n- \"Title\":{\n- \"textColor\":\"#0000ff\",\n- \"background\":\n- {\n- \"visualType\":\"COLOR\",\n- \"mixColor\": [ 1.0, 1.0, 1.0, 1.0 ]\n- }\n- },\n- \"TableView\":{\n- \"background\":\n- {\n- \"visualType\":\"COLOR\",\n- \"mixColor\": [ 1.0, 1.0, 1.0, 0.03 ]\n- }\n- },\n- \"RadioButton\":{\n- \"label\":{\n- \"textColor\": [1,1,1,1]\n- }\n- },\n- \"CheckboxButton\":{\n- \"label\":{\n- \"textColor\": [1,1,1,1]\n- }\n- },\n- \"ColorLabel1\":{\n- \"textColor\": [1,0,0,1]\n- },\n- \"ColorLabel2\":{\n- \"textColor\": [0,1,0,1]\n- },\n- \"ColorLabel3\":{\n- \"textColor\": [0.3,0.3,1,1]\n- },\n- \"ThemeLabel\":{\n- \"textColor\":[0,1,1,1]\n- },\n- \"PopupTitle\":{\n- \"textColor\":[1,1,1,1]\n- },\n- \"PopupBody\":{\n- \"textColor\":[1,1,0,1]\n- },\n- \"TextLabel\":{\n- \"textColor\":[0,0,0,1]\n- },\n- \"ImageChannelControl\":\n- {\n- \"enableVisibilityTransition\":\n- [\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"size\",\n- \"initialValue\":[0.1,0.1],\n- \"targetValue\":[1,1],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_IN\",\n- \"timePeriod\":\n- {\n- \"duration\":0.3,\n- \"delay\":0.1\n- }\n- }\n- },\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"mixColor\",\n- \"targetValue\":[1,1,1,1]\n- }\n- ],\n- \"disableVisibilityTransition\":\n- [\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"size\",\n- \"initialValue\":[1,1],\n- \"targetValue\":[0.1,0.1],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_OUT\",\n- \"timePeriod\":\n- {\n- \"duration\":0.3,\n- \"delay\":0.0\n- }\n- }\n- },\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"mixColor\",\n- \"targetValue\":[1,1,1,0],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_OUT\",\n- \"timePeriod\":\n- {\n- \"duration\":0.3,\n- \"delay\":0.0\n- }\n- }\n- }\n- ]\n- }\n- }\n-}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete style-example-theme-three.json
|
594,239 |
20.03.2018 14:29:51
| -28,800 |
7f017f1995f258ef7679c473dbb5c5aed526e74f
|
Delete style-example-theme-two.json
|
[
{
"change_type": "DELETE",
"old_path": "TV/ScriptLayoutSample/ScriptLayoutSample/res/style/style-example-theme-two.json",
"new_path": null,
"diff": "-{\n- \"constants\":\n- {\n- \"STYLE_DIR\":\"/home/owner/apps_rw/org.tizen.example.ScriptLayoutSample/res/\"\n- },\n- \"styles\":\n- {\n- \"Title\":{\n- \"textColor\":\"#0000ff\",\n- \"background\":\n- {\n- \"visualType\":\"COLOR\",\n- \"mixColor\": [ 1.0, 1.0, 1.0, 1.0 ]\n- }\n- },\n- \"TableView\":{\n- \"background\":\n- {\n- \"visualType\":\"GRADIENT\",\n- \"startPosition\": [0,-1],\n- \"endPosition\": [0,1],\n- \"stopColor\": [ [ 1.0, 0.0, 1.0, 0.03 ], [1.0,0.0,1.0,0.15] ]\n- }\n- },\n-\n- // Change an icon size, see if it gets properly re-sized\n- \"RadioButton\":{\n- \"unselectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/radio-button-unselected.png\"\n- },\n- \"selectedVisual\":\n- {\n- \"visualType\": \"IMAGE\",\n- \"url\": \"{STYLE_DIR}/images/radio-button-selected.png\"\n- },\n- \"label\":{\n- \"textColor\": [0.1,1,1,1]\n- }\n- },\n- \"checkboxbutton\":{\n- \"label\":{\n- \"textColor\": [1,1,1,1]\n- }\n- },\n- \"colorLabel1\":{\n- \"textColor\": [1,0,0,1]\n- },\n- \"colorLabel2\":{\n- \"textColor\": [0,1,0,1]\n- },\n- \"colorLabel3\":{\n- \"textColor\": [0.3,0.3,1,1]\n- },\n- \"themelabel\":{\n- \"textColor\":[0,1,1,1]\n- },\n- \"popupTitle\":{\n- \"textColor\":[1,1,1,1]\n- },\n- \"popupBody\":{\n- \"textColor\":[1,1,0,1]\n- },\n-\n- // Note, this overrides any non-renamed label styles, e.g. those in a button.\n- \"TextLabel\":{\n- //\"textColor\":[0,0,0,1]\n- },\n-\n- \"ThinSlider\":{\n- \"styles\": [\"slider\"],\n- \"showPopup\":false,\n- \"showValue\":false,\n- \"valuePrecision\":0,\n- \"handleVisual\":{\n- \"size\":[48,48]\n- },\n- \"trackVisual\":{\n- \"size\":[10, 10]\n- },\n- \"enabled\":true\n- },\n- \"ColorSlider1\":{\n- \"styles\":[\"ThinSlider\"],\n- \"progressVisual\":{\n- \"url\":\"{STYLE_DIR}/images/slider-skin-progress-red.9.png\"\n- }\n- },\n- \"ColorSlider2\":{\n- \"styles\":[\"ThinSlider\"],\n- \"progressVisual\":{\n- \"url\":\"{STYLE_DIR}/images/slider-skin-progress-green.9.png\"\n- }\n- },\n- \"ColorSlider3\":{\n- \"styles\":[\"thinslider\"],\n- \"progressVisual\":{\n- \"url\":\"{STYLE_DIR}/images/slider-skin-progress-blue.9.png\"\n- }\n- },\n- \"ImageChannelControl\":\n- {\n- \"enableVisibilityTransition\":\n- [\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"mixColor\",\n- \"initialValue\":[1,1,1,0],\n- \"targetValue\":[1,1,1,1],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_IN_OUT\",\n- \"timePeriod\":\n- {\n- \"duration\":0.4,\n- \"delay\":0\n- }\n- }\n- },\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"size\",\n- \"targetValue\":[1,1]\n- }\n- ],\n- \"disableVisibilityTransition\":\n- [\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"mixColor\",\n- \"targetValue\":[1,1,1,0],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_IN_OUT\",\n- \"timePeriod\":\n- {\n- \"duration\":0.4,\n- \"delay\":0.2\n- }\n- }\n- },\n- {\n- \"target\":\"imageVisual\",\n- \"property\":\"size\",\n- \"targetValue\":[1,1]\n- }\n- ]\n- },\n- \"ShadowButton\":\n- {\n- \"backgroundVisual\":{\n- \"visualType\":\"IMAGE\",\n- \"url\":\"{STYLE_DIR}/images/shadowButtonBg.9.png\"\n- },\n- \"checkboxBgVisual\":{\n- \"visualType\":\"IMAGE\",\n- \"url\":\"{STYLE_DIR}/images/CheckBg.png\",\n- \"transform\":{\n- \"size\":[0.09, 0.28],\n- \"offset\":[30,0],\n- \"offsetPolicy\":[\"ABSOLUTE\", \"ABSOLUTE\"],\n- \"sizePolicy\":[\"RELATIVE\", \"RELATIVE\"],\n- \"origin\":\"CENTER_BEGIN\",\n- \"anchorPoint\":\"CENTER_BEGIN\"\n- }\n- },\n- \"checkboxFgVisual\":{\n- \"visualType\":\"IMAGE\",\n- \"url\":\"{STYLE_DIR}/images/Tick.png\",\n- \"transform\":{\n- \"size\":[0.09, 0.28],\n- \"offset\":[30,0],\n- \"offsetPolicy\":[\"ABSOLUTE\", \"ABSOLUTE\"],\n- \"sizePolicy\":[\"RELATIVE\", \"RELATIVE\"],\n- \"origin\":\"CENTER_BEGIN\",\n- \"anchorPoint\":\"CENTER_BEGIN\"\n- }\n- },\n- \"labelVisual\":{\n- \"visualType\":\"TEXT\",\n- \"text\":\"Don't show again\",\n- \"pointSize\":20,\n- \"horizontalAlignment\":\"END\",\n- \"verticalAlignment\":\"CENTER\",\n- \"textColor\":[1,1,1,1],\n- \"mixColor\":[0.3, 0.3, 0.3, 1],\n- \"transform\":{\n- \"size\":[0.9, 0.9],\n- \"offset\":[-30,0],\n- \"offsetPolicy\":[\"ABSOLUTE\", \"ABSOLUTE\"],\n- \"sizePolicy\":[\"RELATIVE\", \"RELATIVE\"],\n- \"origin\":\"CENTER_END\",\n- \"anchorPoint\":\"CENTER_END\"\n- }\n- },\n- \"activeTransition\":\n- [\n- {\n- \"target\":\"checkboxBgVisual\",\n- \"property\":\"size\",\n- \"initialValue\":[0.09, 0.28],\n- \"targetValue\":[0.12, 0.37],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_OUT_BACK\",\n- \"timePeriod\":\n- {\n- \"duration\":0.8,\n- \"delay\":0\n- }\n- }\n- }\n- ],\n- \"inactiveTransition\":\n- [\n- {\n- \"target\":\"checkboxBgVisual\",\n- \"property\":\"size\",\n- \"initialValue\":[0.12, 0.37],\n- \"targetValue\":[0.09, 0.28],\n- \"animator\":\n- {\n- \"alphaFunction\":\"EASE_OUT_BACK\",\n- \"timePeriod\":\n- {\n- \"duration\":0.8,\n- \"delay\":0\n- }\n- }\n- }\n- ]\n- }\n- }\n-}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete style-example-theme-two.json
|
594,239 |
20.03.2018 14:47:23
| -28,800 |
abeacd5ef30a49cea196845d2ce2df3c1ce524dd
|
Delete demo-theme.json
|
[
{
"change_type": "DELETE",
"old_path": "TV/ImageSample/ImageSample/res/style/demo-theme.json",
"new_path": null,
"diff": "-/*\n- * Copyright (c) 2000-2016 Samsung Electronics Co., Ltd\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\n- * you may not use this file except in compliance with the License.\n- * You may obtain a copy of the License at\n- *\n- * http://www.apache.org/licenses/LICENSE-2.0\n- *\n- * Unless required by applicable law or agreed to in writing, software\n- * distributed under the License is distributed on an \"AS IS\" BASIS,\n- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n- * See the License for the specific language governing permissions and\n- * limitations under the License.\n- *\n- */\n-\n-{\n- \"styles\":\n- {\n- \"ConfirmationPopup\":{\n- \"popupBackgroundImage\":\"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/00_popup_bg.9.png\"\n- },\n-\n- \"CustomPopupStyle\":{\n- \"popupBackgroundImage\":\"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/popup.9.png\",\n- \"popupBackgroundBorder\":[0,4,4,0],\n- \"tailUpImage\":\"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/popup-tail-up.png\",\n- \"tailDownImage\":\"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/popup-tail-down.png\",\n- \"tailLeftImage\":\"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/popup-tail-left.png\",\n- \"tailRightImage\":\"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/popup-tail-right.png\"\n- },\n- \"DemoTile\":\n- {\n- \"states\":\n- {\n- \"NORMAL\":\n- {\n- \"color\":[0.4, 0.6, 0.9, 0.6],\n- \"visuals\":\n- {\n- \"image\":\n- {\n- \"url\":\"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/demo-tile-texture.9.png\",\n- \"shader\":\n- {\n- \"fragmentShader\":[\n- \" varying mediump vec2 vTexCoord;\",\n- \" uniform lowp vec4 uColor;\",\n- \" uniform sampler2D sTexture;\",\n- \" uniform mediump vec3 uCustomPosition;\",\n- \"\",\n- \" void main()\",\n- \" {\",\n- \" if( texture2D( sTexture, vTexCoord ).a <= 0.0001 )\",\n- \" {\",\n- \" discard;\",\n- \" }\",\n- \"\",\n- \" mediump vec2 wrapTexCoord = vec2( ( vTexCoord.x / 4.0 ) + ( uCustomPosition.x / 4.0 ) + ( uCustomPosition.z / 2.0 ), vTexCoord.y / 4.0 );\",\n- \" mediump vec4 color = texture2D( sTexture, wrapTexCoord );\",\n- \" mediump float positionWeight = ( uCustomPosition.y + 0.3 ) * color.r * 2.0;\",\n- \"\",\n- \" gl_FragColor = vec4( positionWeight, positionWeight, positionWeight, 0.9 ) * uColor + vec4( uColor.xyz, 0.0 );\",\n- \" }\"\n- ]\n- }\n- }\n- }\n- },\n- \"FOCUSED\":\n- {\n- // \"color\":[0.3, 0.5, 0.8, 0.5],\n- \"visuals\":\n- {\n- \"image\":\n- {\n- }\n- }\n- }\n- }\n- },\n- \"DemoTileBorder\":\n- {\n- \"visuals\":\n- {\n- \"image\":\n- {\n- \"url\":\"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/item-background.9.png\" // TILE_BACKGROUND\n- }\n- }\n- },\n- \"TextLabelRosemary\":\n- {\n- \"fontFamily\":\"Rosemary\"\n- },\n- \"TextLabel\":\n- {\n- \"fontStyle\":{\"weight\":\"normal\"},\n- \"pointSize\":18\n- },\n- \"LauncherLabel\":\n- {\n- \"pointSize\":8\n- },\n-\n- \"ToolbarLabel\":\n- {\n- \"pointSize\":18\n- },\n-\n- \"BuilderLabel\":\n- {\n- \"pointSize\":13\n- },\n-\n- \"ScrollView\":\n- {\n- \"overshootEffectColor\":\"B018\"\n- },\n-\n- \"ImageScalingGroupLabel\":\n- {\n- \"pointSize\":9\n- },\n-\n- \"ImageScalingButton\":\n- {\n- \"label\":{\n- \"pointSize\":11\n- }\n- },\n-\n- \"LauncherBackground\":\n- {\n- \"background\":\n- {\n- \"visualType\": \"GRADIENT\",\n- \"center\": [240, 400],\n- \"radius\": 932,\n- \"units\": \"USER_SPACE\",\n- \"stopColor\": [[0.247,0.38,0.52,1.0],[0.055,0.18,0.286,1.0]]\n- }\n- }\n- }\n-}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete demo-theme.json
|
594,239 |
20.03.2018 14:48:00
| -28,800 |
f75cf6c78bec7bd51d7c3eecb2204ad200c0d9f1
|
Delete IExample.cs
|
[
{
"change_type": "DELETE",
"old_path": "TV/ImageSample/ImageSample/src/IExample.cs",
"new_path": null,
"diff": "-/*\n- * Copyright (c) 2017 Samsung Electronics Co., Ltd.\n- *\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\n- * you may not use this file except in compliance with the License.\n- * You may obtain a copy of the License at\n- *\n- * http://www.apache.org/licenses/LICENSE-2.0\n- *\n- * Unless required by applicable law or agreed to in writing, software\n- * distributed under the License is distributed on an \"AS IS\" BASIS,\n- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n- * See the License for the specific language governing permissions and\n- * limitations under the License.\n- *\n- */\n-\n-using System;\n-using System.Collections.Generic;\n-using System.Text;\n-\n-namespace ImageSample\n-{\n- /// <summary>\n- /// A interface of all image samples.\n- /// </summary>\n- interface IExample\n- {\n- void Activate();\n- void Deactivate();\n- }\n-}\n\\ No newline at end of file\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete IExample.cs
|
594,239 |
20.03.2018 14:49:21
| -28,800 |
5c128dafaddf04e1db11dd049c38223eaa3cade8
|
Delete NinePatchSample.cs
|
[
{
"change_type": "DELETE",
"old_path": "TV/ImageSample/ImageSample/src/Samples/NinePatchSample.cs",
"new_path": null,
"diff": "-/*\n- * Copyright (c) 2017 Samsung Electronics Co., Ltd.\n- *\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\n- * you may not use this file except in compliance with the License.\n- * You may obtain a copy of the License at\n- *\n- * http://www.apache.org/licenses/LICENSE-2.0\n- *\n- * Unless required by applicable law or agreed to in writing, software\n- * distributed under the License is distributed on an \"AS IS\" BASIS,\n- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n- * See the License for the specific language governing permissions and\n- * limitations under the License.\n- *\n- */\n-\n-using System;\n-using Tizen;\n-using System.Runtime.InteropServices;\n-using Tizen.NUI;\n-using Tizen.NUI.UIComponents;\n-using Tizen.NUI.BaseComponents;\n-using Tizen.NUI.Constants;\n-\n-namespace ImageSample\n-{\n- /// <summary>\n- /// A sample of 9patch, to show ninepatch file is supported in dali.\n- /// </summary>\n- class NinePatchSample : IExample\n- {\n- private const string resources = \"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/\";\n- private string imagePath = resources + \"heartsframe.9.png\";\n- private TextLabel guide, userGuide;\n-\n- private ImageView small, middle, large;\n-\n- /// <summary>\n- /// The constructor\n- /// </summary>\n- public NinePatchSample()\n- {\n- }\n-\n- /// <summary>\n- /// Text Sample Application initialisation.\n- /// </summary>\n- private void Initialize()\n- {\n- Window.Instance.BackgroundColor = Color.Black;\n- //Title to show the sample name.\n- guide = new TextLabel();\n- guide.HorizontalAlignment = HorizontalAlignment.Center;\n- guide.VerticalAlignment = VerticalAlignment.Center;\n- guide.PositionUsesPivotPoint = true;\n- guide.ParentOrigin = ParentOrigin.TopLeft;\n- guide.PivotPoint = PivotPoint.TopLeft;\n- guide.Size2D = new Size2D(1920, 100);\n- guide.FontFamily = \"Samsung One 600\";\n- guide.Position2D = new Position2D(0, 0);\n- guide.MultiLine = false;\n- guide.PointSize = 15.0f;\n- guide.Text = \"NinePatch Sample \\n\";\n- guide.TextColor = Color.White;\n- guide.BackgroundColor = new Color(43.0f / 255.0f, 145.0f / 255.0f, 175.0f / 255.0f, 1.0f);\n- Window.Instance.GetDefaultLayer().Add(guide);\n-\n- userGuide = new TextLabel();\n- userGuide.HorizontalAlignment = HorizontalAlignment.Begin;\n- userGuide.VerticalAlignment = VerticalAlignment.Top;\n- userGuide.PositionUsesPivotPoint = true;\n- userGuide.ParentOrigin = ParentOrigin.TopLeft;\n- userGuide.PivotPoint = PivotPoint.TopLeft;\n- userGuide.FontFamily = \"Samsung One 400\";\n- userGuide.Position = new Position(30, 150, 0);\n- userGuide.MultiLine = true;\n- userGuide.PointSize = 10.0f;\n- userGuide.Text = \"The following three ImageView are created with the same image file but with different size.\\n\";\n- userGuide.TextColor = Color.White;\n- Window.Instance.GetDefaultLayer().Add(userGuide);\n-\n- //Create three imageView with different size, samll, middle, and large, to show the same 9patch file.\n- //This imageView's size is (124, 85). it's the small one.\n- small = new ImageView(imagePath);\n- small.ParentOrigin = ParentOrigin.TopLeft;\n- small.PivotPoint = PivotPoint.TopLeft;\n- small.Size2D = new Size2D(124, 85);\n- small.Position2D = new Position2D(890, 250);\n- Window.Instance.GetDefaultLayer().Add(small);\n- //This imageView's size is (249, 169). it's the middle one.\n- middle = new ImageView(imagePath);\n- middle.ParentOrigin = ParentOrigin.TopLeft;\n- middle.PivotPoint = PivotPoint.TopLeft;\n- middle.Size2D = new Size2D(249, 169);\n- middle.Position2D = new Position2D(820, 390);\n- Window.Instance.GetDefaultLayer().Add(middle);\n- //This imageView's size is (498, 338). it's the large one.\n- large = new ImageView(imagePath);\n- large.ParentOrigin = ParentOrigin.TopLeft;\n- large.PivotPoint = PivotPoint.TopLeft;\n- large.Size2D = new Size2D(498, 338);\n- large.Position2D = new Position2D(700, 630);\n- Window.Instance.GetDefaultLayer().Add(large);\n-\n- }\n-\n- /// <summary>\n- /// Remove all the view from window, and Dispose three imageView and guide.\n- /// </summary>\n- public void Deactivate()\n- {\n-\n- Window.Instance.GetDefaultLayer().Remove(guide);\n- guide.Dispose();\n- guide = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(userGuide);\n- userGuide.Dispose();\n- userGuide = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(small);\n- small.Dispose();\n- small = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(middle);\n- middle.Dispose();\n- middle = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(large);\n- large.Dispose();\n- large = null;\n- }\n-\n- /// <summary>\n- /// Activate this class.\n- /// </summary>\n- public void Activate()\n- {\n- Tizen.Log.Fatal(\"NUI\", \"Activate\");\n- Initialize();\n- }\n- }\n-}\n\\ No newline at end of file\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete NinePatchSample.cs
|
594,239 |
20.03.2018 14:49:32
| -28,800 |
06ffcfcb0e8abf7e1323011934ad0c8f5dec7921
|
Delete GifSample.cs
|
[
{
"change_type": "DELETE",
"old_path": "TV/ImageSample/ImageSample/src/Samples/GifSample.cs",
"new_path": null,
"diff": "-/*\n- * Copyright (c) 2017 Samsung Electronics Co., Ltd.\n- *\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\n- * you may not use this file except in compliance with the License.\n- * You may obtain a copy of the License at\n- *\n- * http://www.apache.org/licenses/LICENSE-2.0\n- *\n- * Unless required by applicable law or agreed to in writing, software\n- * distributed under the License is distributed on an \"AS IS\" BASIS,\n- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n- * See the License for the specific language governing permissions and\n- * limitations under the License.\n- *\n- */\n-\n-using System;\n-using Tizen;\n-using System.Runtime.InteropServices;\n-using Tizen.NUI;\n-using Tizen.NUI.UIComponents;\n-using Tizen.NUI.BaseComponents;\n-using Tizen.NUI.Constants;\n-\n-namespace ImageSample\n-{\n- /// <summary>\n- /// A sample to show the gif, gif is supported in dali.\n- /// </summary>\n- class GifSample : IExample\n- {\n- private TextLabel guide;\n- private const string resources = \"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/\";\n- private String image_gif = resources + \"dog-anim.gif\";\n- private ImageView animatedImage;\n-\n- /// <summary>\n- /// The constructor\n- /// </summary>\n- public GifSample()\n- {\n- }\n-\n- /// <summary>\n- /// Text Sample Application initialisation.\n- /// </summary>\n- private void Initialize()\n- {\n- Window.Instance.BackgroundColor = Color.Black;\n- //Create a title to show the sample name.\n- guide = new TextLabel();\n- guide.HorizontalAlignment = HorizontalAlignment.Center;\n- guide.VerticalAlignment = VerticalAlignment.Center;\n- guide.PositionUsesPivotPoint = true;\n- guide.ParentOrigin = ParentOrigin.TopLeft;\n- guide.PivotPoint = PivotPoint.TopLeft;\n- guide.Size2D = new Size2D(1920, 100);\n- guide.FontFamily = \"Samsung One 600\";\n- guide.Position2D = new Position2D(0, 0);\n- guide.MultiLine = false;\n- guide.PointSize = 15.0f;\n- guide.Text = \"Gif Sample \\n\";\n- guide.TextColor = Color.White;\n- guide.BackgroundColor = new Color(43.0f / 255.0f, 145.0f / 255.0f, 175.0f / 255.0f, 1.0f);\n- Window.Instance.GetDefaultLayer().Add(guide);\n-\n- // Create a imageView who will show gif image\n- animatedImage = new ImageView();\n- animatedImage.SizeWidth = 200;\n- animatedImage.SizeHeight = 200;\n- animatedImage.PositionUsesPivotPoint = true;\n- animatedImage.PivotPoint = PivotPoint.TopLeft;\n- animatedImage.ParentOrigin = ParentOrigin.TopLeft;\n- animatedImage.Position2D = new Position2D(850, 480);\n- PropertyMap map = new PropertyMap();\n- map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.AnimatedImage))\n- .Add(ImageVisualProperty.URL, new PropertyValue(image_gif))\n- .Add(ImageVisualProperty.WrapModeU, new PropertyValue((int)WrapModeType.Repeat))\n- .Add(ImageVisualProperty.WrapModeV, new PropertyValue((int)WrapModeType.Default));\n- animatedImage.ImageMap = map;\n- Window.Instance.GetDefaultLayer().Add(animatedImage);\n- }\n-\n- /// <summary>\n- /// Dispose checkBoxGroup and guide.\n- /// </summary>\n- public void Deactivate()\n- {\n-\n- Window.Instance.GetDefaultLayer().Remove(guide);\n- guide.Dispose();\n- guide = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(animatedImage);\n- animatedImage.Dispose();\n- animatedImage = null;\n- }\n-\n- /// <summary>\n- /// Activate this class.\n- /// </summary>\n- public void Activate()\n- {\n- Tizen.Log.Fatal(\"NUI\", \"Activate\");\n- Initialize();\n- }\n- }\n-}\n\\ No newline at end of file\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete GifSample.cs
|
594,239 |
20.03.2018 14:49:49
| -28,800 |
0dc8b642cf8521d8676f7fa67cda0ae68f2bf419
|
Delete MaskSample.cs
|
[
{
"change_type": "DELETE",
"old_path": "TV/ImageSample/ImageSample/src/Samples/MaskSample.cs",
"new_path": null,
"diff": "-/*\n- * Copyright (c) 2017 Samsung Electronics Co., Ltd.\n- *\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\n- * you may not use this file except in compliance with the License.\n- * You may obtain a copy of the License at\n- *\n- * http://www.apache.org/licenses/LICENSE-2.0\n- *\n- * Unless required by applicable law or agreed to in writing, software\n- * distributed under the License is distributed on an \"AS IS\" BASIS,\n- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n- * See the License for the specific language governing permissions and\n- * limitations under the License.\n- *\n- */\n-\n-using System;\n-using Tizen;\n-using System.Runtime.InteropServices;\n-using Tizen.NUI;\n-using Tizen.NUI.UIComponents;\n-using Tizen.NUI.BaseComponents;\n-using Tizen.NUI.Constants;\n-\n-namespace ImageSample\n-{\n- /// <summary>\n- /// A sample of mask, add the mask on a uisual image.\n- /// </summary>\n- class MaskSample : IExample\n- {\n- private const string resources = \"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/\";\n- private string maskPath = resources + \"mc_playlist_thumbnail_play.png\";\n- private string imagePath = resources + \"gallery-large-20.jpg\";\n-\n- private TextLabel guide, userGuide;\n- private ImageView bgImage;\n- private ImageView imageView;\n-\n- /// <summary>\n- /// The constructor\n- /// </summary>\n- public MaskSample()\n- {\n- }\n-\n- /// <summary>\n- /// Text Sample Application initialisation.\n- /// </summary>\n- private void Initialize()\n- {\n- Window.Instance.BackgroundColor = Color.Black;\n- //Title to show the sample name.\n- guide = new TextLabel();\n- guide.HorizontalAlignment = HorizontalAlignment.Center;\n- guide.VerticalAlignment = VerticalAlignment.Center;\n- guide.PositionUsesPivotPoint = true;\n- guide.ParentOrigin = ParentOrigin.TopLeft;\n- guide.PivotPoint = PivotPoint.TopLeft;\n- guide.Size2D = new Size2D(1920, 100);\n- guide.FontFamily = \"Samsung One 600\";\n- guide.Position2D = new Position2D(0, 0);\n- guide.MultiLine = false;\n- guide.PointSize = 15.0f;\n- guide.Text = \"Mask Sample \\n\";\n- guide.TextColor = Color.White;\n- guide.BackgroundColor = new Color(43.0f / 255.0f, 145.0f / 255.0f, 175.0f / 255.0f, 1.0f);\n- Window.Instance.GetDefaultLayer().Add(guide);\n-\n- userGuide = new TextLabel();\n- userGuide.HorizontalAlignment = HorizontalAlignment.Begin;\n- userGuide.VerticalAlignment = VerticalAlignment.Top;\n- userGuide.PositionUsesPivotPoint = true;\n- userGuide.ParentOrigin = ParentOrigin.TopLeft;\n- userGuide.PivotPoint = PivotPoint.TopLeft;\n- userGuide.FontFamily = \"Samsung One 400\";\n- userGuide.Position = new Position(30, 150, 0);\n- userGuide.MultiLine = true;\n- userGuide.PointSize = 10.0f;\n- userGuide.Text = \"The following two ImageView are created with the same image file, and right one with mask effect.\\n\";\n- userGuide.TextColor = Color.White;\n- Window.Instance.GetDefaultLayer().Add(userGuide);\n-\n-\n- //Create ImageView to show the normal image\n- imageView = new ImageView();\n- imageView.Size2D = new Size2D(418, 418);\n- imageView.Position = new Position(400, 360, 0);\n- imageView.PivotPoint = Tizen.NUI.PivotPoint.TopLeft;\n- imageView.Opacity = 1.0f;\n- PropertyMap propertyMap = new PropertyMap();\n- propertyMap.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.Image))\n- .Add(ImageVisualProperty.URL, new PropertyValue(imagePath))\n- .Add(ImageVisualProperty.DesiredHeight, new PropertyValue(418))\n- .Add(ImageVisualProperty.DesiredWidth, new PropertyValue(418));\n- imageView.Image = propertyMap;\n- //Add the image to window\n- Window.Instance.GetDefaultLayer().Add(imageView);\n-\n- //Create image to show the image which with mask effect.\n- bgImage = new ImageView();\n- bgImage.Size2D = new Size2D(418, 418);\n- bgImage.Position = new Position(1200, 360, 0);\n- bgImage.PivotPoint = Tizen.NUI.PivotPoint.TopLeft;\n- bgImage.Opacity = 1.0f;\n- PropertyMap maskMap = new PropertyMap();\n- maskMap.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.Image))\n- .Add(ImageVisualProperty.URL, new PropertyValue(imagePath))\n- .Add(ImageVisualProperty.AlphaMaskURL, new PropertyValue(maskPath))\n- .Add(ImageVisualProperty.DesiredHeight, new PropertyValue(418))\n- .Add(ImageVisualProperty.DesiredWidth, new PropertyValue(418));\n- bgImage.Image = maskMap;\n- //Add the image to window.\n- Window.Instance.GetDefaultLayer().Add(bgImage);\n- }\n-\n- /// <summary>\n- /// Dispose the two imageView and guide.\n- /// </summary>\n- public void Deactivate()\n- {\n-\n- Window.Instance.GetDefaultLayer().Remove(guide);\n- guide.Dispose();\n- guide = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(userGuide);\n- userGuide.Dispose();\n- userGuide = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(imageView);\n- imageView.Dispose();\n- imageView = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(bgImage);\n- bgImage.Dispose();\n- bgImage = null;\n- }\n-\n- /// <summary>\n- /// Activate this class.\n- /// </summary>\n- public void Activate()\n- {\n- Tizen.Log.Fatal(\"NUI\", \"Activate\");\n- Initialize();\n- }\n- }\n-}\n\\ No newline at end of file\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete MaskSample.cs
|
594,239 |
20.03.2018 14:50:05
| -28,800 |
32e7b99b88d32803ecca558f8007ee234033844b
|
Delete PixelAreaSample.cs
|
[
{
"change_type": "DELETE",
"old_path": "TV/ImageSample/ImageSample/src/Samples/PixelAreaSample.cs",
"new_path": null,
"diff": "-/*\n- * Copyright (c) 2017 Samsung Electronics Co., Ltd.\n- *\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\n- * you may not use this file except in compliance with the License.\n- * You may obtain a copy of the License at\n- *\n- * http://www.apache.org/licenses/LICENSE-2.0\n- *\n- * Unless required by applicable law or agreed to in writing, software\n- * distributed under the License is distributed on an \"AS IS\" BASIS,\n- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n- * See the License for the specific language governing permissions and\n- * limitations under the License.\n- *\n- */\n-\n-using System;\n-using Tizen;\n-using System.Runtime.InteropServices;\n-using Tizen.NUI;\n-using Tizen.NUI.UIComponents;\n-using Tizen.NUI.BaseComponents;\n-using Tizen.NUI.Constants;\n-\n-namespace ImageSample\n-{\n- /// <summary>\n- /// A sample to show the pixel area feature.\n- /// </summary>\n- class PixelAreaSample : IExample\n- {\n- private TextLabel guide;\n- private PushButton pushButton;\n- private ImageView[] imageView;\n- private TableView tableView;\n-\n- private const string resources = \"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/\";\n- private string normalImagePath = resources + \"Button/btn_bg_25_25_25_95.9.png\";\n- private string focusImagePath = resources + \"Button/btn_bg_255_255_255_200.9.png\";\n- private string pressImagePath = resources + \"Button/btn_bg_0_129_198_100.9.png\";\n- private String image_jpg = resources + \"gallery-1.jpg\";\n-\n- /// <summary>\n- /// The constructor\n- /// </summary>\n- public PixelAreaSample()\n- {\n- }\n-\n- /// <summary>\n- /// Text Sample Application initialisation.\n- /// </summary>\n- private void Initialize()\n- {\n- Window.Instance.BackgroundColor = Color.Black;\n- //Title to show the sampel name\n- guide = new TextLabel();\n- guide.HorizontalAlignment = HorizontalAlignment.Center;\n- guide.VerticalAlignment = VerticalAlignment.Center;\n- guide.PositionUsesPivotPoint = true;\n- guide.ParentOrigin = ParentOrigin.TopLeft;\n- guide.PivotPoint = PivotPoint.TopLeft;\n- guide.Size2D = new Size2D(1920, 100);\n- guide.FontFamily = \"Samsung One 600\";\n- guide.Position2D = new Position2D(0, 0);\n- guide.MultiLine = false;\n- guide.PointSize = 15.0f;\n- guide.Text = \"PixelArea Sample \\n\";\n- guide.TextColor = Color.White;\n- guide.BackgroundColor = new Color(43.0f / 255.0f, 145.0f / 255.0f, 175.0f / 255.0f, 1.0f);\n- Window.Instance.GetDefaultLayer().Add(guide);\n-\n- //Create one tableView as a container of all the image.\n- tableView = new TableView(3, 3);\n- tableView.Size2D = new Size2D(600, 600);\n- tableView.PositionUsesPivotPoint = true;\n- tableView.PivotPoint = PivotPoint.TopLeft;\n- tableView.ParentOrigin = ParentOrigin.TopLeft;\n- tableView.Position2D = new Position2D(600, 220);\n- Window.Instance.GetDefaultLayer().Add(tableView);\n-\n- //Create p image and add them to tableView\n- imageView = new ImageView[9];\n- for (uint i = 0; i < 3; i++)\n- {\n- for (uint j = 0; j < 3; j++)\n- {\n- imageView[i * 3 + j] = new ImageView(image_jpg);\n- imageView[i * 3 + j].HeightResizePolicy = ResizePolicyType.FillToParent;\n- imageView[i * 3 + j].WidthResizePolicy = ResizePolicyType.FillToParent;\n- // Put these imageView at different position.\n- tableView.AddChild(imageView[i * 3 + j], new TableView.CellPosition(i, j));\n- }\n- }\n-\n- //Create button to trrigger the PixelArea animation\n- pushButton = CreateButton(\"PixelArea\", \"PixelArea\");\n- pushButton.PivotPoint = PivotPoint.Center;\n- pushButton.ParentOrigin = ParentOrigin.TopLeft;\n- pushButton.Position2D = tableView.Position2D + new Position2D((int)tableView.SizeWidth / 2 - 200, (int)tableView.SizeHeight + 100);\n- pushButton.Clicked += PixelAreaButtonClick;\n- pushButton.Focusable = true;\n- Window.Instance.GetDefaultLayer().Add(pushButton);\n- FocusManager.Instance.SetCurrentFocusView(pushButton);\n- }\n-\n- /// <summary>\n- /// The event will be triggered when pushButton clicked.\n- /// Play the pixelArea animation of imageView.\n- /// </summary>\n- /// <param name=\"source\">pushButton.</param>\n- /// <param name=\"e\">event</param>\n- /// <returns>the consume flag</returns>\n- private bool PixelAreaButtonClick(object source, EventArgs e)\n- {\n- Animation animation = new Animation(10000);\n- for (uint i = 0; i < 3; i++)\n- {\n- for (uint j = 0; j < 3; j++)\n- {\n- // animate the pixel area property on image view,\n- // the animatable pixel area property is registered on the actor,\n- // which overwrites the property on the renderer\n- animation.AnimateTo(imageView[j * 3 + i], \"pixelArea\", new Vector4(0.33f * i, 0.33f * j, 0.33f, 0.33f), new AlphaFunction(AlphaFunction.BuiltinFunctions.Bounce));\n- }\n- }\n-\n- animation.Play();\n- return true;\n- }\n-\n-\n-\n- /// <summary>\n- /// Remove all the view from window. and Dispose puahButton, imageViews, tableView and guide.\n- /// </summary>\n- public void Deactivate()\n- {\n-\n- Window.Instance.GetDefaultLayer().Remove(guide);\n- guide.Dispose();\n- guide = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(pushButton);\n- pushButton.Dispose();\n- pushButton = null;\n-\n- for (uint i = 0; i < 3; i++)\n- {\n- for (uint j = 0; j < 3; j++)\n- {\n- tableView.Remove(imageView[i * 3 + j]);\n- imageView[i * 3 + j].Dispose();\n- imageView[i * 3 + j] = null;\n- }\n- }\n-\n- Window.Instance.GetDefaultLayer().Remove(tableView);\n- tableView.Dispose();\n- tableView = null;\n- }\n-\n- /// <summary>\n- /// The event will be triggered when have key clicked and focus on spin.\n- /// </summary>\n- /// <param name=\"name\">the name of the button.</param>\n- /// <param name=\"text\">the text of the button</param>\n- /// <returns>The consume flag</returns>\n- private PushButton CreateButton(string name, string text)\n- {\n- PushButton button = new PushButton();\n- button.Focusable = true;\n- button.Size2D = new Size2D(400, 80);\n- button.Focusable = true;\n- button.Name = name;\n- // Create the label which will show when _pushbutton focused.\n- PropertyMap _focusText = CreateTextVisual(text, Color.Black);\n-\n- // Create the label which will show when _pushbutton unfocused.\n- PropertyMap _unfocusText = CreateTextVisual(text, Color.White);\n- button.Label = _unfocusText;\n-\n- // Create normal background visual.\n- PropertyMap normalMap = CreateImageVisual(normalImagePath);\n-\n- // Create focused background visual.\n- PropertyMap focusMap = CreateImageVisual(focusImagePath);\n-\n- // Create pressed background visual.\n- PropertyMap pressMap = CreateImageVisual(pressImagePath);\n- button.SelectedVisual = pressMap;\n- button.UnselectedBackgroundVisual = normalMap;\n-\n- // Chang background Visual and Label when focus gained.\n- button.FocusGained += (obj, e) =>\n- {\n- button.UnselectedBackgroundVisual = focusMap;\n- button.Label = _focusText;\n- };\n-\n- // Chang background Visual and Label when focus lost.\n- button.FocusLost += (obj, e) =>\n- {\n- button.UnselectedBackgroundVisual = normalMap;\n- button.Label = _unfocusText;\n- };\n-\n- // Chang background Visual when pressed.\n- button.KeyEvent += (obj, ee) =>\n- {\n- if (\"Return\" == ee.Key.KeyPressedName)\n- {\n- if (Key.StateType.Down == ee.Key.State)\n- {\n- button.UnselectedBackgroundVisual = pressMap;\n- Tizen.Log.Fatal(\"NUI\", \"Press in pushButton sample!!!!!!!!!!!!!!!!\");\n- }\n- else if (Key.StateType.Up == ee.Key.State)\n- {\n- button.UnselectedBackgroundVisual = focusMap;\n- Tizen.Log.Fatal(\"NUI\", \"Release in pushButton sample!!!!!!!!!!!!!!!!\");\n- }\n- }\n- return false;\n- };\n- return button;\n- }\n-\n- /// <summary>\n- /// Create an Text visual.\n- /// </summary>\n- /// <param name=\"text\">The text of the Text visual</param>\n- /// <param name=\"color\">The color of the text</param>\n- private PropertyMap CreateTextVisual(string text, Color color)\n- {\n- PropertyMap map = new PropertyMap();\n- map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.Text));\n- map.Add(TextVisualProperty.Text, new PropertyValue(text));\n- map.Add(TextVisualProperty.TextColor, new PropertyValue(color));\n- map.Add(TextVisualProperty.PointSize, new PropertyValue(8.0f));\n- map.Add(TextVisualProperty.HorizontalAlignment, new PropertyValue(\"CENTER\"));\n- map.Add(TextVisualProperty.VerticalAlignment, new PropertyValue(\"CENTER\"));\n- map.Add(TextVisualProperty.FontFamily, new PropertyValue(\"Samsung One 400\"));\n- return map;\n- }\n-\n- /// <summary>\n- /// Create an Image visual.\n- /// </summary>\n- /// <param name=\"imagePath\">The url of the image</param>\n- private PropertyMap CreateImageVisual(string imagePath)\n- {\n- PropertyMap map = new PropertyMap();\n- map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.Image));\n- map.Add(ImageVisualProperty.URL, new PropertyValue(imagePath));\n- return map;\n- }\n-\n- /// <summary>\n- /// Activate this class.\n- /// </summary>\n- public void Activate()\n- {\n- Tizen.Log.Fatal(\"NUI\", \"Activate\");\n- Initialize();\n- }\n- }\n-}\n\\ No newline at end of file\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete PixelAreaSample.cs
|
594,239 |
20.03.2018 14:50:18
| -28,800 |
5ca9961805936473dffacca31313645fb75baab2
|
Delete SvgSample.cs
|
[
{
"change_type": "DELETE",
"old_path": "TV/ImageSample/ImageSample/src/Samples/SvgSample.cs",
"new_path": null,
"diff": "-/*\n- * Copyright (c) 2017 Samsung Electronics Co., Ltd.\n- *\n- * Licensed under the Apache License, Version 2.0 (the \"License\");\n- * you may not use this file except in compliance with the License.\n- * You may obtain a copy of the License at\n- *\n- * http://www.apache.org/licenses/LICENSE-2.0\n- *\n- * Unless required by applicable law or agreed to in writing, software\n- * distributed under the License is distributed on an \"AS IS\" BASIS,\n- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n- * See the License for the specific language governing permissions and\n- * limitations under the License.\n- *\n- */\n-\n-using System;\n-using Tizen;\n-using System.Runtime.InteropServices;\n-using Tizen.NUI;\n-using Tizen.NUI.UIComponents;\n-using Tizen.NUI.BaseComponents;\n-using Tizen.NUI.Constants;\n-\n-namespace ImageSample\n-{\n- /// <summary>\n- /// A sample to show the svg file.\n- /// </summary>\n- class SvgSample : IExample\n- {\n- private const string resources = \"/home/owner/apps_rw/org.tizen.example.ImageSample/res/images/\";\n- private string normalImagePath = resources + \"Button/btn_bg_25_25_25_95.9.png\";\n- private string focusImagePath = resources + \"Button/btn_bg_255_255_255_200.9.png\";\n- private string pressImagePath = resources + \"Button/btn_bg_0_129_198_100.9.png\";\n- private String image_svg = resources + \"Kid1.svg\";\n- private TextLabel guide;\n- private float svgScale = 1;\n- private ImageView svgImage;\n- private PushButton zoomInButton, zoomOutButton;\n- // <summary>\n- /// Constructor to create new RadioButtonSample\n- /// </summary>\n- public SvgSample()\n- {\n- }\n-\n- /// <summary>\n- /// RadioButton initialisation.\n- /// </summary>\n- private void Initialize()\n- {\n- Window.Instance.BackgroundColor = Color.Black;\n- //Create Title to show the sample name.\n- guide = new TextLabel();\n- guide.HorizontalAlignment = HorizontalAlignment.Center;\n- guide.VerticalAlignment = VerticalAlignment.Center;\n- guide.PositionUsesPivotPoint = true;\n- guide.ParentOrigin = ParentOrigin.TopLeft;\n- guide.PivotPoint = PivotPoint.TopLeft;\n- guide.Size2D = new Size2D(1920, 100);\n- guide.FontFamily = \"Samsung One 600\";\n- guide.Position2D = new Position2D(0, 0);\n- guide.MultiLine = false;\n- guide.PointSize = 15.0f;\n- guide.Text = \"Svg Sample \\n\";\n- guide.TextColor = Color.White;\n- guide.BackgroundColor = new Color(43.0f / 255.0f, 145.0f / 255.0f, 175.0f / 255.0f, 1.0f);\n- Window.Instance.GetDefaultLayer().Add(guide);\n-\n- //Create an imageView to show the svg file.\n- svgImage = new ImageView(image_svg);\n- svgImage.SizeWidth = 200;\n- svgImage.SizeHeight = 200;\n- svgImage.PositionUsesPivotPoint = true ;\n- svgImage.PivotPoint = PivotPoint.Center;\n- svgImage.ParentOrigin = ParentOrigin.TopLeft;\n- svgImage.Position2D = new Position2D(960, 400);\n- Window.Instance.GetDefaultLayer().Add(svgImage);\n-\n- // Create zoomInButton which can make svgImage bigger\n- zoomInButton = CreateButton(\"Zoom In\", \"Zoom In\");\n- zoomInButton.PositionUsesPivotPoint = true;\n- zoomInButton.PivotPoint = PivotPoint.Center;\n- zoomInButton.ParentOrigin = ParentOrigin.TopLeft;\n- zoomInButton.Position2D = svgImage.Position2D + new Position2D(-350, (int)svgImage.SizeHeight / 2 + 400);\n- zoomInButton.Clicked += ZoomInButtonClick;\n- zoomInButton.Focusable = true;\n- Window.Instance.GetDefaultLayer().Add(zoomInButton);\n-\n- // Create zoomOutButton which can make svgImage smaller\n- zoomOutButton = CreateButton(\"Zoom Out\", \"Zoom Out\");\n- zoomOutButton.PositionUsesPivotPoint = true;\n- zoomOutButton.PivotPoint = PivotPoint.Center;\n- zoomOutButton.ParentOrigin = ParentOrigin.TopLeft;\n- zoomOutButton.Position2D = zoomInButton.Position2D + new Position2D(600, 0);\n- zoomOutButton.Clicked += ZoomOutButtonClick;\n- zoomOutButton.Focusable = true;\n- Window.Instance.GetDefaultLayer().Add(zoomOutButton);\n-\n- zoomInButton.RightFocusableView = zoomOutButton;\n- zoomOutButton.LeftFocusableView = zoomInButton;\n-\n- FocusManager.Instance.SetCurrentFocusView(zoomInButton);\n- }\n-\n- /// <summary>\n- /// Dispose radioButtonGroupView and guide\n- /// </summary>\n- public void Deactivate()\n- {\n-\n- Window.Instance.GetDefaultLayer().Remove(guide);\n- guide.Dispose();\n- guide = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(svgImage);\n- svgImage.Dispose();\n- svgImage = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(zoomInButton);\n- zoomInButton.Dispose();\n- zoomInButton = null;\n-\n- Window.Instance.GetDefaultLayer().Remove(zoomOutButton);\n- zoomOutButton.Dispose();\n- zoomOutButton = null;\n-\n- }\n-\n- /// <summary>\n- /// Activate this class.\n- /// </summary>\n- public void Activate()\n- {\n- Initialize();\n- }\n-\n- /// <summary>\n- /// The event will be triggered when have key clicked and focus on spin.\n- /// </summary>\n- /// <param name=\"name\">the name of the button.</param>\n- /// <param name=\"text\">the text of the button</param>\n- /// <returns>The consume flag</returns>\n- private PushButton CreateButton(string name, string text)\n- {\n- PushButton button = new PushButton();\n- button.Focusable = true;\n- button.Size2D = new Size2D(400, 80);\n- button.Focusable = true;\n- button.Name = name;\n- // Create the label which will show when _pushbutton focused.\n- PropertyMap _focusText = CreateTextVisual(text, Color.Black);\n-\n- // Create the label which will show when _pushbutton unfocused.\n- PropertyMap _unfocusText = CreateTextVisual(text, Color.White);\n- button.Label = _unfocusText;\n-\n- // Create normal background visual.\n- PropertyMap normalMap = CreateImageVisual(normalImagePath);\n-\n- // Create focused background visual.\n- PropertyMap focusMap = CreateImageVisual(focusImagePath);\n-\n- // Create pressed background visual.\n- PropertyMap pressMap = CreateImageVisual(pressImagePath);\n- button.SelectedVisual = pressMap;\n- button.UnselectedBackgroundVisual = normalMap;\n-\n- // Chang background Visual and Label when focus gained.\n- button.FocusGained += (obj, e) =>\n- {\n- button.UnselectedBackgroundVisual = focusMap;\n- button.Label = _focusText;\n- };\n-\n- // Chang background Visual and Label when focus lost.\n- button.FocusLost += (obj, e) =>\n- {\n- button.UnselectedBackgroundVisual = normalMap;\n- button.Label = _unfocusText;\n- };\n-\n- // Chang background Visual when pressed.\n- button.KeyEvent += (obj, ee) =>\n- {\n- if (\"Return\" == ee.Key.KeyPressedName)\n- {\n- if (Key.StateType.Down == ee.Key.State)\n- {\n- button.UnselectedBackgroundVisual = pressMap;\n- Tizen.Log.Fatal(\"NUI\", \"Press in pushButton sample!!!!!!!!!!!!!!!!\");\n- }\n- else if (Key.StateType.Up == ee.Key.State)\n- {\n- button.UnselectedBackgroundVisual = focusMap;\n- Tizen.Log.Fatal(\"NUI\", \"Release in pushButton sample!!!!!!!!!!!!!!!!\");\n- }\n- }\n- return false;\n- };\n- return button;\n- }\n-\n- /// <summary>\n- /// Create an Text visual.\n- /// </summary>\n- /// <param name=\"text\">The text of the Text visual</param>\n- /// <param name=\"color\">The color of the text</param>\n- private PropertyMap CreateTextVisual(string text, Color color)\n- {\n- PropertyMap map = new PropertyMap();\n- map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.Text));\n- map.Add(TextVisualProperty.Text, new PropertyValue(text));\n- map.Add(TextVisualProperty.TextColor, new PropertyValue(color));\n- map.Add(TextVisualProperty.PointSize, new PropertyValue(8.0f));\n- map.Add(TextVisualProperty.HorizontalAlignment, new PropertyValue(\"CENTER\"));\n- map.Add(TextVisualProperty.VerticalAlignment, new PropertyValue(\"CENTER\"));\n- map.Add(TextVisualProperty.FontFamily, new PropertyValue(\"Samsung One 400\"));\n- return map;\n- }\n-\n- /// <summary>\n- /// Create an Image visual.\n- /// </summary>\n- /// <param name=\"imagePath\">The url of the image</param>\n- private PropertyMap CreateImageVisual(string imagePath)\n- {\n- PropertyMap map = new PropertyMap();\n- map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.Image));\n- map.Add(ImageVisualProperty.URL, new PropertyValue(imagePath));\n- return map;\n- }\n-\n- /// <summary>\n- /// The event will be triggered when zoomInButton clicked\n- /// </summary>\n- /// <param name=\"source\">zoomInButton.</param>\n- /// <param name=\"e\">event</param>\n- /// <returns>the consume flag</returns>\n- private bool ZoomInButtonClick(object source, EventArgs e)\n- {\n- svgScale /= 1.1f;\n- svgImage.Size2D = (new Vector2(200, 200)) * svgScale;\n- return true;\n- }\n-\n- /// <summary>\n- /// The event will be triggered when zoomOutButton clicked\n- /// </summary>\n- /// <param name=\"source\">zoomOutButton.</param>\n- /// <param name=\"e\">event</param>\n- /// <returns>the consume flag</returns>\n- private bool ZoomOutButtonClick(object source, EventArgs e)\n- {\n- if (svgScale < 25)\n- {\n- svgScale *= 1.1f;\n- svgImage.Size2D = (new Vector2(200, 200)) * svgScale;\n- }\n- return true;\n- }\n- }\n-}\n\\ No newline at end of file\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Delete SvgSample.cs
|
594,239 |
20.03.2018 15:24:48
| -28,800 |
d925d5b1318d3e61cca63dff256f2a675808318c
|
[ImageSample][TV]ImageSample - new sample application
|
[
{
"change_type": "MODIFY",
"old_path": "TV/ImageSample/README.md",
"new_path": "TV/ImageSample/README.md",
"diff": "# ImageSample\n-This sample demonstrates how to use show image in Tizen.NUI. NUI supports many kinds of format of image, such as \".png\", \".jpg\", \".9.png\", \".gif\", and \".svg\" files. And Mask, FittingMode and PixelArea feature are also supported in NUI ImageView.\n+This sample demonstrates how to show image in Tizen.NUI. NUI supports many kinds of format of image, such as \".png\", \".jpg\", \".9.png\", \".gif\", and \".svg\" files. And Mask, FittingMode and PixelArea feature are also supported in NUI ImageView.\n\n\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[ImageSample][TV]ImageSample - new sample application
|
594,239 |
20.03.2018 15:34:20
| -28,800 |
609622918a6f8c28b61d7f73ccebc6d72eb62d43
|
[ChannelList][TV]ChannelList - new sample application
|
[
{
"change_type": "MODIFY",
"old_path": "TV/ChannelList/README.md",
"new_path": "TV/ChannelList/README.md",
"diff": "# ChannelList\n-ChannelList is a sample which demonstrates the channel list on the TV.\n+ChannelList is a sample which demonstrate the channel list on the TV.\n\n\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[ChannelList][TV]ChannelList - new sample application
|
594,239 |
20.03.2018 16:01:37
| -28,800 |
dca307db54edb97846b1c51151d810794f114170
|
[TextSample][TV]TextSample - new sample application
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "TV/TextSample/README.md",
"diff": "+# TextSample\n+This sample demonstrates how to use TextLabel, TextField, and TextEditor in Tizen.NUI.\n+\n+\n+\n+## License\n+Copyright (c) 2017 Samsung Electronics Co., Ltd.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\");\n+you may not use this file except in compliance with the License.\n+You may obtain a copy of the License at\n+\n+http://www.apache.org/licenses/LICENSE-2.0\n+\n+Unless required by applicable law or agreed to in writing, software\n+distributed under the License is distributed on an \"AS IS\" BASIS,\n+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+See the License for the specific language governing permissions and\n+limitations under the License.\n+\n+### Verified Version\n+* Tizen.NET : 4.0.0\n+* Tizen.NET.SDK : 1.0.0\n+\n+\n+### Supported Profile\n+* TV\n+\n+### Author\n+* Feng Jin\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[TextSample][TV]TextSample - new sample application
|
594,239 |
20.03.2018 16:43:15
| -28,800 |
86445c288c866aabc0be82fc302ba8a175cc21c4
|
[VisualSample][TV]VisualSample - new sample application
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "TV/VisualSample/README.md",
"diff": "+# VisualSample\n+This sample demonstrates how to use Visual in Tizen.NUI.\n+\n+\n+\n+## License\n+Copyright (c) 2017 Samsung Electronics Co., Ltd.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\");\n+you may not use this file except in compliance with the License.\n+You may obtain a copy of the License at\n+\n+http://www.apache.org/licenses/LICENSE-2.0\n+\n+Unless required by applicable law or agreed to in writing, software\n+distributed under the License is distributed on an \"AS IS\" BASIS,\n+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+See the License for the specific language governing permissions and\n+limitations under the License.\n+\n+### Verified Version\n+* Tizen.NET : 4.0.0\n+* Tizen.NET.SDK : 1.0.0\n+\n+\n+### Supported Profile\n+* TV\n+\n+### Author\n+* Feng Jin\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[VisualSample][TV]VisualSample - new sample application
|
594,239 |
20.03.2018 17:22:30
| -28,800 |
e23033375ca00668cbfd3a5090b050b059b03f5b
|
[MediaHubSample][TV]MediaHubSample - new sample application
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "TV/MediaHubSample/README.md",
"diff": "+# MediaHubSample\n+MediaHubSample is a sample which demonstrates how to check the resourceson the target\n+\n+\n+\n+## License\n+Copyright (c) 2017 Samsung Electronics Co., Ltd.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\");\n+you may not use this file except in compliance with the License.\n+You may obtain a copy of the License at\n+\n+http://www.apache.org/licenses/LICENSE-2.0\n+\n+Unless required by applicable law or agreed to in writing, software\n+distributed under the License is distributed on an \"AS IS\" BASIS,\n+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+See the License for the specific language governing permissions and\n+limitations under the License.\n+\n+### Verified Version\n+* Tizen.NET : 4.0.0\n+* Tizen.NET.SDK : 1.0.0\n+\n+\n+### Supported Profile\n+* TV\n+\n+### Author\n+* Feng Jin\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[MediaHubSample][TV]MediaHubSample - new sample application
|
594,292 |
23.03.2018 17:07:26
| -32,400 |
2e27747096f253c6c22aaae6c647fe96bc595a79
|
[FeedbackApp][Mobile]Add new sample application
|
[
{
"change_type": "ADD",
"old_path": "Mobile/FeedbackApp/FeedbackApp.png",
"new_path": "Mobile/FeedbackApp/FeedbackApp.png",
"diff": "Binary files /dev/null and b/Mobile/FeedbackApp/FeedbackApp.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/FeedbackApp/FeedbackApp/FeedbackApp.Tizen.Mobile/FeedbackApp.Tizen.Mobile.cs",
"diff": "+using System;\n+\n+namespace FeedbackApp.Tizen.Mobile\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ /// <summary>\n+ /// This is called when the application is created\n+ /// </summary>\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ // Load the application\n+ LoadApplication(new App());\n+ }\n+\n+ /// <summary>\n+ /// The main entrance of the application\n+ /// </summary>\n+ /// <param name=\"args\">Arguments</param>\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Mobile/FeedbackApp/FeedbackApp/FeedbackApp.Tizen.Mobile/shared/res/FeedbackApp.Tizen.Mobile.png",
"new_path": "Mobile/FeedbackApp/FeedbackApp/FeedbackApp.Tizen.Mobile/shared/res/FeedbackApp.Tizen.Mobile.png",
"diff": "Binary files /dev/null and b/Mobile/FeedbackApp/FeedbackApp/FeedbackApp.Tizen.Mobile/shared/res/FeedbackApp.Tizen.Mobile.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/FeedbackApp/FeedbackApp/FeedbackApp/FeedbackApp.cs",
"diff": "+using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Text;\n+\n+using Xamarin.Forms;\n+\n+namespace FeedbackApp\n+{\n+ /// <summary>\n+ /// Application class\n+ /// Play Feedback pattern for specific type and show the result\n+ /// </summary>\n+ public class App : Application\n+ {\n+ /// <summary>\n+ /// Initializes a new instance of the app class\n+ /// </summary>\n+ public App()\n+ {\n+ this.MainPage = new NavigationPage(new MainPage());\n+ }\n+\n+ /// <summary>\n+ /// Handle when your app starts\n+ /// </summary>\n+ protected override void OnStart()\n+ {\n+ }\n+\n+ /// <summary>\n+ /// Handle when your app sleeps\n+ /// </summary>\n+ protected override void OnSleep()\n+ {\n+ }\n+\n+ /// <summary>\n+ /// Handle when your app resumes\n+ /// </summary>\n+ protected override void OnResume()\n+ {\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/FeedbackApp/README.md",
"diff": "+# FeedbackApp\n+FeedbackApp is the sample application that shows how you can play sound and vibration feedback\n+\n+\n+\n+\n+### Verified Version\n+* Xamarin.Forms : 2.4.0.18342\n+* Xamarin.Platform.Tizen : 2.4.0.18342\n+* Tizen.NET : 4.0.0\n+* Tizen.NET.SDK : 1.0.0\n+\n+\n+### Supported Profile\n+* Mobile\n+\n+### Author\n+* Pureum Jung\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[FeedbackApp][Mobile]Add new sample application
Signed-off-by: pr.jung <pr.jung@samsung.com>
|
594,246 |
17.05.2018 18:36:35
| -32,400 |
9213e05ba25ad0990efd7dbc3cc146744a389d97
|
[ApplicationStoreUI] modify application to not use Tizen.Xamarin.Forms.Extension
|
[
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI.Tizen.Mobile/ApplicationStoreUI.Tizen.Mobile.cs",
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI.Tizen.Mobile/ApplicationStoreUI.Tizen.Mobile.cs",
"diff": "* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n-using Tizen.Xamarin.Forms.Extension.Renderer;\nnamespace ApplicationStoreUI.Tizen.Mobile\n{\n@@ -37,8 +36,6 @@ namespace ApplicationStoreUI.Tizen.Mobile\nstatic void Main(string[] args)\n{\nvar app = new Program();\n- //Initialize Tizen Forms Extension. for using Extension APIs.\n- TizenFormsExtension.Init();\nglobal::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\napp.Run(args);\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI.Tizen.Mobile/ApplicationStoreUI.Tizen.Mobile.csproj",
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI.Tizen.Mobile/ApplicationStoreUI.Tizen.Mobile.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms.Platform.Tizen\" Version=\"2.4.0.18342\" />\n+ <PackageReference Include=\"Xamarin.Forms.Platform.Tizen\" Version=\"2.5.0.280555\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI.Tizen.Mobile/Effects/BlendColorEffect.cs",
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI.Tizen.Mobile/Effects/BlendColorEffect.cs",
"diff": "using System;\nusing System.ComponentModel;\n+using ApplicationStoreUI.Extensions;\nusing ApplicationStoreUI.Tizen.Mobile;\nusing Xamarin.Forms;\nusing Xamarin.Forms.Platform.Tizen;\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI.Tizen.Mobile/Renderers/LongTapGestureHandler.cs",
"diff": "+/*\n+ * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+using System;\n+using ElmSharp;\n+using ApplicationStoreUI.Extensions;\n+using ApplicationStoreUI.Tizen.Mobile.Renderers;\n+using Xamarin.Forms;\n+using Xamarin.Forms.Platform.Tizen;\n+\n+[assembly: ExportHandler(typeof(LongTapGestureRecognizer), typeof(LongTapGestureHandler))]\n+\n+namespace ApplicationStoreUI.Tizen.Mobile.Renderers\n+{\n+ public class LongTapGestureHandler : GestureHandler\n+ {\n+ public LongTapGestureHandler(IGestureRecognizer recognizer) : base(recognizer)\n+ {\n+ }\n+\n+ public override GestureLayer.GestureType Type\n+ {\n+ get\n+ {\n+ return GestureLayer.GestureType.LongTap;\n+ }\n+ }\n+\n+ public override double Timeout\n+ {\n+ get\n+ {\n+ return (Recognizer as LongTapGestureRecognizer).Timeout;\n+ }\n+ }\n+\n+ protected override void OnCanceled(View sender, object data)\n+ {\n+ (Recognizer as ILongTapGestureController).SendLongTapCanceled(sender, ((GestureLayer.TapData)data).Timestamp);\n+ }\n+\n+ protected override void OnCompleted(View sender, object data)\n+ {\n+ (Recognizer as ILongTapGestureController).SendLongTapCompleted(sender, ((GestureLayer.TapData)data).Timestamp);\n+ }\n+\n+ protected override void OnMoved(View sender, object data)\n+ {\n+ }\n+\n+ protected override void OnStarted(View sender, object data)\n+ {\n+ (Recognizer as ILongTapGestureController).SendLongTapStarted(sender, ((GestureLayer.TapData)data).Timestamp);\n+ }\n+ }\n+}\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI.csproj",
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI.csproj",
"diff": "<!-- Include Nuget Package for Xamarin building -->\n<ItemGroup>\n- <PackageReference Include=\"Tizen.Xamarin.Forms.Extension\" Version=\"2.4.0-v00014\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"2.4.0.18342\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.469394-pre1\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/Extensions/ImageAttributes.cs",
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/Extensions/ImageAttributes.cs",
"diff": "@@ -18,7 +18,7 @@ using System;\nusing System.Collections.Generic;\nusing Xamarin.Forms;\n-namespace ApplicationStoreUI\n+namespace ApplicationStoreUI.Extensions\n{\npublic static class ImageAttributes\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/Extensions/ImageButton.cs",
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/Extensions/ImageButton.cs",
"diff": "using Xamarin.Forms;\nusing Image = Xamarin.Forms.Image;\n-using Tizen.Xamarin.Forms.Extension;\nusing System;\nusing System.Diagnostics;\n-namespace ApplicationStoreUI\n+namespace ApplicationStoreUI.Extensions\n{\nclass ImageButton : RelativeLayout, IButtonController\n{\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/Extensions/LongTapGestureRecognizer.cs",
"diff": "+/*\n+ * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+using System;\n+using System.Windows.Input;\n+using Xamarin.Forms;\n+\n+namespace ApplicationStoreUI.Extensions\n+{\n+ /// <summary>\n+ /// A recognizer for the long-tap gesture.\n+ /// </summary>\n+ /// <example>\n+ /// <code>\n+ /// var image = new Image { Source = ImageSource.FromFile(\"picture.png\") };\n+ /// var longTapGesture = new LongTapGestureRecognizer\n+ /// {\n+ /// Timeout = 0.05\n+ /// };\n+ /// longTapGesture.LongTapUpdated += (sender, args) =>\n+ /// {\n+ /// Debug.WriteLine(\"LongTap updated : \" + args.Status);\n+ /// };\n+ /// image.GestureRecognizers.Add(longTapGesture);\n+ /// </code>\n+ /// </example>\n+ public class LongTapGestureRecognizer : Element, IGestureRecognizer, ILongTapGestureController\n+ {\n+ /// <summary>\n+ /// BindableProperty. Identifies the timeout bindable property.\n+ /// </summary>\n+ public static readonly BindableProperty TimeoutProperty = BindableProperty.Create(\"Timeout\", typeof(double), typeof(LongTapGestureRecognizer), default(double));\n+\n+ /// <summary>\n+ /// BindableProperty. Identifies the TapStartedCommand bindable property.\n+ /// </summary>\n+ public static readonly BindableProperty TapStartedCommandProperty = BindableProperty.Create(\"TapStartedCommand\", typeof(ICommand), typeof(LongTapGestureRecognizer), null);\n+\n+ /// <summary>\n+ /// BindableProperty. Identifies the TapCompletedCommand bindable property.\n+ /// </summary>\n+ public static readonly BindableProperty TapCompletedCommandProperty = BindableProperty.Create(\"TapCompletedCommand\", typeof(ICommand), typeof(LongTapGestureRecognizer), null);\n+\n+ /// <summary>\n+ /// BindableProperty. Identifies the TapStartedCommandParameter bindable property.\n+ /// </summary>\n+ public static readonly BindableProperty TapStartedCommandParameterProperty = BindableProperty.Create(\"TapStartedCommandParameter\", typeof(object), typeof(LongTapGestureRecognizer), null);\n+\n+ /// <summary>\n+ /// BindableProperty. Identifies the TapCompletedCommandParameter bindable property.\n+ /// </summary>\n+ public static readonly BindableProperty TapCompletedCommandParameterProperty = BindableProperty.Create(\"TapCompletedCommandParameter\", typeof(object), typeof(LongTapGestureRecognizer), null);\n+\n+ /// <summary>\n+ /// Event that is raised when the long-tap gesture updates.\n+ /// </summary>\n+ public event EventHandler<LongTapUpdatedEventArgs> LongTapUpdated;\n+\n+ /// <summary>\n+ /// Event that is raised when the user presses the view.\n+ /// </summary>\n+ public event EventHandler TapStarted;\n+\n+ /// <summary>\n+ /// Event that is raised when the user releases the view after pressing the view.\n+ /// </summary>\n+ public event EventHandler TapCompleted;\n+\n+ /// <summary>\n+ /// Event that is raised when the wrong gesture is detected after pressing the view.\n+ /// </summary>\n+ public event EventHandler TapCanceled;\n+\n+ /// <summary>\n+ /// Gets or sets the minimum time(seconds) the user should press the view for triggering a long-tap event.\n+ /// </summary>\n+ /// <remarks>\n+ /// The default value is defined in the system policy. In Tizen, the default value is 0.33 seconds.\n+ /// </remarks>\n+ public double Timeout\n+ {\n+ get { return (double)GetValue(TimeoutProperty); }\n+ set { SetValue(TimeoutProperty, value); }\n+ }\n+\n+ /// <summary>\n+ /// Gets or sets the command to invoke when the pressed event occurs.\n+ /// </summary>\n+ public ICommand TapStartedCommand\n+ {\n+ get { return (ICommand)GetValue(TapStartedCommandProperty); }\n+ set { SetValue(TapStartedCommandProperty, value); }\n+ }\n+\n+ /// <summary>\n+ /// Gests or sets an object to be passed when the PressedCommand is executed.\n+ /// </summary>\n+ public object TapStartedCommandParameter\n+ {\n+ get { return GetValue(TapStartedCommandParameterProperty); }\n+ set { SetValue(TapStartedCommandParameterProperty, value); }\n+ }\n+\n+ /// <summary>\n+ /// Gests or sets the command to invoke when the released event occurs.\n+ /// </summary>\n+ /// <remarks>\n+ /// </remarks>\n+ public ICommand TapCompletedCommand\n+ {\n+ get { return (ICommand)GetValue(TapCompletedCommandProperty); }\n+ set { SetValue(TapCompletedCommandProperty, value); }\n+ }\n+\n+ /// <summary>\n+ /// Gests or sets an object to be passed when the ReleasedCommand is executed.\n+ /// </summary>\n+ public object TapCompletedCommandParameter\n+ {\n+ get { return GetValue(TapCompletedCommandParameterProperty); }\n+ set { SetValue(TapCompletedCommandParameterProperty, value); }\n+ }\n+\n+ void ILongTapGestureController.SendLongTapStarted(Element sender, double timeStamp)\n+ {\n+ ICommand cmd = TapStartedCommand;\n+ if (cmd != null && cmd.CanExecute(TapStartedCommandParameter))\n+ cmd.Execute(TapStartedCommandParameter);\n+\n+ TapStarted?.Invoke(sender, EventArgs.Empty);\n+ LongTapUpdated?.Invoke(sender, new LongTapUpdatedEventArgs(GestureStatus.Started, timeStamp));\n+ }\n+\n+ void ILongTapGestureController.SendLongTapCompleted(Element sender, double timeStamp)\n+ {\n+ ICommand cmd = TapCompletedCommand;\n+ if (cmd != null && cmd.CanExecute(TapCompletedCommandParameter))\n+ cmd.Execute(TapCompletedCommandParameter);\n+\n+ TapCompleted?.Invoke(sender, EventArgs.Empty);\n+ LongTapUpdated?.Invoke(sender, new LongTapUpdatedEventArgs(GestureStatus.Completed, timeStamp));\n+ }\n+\n+ void ILongTapGestureController.SendLongTapCanceled(Element sender, double timeStamp)\n+ {\n+ TapCanceled?.Invoke(sender, EventArgs.Empty);\n+ LongTapUpdated?.Invoke(sender, new LongTapUpdatedEventArgs(GestureStatus.Canceled, timeStamp));\n+ }\n+ }\n+}\n\\ No newline at end of file\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/Extensions/LongTapUpdatedEventArgs.cs",
"diff": "+/*\n+ * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+using System;\n+using Xamarin.Forms;\n+\n+namespace ApplicationStoreUI.Extensions\n+{\n+ /// <summary>\n+ /// Arguments for the LongTapUpdated event.\n+ /// </summary>\n+ public class LongTapUpdatedEventArgs : EventArgs\n+ {\n+ public LongTapUpdatedEventArgs(GestureStatus status, double timestamp)\n+ {\n+ Status = status;\n+ TimeStamp = timestamp;\n+ }\n+\n+ /// <summary>\n+ /// Gets the timestamp(millisecond).\n+ /// </summary>\n+ public double TimeStamp { get; }\n+\n+ /// <summary>\n+ /// Gets the status that indicates whether the gesture started earlier has finished or got canceled.\n+ /// </summary>\n+ public GestureStatus Status { get; }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/ILongTapGestureController.cs",
"diff": "+/*\n+ * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+using Xamarin.Forms;\n+\n+namespace ApplicationStoreUI\n+{\n+ /// <summary>\n+ /// This interface is for internal use by the platform renderer.\n+ /// </summary>\n+ public interface ILongTapGestureController\n+ {\n+ /// <summary>\n+ /// For internal use by platform renderes.\n+ /// </summary>\n+ /// <param name=\"sender\">The Element that raised the event.</param>\n+ /// <param name=\"timeStamp\">The timestamp when longtap started.</param>\n+ void SendLongTapStarted(Element sender, double timeStamp);\n+\n+ /// <summary>\n+ /// For internal use by platform renderes.\n+ /// </summary>?\n+ /// <param name=\"sender\">The Element that raised the event.</param>\n+ /// <param name=\"timeStamp\">The timestamp when longtap ended.</param>\n+ void SendLongTapCompleted(Element sender, double timeStamp);\n+\n+ /// <summary>\n+ /// For internal use by platform renderes.\n+ /// </summary>\n+ /// <param name=\"sender\">The Element that raised the event.</param>\n+ /// <param name=\"timeStamp\">The timestamp when longtap canceled.</param>\n+ void SendLongTapCanceled(Element sender, double timeStamp);\n+ }\n+}\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/MainView.cs",
"new_path": "Mobile/UI/ApplicationStoreUI/ApplicationStoreUI/ApplicationStoreUI/MainView.cs",
"diff": "* limitations under the License.\n*/\n+using ApplicationStoreUI.Extensions;\nusing Xamarin.Forms;\n/// <summary>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[ApplicationStoreUI] modify application to not use Tizen.Xamarin.Forms.Extension
|
594,246 |
18.05.2018 15:17:53
| -32,400 |
a7a2ee108584d7d9650a1d857f4d1f7dd6d4fdec
|
[ApplicationStoreUI] Update description for 'Verified Version'
|
[
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/ApplicationStoreUI/README.md",
"new_path": "Mobile/UI/ApplicationStoreUI/README.md",
"diff": "@@ -11,9 +11,8 @@ This Application Store UI sample application demonstrates how to make a complex\n</table>\n### Verified Version\n-* Xamarin.Forms : 2.4.0.18342\n-* Xamarin.Platform.Tizen : 2.4.0.18342\n-* Tizen.Xamarin.Forms.Extension : 2.4.0-v00014\n+* Xamarin.Forms : 3.1.0.469394-pre1\n+* Xamarin.Platform.Tizen : 2.5.0.280555\n* Tizen.NET : 4.0.0\n* Tizen.NET.SDK : 1.0.0\n@@ -22,4 +21,4 @@ This Application Store UI sample application demonstrates how to make a complex\n* Mobile\n### Author\n-* Jeong-Kyun Pu\n+* Jeong-Kyun Pu, Hyunjin Park\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[ApplicationStoreUI] Update description for 'Verified Version'
|
594,239 |
19.06.2018 10:06:19
| -28,800 |
307b3489b6f571d2de945421261f5e04de590766
|
[TV][FirstScreen] New sample application.
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "TV/FirstScreen/README.md",
"diff": "+# FirstScreen\n+FirstScreen is a sample application that demonstrates how to launcher the apps on the TV.\n+\n+\n+\n+\n+## License\n+Copyright (c) 2017 Samsung Electronics Co., Ltd.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\");\n+you may not use this file except in compliance with the License.\n+You may obtain a copy of the License at\n+\n+http://www.apache.org/licenses/LICENSE-2.0\n+\n+Unless required by applicable law or agreed to in writing, software\n+distributed under the License is distributed on an \"AS IS\" BASIS,\n+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+See the License for the specific language governing permissions and\n+limitations under the License.\n+\n+### Verified Version\n+* Tizen.NET : 4.0.0\n+* Tizen.NET.SDK : 1.0.0\n+\n+\n+### Supported Profile\n+* TV\n+\n+### Author\n+* Feng Jin\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[TV][FirstScreen] New sample application.
|
594,292 |
22.06.2018 16:11:19
| -32,400 |
29e044e55374117f99d89dc8f258b1953780f20e
|
[FeedbackApp][Mobile][Remove SecondPage]
|
[
{
"change_type": "MODIFY",
"old_path": "Mobile/FeedbackApp/FeedbackApp/FeedbackApp.Tizen.Mobile/FeedbackApp.Tizen.Mobile.csproj",
"new_path": "Mobile/FeedbackApp/FeedbackApp/FeedbackApp.Tizen.Mobile/FeedbackApp.Tizen.Mobile.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms.Platform.Tizen\" Version=\"2.4.0.18342\" />\n+ <PackageReference Include=\"Xamarin.Forms.Platform.Tizen\" Version=\"2.5.0.77107\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/FeedbackApp/FeedbackApp/FeedbackApp/FeedbackApp.csproj",
"new_path": "Mobile/FeedbackApp/FeedbackApp/FeedbackApp/FeedbackApp.csproj",
"diff": "<!-- Include Nuget Package for Xamarin building -->\n<ItemGroup>\n<PackageReference Include=\"Tizen.NET\" Version=\"4.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"2.4.0.18342\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"2.5.0.77107\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/FeedbackApp/FeedbackApp/FeedbackApp/MainPage.cs",
"new_path": "Mobile/FeedbackApp/FeedbackApp/FeedbackApp/MainPage.cs",
"diff": "@@ -5,6 +5,9 @@ using System.Text;\nusing Xamarin.Forms;\nusing System.Threading.Tasks;\n+using Tizen;\n+using Tizen.System;\n+\nnamespace FeedbackApp\n{\n/// <summary>\n@@ -20,8 +23,35 @@ namespace FeedbackApp\n/// <param name=\"a\">Event argument</param>\nprivate async void Pattern_ItemTappedAsync(object sender, ItemTappedEventArgs a)\n{\n- // Create SecondPage with user selected pattern\n- await this.Navigation.PushAsync(new SecondPage(a.Item.ToString()));\n+ bool support, sound_spt, vib_spt;\n+ string pattern = a.Item.ToString();\n+ Feedback feedback = new Feedback();\n+\n+ try\n+ {\n+ // Check whether user selected pattern is supported\n+ sound_spt = feedback.IsSupportedPattern(FeedbackType.Sound, pattern);\n+ vib_spt = feedback.IsSupportedPattern(FeedbackType.Vibration, pattern);\n+ if (!sound_spt && !vib_spt)\n+ support = false;\n+ else\n+ support = true;\n+ // If pattern is supported, play feedback\n+ if (support)\n+ feedback.Play(FeedbackType.All, pattern);\n+\n+ // Create ResultPage with pattern and supported information\n+ // If pattern is not supported, there is no feedback\n+ await this.Navigation.PushAsync(new ResultPage(pattern, support));\n+ }\n+ catch (Exception e)\n+ {\n+ Log.Debug(\"FeedbackApp\", e.Message);\n+ // Create ResultPage with pattern\n+ // When there is exception, feedback play is failed\n+ await this.Navigation.PushAsync(new ResultPage(pattern, false));\n+ }\n+\n}\n/// <summary>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[FeedbackApp][Mobile][Remove SecondPage]
Signed-off-by: pr.jung <pr.jung@samsung.com>
|
594,249 |
07.08.2018 15:21:37
| -32,400 |
9511e38323019dd29c3dc36bee81616c9bcf336a
|
ImageReader sample app for wearable
|
[
{
"change_type": "ADD",
"old_path": "Wearable/ImageReader/ImageReader/2.png",
"new_path": "Wearable/ImageReader/ImageReader/2.png",
"diff": "Binary files /dev/null and b/Wearable/ImageReader/ImageReader/2.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/ImageReader/ImageReader/ImageReader.cs",
"diff": "+namespace ImageReader\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/ImageReader/ImageReader/Settings.StyleCop",
"diff": "+<StyleCopSettings Version=\"105\">\n+ <GlobalSettings>\n+ <StringProperty Name=\"MergeSettingsFiles\">NoMerge</StringProperty>\n+ </GlobalSettings>\n+ <Parsers>\n+ <Parser ParserId=\"StyleCop.CSharp.CsParser\">\n+ <ParserSettings>\n+ <BooleanProperty Name=\"AnalyzeGeneratedFiles\">True</BooleanProperty>\n+ </ParserSettings>\n+ </Parser>\n+ </Parsers>\n+ <Analyzers>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.DocumentationRules\">\n+ <Rules>\n+ <Rule Name=\"ElementsMustBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"EnumerationItemsMustBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationMustContainValidXml\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustHaveSummary\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PartialElementDocumentationMustHaveSummary\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustHaveSummaryText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustNotHaveDefaultSummary\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"VoidReturnValueMustNotBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParametersMustBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParametersMustBeDocumentedPartialClass\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParameterDocumentationMustMatchTypeParameters\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParameterDocumentationMustDeclareParameterName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParameterDocumentationMustHaveText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PropertySummaryDocumentationMustMatchAccessors\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PropertySummaryDocumentationMustOmitSetAccessorWithRestrictedAccess\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustNotBeCopiedAndPasted\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentsMustNotUseDocumentationStyleSlashes\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationTextMustNotBeEmpty\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationTextMustContainWhitespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationMustMeetCharacterPercentage\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConstructorSummaryDocumentationMustBeginWithStandardText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DestructorSummaryDocumentationMustBeginWithStandardText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationHeadersMustNotContainBlankLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"IncludedDocumentationXPathDoesNotExist\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"IncludeNodeDoesNotContainValidFileAndPath\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"InheritDocMustBeUsedWithInheritingClass\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustBeSpelledCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileMustHaveHeader\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustShowCopyright\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustHaveCopyrightText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustContainFileName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderFileNameDocumentationMustMatchFileName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustHaveValidCompanyText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderFileNameDocumentationMustMatchTypeName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.LayoutRules\">\n+ <Rules>\n+ <Rule Name=\"AllAccessorsMustBeMultiLineOrSingleLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningCurlyBracketsMustNotBeFollowedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationHeadersMustNotBeFollowedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainMultipleBlankLinesInARow\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingCurlyBracketsMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningCurlyBracketsMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ChainedStatementBlocksMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"WhileDoFooterMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentsMustNotBeFollowedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationHeaderMustBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentMustBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementsMustBeSeparatedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainBlankLinesAtStartOfFile\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainBlankLinesAtEndOfFile\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.MaintainabilityRules\">\n+ <Rules>\n+ <Rule Name=\"AccessModifierMustBeDeclared\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldsMustBePrivate\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeAnalysisSuppressionMustHaveJustification\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DebugAssertMustProvideMessageText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DebugFailMustProvideMessageText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileMayOnlyContainASingleClass\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileMayOnlyContainASingleNamespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StatementMustNotUseUnnecessaryParenthesis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ArithmeticExpressionsMustDeclarePrecedence\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConditionalExpressionsMustDeclarePrecedence\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"RemoveDelegateParenthesisWhenPossible\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"AttributeConstructorMustNotUseUnnecessaryParenthesis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"RemoveUnnecessaryCode\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.NamingRules\">\n+ <Rules>\n+ <Rule Name=\"ElementMustBeginWithLowerCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConstFieldNamesMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"NonPrivateReadonlyFieldsMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustNotUseHungarianNotation\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustBeginWithLowerCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"AccessibleFieldsMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"VariableNamesMustNotBePrefixed\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustNotBeginWithUnderscore\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustNotContainUnderscore\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StaticReadonlyFieldsMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.OrderingRules\">\n+ <Rules>\n+ <Rule Name=\"UsingDirectivesMustBePlacedWithinNamespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementsMustAppearInTheCorrectOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementsMustBeOrderedByAccess\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConstantsMustAppearBeforeFields\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StaticElementsMustAppearBeforeInstanceElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DeclarationKeywordsMustFollowOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ProtectedMustComeBeforeInternal\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PropertyAccessorsMustFollowOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"EventAccessorsMustFollowOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StaticReadonlyElementsMustAppearBeforeStaticNonReadonlyElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"InstanceReadonlyElementsMustAppearBeforeInstanceNonReadonlyElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SystemUsingDirectivesMustBePlacedBeforeOtherUsingDirectives\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingAliasDirectivesMustBePlacedAfterOtherUsingDirectives\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingDirectivesMustBeOrderedAlphabeticallyByNamespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingAliasDirectivesMustBeOrderedAlphabeticallyByAliasName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingStaticDirectivesMustBePlacedAtTheCorrectLocation\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.ReadabilityRules\">\n+ <Rules>\n+ <Rule Name=\"CommentsMustContainText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DoNotPrefixCallsWithBaseUnlessLocalImplementationExists\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PrefixLocalCallsWithThis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PrefixCallsCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningParenthesisMustBeOnDeclarationLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingParenthesisMustBeOnLineOfLastParameter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingParenthesisMustBeOnLineOfOpeningParenthesis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CommaMustBeOnSameLineAsPreviousParameter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParameterListMustFollowDeclaration\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParameterMustFollowComma\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SplitParametersMustStartOnLineAfterDeclaration\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParametersMustBeOnSameLineOrSeparateLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParameterMustNotSpanMultipleLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClauseMustFollowPreviousClause\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClausesMustBeOnSeparateLinesOrAllOnOneLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClauseMustBeginOnNewLineWhenPreviousClauseSpansMultipleLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClausesSpanningMultipleLinesMustBeginOnOwnLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DoNotPlaceRegionsWithinElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainEmptyStatements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainMultipleStatementsOnOneLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"BlockStatementsMustNotContainEmbeddedComments\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"BlockStatementsMustNotContainEmbeddedRegions\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseReadableConditions\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseStringEmptyForEmptyStrings\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseBuiltInTypeAlias\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseShorthandForNullableTypes\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.SpacingRules\">\n+ <Rules>\n+ <Rule Name=\"CommasMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SemicolonsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationLinesMustBeginWithSingleSpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentsMustBeginWithSingleSpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PreprocessorKeywordsMustNotBePrecededBySpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OperatorKeywordMustBeFollowedBySpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningCurlyBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingCurlyBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningGenericBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingGenericBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningAttributeBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingAttributeBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"NullableTypeSymbolsMustNotBePrecededBySpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"MemberAccessSymbolsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"IncrementDecrementSymbolsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"NegativeSignsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PositiveSignsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DereferenceAndAccessOfSymbolsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ColonsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainMultipleWhitespaceInARow\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"TabsMustNotBeUsed\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DoNotSplitNullConditionalOperators\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ </Analyzers>\n+</StyleCopSettings>\n\\ No newline at end of file\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/ImageReader/ImageReader/res/1.png",
"new_path": "Wearable/ImageReader/ImageReader/res/1.png",
"diff": "Binary files /dev/null and b/Wearable/ImageReader/ImageReader/res/1.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/ImageReader/ImageReader/shared/res/ImageReader.png",
"new_path": "Wearable/ImageReader/ImageReader/shared/res/ImageReader.png",
"diff": "Binary files /dev/null and b/Wearable/ImageReader/ImageReader/shared/res/ImageReader.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/ImageReader/README.md",
"diff": "+# ImageReader #\n+\n+The ImageReader application demonstrates how to use image in Tizen .Net application.\n+\n+## Getting Started\n+\n+This app is based on xamarin sample app(https://developer.xamarin.com/samples/xamarin-forms/WorkingWithImages/)\n+and is modified according to Tizen Wearable UI.\n+\n+You can get details from https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/images\n+\n+\n+\n+### Prerequisites\n+Network connection is required for DownloadImage.\n+\n+To use network connection in application, the following privileges are necessary:\n+* http://tizen.org/privilege/internet\n+* http://tizen.org/privilege/network.get\n+\n+## Running the tests\n+\n+* Open Visual Studio\n+* File > Open > Project/Solution > ImageReader.sln\n+* Visual Studio > Build > Rebuild Solution\n+* Visual Studio > Debug > Start Without Debugging\n+\n+### And coding style tests\n+\n+* Visual Studio > Tools > Run StyleCop\n+\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/ImageReader/Snapshot.png",
"new_path": "Wearable/ImageReader/Snapshot.png",
"diff": "Binary files /dev/null and b/Wearable/ImageReader/Snapshot.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
ImageReader sample app for wearable
|
594,223 |
08.08.2018 11:30:30
| -32,400 |
e8736dcf57fdcb0092df8bad4759c55937d88200
|
[Mobile][ApplicationControl]Fix truncated label text issue(TNEXT-16269)
|
[
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/ApplicationControl/ApplicationControl/ApplicationControl/ApplicationLayoutItem.cs",
"new_path": "Mobile/UI/ApplicationControl/ApplicationControl/ApplicationControl/ApplicationLayoutItem.cs",
"diff": "@@ -131,7 +131,7 @@ namespace ApplicationControl\n{\nVerticalOptions = LayoutOptions.CenterAndExpand,\nFontSize = 18,\n- LineBreakMode = LineBreakMode.WordWrap,\n+ LineBreakMode = LineBreakMode.CharacterWrap,\n};\n_caption.Text = _data.Id;\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Mobile][ApplicationControl]Fix truncated label text issue(TNEXT-16269)
|
594,223 |
09.08.2018 17:54:20
| -32,400 |
303d784dae28d0bd70fa87c68008046d0710d521
|
[Mobile][AppCommon]Fix truncated text issue
|
[
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/AppCommon/AppCommon/AppCommon/ApplicationInformationPage.ui.cs",
"new_path": "Mobile/UI/AppCommon/AppCommon/AppCommon/ApplicationInformationPage.ui.cs",
"diff": "@@ -130,7 +130,7 @@ namespace AppCommon\n}),\nConstraint.RelativeToParent((parent) =>\n{\n- return parent.Height * 0.0319;\n+ return parent.Height * 0.0519;\n}));\n/// To display an application version\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/AppCommon/AppCommon/AppCommon/Cells/PathItemCell.cs",
"new_path": "Mobile/UI/AppCommon/AppCommon/AppCommon/Cells/PathItemCell.cs",
"diff": "@@ -76,8 +76,9 @@ namespace AppCommon.Cells\nText = \"Path\",\nHorizontalOptions = LayoutOptions.StartAndExpand,\nVerticalOptions = LayoutOptions.StartAndExpand,\n- FontSize = 25 * 72 * 2.6 / 316,\n+ FontSize = 26 * 72 * 2.6 / 316,\nTextColor = Color.FromRgb(146, 146, 146),\n+ LineBreakMode = LineBreakMode.CharacterWrap\n};\npathLabel.SetBinding(Label.TextProperty, \"Path\");\n@@ -99,6 +100,10 @@ namespace AppCommon.Cells\nConstraint.RelativeToParent((parent) =>\n{\nreturn parent.Height * 0.5198;\n+ }),\n+ Constraint.RelativeToParent((parent) =>\n+ {\n+ return parent.Width * ( 1 - 2 * 0.0431);\n}));\nvar gestureRecognizer = new LongTapGestureRecognizer();\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/AppCommon/AppCommon/AppCommon/Styles/ApplicationInformationStyle.cs",
"new_path": "Mobile/UI/AppCommon/AppCommon/AppCommon/Styles/ApplicationInformationStyle.cs",
"diff": "@@ -13,7 +13,8 @@ namespace AppCommon.Styles\n{\nnew Setter { Property = Label.FontSizeProperty, Value = 25 * 72 * 2.6 / 316 },\nnew Setter { Property = Label.TextColorProperty, Value = Color.FromRgb(146, 146, 146) },\n- new Setter { Property = Label.HorizontalOptionsProperty, Value = LayoutOptions.StartAndExpand },\n+ new Setter { Property = Label.TextColorProperty, Value = Color.FromRgb(146, 146, 146) },\n+ new Setter { Property = Label.LineBreakModeProperty , Value = LineBreakMode.CharacterWrap },\nnew Setter { Property = Label.VerticalOptionsProperty, Value = LayoutOptions.StartAndExpand },\n}\n};\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Mobile][AppCommon]Fix truncated text issue
|
594,257 |
21.08.2018 08:03:00
| -32,400 |
d6a95c6a99b8e529b06bb2da64e47bf6079d39a3
|
[Wearable][AppControl] Add an app control sample for wearable device
|
[
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -321,3 +321,6 @@ ASALocalRun/\n# MSBuild Binary and Structured Log\n*.binlog\n+# Stylecop files\n+Settings.StyleCop\n+StyleCop.Cache\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/AppControl/AppControl/AppControl.cs",
"diff": "+using System;\n+\n+namespace AppControl\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ /// <summary>\n+ /// The entry point for the application.\n+ /// </summary>\n+ /// <param name=\"args\"> A list of command line arguments.</param>\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/AppControl/AppControl/shared/res/AppControl.png",
"new_path": "Wearable/AppControl/AppControl/shared/res/AppControl.png",
"diff": "Binary files /dev/null and b/Wearable/AppControl/AppControl/shared/res/AppControl.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][AppControl] Add an app control sample for wearable device
|
594,257 |
21.08.2018 14:57:53
| -32,400 |
8a70422ba6e213b1e9cbaa26dc5e58fe8dd24da8
|
[Wearable][AppInformation] Add a sample of AppInformation and DirectoryInfo for wearable device
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/AppInformation/AppInformation/AppInformation.cs",
"diff": "+//Copyright 2018 Samsung Electronics Co., Ltd\n+//\n+//Licensed under the Apache License, Version 2.0 (the \"License\");\n+//you may not use this file except in compliance with the License.\n+//You may obtain a copy of the License at\n+//\n+// http://www.apache.org/licenses/LICENSE-2.0\n+//\n+//Unless required by applicable law or agreed to in writing, software\n+//distributed under the License is distributed on an \"AS IS\" BASIS,\n+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+//See the License for the specific language governing permissions and\n+//limitations under the License.\n+\n+using System;\n+\n+namespace AppInformation\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/AppInformation/AppInformation/shared/res/AppInformation.png",
"new_path": "Wearable/AppInformation/AppInformation/shared/res/AppInformation.png",
"diff": "Binary files /dev/null and b/Wearable/AppInformation/AppInformation/shared/res/AppInformation.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][AppInformation] Add a sample of AppInformation and DirectoryInfo for wearable device
|
594,257 |
21.08.2018 16:32:45
| -32,400 |
8dc8b56266b2ae018e7794684ad7e647fcf3fa5d
|
[Wearable][SQLite.NET.Sample] Add a sample of SQLite.NET for wearable device
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/SQLite.NET.Sample/SQLite.NET.Sample/SQLite.NET.Sample.cs",
"diff": "+//Copyright 2018 Samsung Electronics Co., Ltd\n+//\n+//Licensed under the Apache License, Version 2.0 (the \"License\");\n+//you may not use this file except in compliance with the License.\n+//You may obtain a copy of the License at\n+//\n+// http://www.apache.org/licenses/LICENSE-2.0\n+//\n+//Unless required by applicable law or agreed to in writing, software\n+//distributed under the License is distributed on an \"AS IS\" BASIS,\n+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+//See the License for the specific language governing permissions and\n+//limitations under the License.\n+\n+using System;\n+\n+namespace SQLite.NET.Sample\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/SQLite.NET.Sample/SQLite.NET.Sample/shared/res/SQLite.NET.Sample.png",
"new_path": "Wearable/SQLite.NET.Sample/SQLite.NET.Sample/shared/res/SQLite.NET.Sample.png",
"diff": "Binary files /dev/null and b/Wearable/SQLite.NET.Sample/SQLite.NET.Sample/shared/res/SQLite.NET.Sample.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][SQLite.NET.Sample] Add a sample of SQLite.NET for wearable device
|
594,221 |
02.08.2018 13:59:01
| -7,200 |
9aa219890ff6f686aef748e3eff476f5ca8b7631
|
[Wearable][FeedbackApp] New sample application
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/FeedbackApp/LICENSE",
"diff": "+ Apache License\n+ Version 2.0, January 2004\n+ http://www.apache.org/licenses/\n+\n+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n+\n+ 1. Definitions.\n+\n+ \"License\" shall mean the terms and conditions for use, reproduction,\n+ and distribution as defined by Sections 1 through 9 of this document.\n+\n+ \"Licensor\" shall mean the copyright owner or entity authorized by\n+ the copyright owner that is granting the License.\n+\n+ \"Legal Entity\" shall mean the union of the acting entity and all\n+ other entities that control, are controlled by, or are under common\n+ control with that entity. For the purposes of this definition,\n+ \"control\" means (i) the power, direct or indirect, to cause the\n+ direction or management of such entity, whether by contract or\n+ otherwise, or (ii) ownership of fifty percent (50%) or more of the\n+ outstanding shares, or (iii) beneficial ownership of such entity.\n+\n+ \"You\" (or \"Your\") shall mean an individual or Legal Entity\n+ exercising permissions granted by this License.\n+\n+ \"Source\" form shall mean the preferred form for making modifications,\n+ including but not limited to software source code, documentation\n+ source, and configuration files.\n+\n+ \"Object\" form shall mean any form resulting from mechanical\n+ transformation or translation of a Source form, including but\n+ not limited to compiled object code, generated documentation,\n+ and conversions to other media types.\n+\n+ \"Work\" shall mean the work of authorship, whether in Source or\n+ Object form, made available under the License, as indicated by a\n+ copyright notice that is included in or attached to the work\n+ (an example is provided in the Appendix below).\n+\n+ \"Derivative Works\" shall mean any work, whether in Source or Object\n+ form, that is based on (or derived from) the Work and for which the\n+ editorial revisions, annotations, elaborations, or other modifications\n+ represent, as a whole, an original work of authorship. For the purposes\n+ of this License, Derivative Works shall not include works that remain\n+ separable from, or merely link (or bind by name) to the interfaces of,\n+ the Work and Derivative Works thereof.\n+\n+ \"Contribution\" shall mean any work of authorship, including\n+ the original version of the Work and any modifications or additions\n+ to that Work or Derivative Works thereof, that is intentionally\n+ submitted to Licensor for inclusion in the Work by the copyright owner\n+ or by an individual or Legal Entity authorized to submit on behalf of\n+ the copyright owner. For the purposes of this definition, \"submitted\"\n+ means any form of electronic, verbal, or written communication sent\n+ to the Licensor or its representatives, including but not limited to\n+ communication on electronic mailing lists, source code control systems,\n+ and issue tracking systems that are managed by, or on behalf of, the\n+ Licensor for the purpose of discussing and improving the Work, but\n+ excluding communication that is conspicuously marked or otherwise\n+ designated in writing by the copyright owner as \"Not a Contribution.\"\n+\n+ \"Contributor\" shall mean Licensor and any individual or Legal Entity\n+ on behalf of whom a Contribution has been received by Licensor and\n+ subsequently incorporated within the Work.\n+\n+ 2. Grant of Copyright License. Subject to the terms and conditions of\n+ this License, each Contributor hereby grants to You a perpetual,\n+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n+ copyright license to reproduce, prepare Derivative Works of,\n+ publicly display, publicly perform, sublicense, and distribute the\n+ Work and such Derivative Works in Source or Object form.\n+\n+ 3. Grant of Patent License. Subject to the terms and conditions of\n+ this License, each Contributor hereby grants to You a perpetual,\n+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n+ (except as stated in this section) patent license to make, have made,\n+ use, offer to sell, sell, import, and otherwise transfer the Work,\n+ where such license applies only to those patent claims licensable\n+ by such Contributor that are necessarily infringed by their\n+ Contribution(s) alone or by combination of their Contribution(s)\n+ with the Work to which such Contribution(s) was submitted. If You\n+ institute patent litigation against any entity (including a\n+ cross-claim or counterclaim in a lawsuit) alleging that the Work\n+ or a Contribution incorporated within the Work constitutes direct\n+ or contributory patent infringement, then any patent licenses\n+ granted to You under this License for that Work shall terminate\n+ as of the date such litigation is filed.\n+\n+ 4. Redistribution. You may reproduce and distribute copies of the\n+ Work or Derivative Works thereof in any medium, with or without\n+ modifications, and in Source or Object form, provided that You\n+ meet the following conditions:\n+\n+ (a) You must give any other recipients of the Work or\n+ Derivative Works a copy of this License; and\n+\n+ (b) You must cause any modified files to carry prominent notices\n+ stating that You changed the files; and\n+\n+ (c) You must retain, in the Source form of any Derivative Works\n+ that You distribute, all copyright, patent, trademark, and\n+ attribution notices from the Source form of the Work,\n+ excluding those notices that do not pertain to any part of\n+ the Derivative Works; and\n+\n+ (d) If the Work includes a \"NOTICE\" text file as part of its\n+ distribution, then any Derivative Works that You distribute must\n+ include a readable copy of the attribution notices contained\n+ within such NOTICE file, excluding those notices that do not\n+ pertain to any part of the Derivative Works, in at least one\n+ of the following places: within a NOTICE text file distributed\n+ as part of the Derivative Works; within the Source form or\n+ documentation, if provided along with the Derivative Works; or,\n+ within a display generated by the Derivative Works, if and\n+ wherever such third-party notices normally appear. The contents\n+ of the NOTICE file are for informational purposes only and\n+ do not modify the License. You may add Your own attribution\n+ notices within Derivative Works that You distribute, alongside\n+ or as an addendum to the NOTICE text from the Work, provided\n+ that such additional attribution notices cannot be construed\n+ as modifying the License.\n+\n+ You may add Your own copyright statement to Your modifications and\n+ may provide additional or different license terms and conditions\n+ for use, reproduction, or distribution of Your modifications, or\n+ for any such Derivative Works as a whole, provided Your use,\n+ reproduction, and distribution of the Work otherwise complies with\n+ the conditions stated in this License.\n+\n+ 5. Submission of Contributions. Unless You explicitly state otherwise,\n+ any Contribution intentionally submitted for inclusion in the Work\n+ by You to the Licensor shall be under the terms and conditions of\n+ this License, without any additional terms or conditions.\n+ Notwithstanding the above, nothing herein shall supersede or modify\n+ the terms of any separate license agreement you may have executed\n+ with Licensor regarding such Contributions.\n+\n+ 6. Trademarks. This License does not grant permission to use the trade\n+ names, trademarks, service marks, or product names of the Licensor,\n+ except as required for reasonable and customary use in describing the\n+ origin of the Work and reproducing the content of the NOTICE file.\n+\n+ 7. Disclaimer of Warranty. Unless required by applicable law or\n+ agreed to in writing, Licensor provides the Work (and each\n+ Contributor provides its Contributions) on an \"AS IS\" BASIS,\n+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n+ implied, including, without limitation, any warranties or conditions\n+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n+ PARTICULAR PURPOSE. You are solely responsible for determining the\n+ appropriateness of using or redistributing the Work and assume any\n+ risks associated with Your exercise of permissions under this License.\n+\n+ 8. Limitation of Liability. In no event and under no legal theory,\n+ whether in tort (including negligence), contract, or otherwise,\n+ unless required by applicable law (such as deliberate and grossly\n+ negligent acts) or agreed to in writing, shall any Contributor be\n+ liable to You for damages, including any direct, indirect, special,\n+ incidental, or consequential damages of any character arising as a\n+ result of this License or out of the use or inability to use the\n+ Work (including but not limited to damages for loss of goodwill,\n+ work stoppage, computer failure or malfunction, or any and all\n+ other commercial damages or losses), even if such Contributor\n+ has been advised of the possibility of such damages.\n+\n+ 9. Accepting Warranty or Additional Liability. While redistributing\n+ the Work or Derivative Works thereof, You may choose to offer,\n+ and charge a fee for, acceptance of support, warranty, indemnity,\n+ or other liability obligations and/or rights consistent with this\n+ License. However, in accepting such obligations, You may act only\n+ on Your own behalf and on Your sole responsibility, not on behalf\n+ of any other Contributor, and only if You agree to indemnify,\n+ defend, and hold each Contributor harmless for any liability\n+ incurred by, or claims asserted against, such Contributor by reason\n+ of your accepting any such warranty or additional liability.\n+\n+ END OF TERMS AND CONDITIONS\n+\n+ APPENDIX: How to apply the Apache License to your work.\n+\n+ To apply the Apache License to your work, attach the following\n+ boilerplate notice, with the fields enclosed by brackets \"{}\"\n+ replaced with your own identifying information. (Don't include\n+ the brackets!) The text should be enclosed in the appropriate\n+ comment syntax for the file format. We also recommend that a\n+ file or class name and description of purpose be included on the\n+ same \"printed page\" as the copyright notice for easier\n+ identification within third-party archives.\n+\n+ Copyright {yyyy} {name of copyright owner}\n+\n+ Licensed under the Apache License, Version 2.0 (the \"License\");\n+ you may not use this file except in compliance with the License.\n+ You may obtain a copy of the License at\n+\n+ http://www.apache.org/licenses/LICENSE-2.0\n+\n+ Unless required by applicable law or agreed to in writing, software\n+ distributed under the License is distributed on an \"AS IS\" BASIS,\n+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ See the License for the specific language governing permissions and\n+ limitations under the License.\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/FeedbackApp/Screenshots/FeedbackApp.png",
"new_path": "Wearable/FeedbackApp/Screenshots/FeedbackApp.png",
"diff": "Binary files /dev/null and b/Wearable/FeedbackApp/Screenshots/FeedbackApp.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/FeedbackApp/src/FeedbackApp/FeedbackApp.cs",
"diff": "+\n+//Copyright 2018 Samsung Electronics Co., Ltd\n+//\n+//Licensed under the Apache License, Version 2.0 (the \"License\");\n+//you may not use this file except in compliance with the License.\n+//You may obtain a copy of the License at\n+//\n+// http://www.apache.org/licenses/LICENSE-2.0\n+//\n+//Unless required by applicable law or agreed to in writing, software\n+//distributed under the License is distributed on an \"AS IS\" BASIS,\n+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+//See the License for the specific language governing permissions and\n+//limitations under the License.\n+\n+namespace FeedbackApp\n+{\n+ class Program : Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ /// <summary>\n+ /// This function is called when the application is created\n+ /// </summary>\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ // Load the application\n+ LoadApplication(new App());\n+ }\n+\n+ /// <summary>\n+ /// The entry point of the application\n+ /// </summary>\n+ /// <param name=\"args\">Arguments</param>\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/FeedbackApp/src/FeedbackApp/shared/res/FeedbackApp.png",
"new_path": "Wearable/FeedbackApp/src/FeedbackApp/shared/res/FeedbackApp.png",
"diff": "Binary files /dev/null and b/Wearable/FeedbackApp/src/FeedbackApp/shared/res/FeedbackApp.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][FeedbackApp] New sample application
|
594,221 |
10.08.2018 10:47:19
| -7,200 |
1902ea7015251600f9a37ba0107b7eb3a2f4d803
|
[Wearable][Badges] New sample application
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/Badges/LICENSE",
"diff": "+ Apache License\n+ Version 2.0, January 2004\n+ http://www.apache.org/licenses/\n+\n+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n+\n+ 1. Definitions.\n+\n+ \"License\" shall mean the terms and conditions for use, reproduction,\n+ and distribution as defined by Sections 1 through 9 of this document.\n+\n+ \"Licensor\" shall mean the copyright owner or entity authorized by\n+ the copyright owner that is granting the License.\n+\n+ \"Legal Entity\" shall mean the union of the acting entity and all\n+ other entities that control, are controlled by, or are under common\n+ control with that entity. For the purposes of this definition,\n+ \"control\" means (i) the power, direct or indirect, to cause the\n+ direction or management of such entity, whether by contract or\n+ otherwise, or (ii) ownership of fifty percent (50%) or more of the\n+ outstanding shares, or (iii) beneficial ownership of such entity.\n+\n+ \"You\" (or \"Your\") shall mean an individual or Legal Entity\n+ exercising permissions granted by this License.\n+\n+ \"Source\" form shall mean the preferred form for making modifications,\n+ including but not limited to software source code, documentation\n+ source, and configuration files.\n+\n+ \"Object\" form shall mean any form resulting from mechanical\n+ transformation or translation of a Source form, including but\n+ not limited to compiled object code, generated documentation,\n+ and conversions to other media types.\n+\n+ \"Work\" shall mean the work of authorship, whether in Source or\n+ Object form, made available under the License, as indicated by a\n+ copyright notice that is included in or attached to the work\n+ (an example is provided in the Appendix below).\n+\n+ \"Derivative Works\" shall mean any work, whether in Source or Object\n+ form, that is based on (or derived from) the Work and for which the\n+ editorial revisions, annotations, elaborations, or other modifications\n+ represent, as a whole, an original work of authorship. For the purposes\n+ of this License, Derivative Works shall not include works that remain\n+ separable from, or merely link (or bind by name) to the interfaces of,\n+ the Work and Derivative Works thereof.\n+\n+ \"Contribution\" shall mean any work of authorship, including\n+ the original version of the Work and any modifications or additions\n+ to that Work or Derivative Works thereof, that is intentionally\n+ submitted to Licensor for inclusion in the Work by the copyright owner\n+ or by an individual or Legal Entity authorized to submit on behalf of\n+ the copyright owner. For the purposes of this definition, \"submitted\"\n+ means any form of electronic, verbal, or written communication sent\n+ to the Licensor or its representatives, including but not limited to\n+ communication on electronic mailing lists, source code control systems,\n+ and issue tracking systems that are managed by, or on behalf of, the\n+ Licensor for the purpose of discussing and improving the Work, but\n+ excluding communication that is conspicuously marked or otherwise\n+ designated in writing by the copyright owner as \"Not a Contribution.\"\n+\n+ \"Contributor\" shall mean Licensor and any individual or Legal Entity\n+ on behalf of whom a Contribution has been received by Licensor and\n+ subsequently incorporated within the Work.\n+\n+ 2. Grant of Copyright License. Subject to the terms and conditions of\n+ this License, each Contributor hereby grants to You a perpetual,\n+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n+ copyright license to reproduce, prepare Derivative Works of,\n+ publicly display, publicly perform, sublicense, and distribute the\n+ Work and such Derivative Works in Source or Object form.\n+\n+ 3. Grant of Patent License. Subject to the terms and conditions of\n+ this License, each Contributor hereby grants to You a perpetual,\n+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n+ (except as stated in this section) patent license to make, have made,\n+ use, offer to sell, sell, import, and otherwise transfer the Work,\n+ where such license applies only to those patent claims licensable\n+ by such Contributor that are necessarily infringed by their\n+ Contribution(s) alone or by combination of their Contribution(s)\n+ with the Work to which such Contribution(s) was submitted. If You\n+ institute patent litigation against any entity (including a\n+ cross-claim or counterclaim in a lawsuit) alleging that the Work\n+ or a Contribution incorporated within the Work constitutes direct\n+ or contributory patent infringement, then any patent licenses\n+ granted to You under this License for that Work shall terminate\n+ as of the date such litigation is filed.\n+\n+ 4. Redistribution. You may reproduce and distribute copies of the\n+ Work or Derivative Works thereof in any medium, with or without\n+ modifications, and in Source or Object form, provided that You\n+ meet the following conditions:\n+\n+ (a) You must give any other recipients of the Work or\n+ Derivative Works a copy of this License; and\n+\n+ (b) You must cause any modified files to carry prominent notices\n+ stating that You changed the files; and\n+\n+ (c) You must retain, in the Source form of any Derivative Works\n+ that You distribute, all copyright, patent, trademark, and\n+ attribution notices from the Source form of the Work,\n+ excluding those notices that do not pertain to any part of\n+ the Derivative Works; and\n+\n+ (d) If the Work includes a \"NOTICE\" text file as part of its\n+ distribution, then any Derivative Works that You distribute must\n+ include a readable copy of the attribution notices contained\n+ within such NOTICE file, excluding those notices that do not\n+ pertain to any part of the Derivative Works, in at least one\n+ of the following places: within a NOTICE text file distributed\n+ as part of the Derivative Works; within the Source form or\n+ documentation, if provided along with the Derivative Works; or,\n+ within a display generated by the Derivative Works, if and\n+ wherever such third-party notices normally appear. The contents\n+ of the NOTICE file are for informational purposes only and\n+ do not modify the License. You may add Your own attribution\n+ notices within Derivative Works that You distribute, alongside\n+ or as an addendum to the NOTICE text from the Work, provided\n+ that such additional attribution notices cannot be construed\n+ as modifying the License.\n+\n+ You may add Your own copyright statement to Your modifications and\n+ may provide additional or different license terms and conditions\n+ for use, reproduction, or distribution of Your modifications, or\n+ for any such Derivative Works as a whole, provided Your use,\n+ reproduction, and distribution of the Work otherwise complies with\n+ the conditions stated in this License.\n+\n+ 5. Submission of Contributions. Unless You explicitly state otherwise,\n+ any Contribution intentionally submitted for inclusion in the Work\n+ by You to the Licensor shall be under the terms and conditions of\n+ this License, without any additional terms or conditions.\n+ Notwithstanding the above, nothing herein shall supersede or modify\n+ the terms of any separate license agreement you may have executed\n+ with Licensor regarding such Contributions.\n+\n+ 6. Trademarks. This License does not grant permission to use the trade\n+ names, trademarks, service marks, or product names of the Licensor,\n+ except as required for reasonable and customary use in describing the\n+ origin of the Work and reproducing the content of the NOTICE file.\n+\n+ 7. Disclaimer of Warranty. Unless required by applicable law or\n+ agreed to in writing, Licensor provides the Work (and each\n+ Contributor provides its Contributions) on an \"AS IS\" BASIS,\n+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n+ implied, including, without limitation, any warranties or conditions\n+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n+ PARTICULAR PURPOSE. You are solely responsible for determining the\n+ appropriateness of using or redistributing the Work and assume any\n+ risks associated with Your exercise of permissions under this License.\n+\n+ 8. Limitation of Liability. In no event and under no legal theory,\n+ whether in tort (including negligence), contract, or otherwise,\n+ unless required by applicable law (such as deliberate and grossly\n+ negligent acts) or agreed to in writing, shall any Contributor be\n+ liable to You for damages, including any direct, indirect, special,\n+ incidental, or consequential damages of any character arising as a\n+ result of this License or out of the use or inability to use the\n+ Work (including but not limited to damages for loss of goodwill,\n+ work stoppage, computer failure or malfunction, or any and all\n+ other commercial damages or losses), even if such Contributor\n+ has been advised of the possibility of such damages.\n+\n+ 9. Accepting Warranty or Additional Liability. While redistributing\n+ the Work or Derivative Works thereof, You may choose to offer,\n+ and charge a fee for, acceptance of support, warranty, indemnity,\n+ or other liability obligations and/or rights consistent with this\n+ License. However, in accepting such obligations, You may act only\n+ on Your own behalf and on Your sole responsibility, not on behalf\n+ of any other Contributor, and only if You agree to indemnify,\n+ defend, and hold each Contributor harmless for any liability\n+ incurred by, or claims asserted against, such Contributor by reason\n+ of your accepting any such warranty or additional liability.\n+\n+ END OF TERMS AND CONDITIONS\n+\n+ APPENDIX: How to apply the Apache License to your work.\n+\n+ To apply the Apache License to your work, attach the following\n+ boilerplate notice, with the fields enclosed by brackets \"{}\"\n+ replaced with your own identifying information. (Don't include\n+ the brackets!) The text should be enclosed in the appropriate\n+ comment syntax for the file format. We also recommend that a\n+ file or class name and description of purpose be included on the\n+ same \"printed page\" as the copyright notice for easier\n+ identification within third-party archives.\n+\n+ Copyright {yyyy} {name of copyright owner}\n+\n+ Licensed under the Apache License, Version 2.0 (the \"License\");\n+ you may not use this file except in compliance with the License.\n+ You may obtain a copy of the License at\n+\n+ http://www.apache.org/licenses/LICENSE-2.0\n+\n+ Unless required by applicable law or agreed to in writing, software\n+ distributed under the License is distributed on an \"AS IS\" BASIS,\n+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ See the License for the specific language governing permissions and\n+ limitations under the License.\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/Badges/Screenshots/Badges.png",
"new_path": "Wearable/Badges/Screenshots/Badges.png",
"diff": "Binary files /dev/null and b/Wearable/Badges/Screenshots/Badges.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/Badges/Screenshots/BadgesBadge.png",
"new_path": "Wearable/Badges/Screenshots/BadgesBadge.png",
"diff": "Binary files /dev/null and b/Wearable/Badges/Screenshots/BadgesBadge.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/Badges/src/Badges/Badges.cs",
"diff": "+\n+//Copyright 2018 Samsung Electronics Co., Ltd\n+//\n+//Licensed under the Apache License, Version 2.0 (the \"License\");\n+//you may not use this file except in compliance with the License.\n+//You may obtain a copy of the License at\n+//\n+// http://www.apache.org/licenses/LICENSE-2.0\n+//\n+//Unless required by applicable law or agreed to in writing, software\n+//distributed under the License is distributed on an \"AS IS\" BASIS,\n+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+//See the License for the specific language governing permissions and\n+//limitations under the License.\n+\n+namespace Badges\n+{\n+ class Program : Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/Badges/src/Badges/shared/res/Badges.png",
"new_path": "Wearable/Badges/src/Badges/shared/res/Badges.png",
"diff": "Binary files /dev/null and b/Wearable/Badges/src/Badges/shared/res/Badges.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Badges] New sample application
|
594,257 |
21.08.2018 18:14:09
| -32,400 |
1f35605a432795861a75200c7bc368e480eae263
|
[Wearable][ServiceApp] Add a sample of service application
|
[
{
"change_type": "ADD",
"old_path": "Wearable/ServiceApp/ServiceApp/shared/res/ServiceApp.png",
"new_path": "Wearable/ServiceApp/ServiceApp/shared/res/ServiceApp.png",
"diff": "Binary files /dev/null and b/Wearable/ServiceApp/ServiceApp/shared/res/ServiceApp.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][ServiceApp] Add a sample of service application
|
594,257 |
21.08.2018 18:19:58
| -32,400 |
cd515c1e9c7bfdda0a526da943565c3de0511c21
|
[Wearable][MessagePortSampleApp] Add a sample app of MessagePort API for wearable devices
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp/MessagePortSampleApp.cs",
"diff": "+//Copyright 2018 Samsung Electronics Co., Ltd\n+//\n+//Licensed under the Apache License, Version 2.0 (the \"License\");\n+//you may not use this file except in compliance with the License.\n+//You may obtain a copy of the License at\n+//\n+// http://www.apache.org/licenses/LICENSE-2.0\n+//\n+//Unless required by applicable law or agreed to in writing, software\n+//distributed under the License is distributed on an \"AS IS\" BASIS,\n+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+//See the License for the specific language governing permissions and\n+//limitations under the License.\n+\n+using System;\n+\n+namespace MessagePortSampleApp\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp/shared/res/MessagePortSampleApp.png",
"new_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp/shared/res/MessagePortSampleApp.png",
"diff": "Binary files /dev/null and b/Wearable/MessagePortSampleApp/MessagePortSampleApp/shared/res/MessagePortSampleApp.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][MessagePortSampleApp] Add a sample app of MessagePort API for wearable devices
|
594,257 |
21.08.2018 19:27:48
| -32,400 |
a356bd2dc07adcec3d3f2fbaae87ed47e75b9a37
|
[Wearable][SkiaSharp2DSample] Add a sample app of 3rd party SkiaSharp API for wearable devices
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample/SkiaSharp2DSample.cs",
"diff": "+//Copyright 2018 Samsung Electronics Co., Ltd\n+//\n+//Licensed under the Apache License, Version 2.0 (the \"License\");\n+//you may not use this file except in compliance with the License.\n+//You may obtain a copy of the License at\n+//\n+// http://www.apache.org/licenses/LICENSE-2.0\n+//\n+//Unless required by applicable law or agreed to in writing, software\n+//distributed under the License is distributed on an \"AS IS\" BASIS,\n+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+//See the License for the specific language governing permissions and\n+//limitations under the License.\n+\n+using System;\n+\n+namespace SkiaSharp2DSample\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample/shared/res/SkiaSharp2DSample.png",
"new_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample/shared/res/SkiaSharp2DSample.png",
"diff": "Binary files /dev/null and b/Wearable/SkiaSharp2DSample/SkiaSharp2DSample/shared/res/SkiaSharp2DSample.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][SkiaSharp2DSample] Add a sample app of 3rd party SkiaSharp API for wearable devices
|
594,257 |
23.08.2018 18:23:41
| -32,400 |
a7b469d55a19cf0c25e96f88143089d89c8fc6ff
|
[Wearable][PlayingWithHWInputs] Add a sample app of bezel input and back button key for wearable devices.
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs/PlayingWithHWInputs.cs",
"diff": "+using System;\n+\n+namespace PlayingWithHWInputs\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ static public int WindowWidth { get; set; }\n+ static public int WindowHeight { get; set; }\n+\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ //Program.WindowWidth = app.MainWindow.MinimumWidth;\n+ //Program.WindowHeight = app.MainWindow.MinimumHeight;\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs/shared/res/PlayingWithHWInputs.png",
"new_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs/shared/res/PlayingWithHWInputs.png",
"diff": "Binary files /dev/null and b/Wearable/PlayingWithHWInputs/PlayingWithHWInputs/shared/res/PlayingWithHWInputs.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][PlayingWithHWInputs] Add a sample app of bezel input and back button key for wearable devices.
|
594,257 |
23.08.2018 18:38:08
| -32,400 |
d1f1b4286f8066e77eeb3e31a06f7acbdfd79469
|
[Wearable][WebWidgetHybrid] Add missing files to load web project
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/WebWidgetHybrid/WorldClockWidget2/.project",
"diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<projectDescription>\n+ <name>WorldClockWidget2</name>\n+ <comment></comment>\n+ <projects>\n+ </projects>\n+ <buildSpec>\n+ <buildCommand>\n+ <name>json.validation.builder</name>\n+ <arguments>\n+ </arguments>\n+ </buildCommand>\n+ <buildCommand>\n+ <name>org.tizen.web.project.builder.WebWidgetBuilder</name>\n+ <arguments>\n+ </arguments>\n+ </buildCommand>\n+ </buildSpec>\n+ <natures>\n+ <nature>json.validation.nature</nature>\n+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>\n+ <nature>org.tizen.web.project.builder.WebWidgetNature</nature>\n+ <nature>org.tizen.web.project.builder.WebNature</nature>\n+ </natures>\n+</projectDescription>\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/WebWidgetHybrid/WorldClockWidget2/.settings/.jsdtscope",
"diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<classpath>\n+ <classpathentry kind=\"src\" path=\"\">\n+ <attributes>\n+ <attribute name=\"provider\" value=\"org.eclipse.wst.jsdt.web.core.internal.project.ModuleSourcePathProvider\"/>\n+ </attributes>\n+ </classpathentry>\n+ <classpathentry kind=\"con\" path=\"org.eclipse.wst.jsdt.launching.JRE_CONTAINER\"/>\n+ <classpathentry kind=\"con\" path=\"org.eclipse.wst.jsdt.launching.WebProject\">\n+ <attributes>\n+ <attribute name=\"hide\" value=\"true\"/>\n+ </attributes>\n+ </classpathentry>\n+ <classpathentry kind=\"con\" path=\"org.tizen.web.project.initializer.WebWidgetECMA3LibraryInitializer\"/>\n+ <classpathentry kind=\"con\" path=\"org.tizen.web.project.initializer.WebWidgetTizenLibraryInitializer\"/>\n+ <classpathentry kind=\"con\" path=\"org.tizen.web.project.initializer.ext.RESTSupport\"/>\n+ <classpathentry kind=\"output\" path=\"\"/>\n+</classpath>\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/WebWidgetHybrid/WorldClockWidget2/.settings/org.eclipse.wst.css.core.prefs",
"diff": "+css-profile/<project>=org.eclipse.wst.css.core.cssprofile.css3\n+eclipse.preferences.version=1\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/WebWidgetHybrid/WorldClockWidget2/.settings/org.eclipse.wst.jsdt.ui.superType.container",
"diff": "+org.eclipse.wst.jsdt.launching.baseBrowserLibrary\n\\ No newline at end of file\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/WebWidgetHybrid/WorldClockWidget2/.settings/org.eclipse.wst.jsdt.ui.superType.name",
"diff": "+Window\n\\ No newline at end of file\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/WebWidgetHybrid/WorldClockWidget2/.tproject",
"diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n+<tproject xmlns=\"http://www.tizen.org/tproject\">\n+ <platforms>\n+ <platform>\n+ <name>wearable-4.0</name>\n+ </platform>\n+ </platforms>\n+ <package>\n+ <blacklist/>\n+ <resFallback autoGen=\"true\"/>\n+ </package>\n+</tproject>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][WebWidgetHybrid] Add missing files to load web project
|
594,257 |
23.08.2018 19:27:17
| -32,400 |
097ee3b67eed5f53f2b58754c63bba4ee86e1b93
|
[Wearable][PlayingWithHWInputs] Add a gesture recognizer to SkiaSharp canvas view.
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs/RotaryEventPage.cs",
"new_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs/RotaryEventPage.cs",
"diff": "@@ -61,6 +61,12 @@ namespace PlayingWithHWInputs\ncanvasView.HeightRequest = 360;\ncanvasView.WidthRequest = 360;\n+ // Add tap gesture recognizer\n+ var tapGestureRecognizer = new TapGestureRecognizer();\n+ tapGestureRecognizer.Tapped += (s, e) => {\n+ Toast.DisplayText(\"Tapped !!!\");\n+ };\n+ canvasView.GestureRecognizers.Add(tapGestureRecognizer);\ncanvasView.PaintSurface += (sender, e) =>\n{\n// Right arrow svg data\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][PlayingWithHWInputs] Add a gesture recognizer to SkiaSharp canvas view.
|
594,257 |
24.08.2018 08:22:12
| -32,400 |
573d49316e2015624059669c23b005937f493bea
|
[Wearable][SkiaSharp2DSample] Remove unnecssary empty lines.
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample/App.cs",
"new_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample/App.cs",
"diff": "@@ -12,20 +12,6 @@ namespace SkiaSharp2DSample\n{\npublic App()\n{\n- // The root page of your application\n- //MainPage = new CirclePage\n- //{\n- // Content = new StackLayout\n- // {\n- // VerticalOptions = LayoutOptions.Center,\n- // Children = {\n- // new Label {\n- // HorizontalTextAlignment = TextAlignment.Center,\n- // Text = \"Welcome to Xamarin Forms!\"\n- // }\n- // }\n- // }\n- //};\nMainPage = new SkiaSharp2DSample.MainPage();\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample/SkiaSharp2DSample.cs",
"new_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample/SkiaSharp2DSample.cs",
"diff": "@@ -21,7 +21,6 @@ namespace SkiaSharp2DSample\nprotected override void OnCreate()\n{\nbase.OnCreate();\n-\nLoadApplication(new App());\n}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][SkiaSharp2DSample] Remove unnecssary empty lines.
|
594,249 |
27.08.2018 08:12:28
| -32,400 |
e5ac77266cc276ff82db099ae978d17a1b7f6fb4
|
[Wearable] README.md for AppInformation sample app
|
[
{
"change_type": "ADD",
"old_path": "Wearable/AppInformation/AppInformation_Snapshot.png",
"new_path": "Wearable/AppInformation/AppInformation_Snapshot.png",
"diff": "Binary files /dev/null and b/Wearable/AppInformation/AppInformation_Snapshot.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/AppInformation/README.md",
"diff": "+# AppInformation #\n+\n+AppInformation sample app demonstrates how to get application-specific information(e.g. AppId, Package ID, shared directory path) and directory information(resource, cache, app data and etc).\n+\n+\n+\n+## Getting Started\n+This application uses Tizen.Application API.\n+\n+* [Class ApplicationInfo](https://developer.tizen.org/dev-guide/csapi/api/Tizen.Applications.ApplicationInfo.html)\n+* [Class DirectoryInfo](https://developer.tizen.org/dev-guide/csapi/api/Tizen.Applications.DirectoryInfo.html)\n+\n+In addition, there is a similar native sample application.\n+- [Tizen Native version](https://developer.tizen.org/development/sample/native/AppFW/App-common)\n+\n+\n+\n+\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable] README.md for AppInformation sample app
|
594,249 |
27.08.2018 08:34:04
| -32,400 |
c20274584cd153a9525c5f9629f33977a493960b
|
[Wearable] README.md for AppControl sample app
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/AppControl/AppControl/App.cs",
"new_path": "Wearable/AppControl/AppControl/App.cs",
"diff": "@@ -48,7 +48,7 @@ namespace AppControl\nTizen.Applications.AppControl.SendLaunchRequest(\nnew Tizen.Applications.AppControl\n{\n- ApplicationId = \"org.tizen.alarm\",\n+ ApplicationId = \"org.tizen.example.AppInformation\",\nLaunchMode = Tizen.Applications.AppControlLaunchMode.Single,\n}, (launchRequest, replyRequest, result) =>\n{\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/AppControl/AppControl_Snapshot.png",
"new_path": "Wearable/AppControl/AppControl_Snapshot.png",
"diff": "Binary files /dev/null and b/Wearable/AppControl/AppControl_Snapshot.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/AppControl/AppControl_Snapshot_1.png",
"new_path": "Wearable/AppControl/AppControl_Snapshot_1.png",
"diff": "Binary files /dev/null and b/Wearable/AppControl/AppControl_Snapshot_1.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/AppControl/README.md",
"diff": "+# AppControl #\n+\n+AppControl sample application demonstrates how to launch an application and get a result for the launch request.\n+\n+\n+\n+When you press `Launch` button, *AppInformation* sample app will be launched.\n+\n+\n+\n+### Prerequisites\n+First of all, you need to install [AppInformation sample app](https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/AppInformation)\n+because it is what would be launched by AppControl sample application.\n+\n+You can install it by using `Visual Studio` or the `sdb` command line as follows:\n+\n+```\n+$ sdb install org.tizen.example.AppInformation-1.0.0.tpk\n+```\n+\n+## Getting Started\n+This application uses Tizen.Application API.\n+\n+* [Class AppControl][AppControl]\n+* [Class AppControlLaunchMode][AppControlLaunchMode]\n+\n+In addition, there is similar native/web sample applications.\n+\n+* [Tizen Native version](https://developer.tizen.org/development/sample/native/AppFW/Application_control)\n+* [Tizen Web app version](https://developer.tizen.org/development/sample/web/Application/App_Control)\n+\n+\n+ [AppControl]: <https://developer.tizen.org/dev-guide/csapi/api/Tizen.Applications.AppControl.html>\n+ [AppControlLaunchMode]: <https://developer.tizen.org/dev-guide/csapi/api/Tizen.Applications.AppControlLaunchMode.html>\n+\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable] README.md for AppControl sample app
|
594,249 |
27.08.2018 08:44:55
| -32,400 |
ead04692a1dc8358b7d3205c171f328a518d3752
|
[Wearable-AppControl] Fix README.md
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/AppControl/README.md",
"new_path": "Wearable/AppControl/README.md",
"diff": "AppControl sample application demonstrates how to launch an application and get a result for the launch request.\n-\n+<p align=\"center\">\n+ <img src=\"./AppControl_Snapshot.png\" width=150 height=150>\n+ <img src=\"./AppControl_Snapshot_1.png\" width=150 height=150>\n+</p>\nWhen you press `Launch` button, *AppInformation* sample app will be launched.\n-\n### Prerequisites\nFirst of all, you need to install [AppInformation sample app](https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/AppInformation)\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable-AppControl] Fix README.md
|
594,249 |
27.08.2018 08:58:52
| -32,400 |
7ac401034cd3a57416bc3a0b6dbac8b738098005
|
[Wearable] README.md for MessagePortSampleApp
|
[
{
"change_type": "ADD",
"old_path": "Wearable/MessagePortSampleApp/MessagePortSample-ReceiveMessage.png",
"new_path": "Wearable/MessagePortSampleApp/MessagePortSample-ReceiveMessage.png",
"diff": "Binary files /dev/null and b/Wearable/MessagePortSampleApp/MessagePortSample-ReceiveMessage.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp/App.cs",
"new_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp/App.cs",
"diff": "@@ -79,6 +79,7 @@ namespace MessagePortSampleApp\ncatch(Exception e)\n{\nConsole.WriteLine(\"Exception: \" + e.Message + \", \" + e);\n+ Toast.DisplayText(\"An exception occurs!! \" + e.Message + \", \" + e, 10000);\n}\n})\n}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp_Snapshot-ErrorCase.png",
"new_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp_Snapshot-ErrorCase.png",
"diff": "Binary files /dev/null and b/Wearable/MessagePortSampleApp/MessagePortSampleApp_Snapshot-ErrorCase.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp_Snapshot.png",
"new_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp_Snapshot.png",
"diff": "Binary files /dev/null and b/Wearable/MessagePortSampleApp/MessagePortSampleApp_Snapshot.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/MessagePortSampleApp/README.md",
"diff": "+# MessagePortSampleApp #\n+\n+MessagePortSampleApp sample app demonstrates how to send and receive messages between applications.\n+\n+ - Send a message to Tizen .Net Service sample app when `Send a message` button is clicked.\n+\n+ \n+\n+ - Receive a message from Tizen .Net Service sample app\n+\n+ \n+\n+### Prerequisites\n+First of all, you need to install and execute [Tizen .Net Service sample application](https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/ServiceApp) because it is used to communicate each other.\n+\n+You can install *Tizen .Net service application* by\n+\n+ - using `Visual Studio`\n+ - using the `sdb` command line as follows:\n+\n+ $ sdb install org.tizen.example.ServiceApp-1.0.0.tpk\n+ $ sdb shell\n+ $ app_launcher -s org.tizen.example.ServiceApp // launch a service app\n+\n+If you do not install `Tizen .Net service application`, an exception occurs when you press `Send a message` button.\n+\n+ \n+\n+## Getting Started\n+This application uses Tizen.Application.Messages API.\n+\n+* [Class MessagePort][MessagePort]\n+\n+In addition, there is a similar native sample application.\n+\n+* [Tizen Native version](https://developer.tizen.org/development/sample/native/AppFW/%28Tutorial%29_Message_Port)\n+\n+ [MessagePort]: <https://developer.tizen.org/dev-guide/csapi/api/Tizen.Applications.Messages.MessagePort.html>\n+\n+\n+\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable] README.md for MessagePortSampleApp
|
594,249 |
27.08.2018 09:06:14
| -32,400 |
e5824bd53828685dcacecb318886073366032e5d
|
[Wearable-MessagePortSampleApp] Fix README.md
|
[
{
"change_type": "RENAME",
"old_path": "Wearable/MessagePortSampleApp/MessagePortSample-ReceiveMessage.png",
"new_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp_ReceiveMessage.png",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "Wearable/MessagePortSampleApp/README.md",
"new_path": "Wearable/MessagePortSampleApp/README.md",
"diff": "@@ -4,11 +4,11 @@ MessagePortSampleApp sample app demonstrates how to send and receive messages be\n- Send a message to Tizen .Net Service sample app when `Send a message` button is clicked.\n- \n+ \n- - Receive a message from Tizen .Net Service sample app\n+ - Receive a message from [Tizen .Net Service sample application](https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/ServiceApp)\n- \n+ \n### Prerequisites\nFirst of all, you need to install and execute [Tizen .Net Service sample application](https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/ServiceApp) because it is used to communicate each other.\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable-MessagePortSampleApp] Fix README.md
|
594,249 |
27.08.2018 09:12:07
| -32,400 |
44feaabbfe4107448444d969ef4adae22283e691
|
[Wearable] README.md for ServiceApp
|
[
{
"change_type": "ADD",
"old_path": "Wearable/ServiceApp/CreatingProjectForServiceApp.png",
"new_path": "Wearable/ServiceApp/CreatingProjectForServiceApp.png",
"diff": "Binary files /dev/null and b/Wearable/ServiceApp/CreatingProjectForServiceApp.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/ServiceApp/README.md",
"diff": "+# ServiceApp #\n+\n+ServiceApp app demonstrates how to make a service application which has no UI.\n+\n+### How to create a `Tizen .Net Service Application` in `Visual Studio`\n+\n+ \n+\n+## Getting Started\n+This application uses Tizen.Application API.\n+\n+* [Class ServiceApplication][ServiceApp]\n+\n+In addition, there is a similar native service application.\n+\n+* [Tizen Native Service sample app](https://developer.tizen.org/development/sample/native/AppFW/%28Tutorial%29_Service_Application)\n+\n+\n+<table>\n+ <tr>\n+ <th>App Type</th>\n+ <th>Guide</th>\n+ </tr>\n+ <tr>\n+ <td>Native</td>\n+ <td><a href=\"https://developer.tizen.org/development/guides/native-application/application-management/applications/service-application\">Service Application</a></td>\n+ </tr>\n+ <tr>\n+ <td>Web</td>\n+ <td><a href=\"https://developer.tizen.org/development/guides/web-application/application-management/applications/service-application\">Service Application</a></td>\n+ </tr>\n+</table>\n+\n+ [ServiceApp]: <https://developer.tizen.org/dev-guide/csapi/api/Tizen.Applications.ServiceApplication.html>\n+\n+ [NativeGuide]: <https://developer.tizen.org/development/guides/native-application/application-management/applications/service-application>\n+ [WebGuide]: <https://developer.tizen.org/development/guides/web-application/application-management/applications/service-application>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable] README.md for ServiceApp
|
594,249 |
27.08.2018 09:31:47
| -32,400 |
63fa6d2dfcde218542568f123777557bbe4c0c0c
|
[Wearable] README.md for SkiaSharp2DSample
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/SkiaSharp2DSample/README.md",
"diff": "+# SkiaSharp2DSample #\n+\n+SkiaSharp2DSample app demonstrates how to use `SkiaSharp API` in Tizen Xamarin.Forms applications.\n+\n+ \n+\n+ - Drawing Basics (DrawCircle)\n+ - SkiaSharp Path (DrawPath)\n+ - SkiaSharp Transforms (Translate, Scale, RotateDegrees)\n+\n+## SkiaSharp API\n+This application uses [SkiaSharp API](https://docs.microsoft.com/en-us/dotnet/api/SkiaSharp).\n+\n+* [Class SKCanvas][SKCanvas]\n+\n+\n+ [SKCanvas]: <https://docs.microsoft.com/en-us/dotnet/api/skiasharp.skcanvas>\n+\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample/SkiaSharp2DSample.csproj",
"new_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample/SkiaSharp2DSample.csproj",
"diff": "</ItemGroup>\n<ItemGroup>\n- <PackageReference Include=\"HarfBuzzSharp\" Version=\"1.4.6.1\" />\n- <PackageReference Include=\"SkiaSharp\" Version=\"1.60.2\" />\n- <PackageReference Include=\"SkiaSharp.HarfBuzz\" Version=\"1.60.2\" />\n- <PackageReference Include=\"SkiaSharp.Views\" Version=\"1.60.2\" />\n<PackageReference Include=\"SkiaSharp.Views.Forms\" Version=\"1.60.2\" />\n<PackageReference Include=\"Tizen.NET\" Version=\"4.0.0\">\n<ExcludeAssets>Runtime</ExcludeAssets>\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample_Snapshot.png",
"new_path": "Wearable/SkiaSharp2DSample/SkiaSharp2DSample_Snapshot.png",
"diff": "Binary files /dev/null and b/Wearable/SkiaSharp2DSample/SkiaSharp2DSample_Snapshot.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable] README.md for SkiaSharp2DSample
|
594,249 |
27.08.2018 09:38:05
| -32,400 |
517d72808f8c685a2e838744c49da45614d127ea
|
[Wearable] README.md for SQLite.NET.Sample
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/SQLite.NET.Sample/README.md",
"diff": "+# SQLite.Net.Sample #\n+\n+SQLite.Net.Sample app demonstrates how to create and connect to an SQLite database and use it in Tizen .Net application.\n+\n+ - Create and connect to an SQLite database\n+ - Create and modify(insert) a DB table\n+\n+<p align=\"left\">\n+ <img src=\"./SQLiteNet_Sample_Snapshot_1.png\" width=180 height=180>\n+ <img src=\"./SQLiteNet_Sample_Snapshot_2.png\" width=180 height=180>\n+</p>\n+\n+Whenever you relaunch this sample app, two new items are inserted to SQLite databe.\n+ \n+\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/SQLite.NET.Sample/SQLiteNet_Sample_Snapshot_1.png",
"new_path": "Wearable/SQLite.NET.Sample/SQLiteNet_Sample_Snapshot_1.png",
"diff": "Binary files /dev/null and b/Wearable/SQLite.NET.Sample/SQLiteNet_Sample_Snapshot_1.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/SQLite.NET.Sample/SQLiteNet_Sample_Snapshot_2.png",
"new_path": "Wearable/SQLite.NET.Sample/SQLiteNet_Sample_Snapshot_2.png",
"diff": "Binary files /dev/null and b/Wearable/SQLite.NET.Sample/SQLiteNet_Sample_Snapshot_2.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/SQLite.NET.Sample/SQLiteNet_Sample_Snapshot_relaunch.png",
"new_path": "Wearable/SQLite.NET.Sample/SQLiteNet_Sample_Snapshot_relaunch.png",
"diff": "Binary files /dev/null and b/Wearable/SQLite.NET.Sample/SQLiteNet_Sample_Snapshot_relaunch.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable] README.md for SQLite.NET.Sample
|
594,249 |
27.08.2018 10:06:11
| -32,400 |
2c26a252f86bd469b5c02506f31daf20482ea848
|
[Wearable] README.md for PlayingWithHWInputs
|
[
{
"change_type": "ADD",
"old_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs_BackeyTest.png",
"new_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs_BackeyTest.png",
"diff": "Binary files /dev/null and b/Wearable/PlayingWithHWInputs/PlayingWithHWInputs_BackeyTest.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs_RotateBezelLeft.png",
"new_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs_RotateBezelLeft.png",
"diff": "Binary files /dev/null and b/Wearable/PlayingWithHWInputs/PlayingWithHWInputs_RotateBezelLeft.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs_RotateBezelRight.png",
"new_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs_RotateBezelRight.png",
"diff": "Binary files /dev/null and b/Wearable/PlayingWithHWInputs/PlayingWithHWInputs_RotateBezelRight.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/PlayingWithHWInputs/README.md",
"diff": "+# PlayingWithHWInputs #\n+\n+PlayingWithHWInputs sample app demonstrates how to handle rotary events from bezel of a wearable device.\n+\n+In addition, it shows the way how to detect when the back button is pressed.\n+\n+### When you rotate the bazel right\n+ \n+\n+### When you rotate the bazel left\n+ \n+\n+### When you press back button\n+ \n+\n+This application uses Tizen Wearable CircularUI API.\n+\n+* [Interface IRotaryEventReceiver][IRotaryEventReceiver]\n+\n+Also, you can get details about managing rotary event for Tizen native/web applications.\n+\n+<table>\n+ <tr>\n+ <th>App Type</th>\n+ <th>Guide</th>\n+ </tr>\n+ <tr>\n+ <td>Native</td>\n+ <td><a href=\"https://developer.tizen.org/development/guides/native-application/user-interface/efl/hardware-input-handling/managing-rotary-events\">Managing rotary events</a></td>\n+ </tr>\n+ <tr>\n+ <td>Web</td>\n+ <td><a href=\"https://developer.tizen.org/development/guides/web-application/user-interface/tizen-advanced-ui/applications-circular-ui/handling-rotary-events\">Handling rotary events</a></td>\n+ </tr>\n+</table>\n+\n+ [IRotaryEventReceiver]: <https://samsung.github.io/Tizen.CircularUI/api/Tizen.Wearable.CircularUI.Forms.IRotaryEventReceiver.html>\n+\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable] README.md for PlayingWithHWInputs
|
594,249 |
27.08.2018 15:39:51
| -32,400 |
55948154a028a4c2bcb7959f6c3e203d7cc62350
|
[Wearable] README.md for WebWidgetHybrid
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/WebWidgetHybrid/README.md",
"diff": "+# WebWidgetHybrid #\n+\n+WebWidgetHybrid sample app demonstrates how to make Tizen hybrid app which is packaged with Tizen Web and .Net applications.\n+\n+### Prerequisite\n+ 1. [Tizen Studio](https://developer.tizen.org/development/tizen-studio/download) should be installed to build Tizen Web/Hybrid applications.\n+ 2. Check the name of Certificate profile through `Tizen Certificate Manager`\n+ \n+ 3. Check whether Visual Studio signs the .TPK file using the profile of `Tizen Certificate Manager`.\n+ Tools > Options > Tizen > Certification > `Sign the .TPK file using the following option.` option is checked.\n+ \n+\n+### How to build and execute this hybrid application\n+\n+1. Build [WorldClockWidget2](https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/WebWidgetHybrid/WorldClockWidget2) web application using `Tizen Studio`.\n+ - Select `File > Import > Tizen > Tizen Project`\n+ - Import WorldClockWidget2 web app as follows:\n+ \n+ - Build this app and create a package(.wgt) file by selecting menu `Project > Build Signed Project` in Tizen Studio.\n+\n+2. Build [WebWidgetHybrid](https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/WebWidgetHybrid/WebWidgetHybrid) .NET application using `Visual Studio`.\n+ - Open [WebWidgetHybrid.sln](https://github.com/Samsung/Tizen-CSharp-Samples/blob/master/Wearable/WebWidgetHybrid/WebWidgetHybrid.sln) file.\n+ - Build .Net app.\n+\n+3. Copy the build package files to `C:\\tizen-studio\\tools\\ide\\bin`.\n+ - the location of `WebWidgetHybrid` .Net app package : WebWidgetHybrid\\WebWidgetHybrid\\bin\\Debug\\tizen40\\org.tizen.example.WebWidgetHybrid-1.0.0.tpk\n+ - the location of `WorldClockWidget2` web app package : WebWidgetHybrid\\WorldClockWidget2\\WorldClockWidget2.wgt\n+\n+4. Build a hybrid package using the following command line.\n+ C:\\tizen-studio\\tools\\ide\\bin\\tizen.bat package -t wgt -s tizen-cert -r org.tizen.example.WebWidgetHybrid-1.0.0.tpk -- WorldClockWidget2.wgt\n+\n+ ```\n+ C:\\tizen-studio\\tools\\ide\\bin>tizen.bat package -t wgt -s tizen-cert -r org.tizen.example.WebWidgetHybrid-1.0.0.tpk -- WorldClockWidget2.wgt\n+ Author certficate: C:/tizen-studio-data/keystore/author/tizen-cert.p12\n+ Distributor1 certificate : C:\\tizen-studio\\tools\\certificate-generator\\certificates\\distributor\\tizen-distributor-signer.p12\n+ Package( C:\\tizen-studio\\tools\\ide\\bin\\WorldClockWidget2.wgt ) is created successfully.\n+ ```\n+\n+5. Install the hybrid app using the following command line:\n+ sdb install WorldClockWidget2.wgt\n+\n+ ```\n+ C:\\tizen-studio\\tools\\ide\\bin>sdb install WorldClockWidget2.wgt\n+ WARNING: Your data are to be sent over an unencrypted connection and could be read by others.\n+ pushed WorldClockWidget2.wgt 100% 4361KB 0KB/s\n+ 1 file(s) pushed. 0 file(s) skipped.\n+ WorldClockWidget2.wgt 8629KB/s (4465694 bytes in 0.505s)\n+ path is /home/owner/share/tmp/sdk_tools/WorldClockWidget2.wgt\n+ ```\n+\n+6. Add a `WebWidgetHybrid` widget from the home screen.\n+ - Go to the home screen by pressing the back key.\n+ \n+ - Swipe the home screen right or rotate the bezel right until you see `+ Add widget` and select it.\n+ \n+ - Swipe right until you see \"World Clock Widget\" and select it.\n+ \n+\n+7. Check the added widget by switing the home screen.\n+ \n+\n+\n+### Packaging a Hybrid Application (Web + Native App)\n+You can get details about [Tizen hybrid application(Web + Native app)](https://developer.tizen.org/category/tags/hybrid-application)\n+ - https://developer.tizen.org/community/tip-tech/communication-within-tizen-hybrid-app\n+ - https://developer.tizen.org/community/tip-tech/packaging-hybrid-application\n+ - https://developer.tizen.org/community/tip-tech/how-package-tizen-hybrid-app\n+\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_AddedWidget.png",
"new_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_AddedWidget.png",
"diff": "Binary files /dev/null and b/Wearable/WebWidgetHybrid/WebWidgetHybrid_AddedWidget.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_AppWidget.png",
"new_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_AppWidget.png",
"diff": "Binary files /dev/null and b/Wearable/WebWidgetHybrid/WebWidgetHybrid_AppWidget.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_HomeScreen.png",
"new_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_HomeScreen.png",
"diff": "Binary files /dev/null and b/Wearable/WebWidgetHybrid/WebWidgetHybrid_HomeScreen.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_TizenCertManager.png",
"new_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_TizenCertManager.png",
"diff": "Binary files /dev/null and b/Wearable/WebWidgetHybrid/WebWidgetHybrid_TizenCertManager.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_VisualStudio.png",
"new_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_VisualStudio.png",
"diff": "Binary files /dev/null and b/Wearable/WebWidgetHybrid/WebWidgetHybrid_VisualStudio.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_WorldClockWidget2.png",
"new_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_WorldClockWidget2.png",
"diff": "Binary files /dev/null and b/Wearable/WebWidgetHybrid/WebWidgetHybrid_WorldClockWidget2.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_import-web-app.png",
"new_path": "Wearable/WebWidgetHybrid/WebWidgetHybrid_import-web-app.png",
"diff": "Binary files /dev/null and b/Wearable/WebWidgetHybrid/WebWidgetHybrid_import-web-app.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable] README.md for WebWidgetHybrid
|
594,249 |
27.08.2018 15:56:21
| -32,400 |
68631e2076827521bc2048ed29aaf54decc2e376
|
[Wearable] Update README.md
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/AppControl/README.md",
"new_path": "Wearable/AppControl/README.md",
"diff": "@@ -20,7 +20,6 @@ You can install it by using `Visual Studio` or the `sdb` command line as follows\n$ sdb install org.tizen.example.AppInformation-1.0.0.tpk\n```\n-## Getting Started\nThis application uses Tizen.Application API.\n* [Class AppControl][AppControl]\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/AppInformation/AppInformation_Snapshot.png",
"new_path": "Wearable/AppInformation/AppInformation_Snapshot.png",
"diff": "Binary files a/Wearable/AppInformation/AppInformation_Snapshot.png and b/Wearable/AppInformation/AppInformation_Snapshot.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/AppInformation/README.md",
"new_path": "Wearable/AppInformation/README.md",
"diff": "@@ -4,7 +4,6 @@ AppInformation sample app demonstrates how to get application-specific informati\n\n-## Getting Started\nThis application uses Tizen.Application API.\n* [Class ApplicationInfo](https://developer.tizen.org/dev-guide/csapi/api/Tizen.Applications.ApplicationInfo.html)\n@@ -13,6 +12,4 @@ This application uses Tizen.Application API.\nIn addition, there is a similar native sample application.\n- [Tizen Native version](https://developer.tizen.org/development/sample/native/AppFW/App-common)\n-\n-\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/MessagePortSampleApp/README.md",
"new_path": "Wearable/MessagePortSampleApp/README.md",
"diff": "@@ -26,7 +26,6 @@ If you do not install `Tizen .Net service application`, an exception occurs when\n\n-## Getting Started\nThis application uses Tizen.Application.Messages API.\n* [Class MessagePort][MessagePort]\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/ServiceApp/README.md",
"new_path": "Wearable/ServiceApp/README.md",
"diff": "@@ -6,7 +6,6 @@ ServiceApp app demonstrates how to make a service application which has no UI.\n\n-## Getting Started\nThis application uses Tizen.Application API.\n* [Class ServiceApplication][ServiceApp]\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable] Update README.md
|
594,223 |
28.08.2018 16:56:39
| -32,400 |
857bcaaa556dfc106f537b71acb2cbc9cf81fda4
|
[Wearable][XUIComponents]Fix check Onoff style horizental alignment
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Check.xaml",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Check.xaml",
"diff": "<StackLayout VerticalOptions=\"Center\">\n<w:Check DisplayStyle=\"Default\" HorizontalOptions=\"CenterAndExpand\" />\n<w:Check DisplayStyle=\"Small\" HorizontalOptions=\"CenterAndExpand\" />\n- <w:Check DisplayStyle=\"Onoff\" HorizontalOptions=\"FillAndExpand\" />\n+ <w:Check DisplayStyle=\"Onoff\" HorizontalOptions=\"CenterAndExpand\" />\n</StackLayout>\n</w:CirclePage.Content>\n</w:CirclePage>\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/UIComponents.csproj",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/UIComponents.csproj",
"diff": "<!-- Include Nuget Package for Xamarin building -->\n<ItemGroup>\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00078\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.583944\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.697729\" />\n</ItemGroup>\n</Project>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][XUIComponents]Fix check Onoff style horizental alignment
|
594,223 |
28.08.2018 18:23:11
| -32,400 |
8dd87bccd29b58dd60b6c19c06f6e840613c70de
|
[Wearable][XUIComponents]change Header text color
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/App.xaml",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/App.xaml",
"diff": "<w:CircleListView.HeaderTemplate>\n<DataTemplate>\n<Label\n+ w:CircleListView.CancelEffect=\"True\"\nFontAttributes=\"Bold\"\n- FontSize=\"14\"\n+ FontSize=\"11\"\nHeightRequest=\"120\"\nHorizontalTextAlignment=\"Center\"\nText=\"{Binding .}\"\n- TextColor=\"#6CC3F1\" />\n+ TextColor=\"#6CC3F1\"\n+ VerticalTextAlignment=\"Center\" />\n</DataTemplate>\n</w:CircleListView.HeaderTemplate>\n</w:CircleListView>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/UIComponents.csproj",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/UIComponents.csproj",
"diff": "<!-- Include Nuget Package for Xamarin building -->\n<ItemGroup>\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00078\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00085\" />\n<PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.697729\" />\n</ItemGroup>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][XUIComponents]change Header text color
|
594,249 |
29.08.2018 15:44:12
| -32,400 |
a5f478b311f3c3513a33790570b31cbf9180e4c8
|
[Wearable-ImageReader] change img url
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/ImageReader/ImageReader/Pages/DownloadImages.cs",
"new_path": "Wearable/ImageReader/ImageReader/Pages/DownloadImages.cs",
"diff": "@@ -22,7 +22,7 @@ namespace ImageReader.Pages\n},\nnew Image\n{\n- Source = ImageSource.FromUri(new Uri(\"https://download.tizen.org/misc/Tizen-Brand/01-Primary-Assets/Logo/On-Dark/01-RGB/Tizen-Logo-On-Dark-RGB.png\"))\n+ Source = ImageSource.FromUri(new Uri(\"http://pe.tedcdn.com/images/ted/2e306b9655267cee35e45688ace775590b820510_615x461.jpg\"))\n},\n},\nPadding = new Thickness(50, 30, 50, 30),\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable-ImageReader] change img url
|
594,249 |
10.09.2018 13:03:52
| -32,400 |
6f72cc3053a35b824f7dccb30b20af7c1c1a39ec
|
[Wearable-AmbientWatch] Update README.md
|
[
{
"change_type": "ADD",
"old_path": "Wearable/AmbientWatch/AmbientWatch-Settings.png",
"new_path": "Wearable/AmbientWatch/AmbientWatch-Settings.png",
"diff": "Binary files /dev/null and b/Wearable/AmbientWatch/AmbientWatch-Settings.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/AmbientWatch/README.md",
"new_path": "Wearable/AmbientWatch/README.md",
"diff": "@@ -7,17 +7,32 @@ To extend battery life, a watch application can display a limited UI in ambient\n* In ambient mode\n+\n\nFirst of all, \"ambient-support\" attribute should be set to true as follows:\n- <watch-application appid=\"org.tizen.example.AmbientWatch\" exec=\"AmbientWatch.dll\" type=\"dotnet\" ambient-support=\"true\">\n+ <watch-application appid=\"org.tizen.example.AmbientWatch\" exec=\"AmbientWatch.dll\" ambient-support=\"true\" type=\"dotnet\">\n</watch-application>\n-You can get details about ambient-support attribute from https://developer.tizen.org/development/tizen-studio/native-tools/configuring-your-app/manifest-text-editor\n+And then you need to overwrite OnAmbientChanged() and OnAmbientTick() methods.\n+\n+You should add `alarm.set` privilege to get OnAmbientTick event in ambient mode.\n+\n+\n+ ```\n+ <privileges>\n+ <privilege>http://tizen.org/privilege/alarm.set</privilege>\n+ </privileges>\n+ ```\nTo use the ambient mode, you must enable it in Settings application.\nLaunch \"Settings\" App -> Select \"Watch faces and styles\" -> Choose \"Watch always on\" -> Enable it\n+ \n+\n+\nIn addition, the ambient mode activates only when you are wearing a watch on your wrist.\n+You can get details about ambient-support attribute from https://developer.tizen.org/development/tizen-studio/native-tools/configuring-your-app/manifest-text-editor\n+\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable-AmbientWatch] Update README.md
|
594,249 |
12.09.2018 12:43:12
| -32,400 |
708c56876ad25c0b25d53148d1642f1bbc1a875a
|
[Wearable-AmbientWatch] Add comments
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/AmbientWatch/AmbientWatch/AmbientWatch.cs",
"new_path": "Wearable/AmbientWatch/AmbientWatch/AmbientWatch.cs",
"diff": "+/*\n+ * Copyright (c) 2018 Samsung Electronics Co., Ltd\n+ *\n+ * Licensed under the Flora License, Version 1.1 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://floralicense.org/license/\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\nusing System;\nusing Tizen.Applications;\nusing Tizen.Wearable.CircularUI.Forms.Renderer.Watchface;\nnamespace AmbientWatch\n{\n+ /// <summary>\n+ /// AmbientWatch watchface app\n+ /// </summary>\nclass Program : FormsWatchface\n{\nClockViewModel ViewModel;\n+ /// <summary>\n+ /// Called when the application is launched.\n+ /// base.OnCreate() should be called to get \"Created\" event\n+ /// </summary>\nprotected override void OnCreate()\n{\nbase.OnCreate();\n+\nvar watchfaceApp = new AmbientWatchApplication();\nViewModel = new ClockViewModel(this);\nViewModel.Time = GetCurrentTime().UtcTimestamp;\n@@ -18,9 +42,14 @@ namespace AmbientWatch\nLoadWatchface(watchfaceApp);\n}\n+ /// <summary>\n+ /// Called when the time tick event occurs\n+ /// </summary>\n+ /// <param name=\"time\">TimeEventArgs</param>\nprotected override void OnTick(TimeEventArgs time)\n{\nbase.OnTick(time);\n+ // Set time to update UI\nif (ViewModel != null)\n{\nViewModel.Time = time.Time.UtcTimestamp + TimeSpan.FromMilliseconds(time.Time.Millisecond);\n@@ -41,6 +70,7 @@ namespace AmbientWatch\nbase.OnAmbientChanged(mode);\nViewModel.AmbientModeDisabled = !mode.Enabled;\n}\n+\n//\n// Summary:\n// Overrides this method if want to handle behavior when the time tick event comes\n@@ -53,6 +83,7 @@ namespace AmbientWatch\nprotected override void OnAmbientTick(TimeEventArgs time)\n{\nbase.OnAmbientTick(time);\n+ // Set time to update UI in ambient mode\nViewModel.Time = time.Time.UtcTimestamp + TimeSpan.FromMilliseconds(time.Time.Millisecond);\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/AmbientWatch/AmbientWatch/ClockViewModel.cs",
"new_path": "Wearable/AmbientWatch/AmbientWatch/ClockViewModel.cs",
"diff": "+/*\n+ * Copyright (c) 2018 Samsung Electronics Co., Ltd\n+ *\n+ * Licensed under the Flora License, Version 1.1 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://floralicense.org/license/\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\nusing System;\nusing System.ComponentModel;\nusing System.Runtime.CompilerServices;\n@@ -17,6 +33,9 @@ namespace AmbientWatch\ndouble _Hours, _Minutes, _Seconds;\nbool _AmbientModeDisabled;\n+ /// <summary>\n+ /// Hours for an hour hand\n+ /// </summary>\npublic double Hours\n{\nget\n@@ -30,6 +49,9 @@ namespace AmbientWatch\n}\n}\n+ /// <summary>\n+ /// Minutes for a minute hand\n+ /// </summary>\npublic double Minutes\n{\nget\n@@ -43,6 +65,9 @@ namespace AmbientWatch\n}\n}\n+ /// <summary>\n+ /// Seconds for a second hand\n+ /// </summary>\npublic double Seconds\n{\nget\n@@ -56,6 +81,10 @@ namespace AmbientWatch\n}\n}\n+ /// <summary>\n+ /// Check whether a device is in ambient mode or not\n+ /// According to it, second hand will be shown or not\n+ /// </summary>\npublic bool AmbientModeDisabled\n{\nget\n@@ -69,7 +98,9 @@ namespace AmbientWatch\n}\n}\n-\n+ /// <summary>\n+ /// Time\n+ /// </summary>\npublic DateTime Time\n{\nget => _Time;\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/AmbientWatch/README.md",
"new_path": "Wearable/AmbientWatch/README.md",
"diff": "The AmbientWatch application demonstrates how to make a watch application that supports ambient mode in Tizen wearable device.\nTo extend battery life, a watch application can display a limited UI in ambient mode by detecting ambient mode changes.\n- \n+ \n* In ambient mode\n- \n+ \nFirst of all, \"ambient-support\" attribute should be set to true as follows:\n@@ -29,7 +29,7 @@ You should add `alarm.set` privilege to get OnAmbientTick event in ambient mode.\nTo use the ambient mode, you must enable it in Settings application.\nLaunch \"Settings\" App -> Select \"Watch faces and styles\" -> Choose \"Watch always on\" -> Enable it\n- \n+ \nIn addition, the ambient mode activates only when you are wearing a watch on your wrist.\n"
},
{
"change_type": "RENAME",
"old_path": "Wearable/AmbientWatch/AmbientWatch-Settings.png",
"new_path": "Wearable/AmbientWatch/Screenshots/AmbientWatch-Settings.png",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "Wearable/AmbientWatch/AmbientWatch_AmbientMode.png",
"new_path": "Wearable/AmbientWatch/Screenshots/AmbientWatch_AmbientMode.png",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "Wearable/AmbientWatch/AmbientWatch_Snapshot.png",
"new_path": "Wearable/AmbientWatch/Screenshots/AmbientWatch_Snapshot.png",
"diff": ""
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable-AmbientWatch] Add comments
|
594,249 |
12.09.2018 14:18:42
| -32,400 |
8fdf7cdb142c97c81a01db3c4794d9f23187144a
|
[Wearable-AppControl] Add comments
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/AppControl/AppControl/App.cs",
"new_path": "Wearable/AppControl/AppControl/App.cs",
"diff": "@@ -61,16 +61,25 @@ namespace AppControl\n};\n}\n+ /// <summary>\n+ /// Called when this application starts.\n+ /// </summary>\nprotected override void OnStart()\n{\n// Handle when your app starts\n}\n+ /// <summary>\n+ /// Called when the application enters the sleeping state.\n+ /// </summary>\nprotected override void OnSleep()\n{\n// Handle when your app sleeps\n}\n+ /// <summary>\n+ /// Calledn when the application resumes from a sleeping state.\n+ /// </summary>\nprotected override void OnResume()\n{\n// Handle when your app resumes\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/AppControl/AppControl/AppControl.cs",
"new_path": "Wearable/AppControl/AppControl/AppControl.cs",
"diff": "@@ -4,6 +4,10 @@ namespace AppControl\n{\nclass Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n{\n+ /// <summary>\n+ /// Called when the application is launched.\n+ /// If base.OnCreated() is not called, the event 'Created' will not be emitted.\n+ /// </summary>\nprotected override void OnCreate()\n{\nbase.OnCreate();\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/AppControl/README.md",
"new_path": "Wearable/AppControl/README.md",
"diff": "AppControl sample application demonstrates how to launch an application and get a result for the launch request.\n<p align=\"center\">\n- <img src=\"./AppControl_Snapshot.png\" width=150 height=150>\n- <img src=\"./AppControl_Snapshot_1.png\" width=150 height=150>\n+ <img src=\"./Snapshots/AppControl_Snapshot.png\" width=150 height=150>\n+ <img src=\"./Snapshots/AppControl_Snapshot_1.png\" width=150 height=150>\n</p>\nWhen you press `Launch` button, *AppInformation* sample app will be launched.\n"
},
{
"change_type": "RENAME",
"old_path": "Wearable/AppControl/AppControl_Snapshot.png",
"new_path": "Wearable/AppControl/Snapshots/AppControl_Snapshot.png",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "Wearable/AppControl/AppControl_Snapshot_1.png",
"new_path": "Wearable/AppControl/Snapshots/AppControl_Snapshot_1.png",
"diff": ""
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable-AppControl] Add comments
|
594,249 |
12.09.2018 15:05:15
| -32,400 |
88c9058c2ad29d1efced9fe781b002129df98029
|
[Wearable-ImageReader] add comments
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/ImageReader/ImageReader/App.cs",
"new_path": "Wearable/ImageReader/ImageReader/App.cs",
"diff": "@@ -11,16 +11,25 @@ namespace ImageReader\nMainPage = new NavigationPage(main);\n}\n+ /// <summary>\n+ /// Called when the application starts.\n+ /// </summary>\nprotected override void OnStart()\n{\n// Handle when your app starts\n}\n+ /// <summary>\n+ /// Called when the application enters the sleeping state.\n+ /// </summary>\nprotected override void OnSleep()\n{\n// Handle when your app sleeps\n}\n+ /// <summary>\n+ /// Called when the application resumes from a sleeping state.\n+ /// </summary>\nprotected override void OnResume()\n{\n// Handle when your app resumes\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/ImageReader/ImageReader/Pages/DownloadImages.cs",
"new_path": "Wearable/ImageReader/ImageReader/Pages/DownloadImages.cs",
"diff": "@@ -3,10 +3,20 @@ using Xamarin.Forms;\nnamespace ImageReader.Pages\n{\n+ /// <summary>\n+ /// DownloadImages class\n+ /// It shows how to download and display images.\n+ /// Image can be automatically downloaded when this page is shown.\n+ /// So network connection should be available.\n+ /// </summary>\npublic class DownloadImages : ContentPage\n{\n+ /// <summary>\n+ /// Constructor\n+ /// </summary>\npublic DownloadImages()\n{\n+ // Make NavigationPage have no navigation bar\nNavigationPage.SetHasNavigationBar(this, false);\nContent = new StackLayout\n@@ -22,6 +32,7 @@ namespace ImageReader.Pages\n},\nnew Image\n{\n+ // load image read from uri\nSource = ImageSource.FromUri(new Uri(\"http://pe.tedcdn.com/images/ted/2e306b9655267cee35e45688ace775590b820510_615x461.jpg\"))\n},\n},\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/ImageReader/ImageReader/Pages/EmbeddedImages.cs",
"new_path": "Wearable/ImageReader/ImageReader/Pages/EmbeddedImages.cs",
"diff": "@@ -3,10 +3,32 @@ using Xamarin.Forms;\nnamespace ImageReader.Pages\n{\n+ /// <summary>\n+ /// EmbeddedImages class\n+ /// It shows how to load and display images embedded as an assembly resource.\n+ /// The image file is embedded in the assembly as a resource.\n+ ///\n+ /// - How to embed\n+ /// To embed an image, the image needs to be set to 'Build Action - EmbeddedResource.'\n+ /// Please check File property of '2.png' image file (Advanced > Build Action)\n+ ///\n+ /// VS IDE generates the Resource ID of this embedded image\n+ /// by concatenating application's namespace and image file name using a period(.)\n+ /// In this case,\n+ /// app's namespace + . + file name\n+ /// ImageReader.2.png\n+ ///\n+ /// - How to load the embedded images\n+ /// call ImageSource.FromResource() methodwith Resource ID\n+ /// </summary>\npublic class EmbeddedImages : ContentPage\n{\n+ /// <summary>\n+ /// Constructor\n+ /// </summary>\npublic EmbeddedImages()\n{\n+ // Make NavigationPage have no navigation bar\nNavigationPage.SetHasNavigationBar(this, false);\nContent = new StackLayout\n@@ -22,6 +44,8 @@ namespace ImageReader.Pages\n},\nnew Image\n{\n+ // a resource identifier to an image file embedded in the application or PCL, with a Build Action:EmbeddedResource.\n+ // Please check File property of '2.png' image file (Advanced > Build Action)\nSource = ImageSource.FromResource(\"ImageReader.2.png\", typeof(EmbeddedImages).GetTypeInfo().Assembly),\n},\n},\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/ImageReader/ImageReader/Pages/LocalImages.cs",
"new_path": "Wearable/ImageReader/ImageReader/Pages/LocalImages.cs",
"diff": "namespace ImageReader.Pages\n{\n+ /// <summary>\n+ /// LocalImages class\n+ /// It shows how to use the image shipped with the application\n+ /// </summary>\npublic class LocalImages : ContentPage\n{\n+ /// <summary>\n+ /// Constructor\n+ /// </summary>\npublic LocalImages()\n{\n+ // Make NavigationPage have no navigation bar\nNavigationPage.SetHasNavigationBar(this, false);\n+\nContent = new StackLayout\n{\nChildren =\n@@ -20,6 +29,7 @@ namespace ImageReader.Pages\n},\nnew Image\n{\n+ // '1.png' image should be placed in the 'res' resource directory of this application.\nSource = \"1.png\"\n},\n},\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/ImageReader/ImageReader/Pages/MainListViewPage.xaml.cs",
"new_path": "Wearable/ImageReader/ImageReader/Pages/MainListViewPage.xaml.cs",
"diff": "@@ -7,6 +7,7 @@ namespace ImageReader.Pages\n{\n/// <summary>\n/// Class MainListViewPage\n+ /// The main page fo this application\n/// </summary>\n[XamlCompilation(XamlCompilationOptions.Compile)]\npublic partial class MainListViewPage : CirclePage\n@@ -17,11 +18,15 @@ namespace ImageReader.Pages\npublic ObservableCollection<string> Items { get; set; }\n+ /// <summary>\n+ /// Constructor\n+ /// </summary>\npublic MainListViewPage()\n{\nNavigationPage.SetHasNavigationBar(this, false);\nInitializeComponent();\n+ // the items to display\nItems = new ObservableCollection<string>\n{\nLOCAL_IMAGE,\n@@ -32,6 +37,12 @@ namespace ImageReader.Pages\nMyListView.ItemsSource = Items;\n}\n+ /// <summary>\n+ /// Called when an item of ListView is tapped\n+ /// The new page related to tapped item will be shown\n+ /// </summary>\n+ /// <param name=\"sender\">object</param>\n+ /// <param name=\"e\">ItemTappedEventArgs</param>\nasync void Handle_ItemTapped(object sender, ItemTappedEventArgs e)\n{\nif (e.Item == null)\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/ImageReader/README.md",
"new_path": "Wearable/ImageReader/README.md",
"diff": "@@ -9,7 +9,7 @@ and is modified according to Tizen Wearable UI.\nYou can get details from https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/images\n-\n+\n### Prerequisites\nNetwork connection is required for DownloadImage.\n"
},
{
"change_type": "RENAME",
"old_path": "Wearable/ImageReader/Snapshot.png",
"new_path": "Wearable/ImageReader/Screenshots/Snapshot.png",
"diff": ""
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable-ImageReader] add comments
|
594,249 |
12.09.2018 15:11:28
| -32,400 |
5f67db478c88306ac9495b07baceefd51b518faf
|
[Wearable-MessagePortSampleApp] add comments
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp/App.cs",
"new_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp/App.cs",
"diff": "@@ -92,16 +92,25 @@ namespace MessagePortSampleApp\n}\n}\n+ /// <summary>\n+ /// Called when the application starts.\n+ /// </summary>\nprotected override void OnStart()\n{\n// Handle when your app starts\n}\n+ /// <summary>\n+ /// Called when the application enters the sleeping state.\n+ /// </summary>\nprotected override void OnSleep()\n{\n// Handle when your app sleeps\n}\n+ /// <summary>\n+ /// Called when the application resumes from a sleeping state.\n+ /// </summary>\nprotected override void OnResume()\n{\n// Handle when your app resumes\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/MessagePortSampleApp/README.md",
"new_path": "Wearable/MessagePortSampleApp/README.md",
"diff": "@@ -4,11 +4,11 @@ MessagePortSampleApp sample app demonstrates how to send and receive messages be\n- Send a message to Tizen .Net Service sample app when `Send a message` button is clicked.\n- \n+ \n- Receive a message from [Tizen .Net Service sample application](https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/ServiceApp)\n- \n+ \n### Prerequisites\nFirst of all, you need to install and execute [Tizen .Net Service sample application](https://github.com/Samsung/Tizen-CSharp-Samples/tree/master/Wearable/ServiceApp) because it is used to communicate each other.\n@@ -24,7 +24,7 @@ You can install *Tizen .Net service application* by\nIf you do not install `Tizen .Net service application`, an exception occurs when you press `Send a message` button.\n- \n+ \nThis application uses Tizen.Application.Messages API.\n"
},
{
"change_type": "RENAME",
"old_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp_ReceiveMessage.png",
"new_path": "Wearable/MessagePortSampleApp/Screenshots/MessagePortSampleApp_ReceiveMessage.png",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp_Snapshot-ErrorCase.png",
"new_path": "Wearable/MessagePortSampleApp/Screenshots/MessagePortSampleApp_Snapshot-ErrorCase.png",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "Wearable/MessagePortSampleApp/MessagePortSampleApp_Snapshot.png",
"new_path": "Wearable/MessagePortSampleApp/Screenshots/MessagePortSampleApp_Snapshot.png",
"diff": ""
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable-MessagePortSampleApp] add comments
|
594,257 |
14.09.2018 08:17:35
| -32,400 |
7eaf367cb7a3997a2a07c56a013ada708aaff59e
|
[Wearable][PlayingWithHWInputs] Add more comments to give more detailed explanation.
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs/RotaryEventPage.cs",
"new_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs/RotaryEventPage.cs",
"diff": "@@ -14,9 +14,13 @@ namespace PlayingWithHWInputs\n/// </summary>\nenum ONGOING_EVENT_STATE\n{\n+ // A state needs to rotate right to move to the next state\nRIGHT_DIRECTION_ROTATE,\n+ // A state needs to rotate left to move to the next state\nLEFT_DIRECTION_ROTATE,\n+ // A state needs to press back button to move to the next state\nBACK_BUTTON_PRESS,\n+ // The end state\nFINISHED\n}\n@@ -28,8 +32,11 @@ namespace PlayingWithHWInputs\npublic class RotaryEventPage : CirclePage, IRotaryEventReceiver\n{\n// public properties\n+ // A color needed for gradient start\npublic Color StartColor { get; set; } = Color.Transparent;\n+ // A color needed for gradient end\npublic Color EndColor { get; set; } = Color.Transparent;\n+ // TODO(vincent):\npublic bool Horizontal { get; set; } = false;\n// private fields\n@@ -41,20 +48,27 @@ namespace PlayingWithHWInputs\nconst int kRotateMax = 3;\n// The text will be shown on the page\nstring instruction = \"\";\n+ // The current state of this app\nONGOING_EVENT_STATE currentState;\n+ // SkiaSharp canvas view\nSKCanvasView canvasView;\n+ // # of rotation count to move to the next state\nint rightDirectionRotateCount = kRotateMax;\n+ // # of rotation count to move to the next state\nint leftDirectionRotateCount = kRotateMax;\n+ // SkiaSharp paint color red\nSKPaint redFillPaint = new SKPaint\n{\nStyle = SKPaintStyle.Fill,\nColor = SKColors.Red,\n};\n+ // SkiaSharp paint color black\nSKPaint blackStrokePaint = new SKPaint\n{\nStyle = SKPaintStyle.Fill,\nStrokeWidth = 2,\nStrokeCap = SKStrokeCap.Round,\n+ // Look smoother by turning on antialias\nIsAntialias = true,\n};\n@@ -74,16 +88,20 @@ namespace PlayingWithHWInputs\n// Initialize gradient to draw arrows\n// Create the main canvas new\ncanvasView = new SKCanvasView();\n+ // Need to set heightRequest and WidthReques to SkiaSharp canvas\ncanvasView.HeightRequest = 360;\ncanvasView.WidthRequest = 360;\n// Add tap gesture recognizer\nvar tapGestureRecognizer = new TapGestureRecognizer();\n+ // Show a toast when tapped.\ntapGestureRecognizer.Tapped += (s, e) =>\n{\nToast.DisplayText(\"Tapped !!!\");\n};\n+ // Add to GestureRecognizers in canvas view\ncanvasView.GestureRecognizers.Add(tapGestureRecognizer);\n+ // This event handler actually draws in SkiaSharp canvas\ncanvasView.PaintSurface += (sender, e) =>\n{\n// Right arrow svg data\n@@ -94,48 +112,64 @@ namespace PlayingWithHWInputs\nSKSurface canvasSurface = e.Surface;\n// Get canvas of surface\nSKCanvas canvas = canvasSurface.Canvas;\n-\n+ // Save canvas here to later retrieve\ncanvas.Save();\n- // Fill black\n+ // Initialize canvase before drawing\ncanvas.Clear(SKColors.Black);\n+ // Handling for the right rotation state\nif (currentState == ONGOING_EVENT_STATE.RIGHT_DIRECTION_ROTATE)\n{\n+ // To draw arrow for rotating direction, move canvas point\ncanvas.Translate(e.Info.Width * 3 / 4, e.Info.Height / 4);\n// Set scale for the path\nSKMatrix matrix = SKMatrix.MakeScale(15, 15);\n+ // Adjust scale before drawing\nrightDirectionArrow.Transform(matrix);\n// Set a shader for gradient\nvar colors = new SKColor[] { SKColors.White, SKColors.Blue };\n+ // Points needed for gradient\nSKPoint startPoint = new SKPoint(0, 0);\nSKPoint endPoint = new SKPoint(20, 20);\nvar shader = SKShader.CreateLinearGradient(startPoint, endPoint, colors, null, SKShaderTileMode.Clamp);\n+ // Add the shader to paint to present gradient effect\nblackStrokePaint.Shader = shader;\n+ // Draw SVG path for right rotate direction arrow\ncanvas.DrawPath(rightDirectionArrow, blackStrokePaint);\n}\nelse if (currentState == ONGOING_EVENT_STATE.LEFT_DIRECTION_ROTATE)\n{\n+ // Move the canvas translate point\ncanvas.Translate(e.Info.Width * 1 / 4, e.Info.Height / 4);\n// Set scale for the path\nSKMatrix matrix = SKMatrix.MakeScale(15, 15);\n// Set a shader for gradient\nleftDirectionArrow.Transform(matrix);\n+ // Colors for gradient\nvar colors = new SKColor[] { SKColors.White, SKColors.Blue };\n+ // Points for gradient\nSKPoint startPoint = new SKPoint(20, 0);\nSKPoint endPoint = new SKPoint(0, 20);\n+ // Define a shader for left rotate arrow\nvar shader = SKShader.CreateLinearGradient(startPoint, endPoint, colors, null, SKShaderTileMode.Clamp);\nblackStrokePaint.Shader = shader;\n+ // Draw SVG path for left rotate direction arrow\ncanvas.DrawPath(leftDirectionArrow, blackStrokePaint);\n}\n+ // Need to reset canvas which were changed by Translate\ncanvas.Restore();\n// Text drawing\nSKPaint textPaint = new SKPaint\n{\n+ // Text color white\nColor = SKColors.White,\n+ // Text size 10\nTextSize = 10,\n+ // Antialiasing true\nIsAntialias = true\n};\nstring str = instruction;\n+ // Before draw a text, need to calculate total width of a text to locate in the middle\nfloat textWidth = textPaint.MeasureText(str);\ntextPaint.TextSize = 0.7f * e.Info.Width * textPaint.TextSize / textWidth;\n// Draw instruction\n@@ -161,57 +195,77 @@ namespace PlayingWithHWInputs\n/// <param name=\"args\">RotaryEventArgs</param>\npublic void Rotate(RotaryEventArgs args)\n{\n+ // When rotating (previous rotation is ongoing, do nothing.\nif (rotating)\n{\nreturn;\n}\n-\n+ // Set ongoing flag true\nrotating = true;\n-\n+ // Right rotate handling\nif (currentState == ONGOING_EVENT_STATE.RIGHT_DIRECTION_ROTATE)\n{\n+ // If at least one rotation performed.\nif (rightDirectionRotateCount > 0)\n{\n+ // Decrease rotation count\nrightDirectionRotateCount--;\n+ // Increase the angle to rotate canvas\nangle += args.IsClockwise ? 30 : -30;\n}\nelse\n{\n+ // Finished to rotate right. Set angle to zero for left rotate\nangle = 0;\n+ // Set the state to rotate left\ncurrentState = ONGOING_EVENT_STATE.LEFT_DIRECTION_ROTATE;\n+ // Change the instruction\ninstruction = \"Rotate the bezel to the left.\";\n}\n}\n+ // Left rotate handling\nelse if (currentState == ONGOING_EVENT_STATE.LEFT_DIRECTION_ROTATE)\n{\n+ // If at least one rotation performed\nif (leftDirectionRotateCount > 0)\n{\n+ // Decrease rotation count\nleftDirectionRotateCount--;\n+ // Increase the angle to rotate canvas.\nangle += args.IsClockwise ? 30 : -30;\n}\nelse\n{\n+ // Done rotate left, and move to next state (back button)\ncurrentState = ONGOING_EVENT_STATE.BACK_BUTTON_PRESS;\n+ // Change the instruction\ninstruction = \"Press back button.\";\nangle = 0;\n}\n}\n-\n+ // Rotate the canvas\ncanvasView.RotateTo(angle).ContinueWith(\n(b) =>\n{\n+ // Set this rotation done.\nrotating = false;\n+ // Angle should be set to 0 when it reaches 360.\nif (angle == 360)\n{\ncanvasView.Rotation = 0;\nangle = 0;\n}\n});\n+ // Redraw the canvas\ncanvasView.InvalidateSurface();\n}\n+ // If you inherited CirclePage and IRotaryEventListener,\n+ // then you can implement OnBackButtonPressed method which is\n+ // called when the back button pressed.\nprotected override bool OnBackButtonPressed()\n{\n+ // If the back button is pressed in the right context, show the message.\nif (currentState == ONGOING_EVENT_STATE.BACK_BUTTON_PRESS)\n{\ninstruction = \"Yes, just like that.\";\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][PlayingWithHWInputs] Add more comments to give more detailed explanation.
|
594,249 |
14.09.2018 09:58:05
| -32,400 |
abb227cf6bb803f0592c6ae42fe3de6596f38536
|
[Wearable][WeatherWatch] Update UI and handle exceptions
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/WeatherWatch/WeatherWatch/Pages/WeatherWatchPage.xaml",
"new_path": "Wearable/WeatherWatch/WeatherWatch/Pages/WeatherWatchPage.xaml",
"diff": "<!-- Today's date -->\n<Label AbsoluteLayout.LayoutFlags=\"None\"\n- AbsoluteLayout.LayoutBounds=\"117,225,86,17\"\n+ AbsoluteLayout.LayoutBounds=\"83,225,125,17\"\nTextColor=\"White\"\nFontSize=\"7\"\nText=\"{Binding Month}\"\nVerticalTextAlignment=\"Center\"\nHorizontalTextAlignment=\"End\" />\n<Label AbsoluteLayout.LayoutFlags=\"None\"\n- AbsoluteLayout.LayoutBounds=\"210,219,37,28\"\n+ AbsoluteLayout.LayoutBounds=\"215,219,40,28\"\nTextColor=\"#DBD303\"\nFontAttributes=\"Bold\"\nFontSize=\"12\"\nText=\"{Binding Day}\"\nVerticalTextAlignment=\"Center\"\n- HorizontalTextAlignment=\"Center\" />\n+ HorizontalTextAlignment=\"Start\" />\n<!-- Weather Information -->\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/WeatherWatch/WeatherWatch/Services/ForecastService.cs",
"new_path": "Wearable/WeatherWatch/WeatherWatch/Services/ForecastService.cs",
"diff": "@@ -78,6 +78,8 @@ namespace WeatherWatch.Services\n/// </summary>\n/// <param name=\"position\">Location</param>\npublic async void UpdateAQI(Location position)\n+ {\n+ try\n{\nHttpClient client = new HttpClient();\nstring url = WebSiteInfo.AIR_POLLUTION_URL + position.Latitude + \";\" + position.Longitude + \"/?token=\" + WebSiteInfo.AIR_POLLUTION_API_KEY;\n@@ -97,6 +99,12 @@ namespace WeatherWatch.Services\nAQI = WebSiteInfo.AQI_INFO_NOT_AVAILABLE;\n//Console.WriteLine(\"Air Pollution Quality Index : Not available...\");\n}\n+ }\n+ catch (Exception e)\n+ {\n+ Console.WriteLine(\" UpdateAQI() Exception : \" + e.Message + \", \" + e.StackTrace + \", \" + e.InnerException);\n+ AQI = WebSiteInfo.AQI_INFO_NOT_AVAILABLE;\n+ }\nUpdateAirPolution();\n}\n@@ -106,6 +114,8 @@ namespace WeatherWatch.Services\n/// </summary>\n/// <param name=\"location\">Location</param>\npublic async void UpdateWeather(Location location)\n+ {\n+ try\n{\nHttpClient _httpWeatherClient = new HttpClient();\nstring url = string.Format(WebSiteInfo.WEATHER_URL, location.Latitude, location.Longitude, WebSiteInfo.WEATHER_API_KEY);\n@@ -121,6 +131,11 @@ namespace WeatherWatch.Services\nreturn;\n}\n}\n+ }\n+ catch (Exception e)\n+ {\n+ Console.WriteLine(\" UpdateWeather() Exception : \" + e.Message + \", \" + e.StackTrace + \", \" + e.InnerException);\n+ }\n// In case that weather data is not available.\n_viewModel.WeatherInfoIsVisible = false;\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/WeatherWatch/WeatherWatch/WeatherWatch.cs",
"new_path": "Wearable/WeatherWatch/WeatherWatch/WeatherWatch.cs",
"diff": "using System;\nusing Tizen.Applications;\n-using Tizen.Multimedia;\nusing TSystem = Tizen.System;\nusing Tizen.Wearable.CircularUI.Forms.Renderer.Watchface;\nusing WeatherWatch.PageModels;\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][WeatherWatch] Update UI and handle exceptions
|
594,249 |
14.09.2018 10:39:30
| -32,400 |
41a321096976da0f778267c5c5e569e11c5093d6
|
[Wearable][UsingResxLocalization] add comments
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/UsingResxLocalization/UsingResxLocalization/App.cs",
"new_path": "Wearable/UsingResxLocalization/UsingResxLocalization/App.cs",
"diff": "@@ -8,6 +8,12 @@ namespace UsingResxLocalization\n{\n/// <summary>\n/// UsingResxLocalization app\n+ /// It modifies https://github.com/xamarin/xamarin-forms-samples/tree/master/UsingResxLocalization app for Tizen devices.\n+ ///\n+ /// This app shows how to make multilingual application with Xamarin.Forms and .NET localization framework.\n+ /// RESX files have the translated strings and they are embedded in assembly.\n+ /// So you can use them in application code.\n+ ///\n/// According to system languages, localized texts and images are shown.\n/// Currently English, Korean, Japanese are supported.\n/// </summary>\n@@ -22,12 +28,12 @@ namespace UsingResxLocalization\nlocalize = DependencyService.Get<ILocalize>();\n// Get locale information\nUpdateLocale();\n- MainPage main = new MainPage();\n- MainPage = new NavigationPage(main);\n+ MainPage = new NavigationPage(new MainPage());\n}\n/// <summary>\n/// Get the current locale and apply it.\n+ /// To apply it, use MessagingCenter API.\n/// </summary>\npublic void UpdateLocale()\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/UsingResxLocalization/UsingResxLocalization/PagesCs/FirstPage.cs",
"new_path": "Wearable/UsingResxLocalization/UsingResxLocalization/PagesCs/FirstPage.cs",
"diff": "@@ -103,6 +103,7 @@ namespace UsingResxLocalization\n{\nMessagingCenter.Subscribe<App>(this, \"UpdateUIByLanguageChanges\", (obj) =>\n{\n+ // apply translated resources\nmyLabel.Text = AppResources.NotesLabel;\nmyEntry.Placeholder = AppResources.NotesPlaceholder;\nmyPicker.Title = AppResources.PickerName;\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/UsingResxLocalization/UsingResxLocalization/PagesXaml/FirstPageXaml.xaml.cs",
"new_path": "Wearable/UsingResxLocalization/UsingResxLocalization/PagesXaml/FirstPageXaml.xaml.cs",
"diff": "@@ -22,7 +22,7 @@ namespace UsingResxLocalization\n{\nMessagingCenter.Subscribe<App>(this, \"UpdateUIByLanguageChanges\", (obj) =>\n{\n- // Update texts\n+ // apply translated resources\nmyLabel.Text = AppResources.NotesLabel;\nmyEntry.Placeholder = AppResources.NotesPlaceholder;\nmyPicker.Title = AppResources.PickerName;\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/UsingResxLocalization/UsingResxLocalization/Services/Localize.cs",
"new_path": "Wearable/UsingResxLocalization/UsingResxLocalization/Services/Localize.cs",
"diff": "@@ -15,6 +15,7 @@ namespace UsingResxLocalization.Services\n/// </summary>\nclass Localize : UsingResxLocalization.ILocalize\n{\n+ // current CultureInfo\nCultureInfo _currentCultureInfo;\n/// <summary>\n@@ -23,6 +24,8 @@ namespace UsingResxLocalization.Services\npublic Localize()\n{\n_currentCultureInfo = GetCurrentCultureInfo();\n+\n+ // To get notified when the current system language has been changed\nSystemSettings.LocaleLanguageChanged += SystemSettings_LocaleLanguageChanged;\n}\n@@ -70,6 +73,7 @@ namespace UsingResxLocalization.Services\n/// <summary>\n/// Called when a language's changed\n+ /// <LANGUAGE>_<REGION> syntax\n/// </summary>\n/// <param name=\"sender\">object</param>\n/// <param name=\"e\">LocaleLanguageChangedEventArgs</param>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/UsingResxLocalization/UsingResxLocalization/UsingResxLocalization.cs",
"new_path": "Wearable/UsingResxLocalization/UsingResxLocalization/UsingResxLocalization.cs",
"diff": "@@ -2,6 +2,10 @@ namespace UsingResxLocalization\n{\nclass Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n{\n+ /// <summary>\n+ /// Called when the application is launched.\n+ /// If base.OnCreated() is not called, the event 'Created' will not be emitted.\n+ /// </summary>\nprotected override void OnCreate()\n{\nbase.OnCreate();\n@@ -12,6 +16,7 @@ namespace UsingResxLocalization\n{\nvar app = new Program();\nglobal::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ // Initialize to use Tizen.Wearable.CircularUI.Forms API.\nTizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\napp.Run(args);\n}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][UsingResxLocalization] add comments
|
594,255 |
18.09.2018 15:24:19
| -32,400 |
c8fec9ec9ee5fc018b006a777b3324650b7749b6
|
fix typo :
"fo" -> "of"
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/ImageReader/ImageReader/Pages/MainListViewPage.xaml.cs",
"new_path": "Wearable/ImageReader/ImageReader/Pages/MainListViewPage.xaml.cs",
"diff": "@@ -7,7 +7,7 @@ namespace ImageReader.Pages\n{\n/// <summary>\n/// Class MainListViewPage\n- /// The main page fo this application\n+ /// The main page for this application\n/// </summary>\n[XamlCompilation(XamlCompilationOptions.Compile)]\npublic partial class MainListViewPage : CirclePage\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
fix typo :
"fo" -> "of"
|
594,255 |
18.09.2018 15:27:45
| -32,400 |
6b8ce79bad1004ea06c510a189aa7a9a06391d4c
|
fix typo :
"infomation" -> "information"
|
[
{
"change_type": "MODIFY",
"old_path": "Mobile/NetworkApp/NetworkApp/NetworkApp.Tizen.Mobile/WiFiImplementation.cs",
"new_path": "Mobile/NetworkApp/NetworkApp/NetworkApp.Tizen.Mobile/WiFiImplementation.cs",
"diff": "@@ -188,7 +188,7 @@ namespace NetworkApp.Tizen.Mobile\n/// <summary>\n/// Get a list of scanned Wi-Fi APs\n/// </summary>\n- /// <returns>List of Wi-Fi AP infomation</returns>\n+ /// <returns>List of Wi-Fi AP information</returns>\npublic List<APInfo> GetAPList()\n{\nList<APInfo> apInfoList = new List<APInfo>();\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/AppCommon/AppCommon/AppCommon.Tizen.Mobile/AppCommon.Tizen.Mobile.cs",
"new_path": "Mobile/UI/AppCommon/AppCommon/AppCommon.Tizen.Mobile/AppCommon.Tizen.Mobile.cs",
"diff": "@@ -42,7 +42,7 @@ namespace AppCommon.Tizen.Mobile\n{\nbase.OnLowBattery(e);\nvar status = (LowBatteryStatus)e.LowBatteryStatus;\n- _app.ApplicationInfomation.UpdateLowBatteryLEDColor(status);\n+ _app.ApplicationInformation.UpdateLowBatteryLEDColor(status);\n}\n/// <summary>\n@@ -53,7 +53,7 @@ namespace AppCommon.Tizen.Mobile\n{\nbase.OnLowMemory(e);\nvar status = (LowMemoryStatus)e.LowMemoryStatus;\n- _app.ApplicationInfomation.UpdateLowMemoryLEDColor(status);\n+ _app.ApplicationInformation.UpdateLowMemoryLEDColor(status);\n}\n/// <summary>\n@@ -63,7 +63,7 @@ namespace AppCommon.Tizen.Mobile\nprotected override void OnLocaleChanged(LocaleChangedEventArgs e)\n{\nbase.OnLocaleChanged(e);\n- _app.ApplicationInfomation.Language = new CultureInfo(e.Locale).DisplayName;\n+ _app.ApplicationInformation.Language = new CultureInfo(e.Locale).DisplayName;\n}\n/// <summary>\n@@ -73,7 +73,7 @@ namespace AppCommon.Tizen.Mobile\nprotected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)\n{\nbase.OnRegionFormatChanged(e);\n- _app.ApplicationInfomation.RegionFormat = new CultureInfo(e.Region).DisplayName;\n+ _app.ApplicationInformation.RegionFormat = new CultureInfo(e.Region).DisplayName;\n}\n/// <summary>\n@@ -84,7 +84,7 @@ namespace AppCommon.Tizen.Mobile\n{\nbase.OnDeviceOrientationChanged(e);\nvar orientation = (DeviceOrientationStatus)e.DeviceOrientation;\n- _app.ApplicationInfomation.UpdateDeviceOrientation(orientation);\n+ _app.ApplicationInformation.UpdateDeviceOrientation(orientation);\n}\nstatic void Main(string[] args)\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/UI/AppCommon/AppCommon/AppCommon/AppCommon.cs",
"new_path": "Mobile/UI/AppCommon/AppCommon/AppCommon/AppCommon.cs",
"diff": "@@ -32,10 +32,10 @@ namespace AppCommon\npublic App(int width, int height)\n{\n/// A model for an ApplicationInformationPage\n- ApplicationInfomation = new ApplicationInformationViewModel();\n+ ApplicationInformation = new ApplicationInformationViewModel();\nvar applicationInformation = new ApplicationInformationPage();\n- applicationInformation.BindingContext = ApplicationInfomation;\n+ applicationInformation.BindingContext = ApplicationInformation;\nvar paths = new PathsPage(width, height);\npaths.BindingContext = new PathsPageViewModel();\n@@ -54,7 +54,7 @@ namespace AppCommon\n/// <summary>\n/// The model for the ApplicationInformationPage\n/// </summary>\n- public ApplicationInformationViewModel ApplicationInfomation { get; private set; }\n+ public ApplicationInformationViewModel ApplicationInformation { get; private set; }\n/// <summary>\n/// Handle when your application starts\n"
},
{
"change_type": "MODIFY",
"old_path": "TV/MediaHubSample/MediaHubSample/src/View/ImageItem.cs",
"new_path": "TV/MediaHubSample/MediaHubSample/src/View/ImageItem.cs",
"diff": "@@ -601,7 +601,7 @@ namespace Tizen.NUI.MediaHub\n}\n/// <summary>\n- /// The method is to apply the properties of infomation icons\n+ /// The method is to apply the properties of information icons\n/// </summary>\nprivate void ApplyInformationIcon()\n{\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
fix typo :
"infomation" -> "information"
|
594,283 |
18.09.2018 16:20:06
| -32,400 |
aec82a39e8e379c18b1775e98b0c68f4e5b6239f
|
fix typo : datas -> data
|
[
{
"change_type": "MODIFY",
"old_path": "TV/ChannelList/ChannelList/src/view/ListAdapter.cs",
"new_path": "TV/ChannelList/ChannelList/src/view/ListAdapter.cs",
"diff": "@@ -95,7 +95,7 @@ namespace ChannelList\npublic abstract class ListAdapter\n{\n/// <summary>\n- /// Construct ListAdapter with datas.\n+ /// Construct ListAdapter with data.\n/// </summary>\n/// <param name=\"objects\">data list</param>\npublic ListAdapter(List<object> objects)\n@@ -214,23 +214,23 @@ namespace ChannelList\n}\n/// <summary>\n- /// Adds the specified datas at the end of the List.\n+ /// Adds the specified data at the end of the List.\n/// </summary>\n- /// <param name=\"datas\">The dataList to add at the end of the List.</param>\n- public void AddAll(List<object> datas)\n+ /// <param name=\"data\">The dataList to add at the end of the List.</param>\n+ public void AddAll(List<object> data)\n{\nTizen.Log.Fatal(\"NUI.List\", \"Add items ...\");\n- listData.AddRange(datas);\n+ listData.AddRange(data);\n// Send AddAll event.\nDataChangeEventArgs e = new DataChangeEventArgs();\ne.ChangeType = DataChangeEventType.AddAll;\n- e.data = datas;\n+ e.data = data;\nOnDataChangeEvent(this, e);\n}\n/// <summary>\n- /// Removes the specified datas from the List.\n+ /// Removes the specified data from the List.\n/// </summary>\n/// <param name=\"fromIndex\">The from index of data to remove from the list.</param>\n/// <param name=\"removeNum\">The remove number of data to remove from the list.</param>\n@@ -296,15 +296,15 @@ namespace ChannelList\n{\n/// <summary> Add a data. </summary>\nAdd,\n- /// <summary> Add datas at one time. </summary>\n+ /// <summary> Add data at one time. </summary>\nAddAll,\n- /// <summary> Remove datas. </summary>\n+ /// <summary> Remove data. </summary>\nRemove,\n- /// <summary> Insert datas. </summary>\n+ /// <summary> Insert data. </summary>\nInsert,\n- /// <summary> Clear all datas. </summary>\n+ /// <summary> Clear all data. </summary>\nClear,\n- /// <summary> Load datas. </summary>\n+ /// <summary> Load data. </summary>\nLoad\n}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
fix typo : datas -> data
|
594,255 |
18.09.2018 19:49:21
| -32,400 |
5818d27213e0d1aa8512d73c66dab3c2b8ff49ab
|
fix typo :"datas" -> "data'
|
[
{
"change_type": "MODIFY",
"old_path": "TV/MediaHubSample/MediaHubSample/src/View/OptionList.cs",
"new_path": "TV/MediaHubSample/MediaHubSample/src/View/OptionList.cs",
"diff": "@@ -290,7 +290,7 @@ namespace Tizen.NUI.MediaHub\n}\n/// <summary>\n- /// Removes the specified datas from the List.\n+ /// Removes the specified data from the List.\n/// </summary>\n/// <param name=\"fromIndex\">The from index of data to remove from the list.</param>\n/// <param name=\"removeNum\">The remove number of data to remove from the list.</param>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
fix typo :"datas" -> "data'
|
594,225 |
18.09.2018 23:01:43
| -32,400 |
8fb0f57a3ae5470bc0ecb6df4d0edcc5cd714a3c
|
Update Grid.cs
datas -> data
|
[
{
"change_type": "MODIFY",
"old_path": "TV/MediaHubSample/MediaHubSample/src/View/GridView/Grid.cs",
"new_path": "TV/MediaHubSample/MediaHubSample/src/View/GridView/Grid.cs",
"diff": "@@ -3627,7 +3627,7 @@ namespace Tizen.NUI\n}\n/// <summary>\n- /// Removes the specified datas from the List of specified group.\n+ /// Removes the specified data from the List of specified group.\n/// </summary>\n/// <param name=\"fromIndex\">The from index of data to remove from the list.</param>\n/// <param name=\"removeNum\">The remove number of data to remove from the list.</param>\n@@ -3657,7 +3657,7 @@ namespace Tizen.NUI\n}\n/// <summary>\n- /// Removes the specified datas from the List of specified group.\n+ /// Removes the specified data from the List of specified group.\n/// </summary>\n/// <param name=\"itemIndex\">The from index of data to remove from the list.</param>\n/// <param name=\"groupIndex\">The group index which need to add data.</param>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Update Grid.cs
datas -> data
|
594,225 |
19.09.2018 11:53:01
| -32,400 |
cfa55201cbe502494d126f1468f9cf78afb34835
|
fix type
line 254,
Handle the event of the longpress on the MapView. -> Handle the event of the select on the ViewOption.
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Maps/Maps.Tizen.Wearable/Maps.Tizen.Wearable_App.cs",
"new_path": "Wearable/Maps/Maps.Tizen.Wearable/Maps.Tizen.Wearable_App.cs",
"diff": "@@ -251,7 +251,7 @@ namespace Maps.Tizen.Wearable\n}\n/// <summary>\n- /// Handle the event of the longpress on the MapView.\n+ /// Handle the event of the select on the ViewOption.\n/// </summary>\n/// <param name=\"sender\">Specifies the sender object</param>\n/// <param name=\"oe\">Specifies the occured event</param>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
fix type
line 254,
Handle the event of the longpress on the MapView. -> Handle the event of the select on the ViewOption.
|
594,249 |
19.09.2018 15:38:44
| -32,400 |
ba34328cd70801bc71e5ee482e2cf821d964e9ec
|
[Wearable][VoiceMemo] fix typo
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/AppControl/AppControl/App.cs",
"new_path": "Wearable/AppControl/AppControl/App.cs",
"diff": "@@ -78,7 +78,7 @@ namespace AppControl\n}\n/// <summary>\n- /// Calledn when the application resumes from a sleeping state.\n+ /// Called when the application resumes from a sleeping state.\n/// </summary>\nprotected override void OnResume()\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/AppInformation/AppInformation/App.cs",
"new_path": "Wearable/AppInformation/AppInformation/App.cs",
"diff": "@@ -25,7 +25,7 @@ namespace AppInformation\n/// <summary>\n/// This is a main class of ApplicationInfo and DirectoryInfo.\n/// This class creates a simple list to show ApplicationInfo and DirectoryInfo of\n- /// this applicaiton.\n+ /// this application.\n/// </summary>\npublic class App : Application\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs/RotaryEventPage.cs",
"new_path": "Wearable/PlayingWithHWInputs/PlayingWithHWInputs/RotaryEventPage.cs",
"diff": "@@ -114,7 +114,7 @@ namespace PlayingWithHWInputs\nSKCanvas canvas = canvasSurface.Canvas;\n// Save canvas here to later retrieve\ncanvas.Save();\n- // Initialize canvase before drawing\n+ // Initialize canvas before drawing\ncanvas.Clear(SKColors.Black);\n// Handling for the right rotation state\nif (currentState == ONGOING_EVENT_STATE.RIGHT_DIRECTION_ROTATE)\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/ServiceApp/ServiceApp/ServiceApp_App.cs",
"new_path": "Wearable/ServiceApp/ServiceApp/ServiceApp_App.cs",
"diff": "@@ -55,7 +55,7 @@ namespace ServiceApp\nmessagePort.Send(bundleToSend, \"org.tizen.example.MessagePortSampleApp\", uiAppPortName, true); // last argument should match type of receiver port(trusted or not).\n}\n};\n- // Listen regiser this local message port so this must be called to Send\n+ // Listen register this loal message port so this must be called to Send\nmessagePort.Listen();\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/UsingResxLocalization/UsingResxLocalization/PagesXaml/FirstPageXaml.xaml.cs",
"new_path": "Wearable/UsingResxLocalization/UsingResxLocalization/PagesXaml/FirstPageXaml.xaml.cs",
"diff": "@@ -34,7 +34,7 @@ namespace UsingResxLocalization\n/// <summary>\n/// Called when myButton is clicked.\n/// Alert message will be shown.\n- /// The message will be localized based on the curren system language.\n+ /// The message will be localized based on the current system language.\n///\n/// </summary>\n/// <param name=\"sender\">object</param>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VoiceMemo/VoiceMemo.Tizen.Wearable/Services/AudioPlayService.cs",
"new_path": "Wearable/VoiceMemo/VoiceMemo.Tizen.Wearable/Services/AudioPlayService.cs",
"diff": "@@ -119,7 +119,7 @@ namespace VoiceMemo.Tizen.Wearable.Services\n/// </summary>\npublic void IncreaseVolume()\n{\n- // if volume level is already max, ingore it.\n+ // if volume level is already max, ignore it.\nif (audioVolume.Level[AudioVolumeType.Media] == audioVolume.MaxLevel[AudioVolumeType.Media])\n{\nreturn;\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VoiceMemo/VoiceMemo/App.xaml.cs",
"new_path": "Wearable/VoiceMemo/VoiceMemo/App.xaml.cs",
"diff": "@@ -72,7 +72,7 @@ namespace VoiceMemo\n}\nelse\n{\n- // Close the app if the user refuses the permissions to use recoder and device storage\n+ // Close the app if the user refuses the permissions to use recorder and device storage\nawait MainPage.DisplayAlert(\"Notice\", \"Due to no user permission, this app cannot be executed.\", \"OK\");\n// Terminate this application\nDependencyService.Get<IAppTerminator>().TerminateApp();\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VoiceMemo/VoiceMemo/Converters/SttToPropertyConverter.cs",
"new_path": "Wearable/VoiceMemo/VoiceMemo/Converters/SttToPropertyConverter.cs",
"diff": "@@ -32,8 +32,8 @@ namespace VoiceMemo.Converters\n/// <summary>\n/// Converter class\n- /// According to wheter or not STT feature usability is on,\n- /// this coverter class will provider the proper text and the path of image file .\n+ /// According to whether or not STT feature usability is on,\n+ /// this converter class will provider the proper text and the path of image file .\n/// </summary>\npublic class SttToPropertyConverter : IValueConverter\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VoiceMemo/VoiceMemo/ViewModels/MessageKeys.cs",
"new_path": "Wearable/VoiceMemo/VoiceMemo/ViewModels/MessageKeys.cs",
"diff": "@@ -21,7 +21,7 @@ namespace VoiceMemo.ViewModels\n// Notify that player's state has changed\npublic const string PlayerStateChanged = \"PlayerStateChanged\";\n- // Notify that Audo play has done\n+ // Notify that Audio play has done\npublic const string AudioPlayDone = \"AudioPlayDone\";\n// Notify that Error occurs\n@@ -49,7 +49,7 @@ namespace VoiceMemo.ViewModels\n// Notify that permission from an user is got or not\npublic const string UserPermission = \"UserPermission\";\n- // Notify that long click event occurrs in RecordListPage\n+ // Notify that long click event occurs in RecordListPage\n//public const string RecordListLongPressed = \"RecordListLongPressed\";\n// TODO : It's a missing feature\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VoiceMemo/VoiceMemo/ViewModels/PlayBackPageModel.cs",
"new_path": "Wearable/VoiceMemo/VoiceMemo/ViewModels/PlayBackPageModel.cs",
"diff": "@@ -441,10 +441,10 @@ namespace VoiceMemo.ViewModels\nbool HideVolumeView()\n{\n- // In cas that screen is touched, VolumeView is still visible.\n+ // In case that screen is touched, VolumeView is still visible.\nif (_Touched)\n{\n- Console.WriteLine(\"In cas that screen is touched, VolumeView is still visible.\");\n+ Console.WriteLine(\"In case that screen is touched, VolumeView is still visible.\");\n_Touched = false;\nreturn true;\n}\n@@ -461,7 +461,7 @@ namespace VoiceMemo.ViewModels\n{\nConsole.WriteLine(\" $$$$$$$$$$$$ \");\nConsole.WriteLine(\" $$$$$$$$$$$$ \");\n- Console.WriteLine(\" Screen is touched. So dalaytime will be updated.\");\n+ Console.WriteLine(\" Screen is touched. So delaytime will be updated.\");\nConsole.WriteLine(\" $$$$$$$$$$$$ \");\nConsole.WriteLine(\" $$$$$$$$$$$$ \");\n_Touched = true;\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VoiceMemo/VoiceMemo/ViewModels/RecordingPageModel.cs",
"new_path": "Wearable/VoiceMemo/VoiceMemo/ViewModels/RecordingPageModel.cs",
"diff": "@@ -341,7 +341,7 @@ namespace VoiceMemo.ViewModels\nreturn;\n}\n- // initalize page\n+ // initialize page\nRecordingViewModelState = RecordingViewModelState.Ready;\nRecordingTime = \"00:00\";\nRecordingProcess = 0;\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VoiceMemo/VoiceMemo/Views/RecordListPage.xaml.cs",
"new_path": "Wearable/VoiceMemo/VoiceMemo/Views/RecordListPage.xaml.cs",
"diff": "@@ -109,7 +109,7 @@ namespace VoiceMemo.Views\n{\nif (((MainPageModel)BindingContext).IsCheckable)\n{\n- Console.WriteLine(\" RecordListPage.OnItemTapped : Checkable mode so ingore tapped event\");\n+ Console.WriteLine(\" RecordListPage.OnItemTapped : Checkable mode so ignore tapped event\");\nreturn;\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/WeatherWatch/WeatherWatch/PageModels/WeatherWatchPageModel.cs",
"new_path": "Wearable/WeatherWatch/WeatherWatch/PageModels/WeatherWatchPageModel.cs",
"diff": "@@ -187,7 +187,7 @@ namespace WeatherWatch.PageModels\n}\n}\n- // text for bettery percentage\n+ // text for battery percentage\npublic bool BatteryTextIsVisible\n{\nget => _batteryTextIsVisible;\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][VoiceMemo] fix typo
|
594,234 |
21.09.2018 10:42:48
| -28,800 |
e7f0c227ab30c9a4ca2dc1a637387e466cf3f777
|
Update screenshots[Ball3D]
|
[
{
"change_type": "MODIFY",
"old_path": "TV/Ball3D/README.md",
"new_path": "TV/Ball3D/README.md",
"diff": "This sample application mainly shows how to draw a spherical 3D model, add texture, and realize rotation control.\n-\n+\n## License\nCopyright (c) 2017 Samsung Electronics Co., Ltd.\n"
},
{
"change_type": "ADD",
"old_path": "TV/Ball3D/Screenshots/Ball3D_1.png",
"new_path": "TV/Ball3D/Screenshots/Ball3D_1.png",
"diff": "Binary files /dev/null and b/TV/Ball3D/Screenshots/Ball3D_1.png differ\n"
},
{
"change_type": "ADD",
"old_path": "TV/Ball3D/Screenshots/Ball3D_2.png",
"new_path": "TV/Ball3D/Screenshots/Ball3D_2.png",
"diff": "Binary files /dev/null and b/TV/Ball3D/Screenshots/Ball3D_2.png differ\n"
},
{
"change_type": "ADD",
"old_path": "TV/Ball3D/Screenshots/Ball3D_3.png",
"new_path": "TV/Ball3D/Screenshots/Ball3D_3.png",
"diff": "Binary files /dev/null and b/TV/Ball3D/Screenshots/Ball3D_3.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Update screenshots[Ball3D]
|
594,234 |
21.09.2018 10:59:23
| -28,800 |
c3dbc1b33a61f9878da1b9dcb5f91f6a542d1dd2
|
Update screenshots[Panorama360]
|
[
{
"change_type": "ADD",
"old_path": "TV/Panorama360/Screenshots/Panorama360.png",
"new_path": "TV/Panorama360/Screenshots/Panorama360.png",
"diff": "Binary files /dev/null and b/TV/Panorama360/Screenshots/Panorama360.png differ\n"
},
{
"change_type": "ADD",
"old_path": "TV/Panorama360/Screenshots/Panorama360_2.png",
"new_path": "TV/Panorama360/Screenshots/Panorama360_2.png",
"diff": "Binary files /dev/null and b/TV/Panorama360/Screenshots/Panorama360_2.png differ\n"
},
{
"change_type": "ADD",
"old_path": "TV/Panorama360/Screenshots/Panorama360_3.png",
"new_path": "TV/Panorama360/Screenshots/Panorama360_3.png",
"diff": "Binary files /dev/null and b/TV/Panorama360/Screenshots/Panorama360_3.png differ\n"
},
{
"change_type": "ADD",
"old_path": "TV/Panorama360/Screenshots/Panorama360_4.png",
"new_path": "TV/Panorama360/Screenshots/Panorama360_4.png",
"diff": "Binary files /dev/null and b/TV/Panorama360/Screenshots/Panorama360_4.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Update screenshots[Panorama360]
|
594,218 |
26.09.2018 10:31:26
| -7,200 |
bf28ec38653d8f33b21e761e2ca4c98f3442407a
|
[SecureRepository][Mobile] Fix text allignment in listView
|
[
{
"change_type": "MODIFY",
"old_path": "Mobile/SecureRepository/SecureRepository/SecureRepository/Views/MainPage.xaml",
"new_path": "Mobile/SecureRepository/SecureRepository/SecureRepository/Views/MainPage.xaml",
"diff": "IsGroupingEnabled=\"True\"\nSelectedItem=\"{Binding SelectedItem}\"\nItemsSource=\"{Binding Path=UIList}\">\n-\n+ <ListView.ItemTemplate>\n+ <DataTemplate>\n+ <ViewCell>\n+ <Grid Padding=\"32,0,0,0\">\n+ <Label VerticalTextAlignment=\"Center\"\n+ HeightRequest=\"120\"\n+ Text=\"{Binding Alias}\" />\n+ </Grid>\n+ </ViewCell>\n+ </DataTemplate>\n+ </ListView.ItemTemplate>\n</ListView>\n</Grid>\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/SecureRepository/SecureRepository/SecureRepository/Views/MainPage.xaml.cs",
"new_path": "Mobile/SecureRepository/SecureRepository/SecureRepository/Views/MainPage.xaml.cs",
"diff": "@@ -55,9 +55,6 @@ namespace SecureRepository\npublic MainPage()\n{\nthis.InitializeComponent();\n- var template = new DataTemplate(typeof(TextCell));\n- template.SetBinding(TextCell.TextProperty, \"Alias\");\n- listView.ItemTemplate = template;\nthis.mv = new MainPageViewModel();\nthis.BindingContext = this.mv;\n}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[SecureRepository][Mobile] Fix text allignment in listView
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
|
594,249 |
27.09.2018 12:15:14
| -32,400 |
f19a523b59dcdff07de94ae39d73c920eb1cd83a
|
[Wearable][XamarinFormsAndServiceApps] new sample application
|
[
{
"change_type": "ADD",
"old_path": "Wearable/XamarinFormsAndServiceApps/ServiceApp/shared/res/ServiceApp.png",
"new_path": "Wearable/XamarinFormsAndServiceApps/ServiceApp/shared/res/ServiceApp.png",
"diff": "Binary files /dev/null and b/Wearable/XamarinFormsAndServiceApps/ServiceApp/shared/res/ServiceApp.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/XamarinFormsAndServiceApps/XamarinFormsAndServiceApps/XamarinFormsAndServiceApps.cs",
"diff": "+using System;\n+\n+namespace XamarinFormsAndServiceApps\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/XamarinFormsAndServiceApps/XamarinFormsAndServiceApps/shared/res/XamarinFormsAndServiceApps.png",
"new_path": "Wearable/XamarinFormsAndServiceApps/XamarinFormsAndServiceApps/shared/res/XamarinFormsAndServiceApps.png",
"diff": "Binary files /dev/null and b/Wearable/XamarinFormsAndServiceApps/XamarinFormsAndServiceApps/shared/res/XamarinFormsAndServiceApps.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][XamarinFormsAndServiceApps] new sample application
|
594,223 |
10.10.2018 15:23:10
| -32,400 |
92f215bd89691a3a3db2b51914db6cf9040a192a
|
[Wearable][Alarm] modify icon and label
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/shared/res/Alarm.png",
"new_path": "Wearable/Alarm/Alarm/shared/res/Alarm.png",
"diff": "Binary files a/Wearable/Alarm/Alarm/shared/res/Alarm.png and b/Wearable/Alarm/Alarm/shared/res/Alarm.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Alarm] modify icon and label
|
594,249 |
18.10.2018 14:33:32
| -32,400 |
97a1013315e886d2d03dcc5cf495f312e8d5f56c
|
[Wearable][WeatherWatch] handle the exception case
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/WeatherWatch/WeatherWatch/Services/LocationService.cs",
"new_path": "Wearable/WeatherWatch/WeatherWatch/Services/LocationService.cs",
"diff": "@@ -64,7 +64,17 @@ namespace WeatherWatch.Services\n}\n}\n- return locator.GetLocation();\n+ Location l = null;\n+ try\n+ {\n+ l = locator.GetLocation();\n+ }\n+ catch (Exception e)\n+ {\n+ Console.WriteLine(\"\\n[GetCurrentPosition] GetLocation()--> Exception : \" + e.Message + \", \" + e.StackTrace + \", \" + e.InnerException);\n+ }\n+\n+ return l;\n}\nasync void RequestPermission()\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][WeatherWatch] handle the exception case
|
594,223 |
26.10.2018 15:21:14
| -32,400 |
75b44720c61ecbc83c21ef0f6bc0525e4da692dc
|
[Wearable][Alarm]Fix alarm alert issue when call connected and fix typo
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Alarm.cs",
"new_path": "Wearable/Alarm/Alarm/Alarm.cs",
"diff": "@@ -29,6 +29,7 @@ namespace Alarm\npublic static string ResourceDir { get; private set; }\nApp app;\n+ AlertPageModel _alertPageModel;\n/// <summary>\n/// Called when this application is launched\n@@ -41,8 +42,31 @@ namespace Alarm\nLoadApplication(app);\n}\n+ protected override void OnPause()\n+ {\n+ Console.WriteLine(\"OnPause\");\n+ if (_alertPageModel != null)\n+ {\n+ if(_alertPageModel.AlertSoundState == SoundState.Start)\n+ {\n+ Console.WriteLine(\"Alert sound state is start, pause alert sound!\");\n+ _alertPageModel.PauseAlert();\n+ }\n+ }\n+\n+ base.OnPause();\n+\n+ }\n+\n+ protected override void OnResume()\n+ {\n+ Console.WriteLine(\"OnResume\");\n+ base.OnResume();\n+\n+ }\n+\n/// <summary>\n- /// Called when this app control event receviced.\n+ /// Called when this app control event received.\n/// </summary>\n/// <param name=\"e\">AppControlReceivedEventArgs</param>\nasync protected override void OnAppControlReceived(AppControlReceivedEventArgs e)\n@@ -77,7 +101,8 @@ namespace Alarm\nConsole.WriteLine(\"retrievedRecord:\" + retrievedRecord);\nif (retrievedRecord != null && retrievedRecord.AlarmState < AlarmStates.Inactive)\n{\n- await currentPage.Navigation.PushAsync(new AlarmAlertPage(new AlertPageModel(retrievedRecord)));\n+ _alertPageModel = new AlertPageModel(retrievedRecord);\n+ await currentPage.Navigation.PushAsync(new AlarmAlertPage(_alertPageModel));\n}\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/AlarmPageController.cs",
"new_path": "Wearable/Alarm/Alarm/AlarmPageController.cs",
"diff": "@@ -65,7 +65,7 @@ namespace Alarm\n// parameter 'o' is AlarmRecord object to show in AlarmEditPage.\n// 1. Copy values to AlarmModel.BindableAlarmRecord\nAlarmModel.BindableAlarmRecord.DeepCopy((AlarmRecord)o);\n- // 2. Apply values to EditPage (at first, create UIs. next time, just show it)\n+ // 2. Apply values to EditPage (at first, create UI. next time, just show it)\nalarmEditPage?.Update((AlarmRecord)o);\nreturn AlarmPageController.alarmEditPage ?? (alarmEditPage = new AlarmEditPage(o as AlarmRecord));\ncase AlarmPages.SavePoupPage:\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Implements/AlarmNativeHandler.cs",
"new_path": "Wearable/Alarm/Alarm/Implements/AlarmNativeHandler.cs",
"diff": "@@ -65,7 +65,7 @@ namespace Alarm.Implements\n}\n/// <summary>\n- /// Cancel a system alarm of AlarmReco\n+ /// Cancel a system alarm of AlarmRecord\n/// </summary>\n/// <param name=\"binableAlarmRecord\">AlarmRecord object relevant to a system alarm to cancel</param>\n/// <seealso cref=\"AlarmRecord\">\n@@ -125,7 +125,7 @@ namespace Alarm.Implements\nif (player == null)\n{\naudioStreamPolicy = new AudioStreamPolicy(AudioStreamType.Alarm);\n- audioStreamPolicy.AcquireFocus(AudioStreamFocusOptions.Playback, AudioStreamBehaviors.NoResume, null);\n+ audioStreamPolicy.AcquireFocus(AudioStreamFocusOptions.Playback, AudioStreamBehaviors.Fading, null);\nplayer = new Player();\nMediaUriSource soudSource = new MediaUriSource(SystemSettings.SoundNotification);\n@@ -142,6 +142,22 @@ namespace Alarm.Implements\n}\n}\n+ public static void PauseSound()\n+ {\n+ if (player.State == PlayerState.Playing)\n+ {\n+ player.Stop();\n+ }\n+ }\n+\n+ public static void ResumeSound()\n+ {\n+ if (player.State == PlayerState.Paused || player.State == PlayerState.Ready)\n+ {\n+ player.Start();\n+ }\n+ }\n+\n/// <summary>\n/// Asynchronously stops ringing\n/// </summary>\n@@ -151,7 +167,7 @@ namespace Alarm.Implements\n{\nplayer.Stop();\nplayer.Unprepare();\n- audioStreamPolicy.ReleaseFocus(AudioStreamFocusOptions.Playback, AudioStreamBehaviors.NoResume, null);\n+ audioStreamPolicy.ReleaseFocus(AudioStreamFocusOptions.Playback, AudioStreamBehaviors.Fading, null);\nplayer.Dispose();\nplayer = null;\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Models/AlarmModel.cs",
"new_path": "Wearable/Alarm/Alarm/Models/AlarmModel.cs",
"diff": "@@ -156,7 +156,7 @@ namespace Alarm.Models\n}\n/// <summary>\n- /// Ractivate AlarmRecord\n+ /// Reactivate AlarmRecord\n/// </summary>\n/// <param name=\"record\">AlarmRecord for reactivating</param>\npublic static void ReactivatelAlarm(AlarmRecord record)\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Models/AlarmRecord.cs",
"new_path": "Wearable/Alarm/Alarm/Models/AlarmRecord.cs",
"diff": "@@ -210,7 +210,7 @@ namespace Alarm.Models\n}\n/// <summary>\n- /// Return a string that represents the current CityRecord object.\n+ /// Return a string that represents the current AlarmRecord object.\n/// </summary>\n/// <returns>string</returns>\npublic override string ToString()\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Renderers/ImageButtonRenderer.cs",
"new_path": "Wearable/Alarm/Alarm/Renderers/ImageButtonRenderer.cs",
"diff": "@@ -120,7 +120,7 @@ namespace Alarm.Tizen.Renderers\nif (isTouched)\n{\n- //invoke click event when user relase image button.\n+ //invoke click event when a user releases image button.\n((ImageButton)Element).SendReleased();\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/ViewModels/AlertPageModel.cs",
"new_path": "Wearable/Alarm/Alarm/ViewModels/AlertPageModel.cs",
"diff": "@@ -21,10 +21,19 @@ using System.Runtime.CompilerServices;\nnamespace Alarm.ViewModels\n{\n+ public enum SoundState\n+ {\n+ Stop = 0,\n+ Start = 1,\n+ Pause = 2,\n+ }\n+\npublic class AlertPageModel : BasePageModel\n{\nprivate AlarmRecord _alarmRecord;\n+ private SoundState _alertSoundState;\n+\n/// <summary>\n/// Alarm record to display in Alert Page\n/// </summary>\n@@ -41,6 +50,19 @@ namespace Alarm.ViewModels\n}\n}\n+ public SoundState AlertSoundState\n+ {\n+ get\n+ {\n+ return _alertSoundState;\n+ }\n+\n+ set\n+ {\n+ SetProperty(ref _alertSoundState, value, \"AlertState\");\n+ }\n+\n+ }\n/// <summary>\n/// AlertPageModel constructor with AlarmRecord\n/// </summary>\n@@ -54,6 +76,20 @@ namespace Alarm.ViewModels\n{\nAlarmNativeHandler.PlaySound();\nAlarmNativeHandler.StartVibration();\n+ _alertSoundState = SoundState.Start;\n+ }\n+\n+ public void PauseAlert()\n+ {\n+ AlarmNativeHandler.PauseSound();\n+ AlarmNativeHandler.StopVibration();\n+ _alertSoundState = SoundState.Pause;\n+ }\n+\n+ public void ResumeAlert()\n+ {\n+ AlarmNativeHandler.ResumeSound();\n+ _alertSoundState = SoundState.Start;\n}\n/// <summary>\n@@ -63,6 +99,7 @@ namespace Alarm.ViewModels\n{\nAlarmNativeHandler.StopSound();\nAlarmNativeHandler.StopVibration();\n+ _alertSoundState = SoundState.Stop;\nif (_alarmRecord != null)\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Views/AlarmAlertPage.xaml.cs",
"new_path": "Wearable/Alarm/Alarm/Views/AlarmAlertPage.xaml.cs",
"diff": "@@ -50,7 +50,7 @@ namespace Alarm.Views\n// Subscribe notification of locale changes to update text based on locale\nMessagingCenter.Subscribe<LocaleHandler, CultureInfo>(this, MessageKeys.LanguageChanged, (obj, culture) =>\n{\n- Console.WriteLine($\"AlarmAlertPage receviced LanguageChanged\");\n+ Console.WriteLine($\"AlarmAlertPage received LanguageChanged\");\n// Update text that has been translated into the current language.\nTimeLabel.Text = _viewModel.Record.ScheduledDateTime.ToString(\"hh:mm tt\");\nDismissButton.Text = AppResources.Dismiss;\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Views/AlarmEditPage.xaml.cs",
"new_path": "Wearable/Alarm/Alarm/Views/AlarmEditPage.xaml.cs",
"diff": "@@ -87,7 +87,7 @@ namespace Alarm.Views\n}\n_alarmSaving = true;\n- //substract second from selectedTime.\n+ //subtract second from selectedTime.\nSelectedDateTime = SelectedDateTime.AddSeconds(-SelectedDateTime.Second);\nConsole.WriteLine($\"SelectedDateTime :{SelectedDateTime}\");\nAlarmModel.BindableAlarmRecord.ScheduledDateTime = SelectedDateTime;\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Views/MainPage.xaml.cs",
"new_path": "Wearable/Alarm/Alarm/Views/MainPage.xaml.cs",
"diff": "@@ -46,13 +46,13 @@ namespace Alarm.Views\n// Subscribe notification of locale changes to update text based on locale\nMessagingCenter.Subscribe<LocaleHandler, CultureInfo>(this, MessageKeys.LanguageChanged, (obj, culture) =>\n{\n- Console.WriteLine($\"MainPage receviced LanguageChanged\");\n+ Console.WriteLine($\"MainPage received LanguageChanged\");\n// Update text that has been translated into the current language.\nHeaderLabel.Text = EmptyHeaderLabel.Text = AppResources.Alarm;\nEmptyBottomLabel.Text = AppResources.AddAlarm;\nAddButton.Text = AppResources.Add;\n- //This is workaround solution for refresh Listview following to launguage change.\n+ //This is workaround solution for refresh Listview following to language change.\nAlarmList.ItemsSource = null;\nAlarmList.ItemsSource = viewModel.RecordList;\n});\n@@ -71,9 +71,9 @@ namespace Alarm.Views\nreturn;\n}\n- /// checks selected item\n+ /// check selected item\nAlarmRecord alarm = e.SelectedItem as AlarmRecord;\n- /// Deselects first\n+ /// de-select first item\n((ListView)sender).SelectedItem = null; // de-select the row\nEditAlarm(alarm);\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Views/SavePopupPage.xaml.cs",
"new_path": "Wearable/Alarm/Alarm/Views/SavePopupPage.xaml.cs",
"diff": "@@ -88,7 +88,7 @@ namespace Alarm.Views\n//Console.WriteLine($\"App.Culture.Name:{App.Culture.Name}\");\nif (hour == 0)\n{\n- //If housr is 0, display only remain minutes.\n+ //If hour is 0, display only remain minutes.\nif (min == 0)\n{\ntext = GetSetNowText();\n@@ -130,7 +130,7 @@ namespace Alarm.Views\n/// Get localized string of remaining minutes.\n/// </summary>\n/// <param name=\"minutes\">remain minutes</param>\n- /// <returns> ocalized string of remaining minutes</returns>\n+ /// <returns>Localized string of remaining minutes</returns>\nprivate string GetRemainMinutesText(int minutes)\n{\nstring text;\n@@ -158,7 +158,7 @@ namespace Alarm.Views\n/// </summary>\n/// <param name=\"hours\">remain hours</param>\n/// <param name=\"minutes\">remain minutes</param>\n- /// <returns> ocalized string of remaining hours and minutes</returns>\n+ /// <returns>Localized string of remaining hours and minutes</returns>\nprivate string GetRemainHourMinutesText(int hours, int minutes)\n{\nstring text;\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Alarm]Fix alarm alert issue when call connected and fix typo
|
594,223 |
29.10.2018 13:51:30
| -32,400 |
5219f8bc2b83a76fa3cbe237770608f56dc59012
|
[Wearable][XUIComponents] Fix spelling errors
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents.Tizen.Wearable/Renderers/MutilineCellRenderer.cs",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents.Tizen.Wearable/Renderers/MutilineCellRenderer.cs",
"diff": "@@ -25,7 +25,7 @@ namespace UIComponents.Tizen.Wearable.Renderers\npublic class MultilineCellRenderer : CellRenderer\n{\n/// <summary>\n- /// Constructor of MultilineCellRenderer class with style paramter\n+ /// Constructor of MultilineCellRenderer class with style parameter\n/// </summary>\n/// <param name=\"style\">Style of CellRenderer</param>\nprotected MultilineCellRenderer(string style) : base(style)\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents.Tizen.Wearable/Renderers/ThumbnailIndexRenderer.cs",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents.Tizen.Wearable/Renderers/ThumbnailIndexRenderer.cs",
"diff": "@@ -19,7 +19,6 @@ using UIComponents.Extensions;\nusing UIComponents.Tizen.Wearable.Renderers;\nusing Xamarin.Forms.Platform.Tizen;\nusing ElmSharp;\n-using Elayout = ElmSharp.Layout;\nusing TForms = Xamarin.Forms.Platform.Tizen.Forms;\nusing System.Collections.Generic;\n@@ -29,7 +28,6 @@ namespace UIComponents.Tizen.Wearable.Renderers\npublic class ThumbnailIndexRenderer : ViewRenderer<ThumbnailIndex, EvasObject>\n{\nList<IndexItem> _items = new List<IndexItem>();\n- //Elayout _outterLayout;\nPaddingBox _pbox;\nScroller _scroller;\nIndex _index;\n@@ -65,7 +63,6 @@ namespace UIComponents.Tizen.Wearable.Renderers\n{\nConsole.WriteLine(\"Initialize\");\n_isFirstItem = true;\n- //_outterLayout = new Elayout(TForms.Context.MainWindow);\n_pbox = new PaddingBox(TForms.NativeParent)\n{\n@@ -75,7 +72,7 @@ namespace UIComponents.Tizen.Wearable.Renderers\n};\n_pbox.Show();\n- _index = new ElmSharp.Index(_pbox/*_outterLayout*/)\n+ _index = new ElmSharp.Index(_pbox)\n{\nStyle = \"thumbnail\",\nAutoHide = false,\n@@ -87,7 +84,7 @@ namespace UIComponents.Tizen.Wearable.Renderers\n_pbox.Header = _index;\n//index.Geometry = new Rect(0, 22, 200, 19);\n- _scroller = new ElmSharp.Scroller(_pbox/*_outterLayout*/)\n+ _scroller = new ElmSharp.Scroller(_pbox)\n{\nHorizontalLoop = false,\nVerticalLoop = false,\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/ProcessSmall.cs",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/ProcessSmall.cs",
"diff": "@@ -28,7 +28,7 @@ namespace UIComponents.Samples.Popup\n//Set to enable small progress of popup\nIsProgressRunning = true;\n- //Set text of poup\n+ //Set text of popup\nText = \"Description about progress\";\n//Request to dismiss Popup when back button event occurs\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/Text1Button.cs",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/Text1Button.cs",
"diff": "@@ -27,7 +27,7 @@ namespace UIComponents.Samples.Popup\n/// </summary>\npublic Text1Button()\n{\n- //Set text of poup\n+ //Set text of popup\nText = @\"This is scrollable popup text.\nThis part is made by adding long text in popup. Popup internally added\nscroller to this layout when size of text is greater than total popup\n@@ -39,7 +39,7 @@ height. This has one button in action area and does not have title area\";\nText = \"OK\",\nCommand = new Command(() =>\n{\n- Console.WriteLine(\"Bottom botton Command!!\");\n+ Console.WriteLine(\"Bottom button Command!!\");\nthis.Dismiss();\n})\n};\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/TextPopup.cs",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/TextPopup.cs",
"diff": "@@ -25,7 +25,7 @@ namespace UIComponents.Samples.Popup\n/// </summary>\npublic TextPopup()\n{\n- //Set text of poup\n+ //Set text of popup\nText = \"This has only texts. This is set by object\";\n//Request to dismiss this popup when back button event occurs\nBackButtonPressed += (s, e) => { this.Dismiss(); };\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/TextScrollable.cs",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/TextScrollable.cs",
"diff": "@@ -25,7 +25,7 @@ namespace UIComponents.Samples.Popup\n/// </summary>\npublic TextScrollable()\n{\n- //Set text of poup\n+ //Set text of popup\nText = @\"This is scrollable popup text.\nThis part is made by adding long text in popup. Popup internally added\nscroller to this layout when size of text is greater than total popup\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/TitleText.cs",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/TitleText.cs",
"diff": "@@ -27,7 +27,7 @@ namespace UIComponents.Samples.Popup\n{\n//Set title of popup\nTitle = \"Title\";\n- //Set text of poup\n+ //Set text of popup\nText = \"This Popup has title area\";\n//Request to dismiss this popup when back button event occurs\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/TitleText1Button.cs",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/Popup/TitleText1Button.cs",
"diff": "@@ -41,7 +41,7 @@ height. This has one button in action area and title text in title area\";\nText = \"OK\",\nCommand = new Command(() =>\n{\n- Console.WriteLine(\"Bottom botton Command!!\");\n+ Console.WriteLine(\"Bottom button Command!!\");\nthis.Dismiss();\n})\n};\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/PopupList.xaml.cs",
"new_path": "Wearable/XUIComponents/UIComponents/UIComponents/Samples/PopupList.xaml.cs",
"diff": "@@ -68,7 +68,7 @@ namespace UIComponents.Samples\nelse if (title.Equals(\"Toast\")) // Toast case - set text\n{\nConsole.WriteLine($\"display Toast\");\n- Toast.DisplayText(\"Saving Contacts to sim on sams, 1 2 3 4 5 6 7 8 9 10.\", 2000);\n+ Toast.DisplayText(\"Saving Contacts to SIM , 1 2 3 4 5 6 7 8 9 10.\", 2000);\n}\nelse if (title.Equals(\"Graphic Toast\")) // Graphic Toast case - set text and image\n{\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][XUIComponents] Fix spelling errors
|
594,247 |
31.10.2018 19:47:55
| -32,400 |
0b2127f43a90d244a73b404f1eb9010c78e13905
|
[Wearable][XStopWatch] Resize event spot image
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/XStopWatch/XStopWatch/XStopWatch/StopWatch.xaml",
"new_path": "Wearable/XStopWatch/XStopWatch/XStopWatch/StopWatch.xaml",
"diff": "<!-- this translucent images indicate the area to receive the touch. -->\n<Image Source=\"images/event_spot.png\"\nOpacity=\"0\"\n- AbsoluteLayout.LayoutBounds=\"72, 126, 216, 216\"\n+ AbsoluteLayout.LayoutBounds=\"80, 126, 200, 200\"\nAbsoluteLayout.LayoutFlags=\"None\">\n<Image.GestureRecognizers>\n<TapGestureRecognizer Tapped=\"OnBottomEventTapped\"/>\n</Image>\n<Image Source=\"images/event_spot.png\"\nOpacity=\"0\"\n- AbsoluteLayout.LayoutBounds=\"72, 22, 216, 216\"\n+ AbsoluteLayout.LayoutBounds=\"80, 22, 200, 200\"\nAbsoluteLayout.LayoutFlags=\"None\">\n<Image.GestureRecognizers>\n<TapGestureRecognizer Tapped=\"OnTopEventTapped\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/XStopWatch/XStopWatch/XStopWatch/res/images/event_spot.png",
"new_path": "Wearable/XStopWatch/XStopWatch/XStopWatch/res/images/event_spot.png",
"diff": "Binary files a/Wearable/XStopWatch/XStopWatch/XStopWatch/res/images/event_spot.png and b/Wearable/XStopWatch/XStopWatch/XStopWatch/res/images/event_spot.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][XStopWatch] Resize event spot image
|
594,229 |
29.10.2018 10:40:53
| -3,600 |
ec328b4672401c9508dfc2536b90552ec9788bad
|
[Wearable][Lescanner]Fix spelling errors
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Lescanner/Lescanner/App.cs",
"new_path": "Wearable/Lescanner/Lescanner/App.cs",
"diff": "@@ -123,7 +123,7 @@ namespace Lescanner\n/// <summary>\n/// Whenever any new device is found, this event handler\n/// will be called. It will add the detected device\n- /// into DeviceList only if the device wasn't added before.\n+ /// into DeviceList only if the device was not added before.\n/// </summary>\n/// <param name=\"sender\">Sender</param>\n/// /// <param name=\"e\">Event arguments</param>\n@@ -249,7 +249,7 @@ namespace Lescanner\nawait MainPage.Navigation.PushAsync(DevicePage);\nawait LeScanSetup();\nScanLabel.Text = \"Scan completed\";\n- DeviceListView.ItemsSource = null; // Refreshing doesn't work without it\n+ DeviceListView.ItemsSource = null; // Refreshing does not work without it\nDeviceListView.ItemsSource = DeviceList;\n}\n@@ -274,7 +274,7 @@ namespace Lescanner\n}\n/// <summary>\n- /// Waits until GATT connection is successfull adding\n+ /// Waits until GATT connection is successful adding\n/// small animation during connecting. Sets 30 second\n/// time limit for connect.\n/// </summary>\n@@ -369,7 +369,7 @@ namespace Lescanner\nUuidList.Add(srv.Uuid);\n}\n- UuidListView.ItemsSource = null; // Refreshing doesn't work without it\n+ UuidListView.ItemsSource = null; // Refreshing does not work without it\nUuidListView.ItemsSource = UuidList;\nGattClientExit(device.Ledevice);\n}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Lescanner]Fix spelling errors
|
594,229 |
29.10.2018 10:41:15
| -3,600 |
e987467c44d72b97a34eb3cb011ced28e825dd2c
|
[Wearable][NetworkApp] Fix spelling errors
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/App.cs",
"new_path": "Wearable/NetworkApp/NetworkApp/App.cs",
"diff": "@@ -23,7 +23,7 @@ namespace NetworkApp\npublic class App : Application\n{\n/// <summary>\n- /// Initizalizes a new instance of the <see cref=\"App\"/> class\n+ /// Initializes a new instance of the <see cref=\"App\"/> class\n/// </summary>\npublic App()\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/ViewModels/LoginViewModel.cs",
"new_path": "Wearable/NetworkApp/NetworkApp/ViewModels/LoginViewModel.cs",
"diff": "@@ -83,7 +83,7 @@ namespace NetworkApp.ViewModels\npublic Command ForgetClickedCommand { get; set; }\n/// <summary>\n- /// Connects to choosen Access Point with password entered by user\n+ /// Connects to chosen Access Point with password entered by user\n/// </summary>\nprivate async void ConnectClickedAsync()\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/ViewModels/ViewModelBase.cs",
"new_path": "Wearable/NetworkApp/NetworkApp/ViewModels/ViewModelBase.cs",
"diff": "@@ -30,7 +30,7 @@ namespace NetworkApp.ViewModels\n/// <param name=\"value\">Value to set</param>\n/// <param name=\"propertyName\">Automatically obtained property name</param>\n/// <typeparam name=\"T\">Property value type</typeparam>\n- /// <returns>True if value was changed, false if value isn't different from current.</returns>\n+ /// <returns>True if value was changed, false if value is not different from current.</returns>\nprotected bool SetProperty<T>(ref T storage, T value, [CallerMemberName] string propertyName = null)\n{\nif (Equals(storage, value))\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][NetworkApp] Fix spelling errors
|
594,229 |
29.10.2018 11:21:27
| -3,600 |
dc69817e43afc09a55e33b83e8207dc68efd06af
|
[Wearable][Weather]Fix spelling errors
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/Utils/NotificationTask.cs",
"new_path": "Wearable/Weather/Weather/Utils/NotificationTask.cs",
"diff": "@@ -61,7 +61,7 @@ namespace Weather.Utils\npublic bool IsNotCompleted => !Task.IsCompleted;\n/// <summary>\n- /// Indicates if task is canceled.\n+ /// Indicates if task is cancelled.\n/// </summary>\npublic bool IsCanceled => Task.IsCanceled;\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/Utils/Request.cs",
"new_path": "Wearable/Weather/Weather/Utils/Request.cs",
"diff": "@@ -97,7 +97,7 @@ namespace Weather.Utils\n/// <param name=\"stream\">Stream from client.</param>\n/// <returns>\n/// Returns type T object with response.\n- /// If deserializing wasn't successful returns default value of type T.\n+ /// If deserializing was not successful returns default value of type T.\n/// </returns>\nprivate static T ReadStream(Stream stream)\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/ViewModels/ViewModelBase.cs",
"new_path": "Wearable/Weather/Weather/ViewModels/ViewModelBase.cs",
"diff": "@@ -30,7 +30,7 @@ namespace Weather.ViewModels\n/// <param name=\"value\">Value to set</param>\n/// <param name=\"propertyName\">Automatically obtained property name</param>\n/// <typeparam name=\"T\">Property value type</typeparam>\n- /// <returns>True if value was changed, false if value isn't different from current.</returns>\n+ /// <returns>True if value was changed, false if value is not different from current.</returns>\nprotected bool SetProperty<T>(ref T storage, T value,\n[CallerMemberName] string propertyName = null)\n{\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Weather]Fix spelling errors
|
594,242 |
19.09.2018 15:24:49
| -7,200 |
1086456d5ea4021a5a936c7e90f98068f8092461
|
[Wearable][Badges] Fix StyleCop issues
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Badges/src/Badges/BadgePage.cs",
"new_path": "Wearable/Badges/src/Badges/BadgePage.cs",
"diff": "@@ -50,6 +50,7 @@ namespace Badges\nbadgeValue = Math.Clamp(value, 0, 10000);\npopupEntry.Text = badgeValue.ToString();\n}\n+\nget { return badgeValue; }\n}\n@@ -96,7 +97,8 @@ namespace Badges\nvar stack = new StackLayout\n{\n- Children = {\n+ Children =\n+ {\nlabel,\npopupEntry,\napplyButton,\n@@ -129,6 +131,7 @@ namespace Badges\n{\nBadgeValue = value;\n}\n+\npopupEntry.Text = BadgeValue.ToString();\n}\n@@ -189,6 +192,7 @@ namespace Badges\n{\nLog.Debug(\"Badges\", $\"Failed to find badge. {e.GetType()}, {e.Message}\");\n}\n+\nreturn badge;\n}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Badges] Fix StyleCop issues
|
594,221 |
19.09.2018 15:29:20
| -7,200 |
96cfa38ff08eeac8a5a514732e3d30f3d3bff934
|
[Wearable][SystemInfo2] Fix StyleCop warnings, update CircularUI
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Components/Battery.cs",
"new_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Components/Battery.cs",
"diff": "@@ -64,6 +64,8 @@ namespace SystemInfo.Components\n/// <summary>\n/// Handle TizenBatteryPercentChagedEvent by letting others know they need to check the levels again.\n/// </summary>\n+ /// <param name=\"sender\"> Sender </param>\n+ /// <param name=\"args\"> Arguments </param>\nprivate void OnPercentChanged(object sender, Tizen.System.BatteryPercentChangedEventArgs args)\n{\n// If this happens - two properties could have changed\n@@ -74,6 +76,8 @@ namespace SystemInfo.Components\n/// <summary>\n/// Handle ChargingStateChangedEvent by letting others know they need to check relevant property state again.\n/// </summary>\n+ /// <param name=\"sender\"> Sender </param>\n+ /// <param name=\"args\"> Arguments </param>\nprivate void OnChargingStateChanged(object sender, Tizen.System.BatteryChargingStateChangedEventArgs args)\n{\nOnPropertyChanged(nameof(IsCharging));\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Components/Settings.cs",
"new_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Components/Settings.cs",
"diff": "@@ -113,6 +113,7 @@ namespace SystemInfo.Components\n{\nOnPropertyChanged(nameof(FontType));\n}\n+\nprivate void OnDeviceNameChanged(object sender, DeviceNameChangedEventArgs args)\n{\nOnPropertyChanged(nameof(DeviceName));\n@@ -123,7 +124,8 @@ namespace SystemInfo.Components\nOnPropertyChanged(nameof(MotionEnabled));\n}\n- private void OnCountryChanged(object sender, LocaleCountryChangedEventArgs args) {\n+ private void OnCountryChanged(object sender, LocaleCountryChangedEventArgs args)\n+ {\nOnPropertyChanged(nameof(LocaleCountry));\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/SystemInfo2.csproj",
"new_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/SystemInfo2.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00065\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00099\" />\n<PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n</ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/SystemInfoPage.xaml.cs",
"new_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/SystemInfoPage.xaml.cs",
"diff": "@@ -17,6 +17,9 @@ using Tizen.Wearable.CircularUI.Forms;\nusing SystemInfo.InfoPages;\nnamespace SystemInfo\n{\n+ /// <summary>\n+ /// SystemInfoPage partial class\n+ /// </summary>\n[XamlCompilation(XamlCompilationOptions.Compile)]\npublic partial class SystemInfoPage : IndexPage\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Views/BatteryPage.xaml.cs",
"new_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Views/BatteryPage.xaml.cs",
"diff": "@@ -23,6 +23,9 @@ using Xamarin.Forms.Xaml;\nnamespace SystemInfo.InfoPages\n{\n+ /// <summary>\n+ /// BatteryPage partial class\n+ /// </summary>\n[XamlCompilation(XamlCompilationOptions.Compile)]\npublic partial class BatteryPage : ContentPage\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Views/CapabilitiesPage.xaml.cs",
"new_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Views/CapabilitiesPage.xaml.cs",
"diff": "@@ -17,6 +17,9 @@ using Tizen.Wearable.CircularUI.Forms;\nnamespace SystemInfo.InfoPages\n{\n+ /// <summary>\n+ /// CapabilitiesPage partial class\n+ /// </summary>\n[XamlCompilation(XamlCompilationOptions.Compile)]\npublic partial class CapabilitiesPage : CirclePage\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Views/DisplayPage.xaml.cs",
"new_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Views/DisplayPage.xaml.cs",
"diff": "@@ -23,6 +23,9 @@ using Xamarin.Forms.Xaml;\nnamespace SystemInfo.InfoPages\n{\n+ /// <summary>\n+ /// DisplayPage partial class\n+ /// </summary>\n[XamlCompilation(XamlCompilationOptions.Compile)]\npublic partial class DisplayPage : ContentPage\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Views/SettingsPage.xaml.cs",
"new_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/Views/SettingsPage.xaml.cs",
"diff": "@@ -23,6 +23,9 @@ using Tizen.Wearable.CircularUI.Forms;\nnamespace SystemInfo.InfoPages\n{\n+ /// <summary>\n+ /// SettingsPage partial class\n+ /// </summary>\n[XamlCompilation(XamlCompilationOptions.Compile)]\npublic partial class SettingsPage : CirclePage\n{\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][SystemInfo2] Fix StyleCop warnings, update CircularUI
|
594,297 |
20.09.2018 11:27:19
| -7,200 |
30937156a50937f7bd64083197623c9e54381642
|
[Wearable][VolumeController] Fix StyleCop warnings, update CircularUI
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/VolumeController/src/VolumeController/ViewModels/VolumeControlViewModel.cs",
"new_path": "Wearable/VolumeController/src/VolumeController/ViewModels/VolumeControlViewModel.cs",
"diff": "@@ -75,6 +75,7 @@ namespace VolumeController.ViewModels\nMaxVolume = AudioManager.VolumeController.MaxLevel[CurrentVolumeType];\nCurrentVolume = AudioManager.VolumeController.Level[CurrentVolumeType];\n}\n+\nget { return volumeTypeIndex; }\n}\n@@ -134,6 +135,7 @@ namespace VolumeController.ViewModels\n}\n}\n+\nget { return currentVolume; }\n}\n@@ -152,8 +154,11 @@ namespace VolumeController.ViewModels\n{\nsliderUsable = value;\nif (value == true)\n+ {\nSliderVolume = CurrentVolume;\n}\n+ }\n+\nget { return sliderUsable; }\n}\n@@ -176,6 +181,7 @@ namespace VolumeController.ViewModels\nSliderUsable = true;\n}\n}\n+\nget { return CurrentVolume; }\n}\n@@ -204,7 +210,9 @@ namespace VolumeController.ViewModels\n{\n// Skip type None as it cannot be used.\nif (volumeType == AudioVolumeType.None)\n+ {\ncontinue;\n+ }\nvolumeTypes.Add(volumeType);\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VolumeController/src/VolumeController/Views/VolumeControlPage.xaml.cs",
"new_path": "Wearable/VolumeController/src/VolumeController/Views/VolumeControlPage.xaml.cs",
"diff": "@@ -18,6 +18,9 @@ using Xamarin.Forms.Xaml;\nnamespace VolumeController.Views\n{\n+ /// <summary>\n+ /// VolumeControllPage partial class.\n+ /// </summary>\n[XamlCompilation(XamlCompilationOptions.Compile)]\npublic partial class VolumeControlPage : CirclePage\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VolumeController/src/VolumeController/VolumeController.csproj",
"new_path": "Wearable/VolumeController/src/VolumeController/VolumeController.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00084\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00099\" />\n<PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n</ItemGroup>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][VolumeController] Fix StyleCop warnings, update CircularUI
|
594,229 |
19.09.2018 15:25:17
| -7,200 |
497a93e7828ac069aecb36db2c4fbfc0674c4dd3
|
Fix StyleCop warnings, update CircularUI nuget
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/Models/Logger.cs",
"new_path": "Wearable/NetworkApp/NetworkApp/Models/Logger.cs",
"diff": "@@ -30,6 +30,9 @@ namespace NetworkApp.Models\n/// Prints DEBUG mode log\n/// </summary>\n/// <param name=\"message\">Log message</param>\n+ /// <param name=\"file\"> Caller file</param>\n+ /// <param name=\"func\"> Caller member name</param>\n+ /// <param name=\"line\"> Caller line number</param>\npublic static void Log(string message, [CallerFilePath] string file = \"\", [CallerMemberName] string func = \"\", [CallerLineNumber] int line = 0)\n{\nglobal::Tizen.Log.Debug(LOGTAG, message, file, func, line);\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/Models/WiFiApiManager.cs",
"new_path": "Wearable/NetworkApp/NetworkApp/Models/WiFiApiManager.cs",
"diff": "@@ -118,6 +118,7 @@ namespace NetworkApp.Tizen.Mobile\n{\nap.SecurityInformation.SetPassphrase(password);\n}\n+\nreturn ap.ConnectAsync();\n}\n@@ -183,6 +184,7 @@ namespace NetworkApp.Tizen.Mobile\nLogger.Log(\"AP: \" + apName + \" not found!\");\nreturn WiFiSecurityType.None;\n}\n+\nreturn ap.SecurityInformation.SecurityType;\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/NetworkApp.csproj",
"new_path": "Wearable/NetworkApp/NetworkApp/NetworkApp.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00084\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00099\" />\n<PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n</ItemGroup>\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/NetworkApp/NetworkApp/Settings.StyleCop",
"diff": "+<StyleCopSettings Version=\"105\">\n+ <GlobalSettings>\n+ <StringProperty Name=\"MergeSettingsFiles\">NoMerge</StringProperty>\n+ </GlobalSettings>\n+ <Parsers>\n+ <Parser ParserId=\"StyleCop.CSharp.CsParser\">\n+ <ParserSettings>\n+ <BooleanProperty Name=\"AnalyzeGeneratedFiles\">True</BooleanProperty>\n+ </ParserSettings>\n+ </Parser>\n+ </Parsers>\n+ <Analyzers>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.DocumentationRules\">\n+ <Rules>\n+ <Rule Name=\"ElementsMustBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"EnumerationItemsMustBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationMustContainValidXml\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustHaveSummary\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PartialElementDocumentationMustHaveSummary\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustHaveSummaryText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustNotHaveDefaultSummary\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"VoidReturnValueMustNotBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParametersMustBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParametersMustBeDocumentedPartialClass\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParameterDocumentationMustMatchTypeParameters\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParameterDocumentationMustDeclareParameterName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParameterDocumentationMustHaveText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PropertySummaryDocumentationMustMatchAccessors\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PropertySummaryDocumentationMustOmitSetAccessorWithRestrictedAccess\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustNotBeCopiedAndPasted\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentsMustNotUseDocumentationStyleSlashes\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationTextMustNotBeEmpty\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationTextMustContainWhitespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationMustMeetCharacterPercentage\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConstructorSummaryDocumentationMustBeginWithStandardText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DestructorSummaryDocumentationMustBeginWithStandardText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationHeadersMustNotContainBlankLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"IncludedDocumentationXPathDoesNotExist\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"IncludeNodeDoesNotContainValidFileAndPath\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"InheritDocMustBeUsedWithInheritingClass\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustBeSpelledCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileMustHaveHeader\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustShowCopyright\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustHaveCopyrightText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustContainFileName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderFileNameDocumentationMustMatchFileName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustHaveValidCompanyText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderFileNameDocumentationMustMatchTypeName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.LayoutRules\">\n+ <Rules>\n+ <Rule Name=\"AllAccessorsMustBeMultiLineOrSingleLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningCurlyBracketsMustNotBeFollowedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationHeadersMustNotBeFollowedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainMultipleBlankLinesInARow\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingCurlyBracketsMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningCurlyBracketsMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ChainedStatementBlocksMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"WhileDoFooterMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentsMustNotBeFollowedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationHeaderMustBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentMustBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementsMustBeSeparatedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainBlankLinesAtStartOfFile\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainBlankLinesAtEndOfFile\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.MaintainabilityRules\">\n+ <Rules>\n+ <Rule Name=\"AccessModifierMustBeDeclared\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldsMustBePrivate\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeAnalysisSuppressionMustHaveJustification\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DebugAssertMustProvideMessageText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DebugFailMustProvideMessageText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileMayOnlyContainASingleClass\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileMayOnlyContainASingleNamespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StatementMustNotUseUnnecessaryParenthesis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ArithmeticExpressionsMustDeclarePrecedence\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConditionalExpressionsMustDeclarePrecedence\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"RemoveDelegateParenthesisWhenPossible\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"AttributeConstructorMustNotUseUnnecessaryParenthesis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"RemoveUnnecessaryCode\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.NamingRules\">\n+ <Rules>\n+ <Rule Name=\"ElementMustBeginWithLowerCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConstFieldNamesMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"NonPrivateReadonlyFieldsMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustNotUseHungarianNotation\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustBeginWithLowerCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"AccessibleFieldsMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"VariableNamesMustNotBePrefixed\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustNotBeginWithUnderscore\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustNotContainUnderscore\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StaticReadonlyFieldsMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.OrderingRules\">\n+ <Rules>\n+ <Rule Name=\"UsingDirectivesMustBePlacedWithinNamespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementsMustAppearInTheCorrectOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementsMustBeOrderedByAccess\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConstantsMustAppearBeforeFields\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StaticElementsMustAppearBeforeInstanceElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DeclarationKeywordsMustFollowOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ProtectedMustComeBeforeInternal\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PropertyAccessorsMustFollowOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"EventAccessorsMustFollowOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StaticReadonlyElementsMustAppearBeforeStaticNonReadonlyElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"InstanceReadonlyElementsMustAppearBeforeInstanceNonReadonlyElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SystemUsingDirectivesMustBePlacedBeforeOtherUsingDirectives\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingAliasDirectivesMustBePlacedAfterOtherUsingDirectives\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingDirectivesMustBeOrderedAlphabeticallyByNamespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingAliasDirectivesMustBeOrderedAlphabeticallyByAliasName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingStaticDirectivesMustBePlacedAtTheCorrectLocation\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.ReadabilityRules\">\n+ <Rules>\n+ <Rule Name=\"CommentsMustContainText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DoNotPrefixCallsWithBaseUnlessLocalImplementationExists\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PrefixLocalCallsWithThis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PrefixCallsCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningParenthesisMustBeOnDeclarationLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingParenthesisMustBeOnLineOfLastParameter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingParenthesisMustBeOnLineOfOpeningParenthesis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CommaMustBeOnSameLineAsPreviousParameter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParameterListMustFollowDeclaration\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParameterMustFollowComma\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SplitParametersMustStartOnLineAfterDeclaration\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParametersMustBeOnSameLineOrSeparateLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParameterMustNotSpanMultipleLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClauseMustFollowPreviousClause\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClausesMustBeOnSeparateLinesOrAllOnOneLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClauseMustBeginOnNewLineWhenPreviousClauseSpansMultipleLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClausesSpanningMultipleLinesMustBeginOnOwnLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DoNotPlaceRegionsWithinElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainEmptyStatements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainMultipleStatementsOnOneLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"BlockStatementsMustNotContainEmbeddedComments\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"BlockStatementsMustNotContainEmbeddedRegions\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseReadableConditions\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseStringEmptyForEmptyStrings\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseBuiltInTypeAlias\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseShorthandForNullableTypes\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.SpacingRules\">\n+ <Rules>\n+ <Rule Name=\"CommasMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SemicolonsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationLinesMustBeginWithSingleSpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentsMustBeginWithSingleSpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PreprocessorKeywordsMustNotBePrecededBySpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OperatorKeywordMustBeFollowedBySpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningCurlyBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingCurlyBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningGenericBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingGenericBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningAttributeBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingAttributeBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"NullableTypeSymbolsMustNotBePrecededBySpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"MemberAccessSymbolsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"IncrementDecrementSymbolsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"NegativeSignsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PositiveSignsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DereferenceAndAccessOfSymbolsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ColonsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainMultipleWhitespaceInARow\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"TabsMustNotBeUsed\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DoNotSplitNullConditionalOperators\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ </Analyzers>\n+</StyleCopSettings>\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/ViewModels/WiFiViewModel.cs",
"new_path": "Wearable/NetworkApp/NetworkApp/ViewModels/WiFiViewModel.cs",
"diff": "@@ -89,10 +89,15 @@ namespace NetworkApp.ViewModels\nget\n{\nif (_connectedNetwork == null)\n+ {\nreturn \"Disconnected\";\n+ }\nelse\n+ {\nreturn \"Connected: \" + _connectedNetwork;\n}\n+ }\n+\nset\n{\nSetProperty(ref _connectedNetwork, value);\n@@ -139,6 +144,7 @@ namespace NetworkApp.ViewModels\n{\nLogger.Log(e.Message);\n}\n+\nOnPropertyChanged(nameof(ConnectedNetwork));\nOnPropertyChanged(nameof(IsConnected));\nOnPropertyChanged(nameof(IsTurnedOn));\n@@ -158,6 +164,7 @@ namespace NetworkApp.ViewModels\n{\nawait _wifi.Activate();\n}\n+\nIsTurnedOn = true;\n}\nelse\n@@ -166,6 +173,7 @@ namespace NetworkApp.ViewModels\n{\nawait _wifi.Deactivate();\n}\n+\nIsTurnedOn = false;\n}\n}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Fix StyleCop warnings, update CircularUI nuget
|
594,229 |
19.09.2018 15:13:45
| -7,200 |
2381f9e55dc3acc8b11cf6a6a3f92424d4d489bd
|
Fix StyleCop warnings, change CircularUI nuget version
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Preference/Preference/Preference.csproj",
"new_path": "Wearable/Preference/Preference/Preference.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00078\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00099\" />\n<PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.697729\" />\n</ItemGroup>\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/Preference/Preference/Settings.StyleCop",
"diff": "+<StyleCopSettings Version=\"105\">\n+ <GlobalSettings>\n+ <StringProperty Name=\"MergeSettingsFiles\">NoMerge</StringProperty>\n+ </GlobalSettings>\n+ <Parsers>\n+ <Parser ParserId=\"StyleCop.CSharp.CsParser\">\n+ <ParserSettings>\n+ <BooleanProperty Name=\"AnalyzeGeneratedFiles\">True</BooleanProperty>\n+ </ParserSettings>\n+ </Parser>\n+ </Parsers>\n+ <Analyzers>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.DocumentationRules\">\n+ <Rules>\n+ <Rule Name=\"ElementsMustBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"EnumerationItemsMustBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationMustContainValidXml\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustHaveSummary\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PartialElementDocumentationMustHaveSummary\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustHaveSummaryText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustNotHaveDefaultSummary\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"VoidReturnValueMustNotBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParametersMustBeDocumented\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParametersMustBeDocumentedPartialClass\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParameterDocumentationMustMatchTypeParameters\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParameterDocumentationMustDeclareParameterName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"GenericTypeParameterDocumentationMustHaveText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PropertySummaryDocumentationMustMatchAccessors\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PropertySummaryDocumentationMustOmitSetAccessorWithRestrictedAccess\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustNotBeCopiedAndPasted\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentsMustNotUseDocumentationStyleSlashes\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationTextMustNotBeEmpty\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationTextMustContainWhitespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationMustMeetCharacterPercentage\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConstructorSummaryDocumentationMustBeginWithStandardText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DestructorSummaryDocumentationMustBeginWithStandardText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationHeadersMustNotContainBlankLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"IncludedDocumentationXPathDoesNotExist\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"IncludeNodeDoesNotContainValidFileAndPath\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"InheritDocMustBeUsedWithInheritingClass\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationMustBeSpelledCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileMustHaveHeader\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustShowCopyright\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustHaveCopyrightText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustContainFileName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderFileNameDocumentationMustMatchFileName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderMustHaveValidCompanyText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileHeaderFileNameDocumentationMustMatchTypeName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.LayoutRules\">\n+ <Rules>\n+ <Rule Name=\"AllAccessorsMustBeMultiLineOrSingleLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningCurlyBracketsMustNotBeFollowedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationHeadersMustNotBeFollowedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainMultipleBlankLinesInARow\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingCurlyBracketsMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningCurlyBracketsMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ChainedStatementBlocksMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"WhileDoFooterMustNotBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentsMustNotBeFollowedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementDocumentationHeaderMustBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentMustBePrecededByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementsMustBeSeparatedByBlankLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainBlankLinesAtStartOfFile\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainBlankLinesAtEndOfFile\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.MaintainabilityRules\">\n+ <Rules>\n+ <Rule Name=\"AccessModifierMustBeDeclared\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldsMustBePrivate\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeAnalysisSuppressionMustHaveJustification\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DebugAssertMustProvideMessageText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DebugFailMustProvideMessageText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileMayOnlyContainASingleClass\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FileMayOnlyContainASingleNamespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StatementMustNotUseUnnecessaryParenthesis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ArithmeticExpressionsMustDeclarePrecedence\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConditionalExpressionsMustDeclarePrecedence\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"RemoveDelegateParenthesisWhenPossible\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"AttributeConstructorMustNotUseUnnecessaryParenthesis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"RemoveUnnecessaryCode\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.NamingRules\">\n+ <Rules>\n+ <Rule Name=\"ElementMustBeginWithLowerCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConstFieldNamesMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"NonPrivateReadonlyFieldsMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustNotUseHungarianNotation\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustBeginWithLowerCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"AccessibleFieldsMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"VariableNamesMustNotBePrefixed\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustNotBeginWithUnderscore\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"FieldNamesMustNotContainUnderscore\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StaticReadonlyFieldsMustBeginWithUpperCaseLetter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.OrderingRules\">\n+ <Rules>\n+ <Rule Name=\"UsingDirectivesMustBePlacedWithinNamespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementsMustAppearInTheCorrectOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ElementsMustBeOrderedByAccess\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ConstantsMustAppearBeforeFields\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StaticElementsMustAppearBeforeInstanceElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DeclarationKeywordsMustFollowOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ProtectedMustComeBeforeInternal\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PropertyAccessorsMustFollowOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"EventAccessorsMustFollowOrder\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"StaticReadonlyElementsMustAppearBeforeStaticNonReadonlyElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"InstanceReadonlyElementsMustAppearBeforeInstanceNonReadonlyElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SystemUsingDirectivesMustBePlacedBeforeOtherUsingDirectives\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingAliasDirectivesMustBePlacedAfterOtherUsingDirectives\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingDirectivesMustBeOrderedAlphabeticallyByNamespace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingAliasDirectivesMustBeOrderedAlphabeticallyByAliasName\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UsingStaticDirectivesMustBePlacedAtTheCorrectLocation\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.ReadabilityRules\">\n+ <Rules>\n+ <Rule Name=\"CommentsMustContainText\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DoNotPrefixCallsWithBaseUnlessLocalImplementationExists\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PrefixLocalCallsWithThis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PrefixCallsCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningParenthesisMustBeOnDeclarationLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingParenthesisMustBeOnLineOfLastParameter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingParenthesisMustBeOnLineOfOpeningParenthesis\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CommaMustBeOnSameLineAsPreviousParameter\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParameterListMustFollowDeclaration\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParameterMustFollowComma\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SplitParametersMustStartOnLineAfterDeclaration\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParametersMustBeOnSameLineOrSeparateLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ParameterMustNotSpanMultipleLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClauseMustFollowPreviousClause\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClausesMustBeOnSeparateLinesOrAllOnOneLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClauseMustBeginOnNewLineWhenPreviousClauseSpansMultipleLines\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"QueryClausesSpanningMultipleLinesMustBeginOnOwnLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DoNotPlaceRegionsWithinElements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainEmptyStatements\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainMultipleStatementsOnOneLine\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"BlockStatementsMustNotContainEmbeddedComments\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"BlockStatementsMustNotContainEmbeddedRegions\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseReadableConditions\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseStringEmptyForEmptyStrings\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseBuiltInTypeAlias\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"UseShorthandForNullableTypes\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ <Analyzer AnalyzerId=\"StyleCop.CSharp.SpacingRules\">\n+ <Rules>\n+ <Rule Name=\"CommasMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SemicolonsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DocumentationLinesMustBeginWithSingleSpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"SingleLineCommentsMustBeginWithSingleSpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PreprocessorKeywordsMustNotBePrecededBySpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OperatorKeywordMustBeFollowedBySpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningCurlyBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingCurlyBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningGenericBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingGenericBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"OpeningAttributeBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ClosingAttributeBracketsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"NullableTypeSymbolsMustNotBePrecededBySpace\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"MemberAccessSymbolsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"IncrementDecrementSymbolsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"NegativeSignsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"PositiveSignsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DereferenceAndAccessOfSymbolsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"ColonsMustBeSpacedCorrectly\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainMultipleWhitespaceInARow\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"TabsMustNotBeUsed\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ <Rule Name=\"DoNotSplitNullConditionalOperators\">\n+ <RuleSettings>\n+ <BooleanProperty Name=\"Enabled\">False</BooleanProperty>\n+ </RuleSettings>\n+ </Rule>\n+ </Rules>\n+ <AnalyzerSettings />\n+ </Analyzer>\n+ </Analyzers>\n+</StyleCopSettings>\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Preference/Preference/ViewModels/EditPreferencesViewModel.cs",
"new_path": "Wearable/Preference/Preference/ViewModels/EditPreferencesViewModel.cs",
"diff": "@@ -197,9 +197,15 @@ namespace Preference.ViewModels\nprivate bool CheckIfParsableToIntOrNull(string value, out int result)\n{\nif (int.TryParse(value, out result))\n+ {\nreturn true;\n+ }\n+\nif (String.IsNullOrEmpty(value))\n+ {\nreturn true;\n+ }\n+\nreturn false;\n}\n@@ -212,9 +218,15 @@ namespace Preference.ViewModels\nprivate bool CheckIfParsableToDoubleOrNull(string value, out double result)\n{\nif (double.TryParse(value, NumberStyles.Float, CultureInfo.InvariantCulture, out result))\n+ {\nreturn true;\n+ }\n+\nif (String.IsNullOrEmpty(value))\n+ {\nreturn true;\n+ }\n+\nreturn false;\n}\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Fix StyleCop warnings, change CircularUI nuget version
|
594,267 |
21.11.2018 14:58:25
| -3,600 |
f14a71f3e6ac12b7c4ff3bf3dbe853055e235c77
|
Mass update CircularUI and Xamarin.Forms
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Accounts/Accounts/Accounts.csproj",
"new_path": "Wearable/Accounts/Accounts/Accounts.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00080\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.697729\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n<ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/AppHistory/AppHistory/AppHistory.csproj",
"new_path": "Wearable/AppHistory/AppHistory/AppHistory.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00065\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Badges/src/Badges/Badges.csproj",
"new_path": "Wearable/Badges/src/Badges/Badges.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00082\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Calculator/src/Calculator/Calculator.csproj",
"new_path": "Wearable/Calculator/src/Calculator/Calculator.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00079\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.697729\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n<ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/FeedbackApp/src/FeedbackApp/FeedbackApp.csproj",
"new_path": "Wearable/FeedbackApp/src/FeedbackApp/FeedbackApp.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00078\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/HeartRateMonitor/src/HeartRateMonitor/HeartRateMonitor.csproj",
"new_path": "Wearable/HeartRateMonitor/src/HeartRateMonitor/HeartRateMonitor.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00080\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n<ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Lescanner/Lescanner/Lescanner.csproj",
"new_path": "Wearable/Lescanner/Lescanner/Lescanner.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00078\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/MapsView/src/MapsView.csproj",
"new_path": "Wearable/MapsView/src/MapsView.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00078\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n<PackageReference Include=\"Xamarin.Forms.Maps.Tizen\" Version=\"2.5.0.280555\" />\n</ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/NFCSampleApp/NFCSampleApp/NFCSampleApp.csproj",
"new_path": "Wearable/NFCSampleApp/NFCSampleApp/NFCSampleApp.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00065\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/NetworkApp.csproj",
"new_path": "Wearable/NetworkApp/NetworkApp/NetworkApp.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00099\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n<ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Preference/Preference/Preference.csproj",
"new_path": "Wearable/Preference/Preference/Preference.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00099\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.697729\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/SystemInfo2.csproj",
"new_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/SystemInfo2.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00099\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n<ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VolumeController/src/VolumeController/VolumeController.csproj",
"new_path": "Wearable/VolumeController/src/VolumeController/VolumeController.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00099\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n</ItemGroup>\n<ItemGroup>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Mass update CircularUI and Xamarin.Forms
|
594,297 |
29.11.2018 09:39:47
| -3,600 |
6785b85300f1c7f2aa5024cd2cfc41b577e626bb
|
[Wearable][Calculator] Fix spelling
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Calculator/src/Calculator/Impl/CalculatorImpl.cs",
"new_path": "Wearable/Calculator/src/Calculator/Impl/CalculatorImpl.cs",
"diff": "@@ -207,7 +207,7 @@ namespace Calculator.Impl\ndouble _op1 = 0;\ndouble _op2 = 0;\n- // This section retrives arguments needed by operator\n+ // This section retrieves arguments needed by operator\nif (op is IBinaryOperator)\n{\nop2 = operand.Pop();\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Calculator] Fix spelling
|
594,267 |
04.12.2018 09:37:47
| -3,600 |
ecaa4c3aca9333064d22156a5f73153372e469f6
|
Fix update to official version Xamarin Forms
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Accounts/Accounts/Accounts.csproj",
"new_path": "Wearable/Accounts/Accounts/Accounts.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n<ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/AppHistory/AppHistory/AppHistory.csproj",
"new_path": "Wearable/AppHistory/AppHistory/AppHistory.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Badges/src/Badges/Badges.csproj",
"new_path": "Wearable/Badges/src/Badges/Badges.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Calculator/src/Calculator/Calculator.csproj",
"new_path": "Wearable/Calculator/src/Calculator/Calculator.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n<ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/FeedbackApp/src/FeedbackApp/FeedbackApp.csproj",
"new_path": "Wearable/FeedbackApp/src/FeedbackApp/FeedbackApp.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/HeartRateMonitor/src/HeartRateMonitor/HeartRateMonitor.csproj",
"new_path": "Wearable/HeartRateMonitor/src/HeartRateMonitor/HeartRateMonitor.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n<ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Lescanner/Lescanner/Lescanner.csproj",
"new_path": "Wearable/Lescanner/Lescanner/Lescanner.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/MapsView/src/MapsView.csproj",
"new_path": "Wearable/MapsView/src/MapsView.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n<PackageReference Include=\"Xamarin.Forms.Maps.Tizen\" Version=\"2.5.0.280555\" />\n</ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/NFCSampleApp/NFCSampleApp/NFCSampleApp.csproj",
"new_path": "Wearable/NFCSampleApp/NFCSampleApp/NFCSampleApp.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/NetworkApp.csproj",
"new_path": "Wearable/NetworkApp/NetworkApp/NetworkApp.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n<ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Preference/Preference/Preference.csproj",
"new_path": "Wearable/Preference/Preference/Preference.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/SystemInfo2.csproj",
"new_path": "Wearable/SystemInfo2/SystemInfo2/SystemInfo2/SystemInfo2.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n<ItemGroup>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/VolumeController/src/VolumeController/VolumeController.csproj",
"new_path": "Wearable/VolumeController/src/VolumeController/VolumeController.csproj",
"diff": "</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n<PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.5.0.1006868\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n<ItemGroup>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Fix update to official version Xamarin Forms
|
594,264 |
12.12.2018 19:04:26
| -32,400 |
de8f41f1259cc8fec9674a36fe03dd5d43c22772
|
[Mobile][IMESample] Change the Tizen.NET and Xamarin.Forms version
|
[
{
"change_type": "MODIFY",
"old_path": "Mobile/IMESample/IMESample/IMESample.Tizen.Mobile/IMESample.Tizen.Mobile.csproj",
"new_path": "Mobile/IMESample/IMESample/IMESample.Tizen.Mobile/IMESample.Tizen.Mobile.csproj",
"diff": "<TargetFramework>tizen50</TargetFramework>\n</PropertyGroup>\n+ <!-- Property Group for Tizen Project -->\n+ <PropertyGroup>\n+ <TizenCreateTpkOnBuild>true</TizenCreateTpkOnBuild>\n+ </PropertyGroup>\n+\n<PropertyGroup Condition=\" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' \">\n<DebugType>portable</DebugType>\n</PropertyGroup>\n<ItemGroup>\n<Folder Include=\"lib\\\" />\n- <Folder Include=\"Ports\\\" />\n- <Folder Include=\"Renderers\\\" />\n<Folder Include=\"res\\\" />\n</ItemGroup>\n<!-- Include Nuget Package for Tizen Project building -->\n<ItemGroup>\n- <PackageReference Include=\"Tizen.NET\" Version=\"5.0.0.14572\" />\n+ <PackageReference Include=\"Tizen.NET\" Version=\"5.0.0.14591\" />\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Xamarin.Forms.Platform.Tizen\" Version=\"2.5.1.444934\" />\n- </ItemGroup>\n-\n-\n- <ItemGroup>\n- <Reference Include=\"..\\..\\..\\tizenfx\\Artifacts\\bin\\public\\*.dll\">\n- <Private>false</Private>\n- </Reference>\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Mobile/IMESample/IMESample/IMESample/IMESample.csproj",
"new_path": "Mobile/IMESample/IMESample/IMESample/IMESample.csproj",
"diff": "<!-- Include Nuget Package for Xamarin building -->\n<ItemGroup>\n- <PackageReference Include=\"Tizen.NET\" Version=\"5.0.0.14572\">\n- <ExcludeAssets>Runtime;Compile</ExcludeAssets>\n- </PackageReference>\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"2.5.0.121934\" />\n- </ItemGroup>\n-\n- <ItemGroup>\n- <Reference Include=\"..\\..\\..\\tizenfx\\Artifacts\\bin\\public\\*.dll\">\n- <Private>false</Private>\n- </Reference>\n+ <PackageReference Include=\"Tizen.NET\" Version=\"5.0.0.14591\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.4.0.1008975\" />\n</ItemGroup>\n<ItemGroup>\n</Compile>\n</ItemGroup>\n+ <ItemGroup>\n+ <Folder Include=\"Views\\\" />\n+ </ItemGroup>\n</Project>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Mobile][IMESample] Change the Tizen.NET and Xamarin.Forms version (#66)
|
594,264 |
20.12.2018 15:37:46
| -32,400 |
26b59f2e8fac90e943e71e1b379b4e246d6ae290
|
Add new IMEManager sample app
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/IMEManager/IMEManager/IMEManager.Tizen.Mobile/IMEManager.Tizen.Mobile.cs",
"diff": "+/*\n+ * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+using System;\n+\n+namespace IMEManager\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Mobile/IMEManager/IMEManager/IMEManager.Tizen.Mobile/shared/res/IMEManager.Tizen.Mobile.png",
"new_path": "Mobile/IMEManager/IMEManager/IMEManager.Tizen.Mobile/shared/res/IMEManager.Tizen.Mobile.png",
"diff": "Binary files /dev/null and b/Mobile/IMEManager/IMEManager/IMEManager.Tizen.Mobile/shared/res/IMEManager.Tizen.Mobile.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/IMEManager/IMEManager/IMEManager/IMEManager.cs",
"diff": "+/*\n+ * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Text;\n+\n+using Xamarin.Forms;\n+\n+namespace IMEManager\n+{\n+ public class App : Application\n+ {\n+ public App()\n+ {\n+ this.MainPage = new NavigationPage(new ListPage());\n+ }\n+\n+ protected override void OnStart()\n+ {\n+ // Handle when your app starts\n+ }\n+\n+ protected override void OnSleep()\n+ {\n+ // Handle when your app sleeps\n+ }\n+\n+ protected override void OnResume()\n+ {\n+ // Handle when your app resumes\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/IMEManager/LICENSE",
"diff": "+ Apache License\n+ Version 2.0, January 2004\n+ http://www.apache.org/licenses/\n+\n+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n+\n+ 1. Definitions.\n+\n+ \"License\" shall mean the terms and conditions for use, reproduction,\n+ and distribution as defined by Sections 1 through 9 of this document.\n+\n+ \"Licensor\" shall mean the copyright owner or entity authorized by\n+ the copyright owner that is granting the License.\n+\n+ \"Legal Entity\" shall mean the union of the acting entity and all\n+ other entities that control, are controlled by, or are under common\n+ control with that entity. For the purposes of this definition,\n+ \"control\" means (i) the power, direct or indirect, to cause the\n+ direction or management of such entity, whether by contract or\n+ otherwise, or (ii) ownership of fifty percent (50%) or more of the\n+ outstanding shares, or (iii) beneficial ownership of such entity.\n+\n+ \"You\" (or \"Your\") shall mean an individual or Legal Entity\n+ exercising permissions granted by this License.\n+\n+ \"Source\" form shall mean the preferred form for making modifications,\n+ including but not limited to software source code, documentation\n+ source, and configuration files.\n+\n+ \"Object\" form shall mean any form resulting from mechanical\n+ transformation or translation of a Source form, including but\n+ not limited to compiled object code, generated documentation,\n+ and conversions to other media types.\n+\n+ \"Work\" shall mean the work of authorship, whether in Source or\n+ Object form, made available under the License, as indicated by a\n+ copyright notice that is included in or attached to the work\n+ (an example is provided in the Appendix below).\n+\n+ \"Derivative Works\" shall mean any work, whether in Source or Object\n+ form, that is based on (or derived from) the Work and for which the\n+ editorial revisions, annotations, elaborations, or other modifications\n+ represent, as a whole, an original work of authorship. For the purposes\n+ of this License, Derivative Works shall not include works that remain\n+ separable from, or merely link (or bind by name) to the interfaces of,\n+ the Work and Derivative Works thereof.\n+\n+ \"Contribution\" shall mean any work of authorship, including\n+ the original version of the Work and any modifications or additions\n+ to that Work or Derivative Works thereof, that is intentionally\n+ submitted to Licensor for inclusion in the Work by the copyright owner\n+ or by an individual or Legal Entity authorized to submit on behalf of\n+ the copyright owner. For the purposes of this definition, \"submitted\"\n+ means any form of electronic, verbal, or written communication sent\n+ to the Licensor or its representatives, including but not limited to\n+ communication on electronic mailing lists, source code control systems,\n+ and issue tracking systems that are managed by, or on behalf of, the\n+ Licensor for the purpose of discussing and improving the Work, but\n+ excluding communication that is conspicuously marked or otherwise\n+ designated in writing by the copyright owner as \"Not a Contribution.\"\n+\n+ \"Contributor\" shall mean Licensor and any individual or Legal Entity\n+ on behalf of whom a Contribution has been received by Licensor and\n+ subsequently incorporated within the Work.\n+\n+ 2. Grant of Copyright License. Subject to the terms and conditions of\n+ this License, each Contributor hereby grants to You a perpetual,\n+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n+ copyright license to reproduce, prepare Derivative Works of,\n+ publicly display, publicly perform, sublicense, and distribute the\n+ Work and such Derivative Works in Source or Object form.\n+\n+ 3. Grant of Patent License. Subject to the terms and conditions of\n+ this License, each Contributor hereby grants to You a perpetual,\n+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n+ (except as stated in this section) patent license to make, have made,\n+ use, offer to sell, sell, import, and otherwise transfer the Work,\n+ where such license applies only to those patent claims licensable\n+ by such Contributor that are necessarily infringed by their\n+ Contribution(s) alone or by combination of their Contribution(s)\n+ with the Work to which such Contribution(s) was submitted. If You\n+ institute patent litigation against any entity (including a\n+ cross-claim or counterclaim in a lawsuit) alleging that the Work\n+ or a Contribution incorporated within the Work constitutes direct\n+ or contributory patent infringement, then any patent licenses\n+ granted to You under this License for that Work shall terminate\n+ as of the date such litigation is filed.\n+\n+ 4. Redistribution. You may reproduce and distribute copies of the\n+ Work or Derivative Works thereof in any medium, with or without\n+ modifications, and in Source or Object form, provided that You\n+ meet the following conditions:\n+\n+ (a) You must give any other recipients of the Work or\n+ Derivative Works a copy of this License; and\n+\n+ (b) You must cause any modified files to carry prominent notices\n+ stating that You changed the files; and\n+\n+ (c) You must retain, in the Source form of any Derivative Works\n+ that You distribute, all copyright, patent, trademark, and\n+ attribution notices from the Source form of the Work,\n+ excluding those notices that do not pertain to any part of\n+ the Derivative Works; and\n+\n+ (d) If the Work includes a \"NOTICE\" text file as part of its\n+ distribution, then any Derivative Works that You distribute must\n+ include a readable copy of the attribution notices contained\n+ within such NOTICE file, excluding those notices that do not\n+ pertain to any part of the Derivative Works, in at least one\n+ of the following places: within a NOTICE text file distributed\n+ as part of the Derivative Works; within the Source form or\n+ documentation, if provided along with the Derivative Works; or,\n+ within a display generated by the Derivative Works, if and\n+ wherever such third-party notices normally appear. The contents\n+ of the NOTICE file are for informational purposes only and\n+ do not modify the License. You may add Your own attribution\n+ notices within Derivative Works that You distribute, alongside\n+ or as an addendum to the NOTICE text from the Work, provided\n+ that such additional attribution notices cannot be construed\n+ as modifying the License.\n+\n+ You may add Your own copyright statement to Your modifications and\n+ may provide additional or different license terms and conditions\n+ for use, reproduction, or distribution of Your modifications, or\n+ for any such Derivative Works as a whole, provided Your use,\n+ reproduction, and distribution of the Work otherwise complies with\n+ the conditions stated in this License.\n+\n+ 5. Submission of Contributions. Unless You explicitly state otherwise,\n+ any Contribution intentionally submitted for inclusion in the Work\n+ by You to the Licensor shall be under the terms and conditions of\n+ this License, without any additional terms or conditions.\n+ Notwithstanding the above, nothing herein shall supersede or modify\n+ the terms of any separate license agreement you may have executed\n+ with Licensor regarding such Contributions.\n+\n+ 6. Trademarks. This License does not grant permission to use the trade\n+ names, trademarks, service marks, or product names of the Licensor,\n+ except as required for reasonable and customary use in describing the\n+ origin of the Work and reproducing the content of the NOTICE file.\n+\n+ 7. Disclaimer of Warranty. Unless required by applicable law or\n+ agreed to in writing, Licensor provides the Work (and each\n+ Contributor provides its Contributions) on an \"AS IS\" BASIS,\n+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n+ implied, including, without limitation, any warranties or conditions\n+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n+ PARTICULAR PURPOSE. You are solely responsible for determining the\n+ appropriateness of using or redistributing the Work and assume any\n+ risks associated with Your exercise of permissions under this License.\n+\n+ 8. Limitation of Liability. In no event and under no legal theory,\n+ whether in tort (including negligence), contract, or otherwise,\n+ unless required by applicable law (such as deliberate and grossly\n+ negligent acts) or agreed to in writing, shall any Contributor be\n+ liable to You for damages, including any direct, indirect, special,\n+ incidental, or consequential damages of any character arising as a\n+ result of this License or out of the use or inability to use the\n+ Work (including but not limited to damages for loss of goodwill,\n+ work stoppage, computer failure or malfunction, or any and all\n+ other commercial damages or losses), even if such Contributor\n+ has been advised of the possibility of such damages.\n+\n+ 9. Accepting Warranty or Additional Liability. While redistributing\n+ the Work or Derivative Works thereof, You may choose to offer,\n+ and charge a fee for, acceptance of support, warranty, indemnity,\n+ or other liability obligations and/or rights consistent with this\n+ License. However, in accepting such obligations, You may act only\n+ on Your own behalf and on Your sole responsibility, not on behalf\n+ of any other Contributor, and only if You agree to indemnify,\n+ defend, and hold each Contributor harmless for any liability\n+ incurred by, or claims asserted against, such Contributor by reason\n+ of your accepting any such warranty or additional liability.\n+\n+ END OF TERMS AND CONDITIONS\n+\n+ APPENDIX: How to apply the Apache License to your work.\n+\n+ To apply the Apache License to your work, attach the following\n+ boilerplate notice, with the fields enclosed by brackets \"{}\"\n+ replaced with your own identifying information. (Don't include\n+ the brackets!) The text should be enclosed in the appropriate\n+ comment syntax for the file format. We also recommend that a\n+ file or class name and description of purpose be included on the\n+ same \"printed page\" as the copyright notice for easier\n+ identification within third-party archives.\n+\n+ Copyright {yyyy} {name of copyright owner}\n+\n+ Licensed under the Apache License, Version 2.0 (the \"License\");\n+ you may not use this file except in compliance with the License.\n+ You may obtain a copy of the License at\n+\n+ http://www.apache.org/licenses/LICENSE-2.0\n+\n+ Unless required by applicable law or agreed to in writing, software\n+ distributed under the License is distributed on an \"AS IS\" BASIS,\n+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ See the License for the specific language governing permissions and\n+ limitations under the License.\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Mobile/IMEManager/README.md",
"diff": "+# IMEManager\n+This is a sample project for C# IME(Input Method Editor) manager Application, which demonstrates how to use InputMethodManager API.\n+IMEManager is mainly designed for Tizen Mobile profile.\n+\n+\n+\n+\n+### Verified Version\n+* Xamarin.Forms : 3.4.0.1008975\n+* Tizen.NET : 5.0.0.14596\n+* Tizen.NET.SDK : 1.0.1\n+\n+\n+### Supported Profile\n+* Mobile\n+\n+### Author\n+* Sungwook Park (sungwook79.park@samsung.com)\n+* Inhong Han (inhong1.han@samsung.com)\n"
},
{
"change_type": "ADD",
"old_path": "Mobile/IMEManager/ScreenShots/IMEManager_1.png",
"new_path": "Mobile/IMEManager/ScreenShots/IMEManager_1.png",
"diff": "Binary files /dev/null and b/Mobile/IMEManager/ScreenShots/IMEManager_1.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Mobile/IMEManager/ScreenShots/IMEManager_2.png",
"new_path": "Mobile/IMEManager/ScreenShots/IMEManager_2.png",
"diff": "Binary files /dev/null and b/Mobile/IMEManager/ScreenShots/IMEManager_2.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Mobile/IMEManager/ScreenShots/IMEManager_3.png",
"new_path": "Mobile/IMEManager/ScreenShots/IMEManager_3.png",
"diff": "Binary files /dev/null and b/Mobile/IMEManager/ScreenShots/IMEManager_3.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
Add new IMEManager sample app (#68)
|
594,264 |
21.12.2018 13:36:48
| -32,400 |
b35fd4738c0d9e42fbda71954f3a50b2612c5fb5
|
[Wearable][IMEManager] Add new IMEManager sample app
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/IMEManager/IMEManager/IMEManager.Tizen.Wearable/IMEManager.Tizen.Wearable.cs",
"diff": "+/*\n+ * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+using System;\n+\n+namespace IMEManager\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/IMEManager/IMEManager/IMEManager.Tizen.Wearable/shared/res/IMEManager.Tizen.Wearable.png",
"new_path": "Wearable/IMEManager/IMEManager/IMEManager.Tizen.Wearable/shared/res/IMEManager.Tizen.Wearable.png",
"diff": "Binary files /dev/null and b/Wearable/IMEManager/IMEManager/IMEManager.Tizen.Wearable/shared/res/IMEManager.Tizen.Wearable.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/IMEManager/IMEManager/IMEManager/IMEManager.cs",
"diff": "+/*\n+ * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Text;\n+\n+using Xamarin.Forms;\n+\n+namespace IMEManager\n+{\n+ public class App : Application\n+ {\n+ public App()\n+ {\n+ this.MainPage = new NavigationPage(new ListPage());\n+ }\n+\n+ protected override void OnStart()\n+ {\n+ // Handle when your app starts\n+ }\n+\n+ protected override void OnSleep()\n+ {\n+ // Handle when your app sleeps\n+ }\n+\n+ protected override void OnResume()\n+ {\n+ // Handle when your app resumes\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/IMEManager/IMEManager/IMEManager/ListPage.cs",
"diff": "+/*\n+ * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+using System;\n+using System.Collections.Generic;\n+using System.Text;\n+using Xamarin.Forms;\n+using Tizen.Uix.InputMethodManager;\n+\n+namespace IMEManager\n+{\n+ public class ListPage : ContentPage\n+ {\n+ public ListPage()\n+ {\n+ this.Title = \"IMEManager Sample\";\n+ var menu = new List<string>\n+ {\n+ \"ShowIMEList\",\n+ \"ShowIMESelector\",\n+ \"IsIMEEnabled\",\n+ \"GetActiveIME\",\n+ \"GetEnabledIMECount\",\n+ };\n+\n+ var menuListView = new ListView()\n+ {\n+ ItemsSource = menu,\n+ };\n+\n+ this.Content = menuListView;\n+ menuListView.ItemTapped += MenuItemTapped;\n+ }\n+\n+ private void MenuItemTapped(object sender, ItemTappedEventArgs e)\n+ {\n+ string title = e.Item.ToString();\n+\n+ switch(title)\n+ {\n+ case \"ShowIMEList\":\n+ Manager.ShowIMEList();\n+ break;\n+ case \"ShowIMESelector\":\n+ Manager.ShowIMESelector();\n+ break;\n+ default:\n+ this.Navigation.PushAsync(new ResultPage(title));\n+ break;\n+ }\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/IMEManager/IMEManager/IMEManager/ResultPage.cs",
"diff": "+/*\n+ * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+using System;\n+using Xamarin.Forms;\n+using Tizen.Uix.InputMethodManager;\n+\n+namespace IMEManager\n+{\n+ internal class ResultPage : ContentPage\n+ {\n+ public ResultPage(string detail)\n+ {\n+ Label label = new Label\n+ {\n+ HorizontalTextAlignment = TextAlignment.Center,\n+ FontSize = 10,\n+ Text = detail\n+ };\n+\n+ this.Title = \"IMEManager Sample\";\n+ this.Content = new StackLayout\n+ {\n+ VerticalOptions = LayoutOptions.Center,\n+ Children =\n+ {\n+ label\n+ }\n+ };\n+\n+ switch (detail)\n+ {\n+ case \"IsIMEEnabled\":\n+ string appId = \"ise-default\";\n+ if (Manager.IsIMEEnabled(appId))\n+ label.Text = \"IME state : On\";\n+ else\n+ label.Text = \"IME state : Off\";\n+ break;\n+ case \"GetActiveIME\":\n+ label.Text = \"Active IME : \" + Manager.GetActiveIME();\n+ break;\n+ case \"GetEnabledIMECount\":\n+ label.Text = \"IME count : \" + Manager.GetEnabledIMECount().ToString();\n+ break;\n+ default:\n+ break;\n+ }\n+ }\n+\n+ private void OnButtonClicked(object sender, EventArgs e)\n+ {\n+ Navigation.PopModalAsync();\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/IMEManager/LICENSE",
"diff": "+ Apache License\n+ Version 2.0, January 2004\n+ http://www.apache.org/licenses/\n+\n+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n+\n+ 1. Definitions.\n+\n+ \"License\" shall mean the terms and conditions for use, reproduction,\n+ and distribution as defined by Sections 1 through 9 of this document.\n+\n+ \"Licensor\" shall mean the copyright owner or entity authorized by\n+ the copyright owner that is granting the License.\n+\n+ \"Legal Entity\" shall mean the union of the acting entity and all\n+ other entities that control, are controlled by, or are under common\n+ control with that entity. For the purposes of this definition,\n+ \"control\" means (i) the power, direct or indirect, to cause the\n+ direction or management of such entity, whether by contract or\n+ otherwise, or (ii) ownership of fifty percent (50%) or more of the\n+ outstanding shares, or (iii) beneficial ownership of such entity.\n+\n+ \"You\" (or \"Your\") shall mean an individual or Legal Entity\n+ exercising permissions granted by this License.\n+\n+ \"Source\" form shall mean the preferred form for making modifications,\n+ including but not limited to software source code, documentation\n+ source, and configuration files.\n+\n+ \"Object\" form shall mean any form resulting from mechanical\n+ transformation or translation of a Source form, including but\n+ not limited to compiled object code, generated documentation,\n+ and conversions to other media types.\n+\n+ \"Work\" shall mean the work of authorship, whether in Source or\n+ Object form, made available under the License, as indicated by a\n+ copyright notice that is included in or attached to the work\n+ (an example is provided in the Appendix below).\n+\n+ \"Derivative Works\" shall mean any work, whether in Source or Object\n+ form, that is based on (or derived from) the Work and for which the\n+ editorial revisions, annotations, elaborations, or other modifications\n+ represent, as a whole, an original work of authorship. For the purposes\n+ of this License, Derivative Works shall not include works that remain\n+ separable from, or merely link (or bind by name) to the interfaces of,\n+ the Work and Derivative Works thereof.\n+\n+ \"Contribution\" shall mean any work of authorship, including\n+ the original version of the Work and any modifications or additions\n+ to that Work or Derivative Works thereof, that is intentionally\n+ submitted to Licensor for inclusion in the Work by the copyright owner\n+ or by an individual or Legal Entity authorized to submit on behalf of\n+ the copyright owner. For the purposes of this definition, \"submitted\"\n+ means any form of electronic, verbal, or written communication sent\n+ to the Licensor or its representatives, including but not limited to\n+ communication on electronic mailing lists, source code control systems,\n+ and issue tracking systems that are managed by, or on behalf of, the\n+ Licensor for the purpose of discussing and improving the Work, but\n+ excluding communication that is conspicuously marked or otherwise\n+ designated in writing by the copyright owner as \"Not a Contribution.\"\n+\n+ \"Contributor\" shall mean Licensor and any individual or Legal Entity\n+ on behalf of whom a Contribution has been received by Licensor and\n+ subsequently incorporated within the Work.\n+\n+ 2. Grant of Copyright License. Subject to the terms and conditions of\n+ this License, each Contributor hereby grants to You a perpetual,\n+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n+ copyright license to reproduce, prepare Derivative Works of,\n+ publicly display, publicly perform, sublicense, and distribute the\n+ Work and such Derivative Works in Source or Object form.\n+\n+ 3. Grant of Patent License. Subject to the terms and conditions of\n+ this License, each Contributor hereby grants to You a perpetual,\n+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n+ (except as stated in this section) patent license to make, have made,\n+ use, offer to sell, sell, import, and otherwise transfer the Work,\n+ where such license applies only to those patent claims licensable\n+ by such Contributor that are necessarily infringed by their\n+ Contribution(s) alone or by combination of their Contribution(s)\n+ with the Work to which such Contribution(s) was submitted. If You\n+ institute patent litigation against any entity (including a\n+ cross-claim or counterclaim in a lawsuit) alleging that the Work\n+ or a Contribution incorporated within the Work constitutes direct\n+ or contributory patent infringement, then any patent licenses\n+ granted to You under this License for that Work shall terminate\n+ as of the date such litigation is filed.\n+\n+ 4. Redistribution. You may reproduce and distribute copies of the\n+ Work or Derivative Works thereof in any medium, with or without\n+ modifications, and in Source or Object form, provided that You\n+ meet the following conditions:\n+\n+ (a) You must give any other recipients of the Work or\n+ Derivative Works a copy of this License; and\n+\n+ (b) You must cause any modified files to carry prominent notices\n+ stating that You changed the files; and\n+\n+ (c) You must retain, in the Source form of any Derivative Works\n+ that You distribute, all copyright, patent, trademark, and\n+ attribution notices from the Source form of the Work,\n+ excluding those notices that do not pertain to any part of\n+ the Derivative Works; and\n+\n+ (d) If the Work includes a \"NOTICE\" text file as part of its\n+ distribution, then any Derivative Works that You distribute must\n+ include a readable copy of the attribution notices contained\n+ within such NOTICE file, excluding those notices that do not\n+ pertain to any part of the Derivative Works, in at least one\n+ of the following places: within a NOTICE text file distributed\n+ as part of the Derivative Works; within the Source form or\n+ documentation, if provided along with the Derivative Works; or,\n+ within a display generated by the Derivative Works, if and\n+ wherever such third-party notices normally appear. The contents\n+ of the NOTICE file are for informational purposes only and\n+ do not modify the License. You may add Your own attribution\n+ notices within Derivative Works that You distribute, alongside\n+ or as an addendum to the NOTICE text from the Work, provided\n+ that such additional attribution notices cannot be construed\n+ as modifying the License.\n+\n+ You may add Your own copyright statement to Your modifications and\n+ may provide additional or different license terms and conditions\n+ for use, reproduction, or distribution of Your modifications, or\n+ for any such Derivative Works as a whole, provided Your use,\n+ reproduction, and distribution of the Work otherwise complies with\n+ the conditions stated in this License.\n+\n+ 5. Submission of Contributions. Unless You explicitly state otherwise,\n+ any Contribution intentionally submitted for inclusion in the Work\n+ by You to the Licensor shall be under the terms and conditions of\n+ this License, without any additional terms or conditions.\n+ Notwithstanding the above, nothing herein shall supersede or modify\n+ the terms of any separate license agreement you may have executed\n+ with Licensor regarding such Contributions.\n+\n+ 6. Trademarks. This License does not grant permission to use the trade\n+ names, trademarks, service marks, or product names of the Licensor,\n+ except as required for reasonable and customary use in describing the\n+ origin of the Work and reproducing the content of the NOTICE file.\n+\n+ 7. Disclaimer of Warranty. Unless required by applicable law or\n+ agreed to in writing, Licensor provides the Work (and each\n+ Contributor provides its Contributions) on an \"AS IS\" BASIS,\n+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n+ implied, including, without limitation, any warranties or conditions\n+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n+ PARTICULAR PURPOSE. You are solely responsible for determining the\n+ appropriateness of using or redistributing the Work and assume any\n+ risks associated with Your exercise of permissions under this License.\n+\n+ 8. Limitation of Liability. In no event and under no legal theory,\n+ whether in tort (including negligence), contract, or otherwise,\n+ unless required by applicable law (such as deliberate and grossly\n+ negligent acts) or agreed to in writing, shall any Contributor be\n+ liable to You for damages, including any direct, indirect, special,\n+ incidental, or consequential damages of any character arising as a\n+ result of this License or out of the use or inability to use the\n+ Work (including but not limited to damages for loss of goodwill,\n+ work stoppage, computer failure or malfunction, or any and all\n+ other commercial damages or losses), even if such Contributor\n+ has been advised of the possibility of such damages.\n+\n+ 9. Accepting Warranty or Additional Liability. While redistributing\n+ the Work or Derivative Works thereof, You may choose to offer,\n+ and charge a fee for, acceptance of support, warranty, indemnity,\n+ or other liability obligations and/or rights consistent with this\n+ License. However, in accepting such obligations, You may act only\n+ on Your own behalf and on Your sole responsibility, not on behalf\n+ of any other Contributor, and only if You agree to indemnify,\n+ defend, and hold each Contributor harmless for any liability\n+ incurred by, or claims asserted against, such Contributor by reason\n+ of your accepting any such warranty or additional liability.\n+\n+ END OF TERMS AND CONDITIONS\n+\n+ APPENDIX: How to apply the Apache License to your work.\n+\n+ To apply the Apache License to your work, attach the following\n+ boilerplate notice, with the fields enclosed by brackets \"{}\"\n+ replaced with your own identifying information. (Don't include\n+ the brackets!) The text should be enclosed in the appropriate\n+ comment syntax for the file format. We also recommend that a\n+ file or class name and description of purpose be included on the\n+ same \"printed page\" as the copyright notice for easier\n+ identification within third-party archives.\n+\n+ Copyright {yyyy} {name of copyright owner}\n+\n+ Licensed under the Apache License, Version 2.0 (the \"License\");\n+ you may not use this file except in compliance with the License.\n+ You may obtain a copy of the License at\n+\n+ http://www.apache.org/licenses/LICENSE-2.0\n+\n+ Unless required by applicable law or agreed to in writing, software\n+ distributed under the License is distributed on an \"AS IS\" BASIS,\n+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ See the License for the specific language governing permissions and\n+ limitations under the License.\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/IMEManager/README.md",
"diff": "+# IMEManager\n+This is a sample project for C# IME(Input Method Editor) manager Application, which demonstrates how to use InputMethodManager API.\n+IMEManager is mainly designed for Tizen Wearable profile.\n+\n+\n+\n+\n+### Verified Version\n+* Xamarin.Forms : 3.4.0.1008975\n+* Tizen.NET : 5.0.0.14596\n+* Tizen.NET.SDK : 1.0.1\n+\n+\n+### Supported Profile\n+* Wearable\n+\n+### Author\n+* Inhong Han (inhong1.han@samsung.com)\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/IMEManager/ScreenShots/IMEManager_1.png",
"new_path": "Wearable/IMEManager/ScreenShots/IMEManager_1.png",
"diff": "Binary files /dev/null and b/Wearable/IMEManager/ScreenShots/IMEManager_1.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/IMEManager/ScreenShots/IMEManager_2.png",
"new_path": "Wearable/IMEManager/ScreenShots/IMEManager_2.png",
"diff": "Binary files /dev/null and b/Wearable/IMEManager/ScreenShots/IMEManager_2.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/IMEManager/ScreenShots/IMEManager_3.png",
"new_path": "Wearable/IMEManager/ScreenShots/IMEManager_3.png",
"diff": "Binary files /dev/null and b/Wearable/IMEManager/ScreenShots/IMEManager_3.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][IMEManager] Add new IMEManager sample app (#69)
|
594,229 |
16.11.2018 15:23:34
| -3,600 |
da8e09dbed4aeff3d314b5f979c27ab2b1a31d36
|
[Wearable][Weather] Fix Weather app
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/Behaviors/CityNameValidatorBehavior.cs",
"new_path": "Wearable/Weather/Weather/Behaviors/CityNameValidatorBehavior.cs",
"diff": "@@ -31,12 +31,6 @@ namespace Weather.Behaviors\npublic static BindableProperty CityProperty =\nBindableProperty.Create(nameof(City), typeof(City), typeof(CityNameValidatorBehavior));\n- /// <summary>\n- /// Bindable property that allows to set command that will be executed when user will finish entering text.\n- /// </summary>\n- public static readonly BindableProperty OnInputCompletedProperty =\n- BindableProperty.Create(nameof(OnInputCompleted), typeof(Command), typeof(CityNameValidatorBehavior));\n-\n/// <summary>\n/// Gets or sets selected city.\n/// </summary>\n@@ -46,15 +40,6 @@ namespace Weather.Behaviors\nset => SetValue(CityProperty, value);\n}\n- /// <summary>\n- /// Command that is executed when user finished entering text.\n- /// </summary>\n- public Command OnInputCompleted\n- {\n- get => (Command)GetValue(OnInputCompletedProperty);\n- set => SetValue(OnInputCompletedProperty, value);\n- }\n-\n#endregion\n#region methods\n@@ -66,7 +51,6 @@ namespace Weather.Behaviors\nprotected override void OnAttachedTo(Entry bindable)\n{\nbase.OnAttachedTo(bindable);\n- bindable.Completed += EntryOnCompleted;\nbindable.TextChanged += CityNameChanged;\n}\n@@ -77,7 +61,6 @@ namespace Weather.Behaviors\nprotected override void OnDetachingFrom(Entry bindable)\n{\nbase.OnDetachingFrom(bindable);\n- bindable.Completed -= EntryOnCompleted;\nbindable.TextChanged -= CityNameChanged;\n}\n@@ -90,18 +73,15 @@ namespace Weather.Behaviors\n{\nif (sender is Entry entry)\n{\n- entry.TextColor = City != null ? Color.Black : Color.Red;\n- }\n+ if (City != null && City.Name == entry.Text)\n+ {\n+ entry.TextColor = Color.FromRgb(128, 128, 128);\n}\n-\n- /// <summary>\n- /// Callback method invoked when user finished entering text.\n- /// </summary>\n- /// <param name=\"sender\">Object that invoked event.</param>\n- /// <param name=\"eventArgs\">Event arguments.</param>\n- private void EntryOnCompleted(object sender, EventArgs eventArgs)\n+ else\n{\n- OnInputCompleted.Execute(eventArgs);\n+ entry.TextColor = Color.Red;\n+ }\n+ }\n}\n#endregion\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/Behaviors/CountryCodeValidatorBehavior.cs",
"new_path": "Wearable/Weather/Weather/Behaviors/CountryCodeValidatorBehavior.cs",
"diff": "@@ -91,7 +91,7 @@ namespace Weather.Behaviors\n? textChangedEventArgs.OldTextValue.ToUpper()\n: textChangedEventArgs.NewTextValue.ToUpper();\n- entry.TextColor = _provider.Validate(entry.Text) ? Color.Black : Color.Red;\n+ entry.TextColor = _provider.Validate(entry.Text) ? Color.FromRgb(128,128,128) : Color.Red;\n}\n/// <summary>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/Converters/MeasurementSystemConverter.cs",
"new_path": "Wearable/Weather/Weather/Converters/MeasurementSystemConverter.cs",
"diff": "@@ -41,6 +41,7 @@ namespace Weather.Converters\n{\nreturn string.Format(new UnitFormatter(), \"{0:\" + parameter + \"}\", value);\n}\n+\nreturn string.Empty;\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/ViewModels/ForecastViewModel.cs",
"new_path": "Wearable/Weather/Weather/ViewModels/ForecastViewModel.cs",
"diff": "@@ -182,7 +182,8 @@ namespace Weather.ViewModels\n// Previous forecast handler - either navigate down the forecast list or\n// let the user know that the bottom (0) is reached via a simple vibration\n- PreviousForecastCommand = new Command(o => {\n+ PreviousForecastCommand = new Command(o =>\n+ {\nif (ForecastsModels != null)\n{\nif (CurrentForecastId > 0)\n@@ -199,7 +200,8 @@ namespace Weather.ViewModels\n// Next forecast handler - either navigate up the forecast list or\n// let the user know that the top (most distant forecast) is reached via a simple vibration\n- NextForecastCommand = new Command(o => {\n+ NextForecastCommand = new Command(o =>\n+ {\nif (ForecastsModels != null)\n{\nif (CurrentForecastId < _forecastsModels.Count - 1)\n@@ -213,7 +215,7 @@ namespace Weather.ViewModels\n}\n}\n});\n- // Notify all parties interested that the Selected forecast (initialy the first one) is\n+ // Notify all parties interested that the Selected forecast (initially the first one) is\n// ready and waiting to be presented in the relevant View.\nOnPropertyChanged(nameof(SelectedForecast));\n}\n@@ -234,6 +236,7 @@ namespace Weather.ViewModels\n{\ndictionary.Add(day, new List<CurrentWeather>());\n}\n+\ndictionary[day].Add(weather);\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/ViewModels/MainPageViewModel.cs",
"new_path": "Wearable/Weather/Weather/ViewModels/MainPageViewModel.cs",
"diff": "@@ -20,6 +20,7 @@ using Weather.Models.Location;\nusing Weather.Service;\nusing Weather.Utils;\nusing Xamarin.Forms;\n+using Xamarin.Forms.Internals;\nnamespace Weather.ViewModels\n{\n@@ -73,9 +74,9 @@ namespace Weather.ViewModels\nprivate string _enteredCountry;\n/// <summary>\n- /// Local storage of command that will be executed, when input will be completed.\n+ /// Local storage of CityEntry text color.\n/// </summary>\n- private Command _onCityEnteredCommand;\n+ private Color _cityEntryTextColor;\n#endregion\n@@ -85,17 +86,8 @@ namespace Weather.ViewModels\n/// Flag used for Watch UI visibility.\n/// A \"helper\" UI element (list of cities matching criteria) should be hidden if the right city is entered\n/// </summary>\n- public bool InvalidCityEntered\n- {\n- get\n- {\n- if ((SelectedCity == null) && (EnteredCity.Length != 0))\n- {\n- return true;\n- }\n- return false;\n- }\n- }\n+ public bool InvalidCityEntered => (SelectedCity == null) && (EnteredCity.Length != 0) ? true : false;\n+\n/// <summary>\n/// Gets or sets collection of available cities.\n/// </summary>\n@@ -105,6 +97,15 @@ namespace Weather.ViewModels\nset => SetProperty(ref _cities, value);\n}\n+ /// <summary>\n+ /// Gets or sets text color for CityEntry.\n+ /// </summary>\n+ public Color CityEntryTextColor\n+ {\n+ get => _cityEntryTextColor;\n+ set => SetProperty(ref _cityEntryTextColor, value);\n+ }\n+\n/// <summary>\n/// Gets or sets city name entered by user.\n/// </summary>\n@@ -148,15 +149,6 @@ namespace Weather.ViewModels\nset => SetProperty(ref _checkWeatherCommand, value);\n}\n- /// <summary>\n- /// Command that will be executed when input will be completed.\n- /// </summary>\n- public Command OnCityEnteredCommand\n- {\n- get => _onCityEnteredCommand;\n- set => SetProperty(ref _onCityEnteredCommand, value);\n- }\n-\n/// <summary>\n/// Country code in ISO-3166 format.\n/// </summary>\n@@ -191,10 +183,8 @@ namespace Weather.ViewModels\nLoadCityList();\nCities = new ObservableCollection<City>(_provider.FindCity(\"\", MAX_ITEMS_ON_LIST));\n-\nCheckWeatherCommand = new Command<Page>(ExecuteCheckWeatherCommand, CanExecuteCheckWeatherCommand);\n-\n- OnCityEnteredCommand = new Command(() => SelectedCity = Cities.FirstOrDefault());\n+ CityEntryTextColor = Color.FromRgb(128, 128, 128);\n// Fill in the country code for better \"first run experience\"\nSetProperty<string>(ref _enteredCountry, \"US\");\n@@ -215,8 +205,8 @@ namespace Weather.ViewModels\n/// </summary>\nprivate void FilterCities()\n{\n- Cities = new ObservableCollection<City>(\n- _provider.FindCity(_enteredCity, _enteredCountry, MAX_ITEMS_ON_LIST));\n+ Cities.Clear();\n+ _provider.FindCity(_enteredCity, _enteredCountry, MAX_ITEMS_ON_LIST).ForEach(c => Cities.Add(c));\n}\n/// <summary>\n@@ -227,8 +217,13 @@ namespace Weather.ViewModels\nif (!_provider.Validate(EnteredCity))\n{\nSelectedCity = null;\n+ CityEntryTextColor = Color.Red;\nCheckWeatherCommand.ChangeCanExecute();\n}\n+ else\n+ {\n+ CityEntryTextColor = Color.FromRgb(128, 128, 128);\n+ }\n}\n/// <summary>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/Views/ForecastPage.xaml.cs",
"new_path": "Wearable/Weather/Weather/Views/ForecastPage.xaml.cs",
"diff": "@@ -41,12 +41,16 @@ namespace Weather.Views\n/// <summary>\n/// Handle bezel rotation\n/// </summary>\n- /// <param name=\"args\"></param>\n+ /// <param name=\"args\">Rotary event arguments</param>\npublic void Rotate(RotaryEventArgs args)\n{\nvar a = this.BindingContext;\n- if (_rotating) return;\n+ if (_rotating)\n+ {\n+ return;\n+ }\n+\n_rotating = true;\nif (args.IsClockwise)\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/Views/MainPage.xaml",
"new_path": "Wearable/Weather/Weather/Views/MainPage.xaml",
"diff": "HorizontalTextAlignment=\"Center\"\nVerticalTextAlignment=\"Center\" />\n- <Entry BackgroundColor=\"White\"\n+ <w:PopupEntry BackgroundColor=\"White\"\nHorizontalTextAlignment=\"Center\"\nHorizontalOptions=\"Center\"\nWidthRequest=\"280\"\nText=\"{Binding EnteredCountry, Mode=TwoWay}\">\n- <Entry.Behaviors>\n+ <w:PopupEntry.Behaviors>\n<behaviors:CountryCodeValidatorBehavior MaxLength=\"2\" />\n- </Entry.Behaviors>\n- </Entry>\n+ </w:PopupEntry.Behaviors>\n+ </w:PopupEntry>\n<Label Text=\"City:\"\nFontSize=\"8\"\nBackgroundColor=\"White\"\nHorizontalOptions=\"Center\"\nWidthRequest=\"280\"\n- Text=\"{Binding EnteredCity, Mode=TwoWay}\">\n- <Entry.Behaviors>\n+ Text=\"{Binding EnteredCity, Mode=TwoWay}\"\n+ HorizontalTextAlignment=\"Center\"\n+ TextColor=\"{Binding CityEntryTextColor}\">\n+ <w:PopupEntry.Behaviors>\n<behaviors:CityNameValidatorBehavior\n- City=\"{Binding Source={x:Reference Name=ViewModel}, Path=SelectedCity}\"\n- OnInputCompleted=\"{Binding Source={x:Reference Name=ViewModel}, Path=OnCityEnteredCommand}\" />\n- </Entry.Behaviors>\n+ City=\"{Binding Source={x:Reference Name=ViewModel}, Path=SelectedCity}\"/>\n+ </w:PopupEntry.Behaviors>\n</w:PopupEntry>\nWidthRequest=\"260\"\nHorizontalOptions=\"Center\"\nBackgroundColor=\"Black\">\n-\n<w:CircleListView.ItemTemplate>\n<DataTemplate>\n<ViewCell>\n- <StackLayout BackgroundColor=\"Black\"\n- Orientation=\"Vertical\"\n- HorizontalOptions=\"Center\">\n<Label Text=\"{Binding Name}\"\n- TextColor=\"LightGray\"\n- FontSize=\"8\"/>\n- </StackLayout>\n+ FontSize=\"10\"\n+ HeightRequest=\"50\"\n+ HorizontalTextAlignment=\"Center\"\n+ VerticalTextAlignment=\"Center\"\n+ TextColor=\"LightGray\"/>\n</ViewCell>\n</DataTemplate>\n</w:CircleListView.ItemTemplate>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/Weather.csproj",
"new_path": "Wearable/Weather/Weather/Weather.csproj",
"diff": "<ExcludeAssets>Runtime</ExcludeAssets>\n</PackageReference>\n<PackageReference Include=\"Tizen.NET.Sdk\" Version=\"1.0.1\" />\n- <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0-pre2-00076\" />\n- <PackageReference Include=\"Xamarin.Forms\" Version=\"3.1.0.637273\" />\n+ <PackageReference Include=\"Tizen.Wearable.CircularUI\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Xamarin.Forms\" Version=\"3.3.0.967583\" />\n</ItemGroup>\n</Project>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/tizen-manifest.xml",
"new_path": "Wearable/Weather/Weather/tizen-manifest.xml",
"diff": "<privileges>\n<privilege>http://tizen.org/privilege/haptic</privilege>\n<privilege>http://tizen.org/privilege/internet</privilege>\n+ <privilege>http://tizen.org/privilege/ime</privilege>\n+ <privilege>http://tizen.org/privilege/imemanager</privilege>\n</privileges>\n<provides-appdefined-privileges />\n</manifest>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Weather] Fix Weather app
|
594,229 |
16.11.2018 16:04:55
| -3,600 |
302e15b0b91897a6476f728d3af6e042f2bef25b
|
[Wearable][Weather] Remove unnecessary behavior, update screenshots
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Screenshots/weatherApp_screen02.png",
"new_path": "Wearable/Weather/Screenshots/weatherApp_screen02.png",
"diff": "Binary files a/Wearable/Weather/Screenshots/weatherApp_screen02.png and b/Wearable/Weather/Screenshots/weatherApp_screen02.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Screenshots/weatherApp_screen03.png",
"new_path": "Wearable/Weather/Screenshots/weatherApp_screen03.png",
"diff": "Binary files a/Wearable/Weather/Screenshots/weatherApp_screen03.png and b/Wearable/Weather/Screenshots/weatherApp_screen03.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/ViewModels/MainPageViewModel.cs",
"new_path": "Wearable/Weather/Weather/ViewModels/MainPageViewModel.cs",
"diff": "@@ -135,8 +135,13 @@ namespace Weather.ViewModels\n{\n((App)Application.Current).IsInitialized = false;\nEnteredCity = value.Name;\n+ CityEntryTextColor = Color.FromRgb(128, 128, 128);\nCheckWeatherCommand.ChangeCanExecute();\n}\n+ else\n+ {\n+ CityEntryTextColor = Color.Red;\n+ }\n}\n}\n@@ -220,10 +225,6 @@ namespace Weather.ViewModels\nCityEntryTextColor = Color.Red;\nCheckWeatherCommand.ChangeCanExecute();\n}\n- else\n- {\n- CityEntryTextColor = Color.FromRgb(128, 128, 128);\n- }\n}\n/// <summary>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/Views/MainPage.xaml",
"new_path": "Wearable/Weather/Weather/Views/MainPage.xaml",
"diff": "Text=\"{Binding EnteredCity, Mode=TwoWay}\"\nHorizontalTextAlignment=\"Center\"\nTextColor=\"{Binding CityEntryTextColor}\">\n- <w:PopupEntry.Behaviors>\n- <behaviors:CityNameValidatorBehavior\n- City=\"{Binding Source={x:Reference Name=ViewModel}, Path=SelectedCity}\"/>\n- </w:PopupEntry.Behaviors>\n</w:PopupEntry>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Weather] Remove unnecessary behavior, update screenshots
|
594,229 |
28.11.2018 12:01:34
| -3,600 |
0821a180b1d97338616f7f7a315dab8ea7bf5bda
|
[Wearable][Weather]Change colors to predefined
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/Behaviors/CountryCodeValidatorBehavior.cs",
"new_path": "Wearable/Weather/Weather/Behaviors/CountryCodeValidatorBehavior.cs",
"diff": "@@ -91,7 +91,7 @@ namespace Weather.Behaviors\n? textChangedEventArgs.OldTextValue.ToUpper()\n: textChangedEventArgs.NewTextValue.ToUpper();\n- entry.TextColor = _provider.Validate(entry.Text) ? Color.FromRgb(128,128,128) : Color.Red;\n+ entry.TextColor = _provider.Validate(entry.Text) ? Color.Gray : Color.Red;\n}\n/// <summary>\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Weather/Weather/ViewModels/MainPageViewModel.cs",
"new_path": "Wearable/Weather/Weather/ViewModels/MainPageViewModel.cs",
"diff": "@@ -135,7 +135,7 @@ namespace Weather.ViewModels\n{\n((App)Application.Current).IsInitialized = false;\nEnteredCity = value.Name;\n- CityEntryTextColor = Color.FromRgb(128, 128, 128);\n+ CityEntryTextColor = Color.Gray;\nCheckWeatherCommand.ChangeCanExecute();\n}\nelse\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Weather]Change colors to predefined
|
594,229 |
27.12.2018 11:24:48
| -3,600 |
0aa415ba1abaff964ab9aefa13e09ee9fd42a3fb
|
[Wearable][NetworkApp] Fix spelling
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/ViewModels/LoginViewModel.cs",
"new_path": "Wearable/NetworkApp/NetworkApp/ViewModels/LoginViewModel.cs",
"diff": "@@ -68,7 +68,7 @@ namespace NetworkApp.ViewModels\npublic string ConnectButtonText { get; set; } = \"Connect\";\n/// <summary>\n- /// Gets or sets password user entered in popup Entry\n+ /// Gets or sets password user entered in PopupEntry\n/// </summary>\npublic string Password { get; set; }\n@@ -92,7 +92,7 @@ namespace NetworkApp.ViewModels\nConnectButtonText = \"Connecting...\";\nRefreshBindings();\nawait _wifi.Connect(APName, Password);\n- // No exception, so wifi connected\n+ // No exception, so Wi-Fi connected\nToast.DisplayText(\"Connected!\");\nRefreshBindings();\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/NetworkApp/NetworkApp/ViewModels/WiFiViewModel.cs",
"new_path": "Wearable/NetworkApp/NetworkApp/ViewModels/WiFiViewModel.cs",
"diff": "@@ -152,7 +152,7 @@ namespace NetworkApp.ViewModels\n}\n/// <summary>\n- /// Changes wi-fi status\n+ /// Changes Wi-Fi status\n/// </summary>\nprivate async void ChangeConnectionStatus()\n{\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][NetworkApp] Fix spelling (#60)
|
594,229 |
27.12.2018 11:25:29
| -3,600 |
f6c90ad3cede4a7e8cc7d51a948a7d1fc6ee0ca2
|
[Wearable][Preference] Fix spelling
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Preference/Preference/Models/PreferenceModel.cs",
"new_path": "Wearable/Preference/Preference/Models/PreferenceModel.cs",
"diff": "@@ -53,8 +53,8 @@ namespace Preference.Models\n/// Returns value assigned to the key.\n/// </summary>\n/// <param name=\"key\">Key name.</param>\n- /// <returns>Returns value assigned to requested key. If key doesn't exist and requested type is string, empty string is returned.\n- /// If key doesn't exist and requested type is not a string, default value for requested type is returned</returns>\n+ /// <returns>Returns value assigned to requested key. If key does not exist and requested type is string, empty string is returned.\n+ /// If key does not exist and requested type is not a string, default value for requested type is returned</returns>\npublic object Get<T>(string key)\n{\nobject value = default(T);\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Preference] Fix spelling (#61)
|
594,297 |
02.01.2019 10:48:07
| -3,600 |
261ad7ba7da2d816da28cc27e4a4b38b486f3bf9
|
[Wearable][Calcualtor] Fix spelling
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Calculator/src/Calculator/ViewModels/MainPageViewModel.cs",
"new_path": "Wearable/Calculator/src/Calculator/ViewModels/MainPageViewModel.cs",
"diff": "@@ -276,7 +276,7 @@ namespace Calculator.ViewModels\n}\n/// <summary>\n- /// This method updates expression and reult texts assuming calculation has not completed.\n+ /// This method updates expression and result texts assuming calculation has not completed.\n/// </summary>\nprivate void UpdateDisplay()\n{\n@@ -284,7 +284,7 @@ namespace Calculator.ViewModels\n}\n/// <summary>\n- /// This method updates expression and reult texts.\n+ /// This method updates expression and result texts.\n/// </summary>\n/// <param name=\"isCalculationCompleted\"> Flag value indicating whether calculation has completed or not. </param>\nprivate void UpdateDisplay(bool isCalculationCompleted)\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Calcualtor] Fix spelling
|
594,223 |
04.01.2019 18:18:45
| -32,400 |
6fd3a87842777950f8384e811a1613b3765229da
|
[Wearable][Alarm]Fix crash issue when alarm is expired
FileNotFoundException occurs when an alarm is expired in non-speaker devices.
Because SoundNotification ogg file is not supported in non-speaker devices.
Insert Notification sound file in app's res folder.
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Alarm.cs",
"new_path": "Wearable/Alarm/Alarm/Alarm.cs",
"diff": "@@ -26,8 +26,6 @@ namespace Alarm\n{\nclass Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n{\n- public static string ResourceDir { get; private set; }\n-\nApp app;\nAlertPageModel _alertPageModel;\n@@ -36,7 +34,7 @@ namespace Alarm\n/// </summary>\nprotected override void OnCreate()\n{\n- ResourceDir = DirectoryInfo.Resource;\n+ AlarmNativeHandler.ResourceDir = DirectoryInfo.Resource;\nbase.OnCreate();\napp = new App();\nLoadApplication(app);\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Alarm/Alarm/Implements/AlarmNativeHandler.cs",
"new_path": "Wearable/Alarm/Alarm/Implements/AlarmNativeHandler.cs",
"diff": "@@ -30,7 +30,9 @@ namespace Alarm.Implements\nstatic AudioStreamPolicy audioStreamPolicy;\nstatic Feedback feedback;\nstatic Player player;\n+ static string SoundNotificationUri = \"Notification.ogg\";\n+ public static string ResourceDir { get; set; }\n/// <summary>\n/// Gets system alarm ID from alarm object\n@@ -128,7 +130,8 @@ namespace Alarm.Implements\naudioStreamPolicy.AcquireFocus(AudioStreamFocusOptions.Playback, AudioStreamBehaviors.Fading, null);\nplayer = new Player();\n- MediaUriSource soudSource = new MediaUriSource(SystemSettings.SoundNotification);\n+ string uri = ResourceDir + SoundNotificationUri;\n+ MediaUriSource soudSource = new MediaUriSource(uri);\nplayer.SetSource(soudSource);\nplayer.ApplyAudioStreamPolicy(audioStreamPolicy);\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/Alarm/Alarm/res/Notification.ogg",
"new_path": "Wearable/Alarm/Alarm/res/Notification.ogg",
"diff": "Binary files /dev/null and b/Wearable/Alarm/Alarm/res/Notification.ogg differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Alarm]Fix crash issue when alarm is expired
FileNotFoundException occurs when an alarm is expired in non-speaker devices.
Because SoundNotification ogg file is not supported in non-speaker devices.
Insert Notification sound file in app's res folder.
|
594,292 |
14.02.2019 16:13:37
| -32,400 |
9bba075a1d612e604f17edca798cc1e030a813ee
|
[Wearable][StorageApp]Add sample application for Tizen.System.Storage
|
[
{
"change_type": "ADD",
"old_path": "Wearable/StorageApp/Screenshots/StorageApp.png",
"new_path": "Wearable/StorageApp/Screenshots/StorageApp.png",
"diff": "Binary files /dev/null and b/Wearable/StorageApp/Screenshots/StorageApp.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/StorageApp/StorageApp/StorageApp.Tizen.Wearable/StorageApp.Tizen.Wearable.cs",
"diff": "+using System;\n+\n+namespace StorageApp\n+{\n+ class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication\n+ {\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+\n+ LoadApplication(new App());\n+ }\n+\n+ static void Main(string[] args)\n+ {\n+ var app = new Program();\n+ global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);\n+ Tizen.Wearable.CircularUI.Forms.Renderer.FormsCircularUI.Init();\n+ app.Run(args);\n+ }\n+ }\n+}\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/StorageApp/StorageApp/StorageApp.Tizen.Wearable/shared/res/StorageApp.Tizen.Wearable.png",
"new_path": "Wearable/StorageApp/StorageApp/StorageApp.Tizen.Wearable/shared/res/StorageApp.Tizen.Wearable.png",
"diff": "Binary files /dev/null and b/Wearable/StorageApp/StorageApp/StorageApp.Tizen.Wearable/shared/res/StorageApp.Tizen.Wearable.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][StorageApp]Add sample application for Tizen.System.Storage
Signed-off-by: pr.jung <pr.jung@samsung.com>
|
594,297 |
01.02.2019 15:27:26
| -3,600 |
d8fb9687f08760edb8cca8877ae957ef31d8b017
|
[Wearable][Badges] Fix documentation
|
[
{
"change_type": "MODIFY",
"old_path": "Wearable/Badges/src/Badges/App.cs",
"new_path": "Wearable/Badges/src/Badges/App.cs",
"diff": "@@ -17,8 +17,14 @@ using Xamarin.Forms;\nnamespace Badges\n{\n+ /// <summary>\n+ /// The Badges application main class.\n+ /// </summary>\npublic class App : Application\n{\n+ /// <summary>\n+ /// Initializes a new instance of the <see cref=\"App\"/> class.\n+ /// </summary>\npublic App()\n{\nMainPage = new BadgePage();\n"
},
{
"change_type": "MODIFY",
"old_path": "Wearable/Badges/src/Badges/BadgePage.cs",
"new_path": "Wearable/Badges/src/Badges/BadgePage.cs",
"diff": "@@ -23,6 +23,9 @@ using Application = Tizen.Applications.Application;\nnamespace Badges\n{\n+ /// <summary>\n+ /// Page class for main screen of the application.\n+ /// </summary>\npublic class BadgePage : CirclePage, IRotaryEventReceiver\n{\n/// <summary>\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][Badges] Fix documentation
|
594,226 |
13.03.2019 12:28:40
| -32,400 |
4c11831c0331f6070840f8120c9a4698117f4914
|
[Wearable][AnimationsSample] Add new sample app
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/AnimationsSample/AnimationsSample/AnimationsSample.cs",
"diff": "+/*\n+ * Copyright (c) 2018 Samsung Electronics Co., Ltd.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ *\n+ */\n+\n+using System;\n+using System.Runtime.InteropServices;\n+using Tizen;\n+using Tizen.NUI;\n+using Tizen.NUI.UIComponents;\n+using Tizen.NUI.BaseComponents;\n+using Tizen.NUI.Constants;\n+\n+namespace AnimationsSample\n+{\n+ /// <summary>\n+ /// This sample demonstrates how to use the Animation class to create and cancel animations.\n+ /// </summary>\n+ class AnimationsSample : NUIApplication\n+ {\n+ private static string mResourceUrl = Tizen.Applications.Application.Current.DirectoryInfo.Resource + \"images\";\n+ private static string mImageUrl = mResourceUrl + \"/gallery-2.jpg\";\n+\n+ private ImageView mImageView;\n+ // Animations that change properties.\n+ private Animation[] mAnimations;\n+ private uint mAnimationCount = 6;\n+ private Size2D mImageSize = new Size2D(150, 150);\n+\n+ // PushButton be used to trigger the effect of Text.\n+ private PushButton[] mPushButton;\n+ // tableView be used to put PushButton.\n+ private TableView mTableView;\n+\n+ // String array of each Animations\n+ private string[] mPushButtonString =\n+ {\n+ \"Position Animation\",\n+ \"Size Animation\",\n+ \"Scale Animation\",\n+ \"Orientation Animation\",\n+ \"Opacity Animation\",\n+ \"PixelArea Animation\",\n+ \"Position+Size+Opacity\"\n+ };\n+ private uint mPushButtonCount = 7;\n+ private int mCurruntButtonIndex;\n+\n+ // UI properties\n+ private int mTouchableArea = 260;\n+ private bool mTouched = false;\n+ private bool mTouchedInButton = false;\n+\n+ private Size2D mWindowSize;\n+ private float mLargePointSize = 10.0f;\n+ private float mMiddlePointSize = 5.0f;\n+ private float mSmallPointSize = 3.0f;\n+ private Vector2 mTouchedPosition;\n+\n+ private Position mTableViewStartPosition = new Position(65, 90, 0);\n+ private Animation[] mTableViewAnimation;\n+ private Size2D mButtonSize = new Size2D(230, 35);\n+\n+ /// <summary>\n+ /// The constructor with null\n+ /// </summary>\n+ public AnimationsSample() : base()\n+ {\n+ }\n+\n+ /// <summary>\n+ /// Overrides this method if want to handle behaviour.\n+ /// </summary>\n+ protected override void OnCreate()\n+ {\n+ base.OnCreate();\n+ Initialize();\n+ }\n+\n+ /// <summary>\n+ /// Stop all animation.\n+ /// </summary>\n+ private void StopAnimations()\n+ {\n+ for (uint i = 0; i < mAnimationCount; ++i)\n+ {\n+ mAnimations[i].Stop();\n+ }\n+ }\n+\n+ /// <summary>\n+ /// Animation Sample Application initialization.\n+ /// </summary>\n+ private void Initialize()\n+ {\n+ Window.Instance.BackgroundColor = Color.Black;\n+ mWindowSize = Window.Instance.Size;\n+\n+ TextLabel title = new TextLabel(\"Animation\");\n+ title.HorizontalAlignment = HorizontalAlignment.Center;\n+ title.VerticalAlignment = VerticalAlignment.Center;\n+ title.TextColor = Color.White;\n+ title.PositionUsesPivotPoint = true;\n+ title.ParentOrigin = ParentOrigin.TopCenter;\n+ title.PivotPoint = PivotPoint.TopCenter;\n+ title.Position2D = new Position2D(0, mWindowSize.Height / 10);\n+ title.FontFamily = \"Samsung One 600\";\n+ title.MultiLine = false;\n+ title.PointSize = mLargePointSize;\n+ Window.Instance.GetDefaultLayer().Add(title);\n+\n+ // Create the view to animate.\n+ mImageView = new ImageView();\n+ mImageView.Size2D = mImageSize;\n+ mImageView.PositionUsesPivotPoint = true;\n+ mImageView.PivotPoint = PivotPoint.Center;\n+ mImageView.ParentOrigin = ParentOrigin.Center;\n+ mImageView.ResourceUrl = mImageUrl;\n+\n+ // Add view on Window.\n+ Window.Instance.GetDefaultLayer().Add(mImageView);\n+\n+ // Create Animations\n+ CreateAnimations();\n+\n+ // Create Buttons for the UI\n+ CreateButtons();\n+ mCurruntButtonIndex = 0;\n+\n+ TextLabel subTitle = new TextLabel(\"Swipe and Click the button\");\n+ subTitle.HorizontalAlignment = HorizontalAlignment.Center;\n+ subTitle.VerticalAlignment = VerticalAlignment.Center;\n+ subTitle.TextColor = Color.White;\n+ subTitle.PositionUsesPivotPoint = true;\n+ subTitle.ParentOrigin = ParentOrigin.BottomCenter;\n+ subTitle.PivotPoint = PivotPoint.BottomCenter;\n+ subTitle.Position2D = new Position2D(0, -30);\n+ subTitle.FontFamily = \"Samsung One 600\";\n+ subTitle.MultiLine = false;\n+ subTitle.PointSize = mSmallPointSize;\n+ Window.Instance.GetDefaultLayer().Add(subTitle);\n+\n+ // Animations for the swipe action.\n+ mTableViewAnimation = new Animation[2];\n+ mTableViewAnimation[0] = new Animation();\n+ mTableViewAnimation[0].Duration = 100;\n+ mTableViewAnimation[0].AnimateBy(mTableView, \"Position\", new Vector3(-360, 0, 0));\n+ mTableViewAnimation[1] = new Animation();\n+ mTableViewAnimation[1].Duration = 100;\n+ mTableViewAnimation[1].AnimateBy(mTableView, \"Position\", new Vector3(360, 0, 0));\n+\n+ Window.Instance.TouchEvent += OnWindowTouched;\n+ Window.Instance.KeyEvent += OnKey;\n+ }\n+\n+ /// <summary>\n+ /// Create Animations which animate properties of ImageView\n+ /// </summary>\n+ private void CreateAnimations()\n+ {\n+ mAnimations = new Animation[mAnimationCount];\n+\n+ // Position animation\n+ mAnimations[0] = new Animation();\n+ // The duration of the animation is 1.5s;\n+ mAnimations[0].Duration = 1500;\n+ // Create the position animation using AnimateTo.\n+ mAnimations[0].AnimateTo(mImageView, \"Position\", new Position(-mImageSize.Width / 2, 0, 0), 0, 500);\n+ mAnimations[0].AnimateTo(mImageView, \"Position\", new Position(mImageSize.Width / 2, 0, 0), 501, 1000);\n+ mAnimations[0].AnimateTo(mImageView, \"Position\", new Position(0, 0, 0), 1001, 1500);\n+ // StopFinal: If the animation is stopped, the animated property values are saved as if the animation had run to completion\n+ mAnimations[0].EndAction = Animation.EndActions.StopFinal;\n+\n+ // Size animation\n+ mAnimations[1] = new Animation();\n+ // The duration of the animation is 1.0s;\n+ mAnimations[1].Duration = 1000;\n+ // Create the size animation using AnimateTo.\n+ mAnimations[1].AnimateTo(mImageView, \"size\", new Vector3(mImageSize.Width, mImageSize.Width, 0) * 1.25f, 0, 500);\n+ mAnimations[1].AnimateTo(mImageView, \"size\", new Vector3(mImageSize.Width, mImageSize.Width, 0), 501, 1000);\n+ // StopFinal: If the animation is stopped, the animated property values are saved as if the animation had run to completion\n+ mAnimations[1].EndAction = Animation.EndActions.StopFinal;\n+\n+ // Scale animation\n+ mAnimations[2] = new Animation();\n+ // The duration of the animation is 1.5s;\n+ mAnimations[2].Duration = 1500;\n+ // Create the scale animation using AnimateTo.\n+ mAnimations[2].AnimateTo(mImageView, \"scale\", new Vector3(1.2f, 1.2f, 1.0f), 0, 200, new AlphaFunction(AlphaFunction.BuiltinFunctions.Sin));\n+ mAnimations[2].AnimateTo(mImageView, \"scaleX\", 1.3f, 200, 500, new AlphaFunction(AlphaFunction.BuiltinFunctions.Linear));\n+ mAnimations[2].AnimateTo(mImageView, \"ScaleY\", 1.3f, 500, 800, new AlphaFunction(AlphaFunction.BuiltinFunctions.Bounce));\n+ mAnimations[2].AnimateTo(mImageView, \"scaleX\", 1.0f, 800, 1200, new AlphaFunction(AlphaFunction.BuiltinFunctions.Bounce));\n+ mAnimations[2].AnimateTo(mImageView, \"scaleX\", 1.0f, 1200, 1500, new AlphaFunction(AlphaFunction.BuiltinFunctions.Linear));\n+ // StopFinal: If the animation is stopped, the animated property values are saved as if the animation had run to completion\n+ mAnimations[2].EndAction = Animation.EndActions.StopFinal;\n+\n+ // Orientation animation\n+ mAnimations[3] = new Animation();\n+ // The duration of the animation is 2.2s;\n+ mAnimations[3].Duration = 2200;\n+ // Create the orientation animation using AnimateTo.\n+ mAnimations[3].AnimateTo(mImageView, \"Orientation\", new Rotation(new Radian(new Degree(60.0f)), PositionAxis.X), 0, 400);\n+ mAnimations[3].AnimateTo(mImageView, \"Orientation\", new Rotation(new Radian(new Degree(60.0f)), PositionAxis.Y), 400, 800);\n+ mAnimations[3].AnimateTo(mImageView, \"Orientation\", new Rotation(new Radian(new Degree(60.0f)), PositionAxis.Z), 800, 1000);\n+ mAnimations[3].AnimateTo(mImageView, \"Orientation\", new Rotation(new Radian(0.0f), PositionAxis.X), 1000, 1400);\n+ mAnimations[3].AnimateTo(mImageView, \"Orientation\", new Rotation(new Radian(0.0f), PositionAxis.Y), 1400, 1800);\n+ mAnimations[3].AnimateTo(mImageView, \"Orientation\", new Rotation(new Radian(0.0f), PositionAxis.Z), 1800, 2200);\n+ // StopFinal: If the animation is stopped, the animated property values are saved as if the animation had run to completion\n+ mAnimations[3].EndAction = Animation.EndActions.StopFinal;\n+\n+ // Opacity animation\n+ mAnimations[4] = new Animation();\n+ // The duration of the animation is 1.5s;\n+ mAnimations[4].Duration = 1500;\n+ // Create the Opacity animation using AnimateTo.\n+ mAnimations[4].AnimateTo(mImageView, \"Opacity\", 0.5f, 0, 400);\n+ mAnimations[4].AnimateTo(mImageView, \"Opacity\", 0.0f, 400, 800);\n+ mAnimations[4].AnimateTo(mImageView, \"Opacity\", 0.5f, 800, 1250);\n+ mAnimations[4].AnimateTo(mImageView, \"Opacity\", 1.0f, 1250, 1500);\n+ // StopFinal: If the animation is stopped, the animated property values are saved as if the animation had run to completion\n+ mAnimations[4].EndAction = Animation.EndActions.StopFinal;\n+\n+ // PixelArea animation\n+ mAnimations[5] = new Animation();\n+ // The duration of the animation is 2.0s;\n+ mAnimations[5].Duration = 2000;\n+ // Create the pixelArea animation using AnimateTo.\n+ RelativeVector4 vec1 = new RelativeVector4(0.0f, 0.0f, 0.5f, 0.5f);\n+ RelativeVector4 vec2 = new RelativeVector4(0.0f, 0.0f, 0.0f, 0.0f);\n+ RelativeVector4 vec3 = new RelativeVector4(0.0f, 0.0f, 1.0f, 1.0f);\n+ mAnimations[5].AnimateTo(mImageView, \"pixelArea\", vec1, 0, 500);\n+ mAnimations[5].AnimateTo(mImageView, \"pixelArea\", vec2, 500, 1000);\n+ mAnimations[5].AnimateTo(mImageView, \"pixelArea\", vec1, 1000, 1500);\n+ mAnimations[5].AnimateTo(mImageView, \"pixelArea\", vec3, 1500, 2000);\n+ // StopFinal: If the animation is stopped, the animated property values are saved as if the animation had run to completion\n+ mAnimations[5].EndAction = Animation.EndActions.StopFinal;\n+ }\n+\n+ /// <summary>\n+ /// Create buttons which run each animation\n+ /// </summary>\n+ private void CreateButtons()\n+ {\n+ // Create tableView used to put PushButton.\n+ mTableView = new TableView(1, mPushButtonCount);\n+ // Set the position of tableView.\n+ mTableView.PositionUsesPivotPoint = true;\n+ mTableView.PivotPoint = PivotPoint.CenterLeft;\n+ mTableView.ParentOrigin = ParentOrigin.CenterLeft;\n+ mTableView.Position = mTableViewStartPosition;\n+ for (uint i = 0; i < mPushButtonCount; ++i)\n+ {\n+ mTableView.SetFixedWidth(i, 360);\n+ }\n+\n+ mTableView.CellHorizontalAlignment = HorizontalAlignmentType.Center;\n+ mTableView.CellVerticalAlignment = VerticalAlignmentType.Center;\n+\n+ Window.Instance.GetDefaultLayer().Add(mTableView);\n+\n+ mPushButton = new PushButton[mPushButtonCount];\n+ for (uint i = 0; i < mPushButtonCount; ++i)\n+ {\n+ // CreateButton with string array\n+ mPushButton[i] = CreateButton(mPushButtonString[i], mPushButtonString[i]);\n+ // Bind PushButton's click event to TouchEvent.\n+ mPushButton[i].TouchEvent += OnButtonTouched;\n+ mTableView.AddChild(mPushButton[i], new TableView.CellPosition(0, i));\n+ }\n+ }\n+\n+ /// <summary>\n+ /// Touch event handling of Window\n+ /// </summary>\n+ /// <param name=\"sender\">Window</param>\n+ /// <param name=\"e\">event</param>\n+ /// <returns>The consume flag</returns>\n+ private void OnWindowTouched(object sender, Window.TouchEventArgs e)\n+ {\n+ if (e.Touch.GetPointCount() < 1)\n+ {\n+ return;\n+ }\n+\n+ switch (e.Touch.GetState(0))\n+ {\n+ // If State is Down (Touched at the outside of Button)\n+ // - Store touched position.\n+ // - Set the mTouched to true\n+ // - Set the mTouchedInButton to false\n+ case PointStateType.Down:\n+ {\n+ mTouchedPosition = e.Touch.GetScreenPosition(0);\n+ mTouched = true;\n+ mTouchedInButton = false;\n+ break;\n+ }\n+ // If State is Motion\n+ // - Check the touched position is in the touchable position.\n+ // - Check the Motion is about Horizontal movement.\n+ // - If the amount of movement is larger than threshold, run the swipe animation(left or right).\n+ case PointStateType.Motion:\n+ {\n+ if (!mTouched ||\n+ mTouchedPosition.Y < mTouchableArea)\n+ {\n+ break;\n+ }\n+\n+ Vector2 displacement = e.Touch.GetScreenPosition(0) - mTouchedPosition;\n+ if (Math.Abs(displacement.Y) > 20)\n+ {\n+ mTouched = false;\n+ break;\n+ }\n+\n+ if (displacement.X > 30)\n+ {\n+ AnimateAStepNegative();\n+ mTouched = false;\n+ }\n+\n+ if (displacement.X < -30)\n+ {\n+ AnimateAStepPositive();\n+ mTouched = false;\n+ }\n+\n+ break;\n+ }\n+ // If State is Up\n+ // - Reset the mTouched flag\n+ case PointStateType.Up:\n+ {\n+ mTouched = false;\n+ break;\n+ }\n+ }\n+ }\n+\n+ /// <summary>\n+ /// TouchEvent handling of Button\n+ /// </summary>\n+ /// <param name=\"source\">The Touched button</param>\n+ /// <param name=\"e\">event</param>\n+ /// <returns>The consume flag</returns>\n+ private bool OnButtonTouched(object source, View.TouchEventArgs e)\n+ {\n+ if (e.Touch.GetPointCount() < 1)\n+ {\n+ return true;\n+ }\n+\n+ switch (e.Touch.GetState(0))\n+ {\n+ // If State is Down (Touched at the inside of Button)\n+ // - Store touched position.\n+ // - Set the mTouched to true\n+ // - Set the mTouchedInButton to true\n+ case PointStateType.Down:\n+ {\n+ mTouchedPosition = e.Touch.GetScreenPosition(0);\n+ mTouched = true;\n+ mTouchedInButton = true;\n+ break;\n+ }\n+ // If State is Motion\n+ // - Check the touched position is in the touchable position.\n+ // - Check the Motion is about Horizontal movement.\n+ // - If the amount of movement is larger than threshold, run the swipe animation(left or right).\n+ case PointStateType.Motion:\n+ {\n+ if (!mTouched ||\n+ mTouchedPosition.Y < mTouchableArea)\n+ {\n+ break;\n+ }\n+\n+ Vector2 displacement = e.Touch.GetScreenPosition(0) - mTouchedPosition;\n+ if (Math.Abs(displacement.Y) > 20)\n+ {\n+ mTouched = false;\n+ break;\n+ }\n+\n+ if (displacement.X > 30)\n+ {\n+ AnimateAStepNegative();\n+ mTouched = false;\n+ }\n+\n+ if (displacement.X < -30)\n+ {\n+ AnimateAStepPositive();\n+ mTouched = false;\n+ }\n+\n+ break;\n+ }\n+ // If State is Up\n+ // - If both of mTouched and mTouchedInButton flags are true, run the ButtonClick function.\n+ // - Reset the mTouched flag\n+ case PointStateType.Up:\n+ {\n+ if (mTouched && mTouchedInButton)\n+ {\n+ ButtonClick();\n+ }\n+\n+ mTouched = false;\n+ break;\n+ }\n+ }\n+\n+ return true;\n+ }\n+\n+ /// <summary>\n+ /// Animate the tableView to the Negative direction\n+ /// </summary>\n+ private void AnimateAStepNegative()\n+ {\n+ if (mCurruntButtonIndex > 0)\n+ {\n+ mCurruntButtonIndex--;\n+\n+ mTableViewAnimation[1].Play();\n+ }\n+ }\n+\n+ /// <summary>\n+ /// Animate the tableView to the Positive direction\n+ /// </summary>\n+ private void AnimateAStepPositive()\n+ {\n+ if (mCurruntButtonIndex < mPushButtonCount - 1)\n+ {\n+ mCurruntButtonIndex++;\n+\n+ mTableViewAnimation[0].Play();\n+ }\n+ }\n+\n+ /// <summary>\n+ /// Called by buttons\n+ /// </summary>\n+ /// <returns>The consume flag</returns>\n+ private bool ButtonClick()\n+ {\n+ if (mCurruntButtonIndex == 0)\n+ {\n+ // Stop all the animation and Play position Animation.\n+ StopAnimations();\n+ // Play position animation\n+ mAnimations[0].Play();\n+ }\n+ else if (mCurruntButtonIndex == 1)\n+ {\n+ // Stop all the animation and Play position Animation.\n+ StopAnimations();\n+ // Play size animation\n+ mAnimations[1].Play();\n+ }\n+ else if (mCurruntButtonIndex == 2)\n+ {\n+ // Stop all the animation and Play position Animation.\n+ StopAnimations();\n+ // Play scale animation\n+ mAnimations[2].Play();\n+ }\n+ else if (mCurruntButtonIndex == 3)\n+ {\n+ // Stop all the animation and Play position Animation.\n+ StopAnimations();\n+ // Play orientation animation\n+ mAnimations[3].Play();\n+ }\n+ else if (mCurruntButtonIndex == 4)\n+ {\n+ // Stop all the animation and Play position Animation.\n+ StopAnimations();\n+ // Play opacity animation\n+ mAnimations[4].Play();\n+ }\n+ else if (mCurruntButtonIndex == 5)\n+ {\n+ // Stop all the animation and Play position Animation.\n+ StopAnimations();\n+ // Play pixel area animation\n+ mAnimations[5].Play();\n+ }\n+ else if (mCurruntButtonIndex == 6)\n+ {\n+ // Stop all the animation and Play position, scale opacity Animation at the same time.\n+ StopAnimations();\n+ // Play position, scale, and opacity animations\n+ mAnimations[0].Play();\n+ mAnimations[2].Play();\n+ mAnimations[4].Play();\n+\n+ }\n+\n+ return false;\n+ }\n+\n+ /// <summary>\n+ /// Create a Text visual.\n+ /// </summary>\n+ /// <param name=\"text\">The text of the Text visual</param>\n+ /// <param name=\"color\">The color of the text</param>\n+ /// <returns>return a map which contain the properties of the text</returns>\n+ private PropertyMap CreateTextVisual(string text, Color color)\n+ {\n+ PropertyMap map = new PropertyMap();\n+ map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.Text));\n+ map.Add(TextVisualProperty.Text, new PropertyValue(text));\n+ map.Add(TextVisualProperty.TextColor, new PropertyValue(color));\n+ map.Add(TextVisualProperty.PointSize, new PropertyValue(mMiddlePointSize));\n+ map.Add(TextVisualProperty.HorizontalAlignment, new PropertyValue(\"CENTER\"));\n+ map.Add(TextVisualProperty.VerticalAlignment, new PropertyValue(\"CENTER\"));\n+ map.Add(TextVisualProperty.FontFamily, new PropertyValue(\"Samsung One 400\"));\n+ return map;\n+ }\n+\n+ /// <summary>\n+ /// Create a Color visual.\n+ /// </summary>\n+ /// <param name=\"color\">The color value of the visual</param>\n+ /// <returns>return a map which contain the properties of the color</returns>\n+ private PropertyMap CreateColorVisual(Vector4 color)\n+ {\n+ PropertyMap map = new PropertyMap();\n+ map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.Color));\n+ map.Add(ColorVisualProperty.MixColor, new PropertyValue(color));\n+ return map;\n+ }\n+\n+ /// <summary>\n+ /// Create a Button.\n+ /// </summary>\n+ /// <param name=\"name\">The name of button</param>\n+ /// <param name=\"text\">The string value that will be used for the label text</param>\n+ /// <returns>return a PushButton</returns>\n+ private PushButton CreateButton(string name, string text)\n+ {\n+ PushButton button = new PushButton();\n+ button.Name = name;\n+ button.Size2D = mButtonSize;\n+ button.ClearBackground();\n+\n+ button.Position = new Position(50, 0, 0);\n+\n+ // Create text map for the selected state.\n+ PropertyMap unSelectedTextMap = CreateTextVisual(text, Color.White);\n+ // Create ColorVisual property for the unselected states.\n+ PropertyMap unSelectedMap = CreateColorVisual(new Vector4(0.1f, 0.1f, 0.1f, 0.9f));\n+\n+ // Create ColorVisual property for the selected states\n+ PropertyMap selectedMap = CreateColorVisual(new Vector4(0.5f, 0.5f, 0.5f, 1.0f));\n+\n+ // Set each label and text properties.\n+ button.Label = unSelectedTextMap;\n+ button.SelectedBackgroundVisual = selectedMap;\n+ button.UnselectedBackgroundVisual = unSelectedMap;\n+\n+ return button;\n+ }\n+\n+ /// <summary>\n+ /// This Application will be exited when back key entered.\n+ /// </summary>\n+ /// <param name=\"sender\">Window.Instance</param>\n+ /// <param name=\"e\">event</param>\n+ private void OnKey(object sender, Window.KeyEventArgs e)\n+ {\n+ if (e.Key.State == Key.StateType.Down)\n+ {\n+ if (e.Key.KeyPressedName == \"XF86Back\")\n+ {\n+ this.Exit();\n+ }\n+ }\n+ }\n+\n+ /// <summary>\n+ /// The enter point of the application.\n+ /// </summary>\n+ /// <param name=\"args\">args</param>\n+ static void Main(string[] args)\n+ {\n+ Log.Info(\"Tag\", \"========== Hello, AnimationsSample ==========\");\n+ new AnimationsSample().Run(args);\n+ }\n+ }\n+}\n\\ No newline at end of file\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/AnimationsSample/AnimationsSample/res/images/gallery-2.jpg",
"new_path": "Wearable/AnimationsSample/AnimationsSample/res/images/gallery-2.jpg",
"diff": "Binary files /dev/null and b/Wearable/AnimationsSample/AnimationsSample/res/images/gallery-2.jpg differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/AnimationsSample/AnimationsSample/shared/res/AnimationsSample.png",
"new_path": "Wearable/AnimationsSample/AnimationsSample/shared/res/AnimationsSample.png",
"diff": "Binary files /dev/null and b/Wearable/AnimationsSample/AnimationsSample/shared/res/AnimationsSample.png differ\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/AnimationsSample/README.md",
"diff": "+# AnimationSample\n+This sample demonstrates how to use Animation in Tizen.NUI. You can use the Animation to change Position, Size, Scale, Orientation, Opacity, and Pixel Area. Each of Animation can be applied separately or simultaneously.\n+\n+\n+\n+## License\n+Copyright (c) 2018 Samsung Electronics Co., Ltd.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\");\n+you may not use this file except in compliance with the License.\n+You may obtain a copy of the License at\n+\n+http://www.apache.org/licenses/LICENSE-2.0\n+\n+Unless required by applicable law or agreed to in writing, software\n+distributed under the License is distributed on an \"AS IS\" BASIS,\n+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+See the License for the specific language governing permissions and\n+limitations under the License.\n+\n+### Verified Version\n+* Tizen.NET : 5.0.0\n+* Tizen.NET.SDK : 1.0.0\n+\n+\n+### Supported Profile\n+* Wearable\n+\n+### Author\n+* Feng Jin, modified by Seungho Baek for the wearable sample.\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/AnimationsSample/Screenshots/animationMain.png",
"new_path": "Wearable/AnimationsSample/Screenshots/animationMain.png",
"diff": "Binary files /dev/null and b/Wearable/AnimationsSample/Screenshots/animationMain.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][AnimationsSample] Add new sample app
Signed-off-by: sbsh.baek <sbsh.baek@DO-SBSH-BAEK02>
|
594,226 |
13.03.2019 12:39:41
| -32,400 |
0964b7a545c75a5db4e03dd208aa0cfa9fc06e7c
|
[Wearable][TextEditorSample] Add new sample app
|
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "Wearable/TextEditorSample/README.md",
"diff": "+# TextSample\n+This sample demonstrates how to use TextEditor in Tizen.NUI.\n+\n+\n+\n+## License\n+Copyright (c) 2018 Samsung Electronics Co., Ltd.\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\");\n+you may not use this file except in compliance with the License.\n+You may obtain a copy of the License at\n+\n+http://www.apache.org/licenses/LICENSE-2.0\n+\n+Unless required by applicable law or agreed to in writing, software\n+distributed under the License is distributed on an \"AS IS\" BASIS,\n+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+See the License for the specific language governing permissions and\n+limitations under the License.\n+\n+### Verified Version\n+* Tizen.NET : 5.0.0\n+* Tizen.NET.SDK : 1.0.0\n+\n+\n+### Supported Profile\n+* Wearable\n+\n+### Author\n+* Feng Jin, modified by Seungho Baek for the wearable sample.\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/TextEditorSample/Screenshots/textMain.png",
"new_path": "Wearable/TextEditorSample/Screenshots/textMain.png",
"diff": "Binary files /dev/null and b/Wearable/TextEditorSample/Screenshots/textMain.png differ\n"
},
{
"change_type": "ADD",
"old_path": "Wearable/TextEditorSample/TextEditorSample/shared/res/TextEditorSample.png",
"new_path": "Wearable/TextEditorSample/TextEditorSample/shared/res/TextEditorSample.png",
"diff": "Binary files /dev/null and b/Wearable/TextEditorSample/TextEditorSample/shared/res/TextEditorSample.png differ\n"
}
] |
C#
|
Apache License 2.0
|
samsung/tizen-csharp-samples
|
[Wearable][TextEditorSample] Add new sample app
Signed-off-by: sbsh.baek <sbsh.baek@DO-SBSH-BAEK02>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.