source: internals/2016/screencastmultiplayergame_control/branches/MotionDetector3 works well for vertical motion, has detector sensitivity calibration, score calculation is bad/motiondetectorplugin/build/intermediates/exploded-aar/com.android.support/appcompat-v7/24.1.1/res/values-v21/values-v21.xml

Last change on this file was 16580, checked in by jesteves, 3 years ago

Added Motion Detector version that works for vertical motion (phone horizontal to the floor). The calculation of the score for each action is not good.

File size: 18.0 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<resources>
3    <style name="Base.TextAppearance.AppCompat" parent="android:TextAppearance.Material"/>
4    <style name="Base.TextAppearance.AppCompat.Body1" parent="android:TextAppearance.Material.Body1"/>
5    <style name="Base.TextAppearance.AppCompat.Body2" parent="android:TextAppearance.Material.Body2"/>
6    <style name="Base.TextAppearance.AppCompat.Button" parent="android:TextAppearance.Material.Button"/>
7    <style name="Base.TextAppearance.AppCompat.Caption" parent="android:TextAppearance.Material.Caption"/>
8    <style name="Base.TextAppearance.AppCompat.Display1" parent="android:TextAppearance.Material.Display1"/>
9    <style name="Base.TextAppearance.AppCompat.Display2" parent="android:TextAppearance.Material.Display2"/>
10    <style name="Base.TextAppearance.AppCompat.Display3" parent="android:TextAppearance.Material.Display3"/>
11    <style name="Base.TextAppearance.AppCompat.Display4" parent="android:TextAppearance.Material.Display4"/>
12    <style name="Base.TextAppearance.AppCompat.Headline" parent="android:TextAppearance.Material.Headline"/>
13    <style name="Base.TextAppearance.AppCompat.Inverse" parent="android:TextAppearance.Material.Inverse"/>
14    <style name="Base.TextAppearance.AppCompat.Large" parent="android:TextAppearance.Material.Large"/>
15    <style name="Base.TextAppearance.AppCompat.Large.Inverse" parent="android:TextAppearance.Material.Large.Inverse"/>
16    <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Large" parent="android:TextAppearance.Material.Widget.PopupMenu.Large">
17    </style>
18    <style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Small" parent="android:TextAppearance.Material.Widget.PopupMenu.Small">
19    </style>
20    <style name="Base.TextAppearance.AppCompat.Medium" parent="android:TextAppearance.Material.Medium"/>
21    <style name="Base.TextAppearance.AppCompat.Medium.Inverse" parent="android:TextAppearance.Material.Medium.Inverse"/>
22    <style name="Base.TextAppearance.AppCompat.Menu" parent="android:TextAppearance.Material.Menu"/>
23    <style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle" parent="android:TextAppearance.Material.SearchResult.Subtitle">
24    </style>
25    <style name="Base.TextAppearance.AppCompat.SearchResult.Title" parent="android:TextAppearance.Material.SearchResult.Title">
26    </style>
27    <style name="Base.TextAppearance.AppCompat.Small" parent="android:TextAppearance.Material.Small"/>
28    <style name="Base.TextAppearance.AppCompat.Small.Inverse" parent="android:TextAppearance.Material.Small.Inverse"/>
29    <style name="Base.TextAppearance.AppCompat.Subhead" parent="android:TextAppearance.Material.Subhead"/>
30    <style name="Base.TextAppearance.AppCompat.Title" parent="android:TextAppearance.Material.Title"/>
31    <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle">
32    </style>
33    <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse">
34    </style>
35    <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title" parent="android:TextAppearance.Material.Widget.ActionBar.Title">
36    </style>
37    <style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse" parent="android:TextAppearance.Material.Widget.ActionBar.Title.Inverse">
38    </style>
39    <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle" parent="android:TextAppearance.Material.Widget.ActionMode.Subtitle">
40    </style>
41    <style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title" parent="android:TextAppearance.Material.Widget.ActionMode.Title">
42    </style>
43    <style name="Base.TextAppearance.AppCompat.Widget.Button" parent="android:TextAppearance.Material.Widget.Button"/>
44    <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Header" parent="TextAppearance.AppCompat">
45        <item name="android:fontFamily">@string/abc_font_family_title_material</item>
46        <item name="android:textSize">@dimen/abc_text_size_menu_header_material</item>
47        <item name="android:textColor">?android:attr/textColorSecondary</item>
48    </style>
49    <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large" parent="android:TextAppearance.Material.Widget.PopupMenu.Large">
50    </style>
51    <style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small" parent="android:TextAppearance.Material.Widget.PopupMenu.Small">
52    </style>
53    <style name="Base.TextAppearance.AppCompat.Widget.Switch" parent="android:TextAppearance.Material.Button"/>
54    <style name="Base.TextAppearance.AppCompat.Widget.TextView.SpinnerItem" parent="android:TextAppearance.Material.Widget.TextView.SpinnerItem"/>
55    <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle" parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle">
56    </style>
57    <style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title" parent="android:TextAppearance.Material.Widget.ActionBar.Title">
58    </style>
59    <style name="Base.Theme.AppCompat" parent="Base.V21.Theme.AppCompat"/>
60    <style name="Base.Theme.AppCompat.Dialog" parent="Base.V21.Theme.AppCompat.Dialog"/>
61    <style name="Base.Theme.AppCompat.Light" parent="Base.V21.Theme.AppCompat.Light"/>
62    <style name="Base.Theme.AppCompat.Light.Dialog" parent="Base.V21.Theme.AppCompat.Light.Dialog"/>
63    <style name="Base.ThemeOverlay.AppCompat.Dialog" parent="Base.V21.ThemeOverlay.AppCompat.Dialog"/>
64    <style name="Base.V21.Theme.AppCompat" parent="Base.V7.Theme.AppCompat">
65        <!-- Action Bar styling attributes -->
66        <item name="actionBarSize">?android:attr/actionBarSize</item>
67        <item name="actionBarDivider">?android:attr/actionBarDivider</item>
68        <item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item>
69        <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
70        <item name="actionModeBackground">?android:attr/actionModeBackground</item>
71        <item name="actionModeCloseDrawable">?android:attr/actionModeCloseDrawable</item>
72        <item name="actionOverflowButtonStyle">?android:attr/actionOverflowButtonStyle</item>
73        <item name="homeAsUpIndicator">?android:attr/homeAsUpIndicator</item>
74
75        <!-- For PopupMenu -->
76        <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item>
77        <item name="textAppearanceLargePopupMenu">?android:attr/textAppearanceLargePopupMenu</item>
78        <item name="textAppearanceSmallPopupMenu">?android:attr/textAppearanceSmallPopupMenu</item>
79
80        <!-- General view attributes -->
81        <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
82        <item name="selectableItemBackgroundBorderless">?android:attr/selectableItemBackgroundBorderless</item>
83        <item name="borderlessButtonStyle">?android:borderlessButtonStyle</item>
84        <item name="dividerHorizontal">?android:attr/dividerHorizontal</item>
85        <item name="dividerVertical">?android:attr/dividerVertical</item>
86        <item name="editTextBackground">@drawable/abc_edit_text_material</item>
87        <item name="editTextColor">?android:attr/editTextColor</item>
88        <item name="listChoiceBackgroundIndicator">?android:attr/listChoiceBackgroundIndicator</item>
89
90        <!-- Copy the platform default styles for the AppCompat widgets -->
91        <item name="buttonStyle">?android:attr/buttonStyle</item>
92        <item name="buttonStyleSmall">?android:attr/buttonStyleSmall</item>
93        <item name="checkboxStyle">?android:attr/checkboxStyle</item>
94        <item name="checkedTextViewStyle">?android:attr/checkedTextViewStyle</item>
95        <item name="radioButtonStyle">?android:attr/radioButtonStyle</item>
96        <item name="ratingBarStyle">?android:attr/ratingBarStyle</item>
97        <item name="spinnerStyle">?android:attr/spinnerStyle</item>
98
99        <!-- Copy our color theme attributes to the framework -->
100        <item name="android:colorPrimary">?attr/colorPrimary</item>
101        <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
102        <item name="android:colorAccent">?attr/colorAccent</item>
103        <item name="android:colorControlNormal">?attr/colorControlNormal</item>
104        <item name="android:colorControlActivated">?attr/colorControlActivated</item>
105        <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
106        <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
107    </style>
108    <style name="Base.V21.Theme.AppCompat.Dialog" parent="Base.V11.Theme.AppCompat.Dialog">
109        <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
110    </style>
111    <style name="Base.V21.Theme.AppCompat.Light" parent="Base.V7.Theme.AppCompat.Light">
112        <!-- Action Bar styling attributes -->
113        <item name="actionBarSize">?android:attr/actionBarSize</item>
114        <item name="actionBarDivider">?android:attr/actionBarDivider</item>
115        <item name="actionBarItemBackground">@drawable/abc_action_bar_item_background_material</item>
116        <item name="actionButtonStyle">?android:attr/actionButtonStyle</item>
117        <item name="actionModeBackground">?android:attr/actionModeBackground</item>
118        <item name="actionModeCloseDrawable">?android:attr/actionModeCloseDrawable</item>
119        <item name="actionOverflowButtonStyle">?android:attr/actionOverflowButtonStyle</item>
120        <item name="homeAsUpIndicator">?android:attr/homeAsUpIndicator</item>
121
122        <!-- For PopupMenu -->
123        <item name="listPreferredItemHeightSmall">?android:attr/listPreferredItemHeightSmall</item>
124        <item name="textAppearanceLargePopupMenu">?android:attr/textAppearanceLargePopupMenu</item>
125        <item name="textAppearanceSmallPopupMenu">?android:attr/textAppearanceSmallPopupMenu</item>
126
127        <!-- General view attributes -->
128        <item name="selectableItemBackground">?android:attr/selectableItemBackground</item>
129        <item name="selectableItemBackgroundBorderless">?android:attr/selectableItemBackgroundBorderless</item>
130        <item name="borderlessButtonStyle">?android:borderlessButtonStyle</item>
131        <item name="dividerHorizontal">?android:attr/dividerHorizontal</item>
132        <item name="dividerVertical">?android:attr/dividerVertical</item>
133        <item name="editTextBackground">@drawable/abc_edit_text_material</item>
134        <item name="editTextColor">?android:attr/editTextColor</item>
135        <item name="listChoiceBackgroundIndicator">?android:attr/listChoiceBackgroundIndicator</item>
136
137        <!-- Copy the platform default styles for the AppCompat widgets -->
138        <item name="buttonStyle">?android:attr/buttonStyle</item>
139        <item name="buttonStyleSmall">?android:attr/buttonStyleSmall</item>
140        <item name="checkboxStyle">?android:attr/checkboxStyle</item>
141        <item name="checkedTextViewStyle">?android:attr/checkedTextViewStyle</item>
142        <item name="radioButtonStyle">?android:attr/radioButtonStyle</item>
143        <item name="ratingBarStyle">?android:attr/ratingBarStyle</item>
144        <item name="spinnerStyle">?android:attr/spinnerStyle</item>
145
146        <!-- Copy our color theme attributes to the framework -->
147        <item name="android:colorPrimary">?attr/colorPrimary</item>
148        <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
149        <item name="android:colorAccent">?attr/colorAccent</item>
150        <item name="android:colorControlNormal">?attr/colorControlNormal</item>
151        <item name="android:colorControlActivated">?attr/colorControlActivated</item>
152        <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
153        <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
154    </style>
155    <style name="Base.V21.Theme.AppCompat.Light.Dialog" parent="Base.V11.Theme.AppCompat.Light.Dialog">
156        <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
157    </style>
158    <style name="Base.V21.ThemeOverlay.AppCompat.Dialog" parent="Base.V11.ThemeOverlay.AppCompat.Dialog">
159        <item name="android:windowElevation">@dimen/abc_floating_window_z</item>
160    </style>
161    <style name="Base.Widget.AppCompat.ActionBar.TabText" parent="android:Widget.Material.ActionBar.TabText">
162    </style>
163    <style name="Base.Widget.AppCompat.ActionBar.TabView" parent="android:Widget.Material.ActionBar.TabView">
164    </style>
165    <style name="Base.Widget.AppCompat.ActionButton" parent="android:Widget.Material.ActionButton">
166    </style>
167    <style name="Base.Widget.AppCompat.ActionButton.CloseMode" parent="android:Widget.Material.ActionButton.CloseMode">
168        <item name="android:minWidth">56dp</item>
169    </style>
170    <style name="Base.Widget.AppCompat.ActionButton.Overflow" parent="android:Widget.Material.ActionButton.Overflow">
171    </style>
172    <style name="Base.Widget.AppCompat.AutoCompleteTextView" parent="android:Widget.Material.AutoCompleteTextView">
173        <item name="android:background">?attr/editTextBackground</item>
174    </style>
175    <style name="Base.Widget.AppCompat.Button" parent="android:Widget.Material.Button"/>
176    <style name="Base.Widget.AppCompat.Button.Borderless" parent="android:Widget.Material.Button.Borderless"/>
177    <style name="Base.Widget.AppCompat.Button.Borderless.Colored" parent="android:Widget.Material.Button.Borderless.Colored">
178        <item name="android:textColor">@color/abc_btn_colored_borderless_text_material</item>
179    </style>
180    <style name="Base.Widget.AppCompat.Button.Small" parent="android:Widget.Material.Button.Small"/>
181    <style name="Base.Widget.AppCompat.ButtonBar" parent="android:Widget.Material.ButtonBar"/>
182    <style name="Base.Widget.AppCompat.CompoundButton.CheckBox" parent="android:Widget.Material.CompoundButton.CheckBox"/>
183    <style name="Base.Widget.AppCompat.CompoundButton.RadioButton" parent="android:Widget.Material.CompoundButton.RadioButton"/>
184    <style name="Base.Widget.AppCompat.DropDownItem.Spinner" parent="android:Widget.Material.DropDownItem.Spinner"/>
185    <style name="Base.Widget.AppCompat.EditText" parent="android:Widget.Material.EditText">
186        <item name="android:background">?attr/editTextBackground</item>
187    </style>
188    <style name="Base.Widget.AppCompat.ImageButton" parent="android:Widget.Material.ImageButton"/>
189    <style name="Base.Widget.AppCompat.Light.ActionBar.TabText" parent="android:Widget.Material.Light.ActionBar.TabText">
190    </style>
191    <style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse" parent="android:Widget.Material.Light.ActionBar.TabText">
192    </style>
193    <style name="Base.Widget.AppCompat.Light.ActionBar.TabView" parent="android:Widget.Material.Light.ActionBar.TabView">
194    </style>
195    <style name="Base.Widget.AppCompat.Light.PopupMenu" parent="android:Widget.Material.Light.PopupMenu">
196    </style>
197    <style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow">
198        <item name="android:dropDownHorizontalOffset">-4dip</item>
199        <item name="android:overlapAnchor">true</item>
200    </style>
201    <style name="Base.Widget.AppCompat.ListPopupWindow" parent="android:Widget.Material.ListPopupWindow">
202    </style>
203    <style name="Base.Widget.AppCompat.ListView" parent="android:Widget.Material.ListView"/>
204    <style name="Base.Widget.AppCompat.ListView.DropDown" parent="android:Widget.Material.ListView.DropDown"/>
205    <style name="Base.Widget.AppCompat.ListView.Menu"/>
206    <style name="Base.Widget.AppCompat.PopupMenu" parent="android:Widget.Material.PopupMenu">
207    </style>
208    <style name="Base.Widget.AppCompat.PopupMenu.Overflow">
209        <item name="android:dropDownHorizontalOffset">-4dip</item>
210        <item name="android:overlapAnchor">true</item>
211    </style>
212    <style name="Base.Widget.AppCompat.ProgressBar" parent="android:Widget.Material.ProgressBar">
213    </style>
214    <style name="Base.Widget.AppCompat.ProgressBar.Horizontal" parent="android:Widget.Material.ProgressBar.Horizontal">
215    </style>
216    <style name="Base.Widget.AppCompat.RatingBar" parent="android:Widget.Material.RatingBar"/>
217    <style name="Base.Widget.AppCompat.SeekBar" parent="android:Widget.Material.SeekBar"/>
218    <style name="Base.Widget.AppCompat.Spinner" parent="android:Widget.Material.Spinner"/>
219    <style name="Base.Widget.AppCompat.TextView.SpinnerItem" parent="android:Widget.Material.TextView.SpinnerItem"/>
220    <style name="Base.Widget.AppCompat.Toolbar.Button.Navigation" parent="android:Widget.Material.Toolbar.Button.Navigation">
221    </style>
222    <style name="Platform.AppCompat" parent="android:Theme.Material">
223        <item name="android:windowNoTitle">true</item>
224        <item name="android:windowActionBar">false</item>
225
226        <item name="android:textColorLink">?android:attr/colorAccent</item>
227        <item name="android:textColorLinkInverse">?android:attr/colorAccent</item>
228
229        <item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
230        <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
231    </style>
232    <style name="Platform.AppCompat.Light" parent="android:Theme.Material.Light">
233        <item name="android:windowNoTitle">true</item>
234        <item name="android:windowActionBar">false</item>
235
236        <item name="android:textColorLink">?android:attr/colorAccent</item>
237        <item name="android:textColorLinkInverse">?android:attr/colorAccent</item>
238
239        <item name="android:buttonBarStyle">?attr/buttonBarStyle</item>
240        <item name="android:buttonBarButtonStyle">?attr/buttonBarButtonStyle</item>
241    </style>
242    <style name="Platform.ThemeOverlay.AppCompat" parent="">
243        <!-- Copy our color theme attributes to the framework -->
244        <item name="android:colorPrimary">?attr/colorPrimary</item>
245        <item name="android:colorPrimaryDark">?attr/colorPrimaryDark</item>
246        <item name="android:colorAccent">?attr/colorAccent</item>
247        <item name="android:colorControlNormal">?attr/colorControlNormal</item>
248        <item name="android:colorControlActivated">?attr/colorControlActivated</item>
249        <item name="android:colorControlHighlight">?attr/colorControlHighlight</item>
250        <item name="android:colorButtonNormal">?attr/colorButtonNormal</item>
251    </style>
252    <style name="Platform.ThemeOverlay.AppCompat.Dark"/>
253    <style name="Platform.ThemeOverlay.AppCompat.Light"/>
254</resources>
Note: See TracBrowser for help on using the repository browser.