source: internals/2016/screencastmultiplayergame_control/branches/MotionDetector3 works well for vertical motion, has detector sensitivity calibration, score calculation is bad/motiondetectorplugin/build/intermediates/res/merged/debug/anim/abc_grow_fade_in_from_bottom.xml @ 16580

Last change on this file since 16580 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: 1.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/res/anim/fade_in.xml
4**
5** Copyright 2014, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
22    <scale      android:interpolator="@android:anim/decelerate_interpolator"
23              android:fromXScale="0.9" android:toXScale="1.0"
24              android:fromYScale="0.9" android:toYScale="1.0"
25              android:pivotX="50%" android:pivotY="100%"
26              android:duration="@integer/abc_config_activityDefaultDur" />
27    <alpha      android:interpolator="@android:anim/decelerate_interpolator"
28              android:fromAlpha="0.0" android:toAlpha="1.0"
29              android:duration="@integer/abc_config_activityShortDur" />
30</set>
Note: See TracBrowser for help on using the repository browser.