2542 Commits

Author SHA1 Message Date
Romain Guy
5ba885ddcb am b0ded43d: Uninstalls the gestures overlay when the letters recognizer cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method.
Merge commit 'b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1'

* commit 'b0ded43d3844d9d97c5d554e8ca4ec3ee2c7bbe1':
  Uninstalls the gestures overlay when the letters recognizer cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method.
2009-05-28 12:31:48 -07:00
Android (Google) Code Review
79fb0d6999 am 401bbb05: Merge change 2593 into donut
Merge commit '401bbb0597a9f6bc9d752437e81f3f0c9b457b86'

* commit '401bbb0597a9f6bc9d752437e81f3f0c9b457b86':
  Bug fixes and performance improvements
2009-05-28 12:31:44 -07:00
Dirk Dougherty
1cb62b8324 am 2542c0a8: AI 149346: Replace icon_templates-v1.0.zip with new archive from cnesladek. remove mac-specific files, fix dir name, repack. BUG=1877969
Merge commit '2542c0a805b144b4c4324a749574d9ba76660557' into donut

* commit '2542c0a805b144b4c4324a749574d9ba76660557':
  AI 149346: Replace icon_templates-v1.0.zip with new archive from cnesladek. remove mac-specific files, fix dir name, repack.
2009-05-28 12:30:33 -07:00
Android (Google) Code Review
a8f61f41f4 Merge change 2574
* changes:
  Sim-only files move, part 2/2.
2009-05-28 11:13:18 -07:00
Jean-Michel Trivi
14f861a24a Adding TTS error code to signal missing resources (for instance missing language files). 2009-05-28 11:11:25 -07:00
Dirk Dougherty
2542c0a805 AI 149346: Replace icon_templates-v1.0.zip with new archive from cnesladek. remove mac-specific files, fix dir name, repack.
BUG=1877969

Automated import of CL 149346
2009-05-28 09:44:39 -07:00
Android (Google) Code Review
c26ba79280 Merge change 2525
* changes:
  add onPause and onResume apis, to inform the view when it can pause its activities associated with the DOM.
2009-05-28 05:00:01 -07:00
Romain Guy
b0ded43d38 Uninstalls the gestures overlay when the letters recognizer cannot be loaded instead of simply dismissing the popup. This is cleaner and reuses the setGestures() method. 2009-05-27 21:37:14 -07:00
Android (Google) Code Review
401bbb0597 Merge change 2593 into donut
* changes:
  Bug fixes and performance improvements
2009-05-27 21:26:31 -07:00
Yang Li
58b359041a Bug fixes and performance improvements
- Added affine transform functions in GestureUtilities to remove Matrix
- Fixed a bug with Instance.createInstance
- Updated letter recognition file
2009-05-27 18:19:04 -07:00
Owen Lin
470681e0ff Check if the ownerView is still attached to window in
refreshPositionVariables.
2009-05-27 17:56:17 -07:00
Jason Sams
0ae234c991 Add background bitmap to fountain test app for renderscript. 2009-05-27 17:46:57 -07:00
Jack Palevich
df98851d2f Change the Fountain test app's package to com.android.fountain.
It had been com.android.calc, which caused conflicts with the real Calc
application.
2009-05-27 17:00:45 -07:00
Andy McFadden
7fea935590 Sim-only files move, part 2/2.
Move Pipe and executablepath from libutils to the simulator, since nothing
else uses them.
2009-05-27 16:01:39 -07:00
Android (Google) Code Review
85a2fb07c2 am 145c989c: Merge change 2569 into donut
Merge commit '145c989cafe72d99af120044fed256ac2f982568'

* commit '145c989cafe72d99af120044fed256ac2f982568':
  Fix a hang during bootup.
2009-05-27 16:01:09 -07:00
Android (Google) Code Review
145c989caf Merge change 2569 into donut
* changes:
  Fix a hang during bootup.
2009-05-27 16:00:22 -07:00
Android (Google) Code Review
ba89724351 Merge change 2568
* changes:
  Enable renderscript to build under the simulator.
2009-05-27 15:29:32 -07:00
Amith Yamasani
c33fe6c9a7 Fix a hang during bootup.
Some data was not being written to the battery stats during shutdown. So there was insufficient
data when reading back at bootup.
2009-05-27 15:29:04 -07:00
Jack Palevich
81d0a9a70a Enable renderscript to build under the simulator.
Added missing #include file to declare memcpy().
2009-05-27 15:26:57 -07:00
Jack Veenstra
982be3be05 Fix javadoc typos. No code changes.
Also reformatted a comment that was too long.
2009-05-27 15:07:59 -07:00
Jason Sams
fe08d99725 Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object. 2009-05-27 14:45:32 -07:00
Mike Reed
d205d5b570 add onPause and onResume apis, to inform the view when it can pause
its activities associated with the DOM.
2009-05-27 17:30:21 -04:00
Suchi Amalapurapu
c7b14e9207 Fix a bug in AppSecurityPermissions where it wouldn't display permissions used by an app if it uses a shared user id.
Remove the else clause and always get the list of requested permissions first before adding the permissions obtained via
the shared user id.
Also change an if condition and comments for better readability
2009-05-27 14:14:09 -07:00
Android (Google) Code Review
cc77841f64 Merge change 2541
* changes:
  Turn on ACC script test. (It works!)
2009-05-27 12:50:20 -07:00
Jack Palevich
8191d0f634 Turn on ACC script test. (It works!)
+ Modified test script to work with the limitations of the ACC langauge.
   - No <op>=
   - use correct C API names for callback methods.
2009-05-27 12:38:37 -07:00
Android (Google) Code Review
a3cfda3b2c am 004cb73a: Merge change 2443 into donut
Merge commit '004cb73a152327160614318fef0e1800ec91346d'

* commit '004cb73a152327160614318fef0e1800ec91346d':
  Adding proxy class to communicate with the TTS service through the ITts interface.
2009-05-27 11:20:54 -07:00
Android (Google) Code Review
004cb73a15 Merge change 2443 into donut
* changes:
  Adding proxy class to communicate with the TTS service through the ITts interface.
2009-05-27 11:04:48 -07:00
Android (Google) Code Review
158d83054f am a64f5f61: Merge change 1124 into donut
Merge commit 'a64f5f61677cf4aa3bf871c87be950bb85c2aeeb'

* commit 'a64f5f61677cf4aa3bf871c87be950bb85c2aeeb':
  Fix SQLite limit issue.
2009-05-27 11:01:30 -07:00
Android (Google) Code Review
a64f5f6167 Merge change 1124 into donut
* changes:
  Fix SQLite limit issue.
2009-05-27 10:56:41 -07:00
Android (Google) Code Review
c5261874b7 Merge change 2503
* changes:
  Stop the NANP number formatter from putting dashes in shortcodes.
2009-05-27 10:55:57 -07:00
Marco Nelissen
6742fa7341 am 8ae3f619: Fix another crash in Gestures, this one caused by the data file having the wrong version. I made the loader print a message to the log for this, and made the calling code disable gestures for the listview instead of crashing.
Merge commit '8ae3f6190244156bc6e750680654057bd7816309'

* commit '8ae3f6190244156bc6e750680654057bd7816309':
  Fix another crash in Gestures, this one caused by the data file
2009-05-27 10:42:13 -07:00
Jean-Michel Trivi
e74d507d17 Adding proxy class to communicate with the TTS service through the ITts interface. 2009-05-27 10:36:30 -07:00
Marco Nelissen
8ae3f61902 Fix another crash in Gestures, this one caused by the data file
having the wrong version. I made the loader print a message to
the log for this, and made the calling code disable gestures
for the listview instead of crashing.
2009-05-27 10:03:44 -07:00
Patrick Scott
9b36f494e5 Fix the boot. The signature needed a V at the end. 2009-05-27 12:53:20 -04:00
Android (Google) Code Review
0098ab97d6 am f0e7e4a9: Merge change 2520 into donut
Merge commit 'f0e7e4a9461ab3daf57ecfec3d25be583380d0d2'

* commit 'f0e7e4a9461ab3daf57ecfec3d25be583380d0d2':
  Cause the icon drawables to animate automatically by calling setVisible
2009-05-27 09:16:01 -07:00
Android (Google) Code Review
f0e7e4a946 Merge change 2520 into donut
* changes:
  Cause the icon drawables to animate automatically by calling setVisible false and then true on the drawables. For an AnimationDrawable, this will trigger the desired behavior of 'automatically' starting the animation, which should have been working to begin with according to the intended design of AnimationDrawable (see http://b/1878430 for my description of my correspondence with Romain). For Donut we'll just do this to work around it, but for a later release we need to decide a better story.
2009-05-27 09:13:15 -07:00
Android (Google) Code Review
b53bfd25f5 am ed6e0b92: Merge change 2522 into donut
Merge commit 'ed6e0b92dd8a42a67d0ffd5cb62d69a65dfcd051'

* commit 'ed6e0b92dd8a42a67d0ffd5cb62d69a65dfcd051':
  This function should be public
2009-05-27 05:54:13 -07:00
Android (Google) Code Review
ed6e0b92dd Merge change 2522 into donut
* changes:
  This function should be public
2009-05-27 05:52:50 -07:00
Jacek Surazski
fd0bdcc344 This function should be public 2009-05-27 14:45:48 +02:00
Android (Google) Code Review
67880624cc am c0139711: Merge change 2432 into donut
Merge commit 'c0139711b0e4a07ad997fb4130c674ed2d90e2fc'

* commit 'c0139711b0e4a07ad997fb4130c674ed2d90e2fc':
  Make android_runtime to not include libemoji but use dlopen() instead.
2009-05-27 04:50:13 -07:00
Android (Google) Code Review
c0139711b0 Merge change 2432 into donut
* changes:
  Make android_runtime to not include libemoji but use dlopen() instead. This must be submitted with change 2432
2009-05-27 04:48:21 -07:00
Android (Google) Code Review
c563beac06 am 298784cd: Merge change 2420 into donut
Merge commit '298784cd8a7ed77923bdb51de38c15e4c246a037'

* commit '298784cd8a7ed77923bdb51de38c15e4c246a037':
  This just makes it easier to derive from ApplicationErrorReport.
2009-05-27 02:19:21 -07:00
Android (Google) Code Review
298784cd8a Merge change 2420 into donut
* changes:
  This just makes it easier to derive from ApplicationErrorReport.
2009-05-27 02:17:21 -07:00
Mike LeBeau
91bc6f2c57 Cause the icon drawables to animate automatically by calling setVisible
false and then true on the drawables. For an AnimationDrawable, this will
trigger the desired behavior of 'automatically' starting the animation,
which should have been working to begin with according to the intended
design of AnimationDrawable (see http://b/1878430 for my description of
my correspondence with Romain). For Donut we'll just do this to work
around it, but for a later release we need to decide a better story.
2009-05-26 22:48:56 -07:00
Android (Google) Code Review
0d1e146cb7 Merge change 2007
* changes:
  New BluetoothSocket API.
2009-05-26 19:47:08 -07:00
Nick Pelly
0b6955a48b New BluetoothSocket API.
Modeled on blocking java.net.Socket and java.net.ServerSocket library.

Public interface is:

public final class BluetoothSocket implements Closeable {
   public static BluetoothSocket createRfcommSocket(String address, int port) throws IOException;
   public static BluetoothSocket createInsecureRfcommSocket(String address, int port) throws IOException;

   public void connect() throws IOException;
   public void close() throws IOException;

   public String getAddress();
   public InputStream getInputStream() throws IOException;
   public OutputStream getOutputStream() throws IOException;
}

public final class BluetoothServerSocket implements Closeable {
   public static BluetoothServerSocket listenUsingRfcommOn(int port) throws IOException;
   public static BluetoothServerSocket listenUsingUnsecureRfcommOn(int port) throws IOException;

   public BluetoothSocket accept() throws IOException;
   public BluetoothSocket accept(int timeout) throws IOException;
   public void close() throws IOException;

}
2009-05-26 19:39:21 -07:00
Jack Palevich
55d4522392 Fix Fountain test app so that it actually builds.
Also check in first part of an libACC implementation.
2009-05-26 19:21:23 -07:00
Android (Google) Code Review
ecd53112c5 am 2a4daf06: Merge change 2508 into donut
Merge commit '2a4daf06fb36ff932f9d52962284ba369cee1ce0'

* commit '2a4daf06fb36ff932f9d52962284ba369cee1ce0':
  Activity Manager changes the scheduling group of processes.
2009-05-26 19:01:39 -07:00
Android (Google) Code Review
2a4daf06fb Merge change 2508 into donut
* changes:
  Activity Manager changes the scheduling group of processes.
2009-05-26 18:59:36 -07:00
Dianne Hackborn
06de2ea752 Activity Manager changes the scheduling group of processes.
The algorithm for this is currently very simple: all persistent processes are
always in the normal scheduling group, all other processes are normal if their
oom_adj is as good or better than VISIBLE, otherwise they are in the background
group.

Note that this currently results in a fair number of log messages about not
being able to change the group, since the system process does not have
permission to do so.  Once a kernel fix is in, these will go away and the code
will start working.
2009-05-26 18:50:46 -07:00