Commit Graph

38903 Commits

Author SHA1 Message Date
Mike Lockwood
4984e73dc5 Manage button and keyboard backlights with light sensor in both manual and automatic mode.
Now the manual brightness mode only applies to the LCD backlight and
button and keyboard backlights are always managed automatically.

Fixes bug b/2195798 (Passion capacitive key backlights don't always come on)

This change only affects the framework based auto-brightness implementation.
Hardware auto-brightness is not affected.

Change-Id: Ib88310d642d498591e8879c8269d630ff3f7c8af
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-01 08:20:42 -05:00
Mike Lockwood
df024920eb Don't turn on keyboard backlights when keyboard is closed in auto brightness mode.
For framework light sensor support (does not affect hardware based approach).

Change-Id: I6896a7c5b3fd3ed136c4f25c63a0e5813c349f68
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-31 17:05:00 -04:00
Mike Lockwood
aa66ea880f Use separate flags for enabling hardware and software auto-brightness.
This cleans up the code in preparation for some other auto-brightness changes
and fixes support for devices without light sensors.

Change-Id: I3d4802cf860a865ffd86a8bb57cd57b46359433d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-31 16:31:27 -04:00
Dirk Dougherty
6b13bc043e doc change: misc doc fixes.
Bug:2160782
Change-Id: Iaf5d2cc2e3c657700469e8b7394a95bc03fc26f3
2009-10-30 19:44:22 -07:00
Iliyan Malchev
cb80b4f18e am 8385baea: am 05cb5610: Merge change I8c0eb9a6 into eclair
Merge commit '8385baea4742734dd23843b6dcf89fd2e0490dd6' into eclair-mr2-plus-aosp

* commit '8385baea4742734dd23843b6dcf89fd2e0490dd6':
  libagl: silence a LOGD
2009-10-30 18:41:22 -07:00
Mike LeBeau
0d8aa05d30 am b5868caa: am d3e4dab9: Merge change I7df84618 into eclair
Merge commit 'b5868caa8cfe4b3fb14c04f64a71c20a172faaef' into eclair-mr2-plus-aosp

* commit 'b5868caa8cfe4b3fb14c04f64a71c20a172faaef':
  Add a privateImeOption to represent that the IME should not show
2009-10-30 18:41:16 -07:00
Jack Wang
af93c05c9a am 227ba207: am e8228afb: Merge change I92cdc5ed into eclair
Merge commit '227ba2072df1474a0b3abaae7c415f152d32bcc2' into eclair-mr2-plus-aosp

* commit '227ba2072df1474a0b3abaae7c415f152d32bcc2':
  PerformanceCollector: Collect & report perf measurements in key/value form
2009-10-30 18:41:08 -07:00
Mathias Agopian
78383abf76 am cbf583d7: am 77bd91f8: Merge change Ie3e80456 into eclair
Merge commit 'cbf583d7229aaff65734b4234e81db8ead864761' into eclair-mr2-plus-aosp

* commit 'cbf583d7229aaff65734b4234e81db8ead864761':
  Turns out the SGX driver is correct and the bug was in this test.
2009-10-30 18:41:00 -07:00
Iliyan Malchev
78ac0f1b22 am 05cb5610: Merge change I8c0eb9a6 into eclair
Merge commit '05cb5610fdfb7b69cf90a9230853e59b4ae5e219' into eclair-plus-aosp

* commit '05cb5610fdfb7b69cf90a9230853e59b4ae5e219':
  libagl: silence a LOGD
2009-10-30 18:36:09 -07:00
Iliyan Malchev
8385baea47 am 05cb5610: Merge change I8c0eb9a6 into eclair
Merge commit '05cb5610fdfb7b69cf90a9230853e59b4ae5e219' into eclair-mr2

* commit '05cb5610fdfb7b69cf90a9230853e59b4ae5e219':
  libagl: silence a LOGD
2009-10-30 18:35:51 -07:00
Iliyan Malchev
baef6141a3 libbinder: add a NO_CACHING flag to MemoryHeapBase
The NO_CACHING flag translates to opening a memory region with O_SYNC.

Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-10-30 18:35:47 -07:00
Android (Google) Code Review
05cb5610fd Merge change I8c0eb9a6 into eclair
* changes:
  libagl: silence a LOGD
2009-10-30 21:29:56 -04:00
Iliyan Malchev
8c0eb9a6eb libagl: silence a LOGD
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-10-30 18:29:08 -07:00
Mike LeBeau
b5868caa8c am d3e4dab9: Merge change I7df84618 into eclair
Merge commit 'd3e4dab962109c634196bc38fb9830c7b8cc1d0a' into eclair-mr2

* commit 'd3e4dab962109c634196bc38fb9830c7b8cc1d0a':
  Add a privateImeOption to represent that the IME should not show
2009-10-30 18:22:00 -07:00
Mike LeBeau
b09123255e am d3e4dab9: Merge change I7df84618 into eclair
Merge commit 'd3e4dab962109c634196bc38fb9830c7b8cc1d0a' into eclair-plus-aosp

* commit 'd3e4dab962109c634196bc38fb9830c7b8cc1d0a':
  Add a privateImeOption to represent that the IME should not show
2009-10-30 18:21:18 -07:00
Dan Egnor
c1c49c024f Use setRepeating() rather than setInexactRepeating() for backup scheduling,
and add some random fuzz to the scheduling times, to make sure we aren't
creating hour-aligned server load spikes.

See bug 2226553 for details & Dr. No information.
2009-10-30 18:12:29 -07:00
Android (Google) Code Review
d3e4dab962 Merge change I7df84618 into eclair
* changes:
  Add a privateImeOption to represent that the IME should not show the voice input microphone, if it otherwise would, whenever the search dialog is planning on showing a voice search button (as specified by the current searchable).
2009-10-30 21:12:00 -04:00
Brett Chabot
efd4a388d6 Suppress flaky test AppCacheTest#testFreeApplicationCacheSomeFiles
Bug 1840944
2009-10-30 17:45:09 -07:00
Jack Wang
227ba2072d am e8228afb: Merge change I92cdc5ed into eclair
Merge commit 'e8228afb2bd005ae25ce58719f9d678389b26a16' into eclair-mr2

* commit 'e8228afb2bd005ae25ce58719f9d678389b26a16':
  PerformanceCollector: Collect & report perf measurements in key/value form
2009-10-30 17:07:56 -07:00
Mathias Agopian
cbf583d722 am 77bd91f8: Merge change Ie3e80456 into eclair
Merge commit '77bd91f8af44867935ea2df22f69fb244b009b94' into eclair-mr2

* commit '77bd91f8af44867935ea2df22f69fb244b009b94':
  Turns out the SGX driver is correct and the bug was in this test.
2009-10-30 17:07:49 -07:00
Jack Wang
1d225d67d9 am e8228afb: Merge change I92cdc5ed into eclair
Merge commit 'e8228afb2bd005ae25ce58719f9d678389b26a16' into eclair-plus-aosp

* commit 'e8228afb2bd005ae25ce58719f9d678389b26a16':
  PerformanceCollector: Collect & report perf measurements in key/value form
2009-10-30 17:07:21 -07:00
Mathias Agopian
0fc2131aa2 am 77bd91f8: Merge change Ie3e80456 into eclair
Merge commit '77bd91f8af44867935ea2df22f69fb244b009b94' into eclair-plus-aosp

* commit '77bd91f8af44867935ea2df22f69fb244b009b94':
  Turns out the SGX driver is correct and the bug was in this test.
2009-10-30 17:07:14 -07:00
Brett Chabot
43a335c3cc Suppress takePicture test from continuous DO NOT MERGE.
Bug 2141755
2009-10-30 17:07:03 -07:00
Android (Google) Code Review
e8228afb2b Merge change I92cdc5ed into eclair
* changes:
  PerformanceCollector: Collect & report perf measurements in key/value form
2009-10-30 20:02:13 -04:00
Brett Chabot
c8c7ca7bd7 Remove testCheckMediaPlaybackHandlesApplicationItunes from continuous.
This test causes the whole suite to hang.
2009-10-30 16:48:09 -07:00
Android (Google) Code Review
77bd91f8af Merge change Ie3e80456 into eclair
* changes:
  Turns out the SGX driver is correct and the bug was in this test.
2009-10-30 19:40:09 -04:00
Mathias Agopian
e3e80456fb Turns out the SGX driver is correct and the bug was in this test.
make sure the 565 1-texel wide texture is specified with an alignment of 4
which is the OpenGL ES default.
2009-10-30 16:32:52 -07:00
The Android Automerger
86655d915d Merge branch 'eclair' into eclair-release 2009-10-30 16:16:21 -07:00
Mike LeBeau
7df846186d Add a privateImeOption to represent that the IME should not show
the voice input microphone, if it otherwise would, whenever the
search dialog is planning on showing a voice search button (as
specified by the current searchable).

The IME will respect this shortly.

http://b/2228562
2009-10-30 16:11:40 -07:00
Jaikumar Ganesh
73d6c0f81f Add ability to disable sending Photos using Vcard. Do Not Merge
This to fix PBAP support for some car kits which are unable
to handle contacts with photos.
Original Change by: Yue Lixin

Bug: 2183320
Dr No: Eastham
2009-10-30 15:28:27 -07:00
Mathias Agopian
739dcc562a am b199d114: am 9baef73c: Merge change Id8b28e4f into eclair
Merge commit 'b199d1145382afc0401e93ee4d6b79b852a97801' into eclair-mr2-plus-aosp

* commit 'b199d1145382afc0401e93ee4d6b79b852a97801':
  fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp
2009-10-30 15:10:15 -07:00
Mathias Agopian
c64e934678 am d85545d0: am d01767f8: Merge change I56779290 into eclair
Merge commit 'd85545d0b4c92cceafafce98f246483de5c4903e' into eclair-mr2-plus-aosp

* commit 'd85545d0b4c92cceafafce98f246483de5c4903e':
  fix[2222341] Soft reset while going back from camcorder settings
2009-10-30 15:10:08 -07:00
Mathias Agopian
5acbf81a20 am 74d4640c: am f989c114: Merge change If007a2fa into eclair
Merge commit '74d4640c0b362b40f507263627f5657396ff24f0' into eclair-mr2-plus-aosp

* commit '74d4640c0b362b40f507263627f5657396ff24f0':
  return proper error code from eglCreateImageKHR
2009-10-30 15:10:01 -07:00
Mathias Agopian
b199d11453 am 9baef73c: Merge change Id8b28e4f into eclair
Merge commit '9baef73c9b2ea17a4eba997c45e944ac6b9af835' into eclair-mr2

* commit '9baef73c9b2ea17a4eba997c45e944ac6b9af835':
  fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp
2009-10-30 15:02:04 -07:00
Mathias Agopian
8e4bdf6d3a am 9baef73c: Merge change Id8b28e4f into eclair
Merge commit '9baef73c9b2ea17a4eba997c45e944ac6b9af835' into eclair-plus-aosp

* commit '9baef73c9b2ea17a4eba997c45e944ac6b9af835':
  fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp
2009-10-30 15:01:58 -07:00
Mathias Agopian
d85545d0b4 am d01767f8: Merge change I56779290 into eclair
Merge commit 'd01767f8b7038108f9125cd2122b117db9919824' into eclair-mr2

* commit 'd01767f8b7038108f9125cd2122b117db9919824':
  fix[2222341] Soft reset while going back from camcorder settings
2009-10-30 15:01:57 -07:00
Mathias Agopian
bfb54c8684 am d01767f8: Merge change I56779290 into eclair
Merge commit 'd01767f8b7038108f9125cd2122b117db9919824' into eclair-plus-aosp

* commit 'd01767f8b7038108f9125cd2122b117db9919824':
  fix[2222341] Soft reset while going back from camcorder settings
2009-10-30 15:01:46 -07:00
Mathias Agopian
74d4640c0b am f989c114: Merge change If007a2fa into eclair
Merge commit 'f989c1140bbc84480498df38abec0fafff04e6ee' into eclair-mr2

* commit 'f989c1140bbc84480498df38abec0fafff04e6ee':
  return proper error code from eglCreateImageKHR
2009-10-30 15:01:44 -07:00
Mathias Agopian
3f2ac097d2 am f989c114: Merge change If007a2fa into eclair
Merge commit 'f989c1140bbc84480498df38abec0fafff04e6ee' into eclair-plus-aosp

* commit 'f989c1140bbc84480498df38abec0fafff04e6ee':
  return proper error code from eglCreateImageKHR
2009-10-30 15:01:39 -07:00
Android (Google) Code Review
9baef73c9b Merge change Id8b28e4f into eclair
* changes:
  fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp
2009-10-30 17:54:16 -04:00
Android (Google) Code Review
d01767f8b7 Merge change I56779290 into eclair
* changes:
  fix[2222341] Soft reset while going back from camcorder settings
2009-10-30 17:54:10 -04:00
Android (Google) Code Review
f989c1140b Merge change If007a2fa into eclair
* changes:
  return proper error code from eglCreateImageKHR
2009-10-30 17:54:03 -04:00
Mathias Agopian
0b0722f980 fix[2222341] Soft reset while going back from camcorder settings
add a way to convert a mapped "pushbuffer" buffer to a gralloc handle
which then can be safely used by surfaceflinger, without including
gralloc_priv.h
2009-10-30 14:48:50 -07:00
Mike Reed
2cacabaea9 am 58d30b69: am 1864d01f: Merge change Iae849da2 into eclair
Merge commit '58d30b69071363aba38307bc5ee3b2d81f22f09d' into eclair-mr2-plus-aosp

* commit '58d30b69071363aba38307bc5ee3b2d81f22f09d':
  add table maskfilter
2009-10-30 14:23:31 -07:00
Andy McFadden
3275b80f0d am a8235340: am 4d0bf120: (-s ours) Merge change I08c19bee into eclair
Merge commit 'a823534008afa45f61faca4088c5aabe9b956117' into eclair-mr2-plus-aosp

* commit 'a823534008afa45f61faca4088c5aabe9b956117':
  DO NOT MERGE: Another gcc 4.0.3 workaround.
2009-10-30 14:23:24 -07:00
Mike Reed
9b1e9d8e79 am 1864d01f: Merge change Iae849da2 into eclair
Merge commit '1864d01f2be0e82da7d8844fa91bee8880282041' into eclair-plus-aosp

* commit '1864d01f2be0e82da7d8844fa91bee8880282041':
  add table maskfilter
2009-10-30 14:13:53 -07:00
Mike Reed
58d30b6907 am 1864d01f: Merge change Iae849da2 into eclair
Merge commit '1864d01f2be0e82da7d8844fa91bee8880282041' into eclair-mr2

* commit '1864d01f2be0e82da7d8844fa91bee8880282041':
  add table maskfilter
2009-10-30 14:13:44 -07:00
Android (Google) Code Review
1864d01f2b Merge change Iae849da2 into eclair
* changes:
  add table maskfilter
2009-10-30 17:03:18 -04:00
Andy McFadden
a823534008 am 4d0bf120: (-s ours) Merge change I08c19bee into eclair
Merge commit '4d0bf1201edd3dd8da5b9f07379336390bd234fe' into eclair-mr2

* commit '4d0bf1201edd3dd8da5b9f07379336390bd234fe':
  DO NOT MERGE: Another gcc 4.0.3 workaround.
2009-10-30 11:03:55 -07:00
Andy McFadden
b81cabcde7 am 4d0bf120: Merge change I08c19bee into eclair
Merge commit '4d0bf1201edd3dd8da5b9f07379336390bd234fe' into eclair-plus-aosp

* commit '4d0bf1201edd3dd8da5b9f07379336390bd234fe':
  DO NOT MERGE: Another gcc 4.0.3 workaround.
2009-10-30 11:01:40 -07:00