Commit Graph

57 Commits

Author SHA1 Message Date
John Spurlock
7af2aa52ac More traditional list item style for dreams settings.
Other improvements:
 - remove "Start dreaming now", promote "When to dream" to action bar
 - added logging
 - hide dream settings button if n/a
 - new flat style for settings/preview + dividers
 - refresh dreams list when packages are installed/uninstalled
 - added placeholder for help url

Bug:7010260
Change-Id: Ia443b4f76678eaf1a52b907d50aefb0d8f7e4748
2012-08-30 16:28:29 -04:00
John Spurlock
6df18e2713 New dream settings - first cut
First draft implementation of mocks for dream settings.

Want to merge for the weekly build, so a few things remain, namely:
  - flat style for preview/settings buttons + dividers
  - animation between dream row expanded/collapsed state
  - wire up the help url
  - possibly ditch the non-standard style
  - add logging
  - refresh when packages are installed/uninstalled

Bug:7010260
Change-Id: I96e3ab944170925bd76edf7b8b1127adfffc6262
2012-08-29 16:41:01 -04:00
Martijn Coenen
943af0bc69 Remove NFC sharing from Settings.
Bug: 5297151
Change-Id: I64304230296912519aa057a89f139a2242b557e3
2011-09-15 22:31:51 +02:00
Jeff Sharkey
a53188fe5a Data usage: precise editing, restrict help, D-pad.
Introduce dialogs for precise editing of network policy warning/limit
values, triggered by click on sweep labels.  Show up to 999MB before
rounding to GB, and round to nearest 5MB value when dragging.  Partial
D-pad navigation around chart controls.  Fix jumping when relayout
during drag, and fix sweep overlap bug.

When restricting data without limited networks, show dialog help to
guide user towards network limit.  When reloading chart data, try
restoring to nearest cycle.

Bug: 5289641, 5111701, 5226078
Change-Id: Ic59dee6496c480a64dc56f8534acf4d81b50bca7
2011-09-13 20:24:14 -07:00
Jeff Sharkey
7a7ea2bf2f Sync asset drop and smoother animation.
Bug: 5233703
Change-Id: I3fa52da71b78dcfa7842047b427c5121d3ac7e68
2011-08-30 20:00:51 -07:00
Peter Ng
a1252ccf7b Power control widget holofied
-brightness needs to implement brightness_half_holo state
*fixed now in the patch { old assets should be removed also(any "appwidget" that doesn't have holo in it)}

Change-Id: I2c1e754f68cf321c5b3517ba92c8f235b418e696
2011-08-30 10:45:56 -07:00
Nick Pelly
0fb33abfb4 Rename {zeroclick, share_tap} -> ndef_push in code.
Not sure what the product name will be, but ndef push seems to be a
nice neutral name for the code.

Text strings are left as "Share Tap" for now.

Change-Id: I9dbf82eda2273220c23f443710a340c2c93e8291
2011-08-26 16:35:44 -07:00
Gilles Debunne
a0880011e5 Bug 5161247: More... is aligned with other main menu entries
Change-Id: I813d9f674f1bcff940e5e57051e4ced8b56911a6
2011-08-22 15:59:57 -07:00
Martijn Coenen
82f92e500f Sharetap settings screen animation and text.
Change-Id: Ia19426be5a38a191a2786c1e75c4c5833a7c155f
2011-08-18 16:36:35 +02:00
Jeff Sharkey
2412b0f248 Data usage app bars, draw estimated cycle usage.
Show application list with normalized percentage data usage as
horizontal bar chart.  Draw estimated usage for remainder of cycle
to reinforce log scale, and break out received/sent when showing app
details.

Bug: 5038591, 4948713, 4818025
Change-Id: Ib71e73d4f692adc7fe8ae87edd0cec2a8f3976d3
2011-07-17 20:31:54 -07:00
Jeff Sharkey
2af35fb44d Fix animation bugs, stop disabled sweep touches.
Change sweep drawables to crossfade correctly between states, and
work around 4946591 by nesting container one level deeper.  Also wait
until first layout pass is finished before applying LayoutTransition.

Prevent touches from reaching sweeps when chart is disabled.  Also
bring back log scale for data.

Change-Id: I2194714ab075fd32525681119f30427c1b96fc50
2011-06-24 23:11:51 -07:00
Jeff Sharkey
f54f435f1f More data usage chart iteration, app details.
Moved app details back into single Fragment to support animations and
template tabs.  Show the network in background behind app details
chart series to match designs.

Clamping sweeps at axis boundaries.

Bug: 4813014, 4598460, 4818029
Change-Id: I72c0b21ee1d595e4da31d293ae0dab9e801041f3
2011-06-23 22:30:05 -07:00
Jeff Sharkey
52c3f4461b Iterate on data usage chart UI.
Switched to inflating chart views from XML, using attributes for
configuration.  Start using drawable assets for chart components
instead of manually painting.  Include hand-cut assets, and animate
between states when touched to invoke.

Clamp sweeps to valid chart ranges and prepare for sweep labels.

Bug: 4768483, 4598460
Change-Id: Ic660c35bec826eb5e3f6a1dde3cc04d8c437ef2b
2011-06-23 00:39:47 -07:00
Gilles Debunne
c59a3a431c Unused assets removed from Settings
preview moved from drawable to drawable-mdpi

Change-Id: Id58d2cf38d52483057960b7ef176acf61e84dba3
2011-03-15 14:43:51 -07:00
Adam Lesinski
e684399717 Added widget preview image. NOTE: This image should be replaced by a custom graphic.
Change-Id: Ia8abd993b399a9fed567266f699874baa67a09f9
2010-10-04 16:40:29 -07:00
Daisuke Miyakawa
a2633d0232 Move ManageAccountsSettings into Settings.
- Add activity-alias for the Activity.
- Copy the Activity from AccountsAndSyncSettings.
- Fragmentize ManageAccountsSettings.
- Remove dependency toward AccountPreferenceBase, which is
  used in AccountsAndSyncSettings widely.
- Add missing implementation derived from AccountPrefernceBase.
- Copy dependent drawables.
- Copy dependent xmls
- Copy AccountPrefernce.java.
- Copy strings, adding CHAR LIMIT.
- Remove the logic which remove the preference when its destination
  Activity is missing. We already have the destination as
  Fragment, and it never disappear.

Change-Id: Id41c63d7064aebeaae31bcd84bf4fd20a5636dfe
2010-09-17 11:22:02 -07:00
Gilles Debunne
9db2e1cb76 Move pngs from drawable to drawable-mdpi in project packages/apps/Settings
Change-Id: I977a79934596ddd05e1bb86093c19dbd4bb6463c
2010-08-02 14:52:04 -07:00
Suchi Amalapurapu
f4c4b59f13 Move application icon to left in InstalledAppDetails.
Fix text overlapping icon issue.
Add new icons for filter options
2010-03-04 12:30:11 -08:00
Daniel Sandler
86a9685409 am 3f20d278: am a21a458b: Merge change I3abd5c0d into eclair-mr2
Merge commit '3f20d2782ffd00d46ce9a2c017e02d0cde72429c'

* commit '3f20d2782ffd00d46ce9a2c017e02d0cde72429c':
  Updated icons for Settings.
2009-11-05 16:45:01 -08:00
Daniel Sandler
3abd5c0d79 Updated icons for Settings.
Fixes http://b/2105756
2009-11-03 14:11:37 -05:00
Mike Cleron
98472ea087 am 5eea8422: am ac465854: am d02acfb9: Merge change I2abbb876 into eclair
Merge commit '5eea8422718e415d99f360fcc5962236e1391008'

* commit '5eea8422718e415d99f360fcc5962236e1391008':
  New widgets
2009-10-29 01:56:06 -07:00
Mike Cleron
c151e45d8c New widgets 2009-10-27 14:05:27 -07:00
Amith Yamasani
5161a7b13d am 7c8a08d5: am ee52bed5: Merge change I39527366 into eclair
Merge commit '7c8a08d51389e1c2c0411a1a4a12646880199e01'

* commit '7c8a08d51389e1c2c0411a1a4a12646880199e01':
  Use a custom system icon for native processes.
2009-10-01 13:39:27 -07:00
Debajit Ghosh
00e9be647b am a6ddefe6: am 99716fb4: updating sync settings icon
Merge commit 'a6ddefe68f465a78cf8dcacfbbf0b289816d1d19'

* commit 'a6ddefe68f465a78cf8dcacfbbf0b289816d1d19':
  updating sync settings icon
2009-10-01 12:13:27 -07:00
Amith Yamasani
395273662c Use a custom system icon for native processes.
New icons for system components in Battery Use screen.
2009-09-30 18:42:29 -07:00
Debajit Ghosh
99716fb4b4 updating sync settings icon 2009-09-30 11:01:26 -07:00
Amith Yamasani
cfe3c5fcaa am ef83ad69: am e65c943f: New Privacy settings screen and Backup settings toggle. See #2132044 & #2133178
Merge commit 'ef83ad69c79069de13202173351183af46036bfd'

* commit 'ef83ad69c79069de13202173351183af46036bfd':
  New Privacy settings screen and Backup settings toggle. See #2132044 & #2133178
2009-09-25 10:53:45 -07:00
Amith Yamasani
e65c943f97 New Privacy settings screen and Backup settings toggle. See #2132044 & #2133178
Also fixes 2138367: Share with Google setting doesn't get updated on checking the setting
And 2098232: "Set unlock pattern" should be at the top of the section
2009-09-23 15:01:11 -07:00
Daniel Sandler
3cdbc2dfc1 resolved conflicts for merge of 2b9fd2d7 to master 2009-08-31 16:41:57 -04:00
Daniel Sandler
2b9fd2d739 Add missing hdpi frames of the unlock pattern animation. 2009-08-31 09:29:16 -04:00
Daniel Sandler
ca20eb42bc am 98fa0e29: Merge change 23149 into eclair
Merge commit '98fa0e2941a86284d3eaae8c60fbde4a2410b786'

* commit '98fa0e2941a86284d3eaae8c60fbde4a2410b786':
  High-resolution (hdpi) artwork from TAT for Settings.
2009-08-28 13:21:00 -07:00
Daniel Sandler
0a9359310d High-resolution (hdpi) artwork from TAT for Settings. 2009-08-28 15:02:50 -04:00
Amith Yamasani
74d9c353ed am 3bbb03ff: New settings top-level icons.
Merge commit '3bbb03ffbb6abc3252a5b32a04d2752e49cc1706'

* commit '3bbb03ffbb6abc3252a5b32a04d2752e49cc1706':
  New settings top-level icons.
2009-08-19 12:27:49 -07:00
Amith Yamasani
3bbb03ffbb New settings top-level icons. 2009-08-19 12:13:57 -07:00
Doug Zongker
2818107dcc am 36efef1d: cut number of frames in lock screen demo animation from 15 to 8
Merge commit '36efef1d7122aab2cc1172e7b7fe4d79ac98a41f' into eclair

* commit '36efef1d7122aab2cc1172e7b7fe4d79ac98a41f':
  cut number of frames in lock screen demo animation from 15 to 8
2009-08-18 13:11:16 -07:00
Doug Zongker
36efef1d71 cut number of frames in lock screen demo animation from 15 to 8
This trims about 108k out of the settings app, and the animation is
still acceptable.
2009-08-18 10:02:33 -07:00
Jeff Sharkey
7e4a019e19 am 6c3287a4: Adopt new AppWidget assets, per http://b/2038594.
Merge commit '6c3287a4d3a8e02322b501034db3133a3ccb1051'

* commit '6c3287a4d3a8e02322b501034db3133a3ccb1051':
  Adopt new AppWidget assets, per http://b/2038594.
2009-08-06 22:57:48 -07:00
Jeff Sharkey
6c3287a4d3 Adopt new AppWidget assets, per http://b/2038594. 2009-08-06 22:37:08 -07:00
Amith Yamasani
498d90474b Add an icon to the left of the settings at the top level.
Add a new attribute for the icon.
Add place holder icons.
2009-07-31 07:24:08 -07:00
Ken Shirriff
311356dd71 Redo power widget layout with the proper widget style.
The power widget now uses the fuzzy-edged widget background.
It has a resonable layout in portrait and landscape.
appwidget_inner is the background for a button on the inside, with a border on the left.
appwidget_outer is the background for a button on the outside (i.e. leftmost); it
does not have a border.
2009-06-29 16:43:23 -07:00
Ken Shirriff
b315980367 Improve power control widget GUI.
Shrink power widget to 3 cells wide.  Reorder buttons to group wireless
and other.  Add color bar to indicate on/off.
2009-06-12 15:04:25 -07:00
Amith Yamasani
0422a3bf61 Minor UI improvements and showing of unplugged duration. 2009-06-12 14:23:15 -07:00
Ken Shirriff
0d3e37c22a Shrink power widget to 3 cells wide. 2009-06-11 17:04:57 -07:00
Amith Yamasani
78fd96a1c5 More details in the summary and details screens.
Show packages included, time that a subsystem was on for.
Load label and icon in the background and cache the values.
Switch between totals and since-unplugged.
Other UI improvements.
2009-06-10 20:19:42 -07:00
Ken Shirriff
03a6110b4f Implement the power-control widget.
This widget allows uses to turn on/off bluetooth, wifi, gps, and sync,
and adjust brightness without going through the settings menu.

The widget provider updates the settings when the buttons are pressed.
The widget provider is also a receiver for events indicating that the
status was updated elsewhere and the buttons need to be changed.
2009-06-08 13:57:26 -07:00
Amith Yamasani
2a2daf960c Top level screen for App Fuel Gauge.
Shows sorted list of power usage (with some debug information) by the top 10
apps and subsystems. Doesn't yet take into account certain subsystems such
as data network usage, audio/video DSP usage, Bluetooth and lights other than
screen backlight.

Screen, Idle, Wifi and Voice usage and CPU time are accounted for.

Also need to add detail screens for each item and suggested actions.
2009-05-22 19:41:32 -07:00
Dianne Hackborn
1be9343ee0 AI 143214: am: CL 143009 More work on issue #1739507 (kila-user build is too big): remove some unused application resources I found.
Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143214
2009-03-27 18:26:13 -07:00
The Android Open Source Project
afc4ab2ffb auto import from //depot/cupcake/@135843 2009-03-03 19:32:34 -08:00
The Android Open Source Project
4e14e5ccbf auto import from //depot/cupcake/@135843 2009-03-03 18:28:52 -08:00
The Android Open Source Project
4772968987 auto import from //branches/cupcake/...@132276 2009-02-19 10:57:36 -08:00