Commit Graph

19931 Commits

Author SHA1 Message Date
John Reck
ce9b2d9218 am 30cca602: Merge "Fix contentInvalidateAll NPE"
* commit '30cca6020df6fede4043a9f6715be470d3132c57':
  Fix contentInvalidateAll NPE
2011-08-29 17:16:14 -07:00
John Reck
30cca6020d Merge "Fix contentInvalidateAll NPE" 2011-08-29 17:14:11 -07:00
Matthew Xie
cae4ce1f6d am d56b3c95: Merge "Move Bluetooth remove service record handler to the app main thread"
* commit 'd56b3c952469a63aa9d4fc860be24b80a4b0e3b6':
  Move Bluetooth remove service record handler to the app main thread
2011-08-29 16:34:05 -07:00
Daniel Lehmann
127ebfd8a0 am 82e0c6f3: Merge "Add the lookup_key column, which should have been in the previous CL"
* commit '82e0c6f3dec5c7359166b9ff720f9fcc8c6801d7':
  Add the lookup_key column, which should have been in the previous CL
2011-08-29 16:33:38 -07:00
Matthew Xie
d56b3c9524 Merge "Move Bluetooth remove service record handler to the app main thread" 2011-08-29 16:27:54 -07:00
Matthew Xie
484867a8ed Move Bluetooth remove service record handler to the app main thread
Move Bluetooth remove service record handler to the app main thread.
This removes the dependency of caller thread that constructs the
BluetoothAdapter singleton instance. The caller thread could stop while
BluetoothAdapter singleton exists but lose the handler context.
Make the BluetoothService.removeServiceRecord return quickly without
blocking on native call.
bug 4999443

Change-Id: I302534baa381f4aca8192e1e4a9ea21793b07ba6
2011-08-29 16:24:50 -07:00
Daniel Lehmann
82e0c6f3de Merge "Add the lookup_key column, which should have been in the previous CL" 2011-08-29 15:51:56 -07:00
Chet Haase
0f561d618f am 32901b4f: Merge "Fixed bug with invalidation in top-level Views."
* commit '32901b4fec5db9a137add68f0f38518636593668':
  Fixed bug with invalidation in top-level Views.
2011-08-29 15:39:11 -07:00
Jeff Brown
49a47f5446 am 8d3feb62: Merge "Add a "show touches" option for demos and presentations. Bug: 4569045"
* commit '8d3feb6292ba7e87adeb4982e8cf27114a8ee2e4':
  Add a "show touches" option for demos and presentations. Bug: 4569045
2011-08-29 15:18:46 -07:00
Jamie Gennis
931b706fbe am a258f0c8: Merge "Surface: move the SurfaceTexture ctor"
* commit 'a258f0c8ffeb447aa8d3216ec276bc26b4f3f5d8':
  Surface: move the SurfaceTexture ctor
2011-08-29 15:18:14 -07:00
Gilles Debunne
acb89cfc85 am 474cac1c: Merge "Suggestions popup window is dismissed on tap outside."
* commit '474cac1c212e1f02deaffe5512941af9cb2a760b':
  Suggestions popup window is dismissed on tap outside.
2011-08-29 15:17:49 -07:00
John Reck
83ff786f72 am 082a9fa3: Merge "Tap highlight fix + small perf increase"
* commit '082a9fa3438d343942851e538bb38b86ab1873b3':
  Tap highlight fix + small perf increase
2011-08-29 15:17:41 -07:00
Chet Haase
f6f53b1e69 am 890a631e: Merge "Made the Switch class public."
* commit '890a631ede4f0d209b53d1924a545ed8d3b6f003':
  Made the Switch class public.
2011-08-29 15:16:15 -07:00
Romain Guy
68acd2236d am f8c015d2: Merge "Italic should be italic and bold should be bold."
* commit 'f8c015d2628d8ef3056698a3b6a052889ae15d01':
  Italic should be italic and bold should be bold.
2011-08-29 15:16:03 -07:00
Adam Powell
e1634c98f3 am b5d80fca: Merge "Fix bug 5124021 - Menu visibility incorrect when restoring ListView selection mode"
* commit 'b5d80fca2eb7f6053e6d404a0d4a7c213dad1317':
  Fix bug 5124021 - Menu visibility incorrect when restoring ListView selection mode
2011-08-29 15:14:54 -07:00
Chet Haase
32901b4fec Merge "Fixed bug with invalidation in top-level Views." 2011-08-29 14:39:47 -07:00
Daniel Lehmann
ceb476a584 Add the lookup_key column, which should have been in the previous CL
Also added some more javadocs

Bug:5134325

Change-Id: I486b753f7cfb622e0211bb7f6bd04eb18b6e1e5b
2011-08-29 14:37:31 -07:00
Chet Haase
e4e6e20695 Fixed bug with invalidation in top-level Views.
There was a bug in an InputMethod app, where popups for the keys
would not pop-down again. The problem was that they were being
marked INVISIBLE, but the new invalidation logic noop'd the
invalidate() call that used to take place. Adding to that was logic
in setFlags() that only invalidated a parent for parents that are
instanceof ViewGroup. In this case, the parent is a ViewRootImpl.

Fix is to call invalidateChild() on the parent if it's not a ViewGroup.

Change-Id: I2c2352072d383cee1367ea7ee6c2207077721fd5
2011-08-29 14:34:30 -07:00
Jeff Brown
8d3feb6292 Merge "Add a "show touches" option for demos and presentations. Bug: 4569045" 2011-08-29 14:04:31 -07:00
Jamie Gennis
a258f0c8ff Merge "Surface: move the SurfaceTexture ctor" 2011-08-29 13:41:45 -07:00
Gilles Debunne
474cac1c21 Merge "Suggestions popup window is dismissed on tap outside." 2011-08-29 12:58:36 -07:00
John Reck
082a9fa343 Merge "Tap highlight fix + small perf increase" 2011-08-29 12:55:50 -07:00
John Reck
c87b7705a0 Fix contentInvalidateAll NPE
Bug: 5220835
 It is possible to call setProperty before webcore has initialized.
 In that case, the content invalidate is unnecessary as there is no
 content to invalidate, so just ignore the request.

Change-Id: I52471a1739443ba8f1e514a5908678552246d80b
2011-08-29 11:48:56 -07:00
Chet Haase
890a631ede Merge "Made the Switch class public." 2011-08-29 11:21:49 -07:00
Romain Guy
f8c015d262 Merge "Italic should be italic and bold should be bold." 2011-08-29 11:13:23 -07:00
Romain Guy
94d5e9ad65 Italic should be italic and bold should be bold.
Change-Id: I68933a7d7c32951c4d52d945baaedcb2583caef4
2011-08-29 11:12:19 -07:00
Chet Haase
150176d830 Made the Switch class public.
Tweaked the API of Switch slightly and made the class public (it was
hidden before).

Change-Id: I4a099e8afd18a11a5850252025ae3bbbb866830d
2011-08-29 10:59:58 -07:00
Adam Powell
b5d80fca2e Merge "Fix bug 5124021 - Menu visibility incorrect when restoring ListView selection mode" 2011-08-29 10:42:43 -07:00
John Reck
0ba72ad45b Tap highlight fix + small perf increase
Bug: 5229717

Change-Id: I9ebc92dc96d77ff9051517b717d203686b574f7a
2011-08-29 10:29:09 -07:00
Adam Powell
9a5cc2810b Fix bug 5124021 - Menu visibility incorrect when restoring ListView
selection mode

Fix visibility of menus when action modes are initiailized early.

Fix ListView problems persisting check states.

Change-Id: Idc21036dc39259e72f0e6831a0ccb4695f8858ef
2011-08-28 17:13:16 -07:00
Adam Powell
47d129bcb9 am 6b316513: Merge "Fix bug 5067075 - missing scrollbar when entering long signatures"
* commit '6b316513e8ce5c35cafacbeb3b9428fc5c06df67':
  Fix bug 5067075 - missing scrollbar when entering long signatures
2011-08-28 17:00:22 -07:00
Jamie Gennis
df0c84f908 Surface: move the SurfaceTexture ctor
This change moves the Surface ctor that takes a SurfaceTexture to the
portion of the file containing the public APIs.

Change-Id: I192df7bf5c0e6d0d0607bd577d72646312b2f717
2011-08-28 15:09:17 -07:00
Adam Powell
c82c7a5403 Fix bug 5067075 - missing scrollbar when entering long signatures
Let DialogPreferences decide their own IME adjust mode as normal
rather than forcing adjustPan.

Change-Id: Ib53e9f648342430640469a0682308b056e7ef991
2011-08-28 14:36:05 -07:00
Adam Powell
4d94a5b421 am 441cc7db: Merge "Accessibility fixes for action bars"
* commit '441cc7dba318127ffd2f38e5c5d7993fb4326e03':
  Accessibility fixes for action bars
2011-08-26 19:33:59 -07:00
Adam Powell
441cc7dba3 Merge "Accessibility fixes for action bars" 2011-08-26 19:32:09 -07:00
Romain Guy
527c20595b am 3957a76d: Merge "ToggleButton could keep a reference to a previous drawable"
* commit '3957a76d7738ff6fd75bfeb41b04511eec79d488':
  ToggleButton could keep a reference to a previous drawable
2011-08-26 19:31:59 -07:00
Romain Guy
3957a76d77 Merge "ToggleButton could keep a reference to a previous drawable" 2011-08-26 19:30:08 -07:00
Adam Powell
7bc3ca0dc5 Accessibility fixes for action bars
Fix bug 5220543 - fix accessibility events for action buttons

Fix bug 5224260 - fix accessibility events for home/up

Change-Id: I7d55b4819862e1eda0809da92c52ec2d97f36af0
2011-08-26 18:31:47 -07:00
Nick Pelly
cc5477a92a am e432de84: Merge "Improve NDEF push API"
* commit 'e432de8493bae1f6017731d6668a0fada334aa8d':
  Improve NDEF push API
2011-08-26 17:33:05 -07:00
Nick Pelly
e432de8493 Merge "Improve NDEF push API" 2011-08-26 17:31:02 -07:00
Nick Pelly
c84c89a6ca Improve NDEF push API
Introduce
  setNdefPushMessage()
  setNdefPushMessageCallback()
  setNdefPushCompleteCallback()

Deprecate public API
  enableForegroundNdefPush()
  disableForegroundNdefPush()

Hide & Deprecate staged (public but never released) API
  enableForegroundNdefPushCallback()

The new API's do not require the application to explicitly call
enable()/disable() in onPause()/onResume(), we use a Fragment behind
the scenes to manager this automatically.

NDEF Push can be disabled by using a null parameter, so each
enable()/disable() pair is collapsed to a single set() call.

Application code should now look something like:

    public void onCreate() {
        NfcAdapter adapter = NfcAdapter.getDefaultAdapter(this);
        if (adapter != null) {  // check that NFC is available on this device
            adapter.setNdefPushMessage(myNdefMessage, this);
        }
    }

And that's it - no need to explicitly hook into onPause() and onResume() events.

Also - introduce a generic NfcEvent class that is provided as a parameter on
all NFC callbacks. Right now it just provides the NfcAdapter, but using
the wrapper classes allows us to add more fields later without changing
the callback signature. (i'm thinking Bluetooth).

Change-Id: I371dcb026b535b8199225c1262eca64ce644458a
2011-08-26 17:28:45 -07:00
Jeff Brown
daf4a127ba Add a "show touches" option for demos and presentations.
Bug: 4569045

Change-Id: I8726ea292dd7def790a5e40d7d7e58968974f896
2011-08-26 17:14:14 -07:00
Martijn Coenen
2df496388b am 6a85a488: Merge "Add getMaxTransceiveLength() API."
* commit '6a85a48831a1a78e378aeaf8bd080f3610b1ea40':
  Add getMaxTransceiveLength() API.
2011-08-26 16:38:03 -07:00
Martijn Coenen
6a85a48831 Merge "Add getMaxTransceiveLength() API." 2011-08-26 16:36:29 -07:00
Martijn Coenen
faca12adc6 Add getMaxTransceiveLength() API.
Also moved canMakeReadOnly() down in the stack, and
cleaned up TransceiveResult.

Change-Id: I85576c52478ab79f0726606659b0c17d00b222e6
2011-08-26 16:30:58 -07:00
Chet Haase
e428aa6270 am 4c340652: Merge "Fixed error in invalidation/LayoutTransition logic"
* commit '4c340652f8d83961f3d9a3b7ce519efc98a275b4':
  Fixed error in invalidation/LayoutTransition logic
2011-08-26 16:28:22 -07:00
Romain Guy
aa1c88de02 ToggleButton could keep a reference to a previous drawable
Change-Id: Ic19a8e86c61b58926504daf35f0de41358a899b4
2011-08-26 16:21:03 -07:00
Chet Haase
aceafe63ee Fixed error in invalidation/LayoutTransition logic
A recent fix for invalidation noop'd calls to invalidate() on
GONE/INVISIBLE views. This logic also noop'd views which might
be GONE, but which are in the process of fading in/out via
LayoutTransition animations. These views should invalidate as
usual.

Change-Id: Ie90a340f70290391a3aa4e68df535c6aabf4e5eb
2011-08-26 16:05:29 -07:00
Jeff Sharkey
f01f4522cb am e598cd01: Merge "Always splice historical data stats, debug info."
* commit 'e598cd0143c0c79b0f6c6f557269ed5f5100e78b':
  Always splice historical data stats, debug info.
2011-08-26 15:47:28 -07:00
Jeff Sharkey
e598cd0143 Merge "Always splice historical data stats, debug info." 2011-08-26 15:46:19 -07:00