| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
chance of immediately triggering after 10 samples
Change-Id: I7884204c7e3aeaf6191f5bb05f60153f07b800c7
|
|
|
|
| |
Change-Id: If0c04284e1e6f1126f85a8bb58014ce553f4e52b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o New start sound
o Vibrate only when
- starting send
- send success
- receive success
o Play sound only when
- starting send
- send success
- send failure (out of range before complete)
- receive success
o Introduce HoldingItWrongUi with the new image
o P2pAnimationActivity -> SendUi, and a huge cleanup of it
- no longer an activity. It took 350ms to inflate the views on
first onCreate() as an activity, but we can cache this ahead
of time as a window.
- Use ObjectAnimator instead of ViewAnimator, much less code
o Use ACCELEROMETER instead of GRAVITY to get faster tilt detection.
TODO (in order of priority)
o LLCP has started crashing a lot again. About 1/10 times I come into
P2P range the stack crashes now on my Nexus S TMO.
At first I thought it was because I was doing animations during LLCP
send, which might affect timing to pn544 due to CPU load. So I changed
my first implementation (one animation) to split it into a pre-send
and post-send, so we don't do any work during the actual send. Still
seems to crash though. We really need to make it solid again.
o Change notification text and settings text+image as per Rachel's email
o Do some simple low-pass filter on ACCELEROMETER so we don't get caught
out when the user shakes the phone
o Plumb through a starting receive callback, and play sound + vibrate
o Prevent touch during send animations. Not a big deal right now because
we complete it so fast.
o Prevent notification shade from being pulled during HoldingItWrongUi
and SendUi
o Prevent orientation change during SendUi
Change-Id: Ieec1efb741244c68270e34a712c15c58621b1446
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Text says "Tap to Share", but tilting (the phone on top sends) also works.
o Move text to top. Remove arrows.
o First Accelerometer value takes ~700ms :(
o Only call onP2pSendComplete on success. If the send failed, we retry quietly.
This improves perceived reliability.
o Reduce debounce from 1000ms to 750ms.
TODO
o Never do orientation change while in the animation activity
o Get rid of black transition when entering/leaivng activity
o Figure out why it takes 700ms to get first accelerometer value
o Improve launch time of animation activity (sometimes it takes 3+ seconds)
o Consider going back to a window overlay?
o Make it snappy snappy snappy
Change-Id: Idbc8e4bb744051b7b69d234a51a3ce69e23b699f
|
|
|
|
| |
Change-Id: Ib24ea71f46087b6415204b222213fc9c8348f5fb
|
|
|
|
|
|
|
|
|
| |
- Start activity instead of window overlay;
- Implement "the real twist": need to twist back to share;
- Implement receive animation (slide out);
- General cleanup.
Change-Id: I3f6a015c2a73f309892a8c5c3b1ea1b133b54d42
|
|
|
|
| |
Change-Id: I771b97bc090ebce07eeb46807c8fb337be703513
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ibe3199e532fc2945fd8237ba71c26b32e9df242f
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This implements the following behavior:
- The first part of the animation (the screen scaling down)
is always played and finished.
- Depending on the result, the following animation will either
pop the screen back to front (failure), or "clone and swap"
(success). Both animations will be fully played, except
if there is a new start() request, in which case they are ended
immediately.
The main reason to fully play both animations is that the LLCP
transfer typically completes very quickly, and with me profile
removed, none of the animations would ever be visible. I think
the animations are short enough not to be annoying, but we can
tweak depending on user feedback.
Change-Id: Iecd883fec43fad3eeb35f03b6076562b36a10fef
|
|
|
|
| |
Change-Id: Id2ddeea908af1159e5738e52a92f7f9818496761
|
|
|
|
|
|
|
|
|
| |
Clean up NFC service sound playing.
Cancel P2P tasks when the LLCP link is broken.
Bug: 4941390
Change-Id: I0710bc7dd9d09ed47a540cb4739890bcc3a4f905
|
|
|
|
| |
Change-Id: If4b8b63a702de6f048b6476e8f08d6d5442a72d5
|
|
|
|
|
|
|
|
| |
Use dropbox for ME profile.
Transiently turn on Bluetooth.
Change-Id: I81556a67872e7e0ac7c66c0376549adc5f0c168d
|
|
|
|
|
|
|
| |
This needs some cleanup to handle the
error states better, but works ok for now.
Change-Id: I803c339de593acfe5bb7f1007a965f203e0e1a30
|
|
|
|
|
|
| |
Show an icon in the status bar when the NfcAdapter is in card emulation mode.
Change-Id: I64805f1b5f9d4bd9784791ed3a67d76b9e3788f3
|
|\
| |
| |
| |
| | |
* commit '93d8a69ccadfa01b0a5ec3d7edeb921a1da4bce8':
Add com.android.nfc.permission.NFCEE_ADMIN.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It controls permissions for NFCEE administration
and is checked based on the signature of Nfc.apk
and the caller.
The NFCEE admin permission checking is currently
set to check the stock NFC permission.
Change-Id: I164511d8f6850034ca0fc1f6f7f75c5ef212fbc2
|
| |
| |
| |
| |
| |
| | |
point...
Change-Id: I437bbe42eb3f17bd8bbc6e0ca111f6c7557a85d7
|
|/
|
|
| |
Change-Id: I95a11aaabd4e1c03462bc1fbba8bc22af8dde965
|
|
|
|
| |
Change-Id: Ia54094291726fa4fac152a49b1b182d73ff9958f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Uses ServiceManager.addService() to register the service.
Uses BOOT_COMPLETE to start the service.
Uses sharedUserId com.android.nfc so that it has a fixed uid.
Uses android:persistant so that the process is not killed.
Change-Id: If4264baf5dc457ee0a3ad5788c5945e84173b1ea
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
NFC application contains the NFC service code that implements NFC API and
talks to NFC hardware.
This is the first cut at moving NFC service code out of frameworks/base into
application service. Android.mk are renamed to Android.mk.hide at this commit
because it does not work yet.
Signed-off-by: Nick Pelly <npelly@google.com>
|