49286 Commits

Author SHA1 Message Date
Mike Lockwood
c89f22242b MTP: Implement GetThumb command
This allows the PC to access thumbnails in JPEG files over MTP/PTP

Bug: 3219495

Change-Id: I4964f8b4826dffb7f0f77464ec91bd2e97a2f007
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-25 17:40:33 -07:00
Mike Lockwood
466e3a22db Merge "MTP: Fix file descriptor leak in file editing extensions" 2011-04-25 13:37:44 -07:00
Mike Lockwood
1003199cb8 MTP: Fix file descriptor leak in file editing extensions
Change-Id: I6d0de5efe705d8060bbfd526c6880dc995a3aa30
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-25 13:36:11 -07:00
Chet Haase
cc5a7d2328 Merge "Fix bitfield bug with vertex shader selection" 2011-04-25 12:56:34 -07:00
James Dong
a13802d880 Merge "Return status code from invoke()" 2011-04-25 10:21:43 -07:00
Mike Lockwood
42f16f3d42 Merge "MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider" 2011-04-25 09:52:26 -07:00
Mike Lockwood
e8fd99df6e Merge "Remove log spam" 2011-04-25 09:52:10 -07:00
Eino-Ville Talvala
185052e2d1 Merge "Clarify the meaning of weight in the focus and metering area HAL." 2011-04-25 09:39:28 -07:00
Eino-Ville Talvala
4e396e063c Clarify the meaning of weight in the focus and metering area HAL.
Weigh values must be less than 1000, but have no restriction on their
sum. Weights should be interpreted as per-pixel values, meaning larger
areas will have more influence over focus/metering than smaller areas
of the same weight.

Change-Id: I988b74f988ddba2ff0c49d078ff3174b47cbae18
2011-04-25 09:33:48 -07:00
Mike Lockwood
997354e4b4 MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider
Previously we ignored any files and directories that had name started with '.'
and ignored any directories that contained a ".nomedia" file.
Now to support transferring any file via MTP, we now add these previously ignored files
to the media database, but will not mark them as audio, video, image or playlist files.
That way they will be included in the files table but will be hidden from the
audio, video, images and playlist views that are used by apps like Music and Gallery.

Bug: 3405327

Change-Id: I2d7285bd32e06c1a5c4ef6a8a15f8f8b2c33b39b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-25 09:21:54 -07:00
Mike Lockwood
653935da6b Remove log spam
Change-Id: I3182576158c7c0410c19036a580fd46c6ab079f9
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-24 11:09:42 -07:00
Brian Carlstrom
a8965da988 Merge "Expose Credentials.UNLOCK_ACTION for callers that want to use startActivityForResult" 2011-04-23 21:01:35 -07:00
Mike Lockwood
f7a4cafd24 Merge "Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"" 2011-04-23 08:56:11 -07:00
Mike Lockwood
825e8716a6 Merge "MTP: Add extended operations to support in-place editing of files" 2011-04-23 08:55:59 -07:00
Svetoslav Ganov
b8b49559f6 Merge "Touch exploration feature, event bubling, refactor" 2011-04-22 18:33:09 -07:00
Svetoslav Ganov
736c2756bf Touch exploration feature, event bubling, refactor
1. Added an Input Filter that interprets the touch screen motion
   events to perfrom accessibility exploration. One finger explores.
   Tapping within a given time and distance slop on the last exlopred
   location does click and long press, respectively. Two fingers close
   and in the same diretion drag. Multiple finglers or two fingers in
   different directions or two fingers too far away are delegated to
   the view hierarchy. Non moving fingers "accidentally grabbed the
   device for the scrren" are ignored.

2. Added accessibility events for hover enter, hover exit, touch
   exoloration gesture start, and end. Accessibility hover events
   are fired by the hover pipeline. An accessibility event is
   dispatched up the view tree and the topmost view fires it.
   Thus predecessors can augment the fired event. An accessibility
   event has several records and a predecessor can optionally
   modify, delete, and add such to the event.

3. Added onPopulateAccessibilityEvent and refactored the existing
   accessibility code to use it.

4. Added API for querying the currently enabled accessibility services
   by feedback type.

Change-Id: Iea2258c07ffae9491071825d966dc453b07e5134
2011-04-22 18:30:43 -07:00
David Li
461d8cd24f Merge "GLES2Dbg: noop - format & comment" 2011-04-22 18:22:40 -07:00
Adam Powell
c1e1f43dab Merge "Revert "Touch exploration feature, event bubling, refactor"" 2011-04-22 17:30:46 -07:00
Joe Fernandez
69442c211e am 7f90b316: am 41f665a5: am c84362a7: am a29e2cca: docs: Fixing Issue with code for Adding Tabs topic bug 4293013
* commit '7f90b316b6731b6e8beb3babe71088d0d8bd3a57':
  docs: Fixing Issue with code for Adding Tabs topic bug 4293013
2011-04-22 17:30:10 -07:00
Freeman Ng
1b30d7824d am 1e2e390f: am 3b9089c1: new LTE prepay related values
* commit '1e2e390fc715ef0aa264f4706fabde1a157668fc':
  new LTE prepay related values
2011-04-22 17:29:51 -07:00
Adam Powell
3fb3d7c4e7 Revert "Touch exploration feature, event bubling, refactor"
This reverts commit ac84d3ba81f08036308b17e1ab919e43987a3df5.

There seems to be a problem with this API change. Reverting for now to
fix the build.

Change-Id: Ifa7426b080651b59afbcec2d3ede09a3ec49644c
2011-04-22 17:23:44 -07:00
Jason Sams
d42aad987a Merge "Add matrix logging." 2011-04-22 16:56:49 -07:00
Fabrice Di Meglio
3f92b8b188 Merge "Clean getTextRunAdvances() APIs" 2011-04-22 16:54:37 -07:00
Joe Fernandez
7f90b316b6 am 41f665a5: am c84362a7: am a29e2cca: docs: Fixing Issue with code for Adding Tabs topic bug 4293013
* commit '41f665a5f9d4e73ba8dabceb721c9c8873591bac':
  docs: Fixing Issue with code for Adding Tabs topic bug 4293013
2011-04-22 16:48:44 -07:00
Freeman Ng
1e2e390fc7 am 3b9089c1: new LTE prepay related values
* commit '3b9089c1fa6970974fa5234dfea46455811c8c7a':
  new LTE prepay related values
2011-04-22 16:46:52 -07:00
Joe Fernandez
41f665a5f9 am c84362a7: am a29e2cca: docs: Fixing Issue with code for Adding Tabs topic bug 4293013
* commit 'c84362a72ab958c4ffe34c16d8cf76883d48f0e8':
  docs: Fixing Issue with code for Adding Tabs topic bug 4293013
2011-04-22 16:46:37 -07:00
Adam Powell
6c079b6819 Merge "Framework: fixed bug in multiselectlistpreference." 2011-04-22 16:46:10 -07:00
Freeman Ng
3b9089c1fa new LTE prepay related values
bug: 4082355
Change-Id: Id5a8f9b8bca64d9cf6ee13b00bd32c4911e9a3fa
2011-04-22 16:42:57 -07:00
Chet Haase
6cfdf45380 Fix bitfield bug with vertex shader selection
Change-Id: I8bd3005f363afb52e6624806efb3e04c4a56ee18
2011-04-22 16:42:10 -07:00
Justin Koh
ece60fb243 Framework: fixed bug in multiselectlistpreference.
Fixed bug in multiselectlistpreference where the entries were being used instead of the entry values.  This change make the behavior match the documentation.

TESTED = runs on M4 with test app.

Change-Id: Ib337f78399e032ef50aabce0fb8aa38251d73c18
2011-04-22 16:41:10 -07:00
Joe Fernandez
c84362a72a am a29e2cca: docs: Fixing Issue with code for Adding Tabs topic bug 4293013
* commit 'a29e2cca5d0e3ff222c09165fd69ca8f4d0f634e':
  docs: Fixing Issue with code for Adding Tabs topic bug 4293013
2011-04-22 16:36:33 -07:00
Svetoslav Ganov
f9fa622cc0 Merge "Touch exploration feature, event bubling, refactor" 2011-04-22 16:29:07 -07:00
Joe Fernandez
a29e2cca5d docs: Fixing Issue with code for Adding Tabs topic
bug 4293013

Change-Id: Ia08fe8ae0112af5157607e4fcd07773a945473f3
2011-04-22 16:22:48 -07:00
Adam Powell
d0f650c6c3 Fix mipmap selection for action bar icons
Change-Id: I6d34dabb5289284fd5821695ad14d8bdeb97e50d
2011-04-22 16:05:17 -07:00
Brian Carlstrom
4a9e1a2494 Expose Credentials.UNLOCK_ACTION for callers that want to use startActivityForResult
Change-Id: I729b2d8257bda3e7ff7858741ebd5415404880e7
2011-04-22 15:45:22 -07:00
Adam Powell
46eb6de85a Merge "Fix a bug when showing the menu panel with an action bar/menu items present." 2011-04-22 15:43:21 -07:00
Adam Powell
526b9313a9 Fix a bug when showing the menu panel with an action bar/menu items
present.

Change-Id: I38cc257661f5a10ccca6ec7625e43e70287129d2
2011-04-22 15:42:05 -07:00
Jason Sams
00425721c1 Merge "Fix rsRand(float, float)" 2011-04-22 15:29:22 -07:00
Gilles Debunne
eedc90f49a Merge "Refactoring in TextViews' handles" 2011-04-22 14:42:55 -07:00
Jason Sams
21cd43cbba Add matrix logging.
Change-Id: I42fb61747cf1ddf9b367faf6ce9109429d34e9cf
2011-04-22 14:25:07 -07:00
Jason Sams
e2b3304e40 Fix rsRand(float, float)
Change-Id: I553d83e1e962ad34aacbe6572d47ff25c3d50060
2011-04-22 14:25:07 -07:00
Alex Sakhartchouk
b96320c239 Merge "sped up the ui in image processing test app" 2011-04-22 13:52:32 -07:00
James Dong
34d76acc4e Remove the assertion and report content malform error to application
Change-Id: I8e30c586048d38334fd4366959a124a99d8efe28
related-to-bug: 4267147
2011-04-22 13:21:49 -07:00
Gilles Debunne
2037b827f3 Refactoring in TextViews' handles
The position of the container has to be updated on each frame
in preDraw, since the handles' positions can be modified programatically.
Updating position when the handle is dragged is no longer sufficient and
now redundent.

Change-Id: I304b13089f4327baad2e8d4c0974c649bef1e883
2011-04-22 13:08:27 -07:00
Alex Sakhartchouk
abf2b931ff sped up the ui in image processing test app
Change-Id: I5e8637cf4386b31d961d41c64019f9ac98d21905
2011-04-22 12:42:47 -07:00
Eric Fischer
e528398fb6 Merge "Import revised translations." 2011-04-22 12:31:02 -07:00
hongteng
39a94cc3d6 Merge "Fix for issue 3385135 "source code cleanup" engine part - remove the unused header files" 2011-04-22 12:28:39 -07:00
Eric Fischer
6525dced2a Import revised translations.
Change-Id: Ife651e15da4a9e008bef758c6d92f6e2fb7102ef
2011-04-22 12:16:16 -07:00
hongteng
2fb605a088 Fix for issue 3385135 "source code cleanup" engine part
- remove the unused header files

Change-Id: I78971f7a6ae9325ce96a474e448c6f3d586d7ba6
2011-04-22 11:46:10 -07:00
Dianne Hackborn
b035072dcb Merge "Start work on simulating landscape/portrait when orientation is locked." 2011-04-22 11:37:25 -07:00