Commit Graph

17892 Commits

Author SHA1 Message Date
Robert Hahn
26b7df1102 Polished Grid example and added a few missing details at
Launcher fragment. Video- and Music examples now also use
an Activity. BackgroundHandler in MainFragment removed.

Removed unused Log-Tag field and added correct background.
Changed Grid Zoom factor.
Moved Grid- and Card example to their own packages and
they now are started using an Activity.
Launcher fragment uses correct primaryColor and its row
has been lowered.
Music and Video consumption example are using Activities
as well. Thus BackgroundManager in MainFragment is
unnecessair, which is why it got removed.

Change-Id: I928614314677706f19e648666697f0a710d88e0a
2015-08-05 19:10:12 -07:00
Robert Hahn
aeedeb7d60 Cleaned up strings.xml
Removed unused strings.

Change-Id: I4752b86795a0b03b7de33bad3d736ba3ab2d8392
2015-08-05 10:24:20 -07:00
Robert Hahn
63e8181cee Removed Browsing example from Showcase app
There are no plans for now to show a
browsing example which is why it can be
removed for now. There was no code written
so far for this example.

Change-Id: I0580021ddc0f385d616074c61cc1c449e75357ad
2015-08-05 10:16:38 -07:00
Robert Hahn
80116aacde Polished Wizard example for Showcase app
Extracted Strings, added JavaDoc,
refactored the call of the second Wizard
screen to be less error-prone code.

Change-Id: Ib8a8af7019818b29d71ee1bed1cac3e2b56e8c11
2015-08-05 10:04:31 -07:00
Robert Hahn
9f8ccdc5af Rearranged classes and removed unused
resources.

Rearranged classes into packages to
provide a better overview as well as
removing an unused mp3 file.

Change-Id: I9e3b63ceef919d6f0d57479260c93376578793cf
2015-08-04 14:58:39 -07:00
Robert Hahn
8dd090f514 Cleanup and usage of new ImageCardView
The Showcase app now makes use of the new
ImageCardView which is stylable through
XML and uses less Views.
Cleaned up DetailView.
Cleaned up styles and layouts.
Added Copyright notices.

Change-Id: Ib37485d5b57be6a0f4b5321ac61b41a0808eaf35
2015-08-04 14:04:14 -07:00
Dianne Hackborn
226bc5165f am 424fb606: Change MNC codename to just M.
* commit '424fb60606196329311b7400b587fafd506cf907':
  Change MNC codename to just M.
2015-08-01 16:51:55 +00:00
Robert Hahn
24b0687550 Merge "Implemented Card-, DetailView-, GridView-, Music- & Video, Wizard-, Dialog examples" into mnc-ub-dev 2015-07-31 21:06:06 +00:00
Dianne Hackborn
424fb60606 Change MNC codename to just M.
Change-Id: If86839c5d1f0bf4f013aa786ba2dc5bcb39527f8
2015-07-29 15:21:36 -07:00
Marco Nelissen
37ef210674 am 9146cbdb: Merge "Fix CRCs in file so it passes the new CRC check" into mnc-dev
* commit '9146cbdb556a814628176f599f7cd9bde28b75d9':
  Fix CRCs in file so it passes the new CRC check
2015-07-28 20:19:20 +00:00
Marco Nelissen
9146cbdb55 Merge "Fix CRCs in file so it passes the new CRC check" into mnc-dev 2015-07-28 19:22:23 +00:00
Marco Nelissen
3ff89b2fce Fix CRCs in file so it passes the new CRC check
Bug: 22661698
Change-Id: I7f13aca309f6e1163f6515f3d949154749102776
2015-07-28 09:01:31 -07:00
Miao Wang
b5102aaa79 am 04a194c0: For RenderScript support lib use libblasV8.so instead of libblas.so
* commit '04a194c0c92f9dd93500065d9c8eb02fa983bcbb':
  For RenderScript support lib use libblasV8.so instead of libblas.so
2015-07-28 01:06:13 +00:00
Miao Wang
04a194c0c9 For RenderScript support lib use libblasV8.so instead of libblas.so
fix the sdk build.

Bug: 22693954

Change-Id: Ie283ed6834520c74c5e0f2dcdc18dbeb79e2c428
2015-07-27 17:09:45 -07:00
Xavier Ducrohet
7fa54524ef am a58a751c: Update revision for next SDK Preview.
* commit 'a58a751c915cc5394a31755c365a040c631551e0':
  Update revision for next SDK Preview.
2015-07-24 03:49:36 +00:00
Deepanshu Gupta
e2c38e991f am 5c05f4ef: Merge "Update LayoutLib revision number for Preview 3" into mnc-dev
* commit '5c05f4ef1bb025b7731d6da37a71212e07f16ee9':
  Update LayoutLib revision number for Preview 3
2015-07-24 03:49:33 +00:00
Konstantinos Menychtas
062a470eed am 1bdf0eee: Merge "DO NOT MERGE Increase the system-image revision number after opengl bug fix" into mnc-dev
* commit '1bdf0eeea386a27d0be352573a6fb9c63a5c838f':
  DO NOT MERGE Increase the system-image revision number after opengl bug fix
2015-07-24 03:49:30 +00:00
Xavier Ducrohet
a58a751c91 Update revision for next SDK Preview.
Change-Id: Ic55aeb466c0193935ac8068162156086ec0cb6bf
2015-07-23 17:50:47 -07:00
Deepanshu Gupta
5c05f4ef1b Merge "Update LayoutLib revision number for Preview 3" into mnc-dev 2015-07-23 23:46:34 +00:00
Deepanshu Gupta
cb910f3b82 Update LayoutLib revision number for Preview 3
Change-Id: I474f4cb386b85f3f00627fd114a52f93e80b6e15
2015-07-23 16:38:24 -07:00
Konstantinos Menychtas
1bdf0eeea3 Merge "DO NOT MERGE Increase the system-image revision number after opengl bug fix" into mnc-dev 2015-07-23 23:10:16 +00:00
Siva Velusamy
fd1172e111 am 4518f725: Update platform tools 23.0.0 rc4 -> rc5
* commit '4518f725e153d19989ab812410da21ec1369c8e9':
  Update platform tools 23.0.0 rc4 -> rc5
2015-07-23 19:46:36 +00:00
Chris Craik
3e6115070e am 9d78bc10: Support new systrace file structure
* commit '9d78bc10c85d84ca1b9e9c65d9ebbf5ca141e9d9':
  Support new systrace file structure
2015-07-23 19:46:35 +00:00
Robert Hahn
63dcb5b4bd Implemented Card-, DetailView-, GridView-, Music- & Video,
Wizard-, Dialog examples

The Launcher card needs to be animated. When expanding cards
with an animation some animation artifacts might occur since the
transition system moves the cards to be centered again. Thus, the
two animations are competing with each other. Currently I'm waiting
for a change on leanback's transition system or another way to
animate cards.
Another animation artifact occurs when collapsing the SideInfo-cards,
which I hope to be resolved once we clarified how to do proper card
animations in the framework.
There are some minor issues with in the DetailView since some API
methods are missing for customization such as setting the details-
and ActionBars background color.
Removed obsolete package.
Finished music example.
Finished video example.
Bug 22362006
Added Dialog example.
WIP Testing new ImageCardView XML styling.
WIP Settings example.
WIP Wizard example.
Finished Dialog example.
Gradle uses environment variable to reference support libraries.

Change-Id: I8f911d2e5aeb1fb8764f45d20fda1dc0fc69773a
2015-07-22 17:48:26 -07:00
Siva Velusamy
4518f725e1 Update platform tools 23.0.0 rc4 -> rc5
Change-Id: Icf68ef133540faada054b4be97c0b895b76a1522
2015-07-22 10:15:13 -07:00
Chris Craik
9d78bc10c8 Support new systrace file structure
bug:22636165

Change-Id: I5c5b634df4350da68f5dc2ee5018fd90654adc70
2015-07-21 14:03:58 -07:00
Konstantinos Menychtas
628dcba478 DO NOT MERGE Increase the system-image revision number after opengl bug fix
Back-ported bug-fix f07e504945e500b52a4c9fe249f2530e1b1eb7ba
(opengl: Fix QemuPipeStream::readFully reading beyond end of buffer)
warrants a system image update. This patch increases the revision
number for released images appropriately.

Change-Id: Ie1120854f863e0beef43ffa6ab00191679512fe2
2015-07-21 16:59:53 +00:00
Dianne Hackborn
97942f243b am d574af02: Track reason for screen turning on.
* commit 'd574af02c86819f2e934356bd5ad3b7a4f1559bc':
  Track reason for screen turning on.
2015-07-15 22:11:27 +00:00
Dianne Hackborn
d574af02c8 Track reason for screen turning on.
Change-Id: I1ab64b6d29d7e2c6f9006587d41a318289f13227
2015-07-15 10:08:36 -07:00
Xavier Ducrohet
76330269c7 am f8c219e0: am 73190f3f: (-s ours) Update version of non-maven support package.
* commit 'f8c219e08f1b1e27cb62de336f33b9e76bd8a29a':
  Update version of non-maven support package.
2015-07-15 02:06:37 +00:00
Xavier Ducrohet
f8c219e08f am 73190f3f: (-s ours) Update version of non-maven support package.
* commit '73190f3f7dd7e5b1cad7ede93f2246757b765949':
  Update version of non-maven support package.
2015-07-15 01:25:41 +00:00
Xavier Ducrohet
73190f3f7d Update version of non-maven support package.
Change-Id: I3a97f458a5ca6a23b4dc04ae0d131488bcd3183d
2015-07-14 16:32:41 -07:00
Jonathan Basseri
ab6939cc07 am 6637c564: Merge "Add carrier config test to test_defs." into mnc-dev
* commit '6637c564a4ee458cb11c01b57622b3d0a7370aec':
  Add carrier config test to test_defs.
2015-07-14 00:40:06 +00:00
Jonathan Basseri
6637c564a4 Merge "Add carrier config test to test_defs." into mnc-dev 2015-07-13 21:24:11 +00:00
Vadim Tryshev
b310a9f6f5 am 09e17487: am 1461b8e9: Merge "Fixing a crash introduced by my previous CL." into lmp-mr1-ub-dev
* commit '09e174875c23eb7ca9cd78655103d11d6d110fe4':
  Fixing a crash introduced by my previous CL.
2015-07-10 02:29:46 +00:00
Vadim Tryshev
09e174875c am 1461b8e9: Merge "Fixing a crash introduced by my previous CL." into lmp-mr1-ub-dev
* commit '1461b8e9a0573442d8259c5035025e847cb511d7':
  Fixing a crash introduced by my previous CL.
2015-07-10 01:31:11 +00:00
Vadim Tryshev
1461b8e9a0 Merge "Fixing a crash introduced by my previous CL." into lmp-mr1-ub-dev 2015-07-09 22:39:18 +00:00
Jonathan Basseri
98108540bf Add carrier config test to test_defs.
Bug: 21619172
Change-Id: I1fac0bcfc4064ea80b46edd128d8c81e80bd2872
2015-07-09 11:34:41 -07:00
Santos Cordon
f5bfa219e5 am 0aafaa70: Add calllog CTS tests.
* commit '0aafaa708124778dce14f8dd10a4438fda22f888':
  Add calllog CTS tests.
2015-07-08 00:16:35 +00:00
Santos Cordon
0aafaa7081 Add calllog CTS tests.
Bug: 22326097
Change-Id: I3c41d97f8054d20448a6d44d32b04443ba83056b
2015-07-07 13:09:25 -07:00
Benjamin Weiss
179db98d09 am f3b07d46: am c84455c1: Introduce sample for RoundedBitmapDrawable
* commit 'f3b07d469e1e4b2baea9ae4952d1455895c55725':
  Introduce sample for RoundedBitmapDrawable
2015-07-07 16:52:56 +00:00
Benjamin Weiss
f3b07d469e am c84455c1: Introduce sample for RoundedBitmapDrawable
* commit 'c84455c11fdace9bc5c82aae99318bd9cd2480fa':
  Introduce sample for RoundedBitmapDrawable
2015-07-07 15:58:31 +00:00
Benjamin Weiss
c84455c11f Introduce sample for RoundedBitmapDrawable
Shows how to set an image to circular using
the setCircular API.

Change-Id: Ic65b9feb74942b6bd1c9debcf88fad5935df6d67
2015-07-07 11:49:45 +01:00
Trevor Johns
0da1d61ed7 am 4fabcc75: am 0d21ec5c: (-s ours) am 4fe2d033: (-s ours) Sync sample prebuilts for mnc-preview-docs (DO NOT MERGE)
* commit '4fabcc75adade157349b5564d05004d73f7aa00f':
  Sync sample prebuilts for mnc-preview-docs (DO NOT MERGE)
2015-07-07 00:11:09 +00:00
Trevor Johns
4fabcc75ad am 0d21ec5c: (-s ours) am 4fe2d033: (-s ours) Sync sample prebuilts for mnc-preview-docs (DO NOT MERGE)
* commit '0d21ec5c41d905122dda25c214c5931666d7ec10':
  Sync sample prebuilts for mnc-preview-docs (DO NOT MERGE)
2015-07-06 23:30:18 +00:00
Trevor Johns
0d21ec5c41 am 4fe2d033: (-s ours) Sync sample prebuilts for mnc-preview-docs (DO NOT MERGE)
* commit '4fe2d033580b4f1316317465ef9c92b76cfa95f9':
  Sync sample prebuilts for mnc-preview-docs (DO NOT MERGE)
2015-07-06 23:13:30 +00:00
Trevor Johns
4fe2d03358 Sync sample prebuilts for mnc-preview-docs (DO NOT MERGE)
Synced to //developers/samples/android commit 535025bac7.

Change-Id: If65e90f25cebb8d774d9c581dbcbb2ba2a8bce51
2015-07-06 15:45:37 -07:00
Makoto Onuki
f711d9ce70 am e31d4f49: Use Android Studio project, also call TelephonyManager.getLine1Number().
* commit 'e31d4f4948a65da2cd91986f63af39ce5971f50d':
  Use Android Studio project, also call TelephonyManager.getLine1Number().
2015-07-02 00:35:38 +00:00
Makoto Onuki
e31d4f4948 Use Android Studio project, also call TelephonyManager.getLine1Number().
Bug 22031904

Change-Id: I6e4615c9e130b77d45c92b5b903f7995521a95a7
2015-06-29 14:53:14 -07:00
Vadim Tryshev
218d64bd51 Fixing a crash introduced by my previous CL.
I didn't notice that method deleteItem(View) is used via reflection.
Restoring its (unused) parameter, which is needed for reflection,
but keeping a better name deleteSelectedItems.

Actually, we have a problem that click handlers like this one are also
used as helper methods for other handlers, where View parameter is
unnecessary, but I don't think it's worth fixing, so let's pass View and
not use it.

Bug: 21643257
Change-Id: Ibc0cd919706156ddc00890f322e51cb0774bc26b
2015-06-29 13:27:24 -07:00