- moves tablet-style layouts to layout-large* directories
- adds ContentActivity to host the ContentFragment when on phones
- adds an OnItemSelectedListener interface to TitlesFragment, which MainActivity
implements in order to receive callbacks on click events to the list item and then
pass the selected item to the ContentFragment in the manner appropriate for the
current configuration... Specifically, when in two-pane mode, it updates the ContentFragment
directly, and when in single-pane mode, it starts the ContentActivity with intent data
about the selected item, which then updates the ContentFragment
- Change CameraSample.java to CameraActivity.java for name conventions
- Moves all menu strings into string resources
- Fixes camera sample to properly handle front-facing camera on other devices (was broken
on nexus s and on g-slate)
- Fixes camera sample to handle resume state after the camera has changed (for example, when
switched to a different camera, it would crash on resume)
- Moves various code around between classes as appropriate for the fragment handling the
action. For example, move the ActionBar.TabListener implementation to the TitlesFragment
(was originally impemented by the MainActivity)
- Adds logic to support devices without camera and properly declare the camera in manifest as such
- Maintains the state of hidden titles list across restarts
Change-Id: I27a39a68dee37325c0c3607aa0b56ab6c134d026
Added basic stylus and hover support to the sample to illustrate
the usage of pressure, size, orientation, distance, tilt and tool type
information.
Change-Id: I1689adc38d5904870e005300b3317c44c214fc08
There were various minor issues with this app that made it not work
correctly in some situations (the APPEARING animation was basically a no-op,
and disabling the custom animations disabled animations altogether).
Change-Id: I20aba9551043a63c21d26208ae7cd0395cde01cb
bug:5114637
Uses new ANativeWindow plugin API, supports either software rendering or GL
rendering via flag in RenderingThread.h
Note: Currently crashes on close
Change-Id: Ia7338a6c38c0ca9db02c19814d99b29970cc7b8e
FillEnabled/FillBefore/FillAfter have somewhat non-intuitive behavior.
The demo didn't work at all as intended, so I changed the animation resource
to reflect the actual behavior desired (delay starting the child animations
in the inner AnimationSet and avoid having those animations set the transform
before they start)
Change-Id: I135842091902ba243851dad0104f86e1b8605053
Voicemail content provider APIs are now part of the SDK. This CL gets
rid of the local copy of VoicemailContracts and instead uses the APIs
from the SDK.
Key differences between the old and latest APIs
- voicemail permission renamed from READ_WRITE_OWN_VOICEMAILS to
ADD_VOICEMAIL
- voicemail state is a hidden field, so not part of the API. Demo app
should not use it.
- Use IS_READ field instead of NEW.
Change-Id: Ib142eb02bb89eed32a7976b66132893a98aba466
This prevents a nasty teardown bug that was causing segfaults during atexit().
It is more than sufficient to call onStop() in this case to properly release
all resources.
Change-Id: If9ea892074382f9ea194da3d75771aae3b529053
SampleSyncAdapter uses INVITE_CONTACT to add a raw contact to an existing
contact.
INVITE_CONTACT is treated in the save way as ACTION_INSERT, except:
- The incoming intent won't have the account extra, so always use the first
account found.
- The name field will be prepopulated with the display name of the passed
account.
Bug 5061956
Change-Id: Ica1263fe54150dbc0e79389ebdf2a0e748a7c840
1. Fixed a bug the the way the URI was set to the
intent.
2. Added code to copy a private raw resource to a
publicly readable file that is to be shared.
Change-Id: Ib7ee172b2a4a890ce77911d0ef1c3ea3b24e69c9
In addition, modified VoicemailProviderHelpers to use "source_package" uri
parameter instead of deprecated /source/ path for source specific uri
and stop using other deprecated fields.
Change-Id: Ia9570de2d9823ea27d57f7d602348d2a2826f2e8