Commit Graph

10 Commits

Author SHA1 Message Date
Andrew Flynn
ab049a196b Increase dimens for power control widget for sw600dp
Bug: 6527125
Change-Id: If4c3dad24e8fc70ca76bb551cfd9e32be96a6337
2012-06-05 14:58:24 -07:00
Justin Ho
adff5b0d07 Updated PowerWidget dimens
Bug: 5278970

Change-Id: I70386349ac47cc58230c1ec0d18220e7af99a6e6
2011-09-08 16:22:38 -07:00
Justin Ho
39cd4e2e8e Update PowerWidget minWidth/minHeight so it reports as 4x1
We may update this value again

Bug: 5255991
Change-Id: I7297e6d4255dcb4925bc2fca67bdd75ae01ad1cc
2011-09-06 14:49:46 -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
Ken Shirriff
7d1e086504 Adjust widget size.
Without this change, the widget cannot be placed on the home screen in
landscape mode because it's thought to be too big.
2009-09-21 09:32:11 -07:00
Ken Shirriff
f16b2e9b63 Fix power widget dimensions.
The widget was taking 2 units vertically on some devices.
2009-09-20 11:04:05 -07:00
Romain Guy
32b31cacc5 Fix broken 9patch for hdpi.
Change-Id: I88c1bde1b0a19ccd9084889313e64a0a924f4bb0
2009-09-16 16:39:07 -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
0d3e37c22a Shrink power widget to 3 cells wide. 2009-06-11 17:04:57 -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