summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Merge "support humidity sensor type"Jean-Baptiste Queru2011-05-181-0/+11
|\
| * support humidity sensor typeUrs Fleisch2011-04-131-0/+11
| | | | | | | | Change-Id: I4156842677e91de0f922284d196147ff61e71a70
* | Merge "Adjust mBiggerTouchSlopSquare to the suitable value"Conley Owens2011-04-291-0/+11
|\ \ | |/ |/|
| * Adjust mBiggerTouchSlopSquare to the suitable valueMasanori Ogino2011-02-071-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the scaling factor is larger than 1.0 (i.e. 1.5), then mTouchSlopSquare(576) is bigger than mBiggerTouchSlopSquare(400). The double tap condition should be bigger than a single tap's one. This causes the fail of the following CTS test cases in the device has over 240 density. - android.view.cts.GestureDetectorTest * testOnTouchEvent - android.view.cts.GestureDetector_SimpleOnGestureListenerTest * testSimpleOnGestureListener To fix this issue, I'll add a new public method ViewConfiguration#getScaledLargeTouchSlop() then the value returned from that method is used as a slop area of mLargeTouchSlop. Change-Id: I0e61c13670e1300be1ccf45a89ef89410496fb48
* | am cbf0983e: Merge "Final final final Gingerbread MR API changes." into ↵Nick Pelly2011-02-012-120/+68
|\ \ | | | | | | | | | | | | | | | | | | gingerbread * commit 'cbf0983ec97879026e87fa97ff0b5c8786bfc8f8': Final final final Gingerbread MR API changes.
| * | Final final final Gingerbread MR API changes.Nick Pelly2011-02-012-120/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is it. I promise. ACTION_TECHNOLOGY_DISCOVERED -> ACTION_TECH_DISCOVERED This was missed in our technology->tech rename. Hide TagTechnology.reconnect() This is used to reset any per-connection state in a tag, by reconnecting to it. The first problem is that it belongs on Tag, not TagTechnology. The second problem is that it may become redundant once we add Tag.rediscover() which will also reconnect to the tag, and will also return a new Tag with newly created technologies enumerated. And the third and most significant problem is that you can already achieve the same result by just calling close() followed by connect(). Hide Tag.createMockTag() This API cannot be used reliably. First it requires using int[] for the technology list, but those int constants are now hidden. Second it requires knowledge of the extras parcel used to fill technology specific data - also not public. Introduce TagTechnology.isConnected() Every child class already impelmented this, and given that connect() and close() are defined on the interface, then isConnected() should be there too. Modify Ndef.getType to return a string (not int) Allows more flexibility in adding new NDEF types. Current public strings are org.nfcforum.ndef.type1 org.nfcforum.ndef.type2 org.nfcforum.ndef.type3 org.nfcforum.ndef.type4 com.nxp.ndef.mifareclassic Add NdefFormatable.formatReadOnly() This allows you to make the tag read-only at the same time as performing format and write. It is important because we currently don't have any public API to re-enumerate a tag technology list after making a tag NDEF compatible, so you can't perform the format as a seperate step without physically removing the tag from field and returning it. Modify Readonly -> ReadOnly Make Tag class final Change-Id: Icf306aeb37b936ca3007e4868e99b6baceac4aff
* | | am 113834c5: Commit the final API for level 10.Jeff Hamilton2011-01-311-0/+2128
|\ \ \ | |/ / | | | | | | | | | * commit '113834c5ab30bfc554202d0f3144a662d77f2484': Commit the final API for level 10.
| * | Commit the final API for level 10.Jeff Hamilton2011-01-311-0/+2128
| | | | | | | | | | | | Change-Id: I56140f79ff599c1a9d03c0f53d700df402234bf1
* | | am d350dc04: Merge "API: Make close() throw an IOException." into gingerbreadNick Pelly2011-01-271-0/+6
|\ \ \ | |/ / | | | | | | | | | * commit 'd350dc0492fab3614749955f5dcf21ec1c522b24': API: Make close() throw an IOException.
| * | API: Make close() throw an IOException.Nick Pelly2011-01-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IOException on close() can be useful to indicate that in-progress transactions were canceled. I also audited all of our tech classes to make sure every function that needs to throw IOException does so. Change-Id: Iaa9c43d79d59ff85772d5c3e4b4d57a6fa8df4cf
* | | am eab0e97b: Merge "Clean up MifareUltralight API." into gingerbreadNick Pelly2011-01-271-10/+21
|\ \ \ | |/ / | | | | | | | | | * commit 'eab0e97bf0951057a0624cdde2f4bc5434ade0ac': Clean up MifareUltralight API.
| * | Clean up MifareUltralight API.Nick Pelly2011-01-271-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | o Some javadoc updates o writeBlock -> writePages (Block means something else in NFC Forum). o validate page offset Change-Id: Icae54db3397d57aaa451caaa86d56e8ba82507f2
* | | am c33acae9: Merge "Fix the build, proper current.xml." into gingerbreadJeff Hamilton2011-01-251-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'c33acae9060162c5d2c28613b71c3bb1e0ef4c1c': Fix the build, proper current.xml.
| * | Fix the build, proper current.xml.Jeff Hamilton2011-01-251-1/+1
| | | | | | | | | | | | Change-Id: I9b02206042c74fd5c329fe2b70ed2b6b91d41382
* | | am f126ad3b: Merge "Use classnames instead of ints for NFC techs." into ↵Jeff Hamilton2011-01-251-14/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | gingerbread * commit 'f126ad3b6484ef62eed202f1f49cc4557c0a3848': Use classnames instead of ints for NFC techs.
| * | Use classnames instead of ints for NFC techs.Jeff Hamilton2011-01-251-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | This makes the system more flexible and allows adding new technology types without having to update the API. Change-Id: Iaee6b633965e501a70e8afc3f1d54d9d94a4d05a
* | | am c896d85c: Merge "Add operands to mifare classic increment, decrement." ↵Nick Pelly2011-01-231-0/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | into gingerbread * commit 'c896d85c15d8a6c98c93df57d88481b89eb878f5': Add operands to mifare classic increment, decrement.
| * | Add operands to mifare classic increment, decrement.Nick Pelly2011-01-231-0/+4
| | | | | | | | | | | | Change-Id: Ib35f615142bda48a5e33888a09ebae2880624788
* | | am da01b4ab: Merge "Make MifareClassic methods more consistent." into ↵Nick Pelly2011-01-231-81/+43
|\ \ \ | |/ / | | | | | | | | | | | | | | | gingerbread * commit 'da01b4abb817fcebdf33c27aaa6a1ac4a61beee0': Make MifareClassic methods more consistent.
| * | Make MifareClassic methods more consistent.Nick Pelly2011-01-231-81/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove method overloading for combinations of sector+block addressing. Instead provide methods that more closly match the raw commands, and more efficient helpers to convert between blocks and sectors. o fix off-by-one bug in getBlockCountInSector() o add BLOCK_SIZE o remove DESFIRE not operating in classic emulation (SAK 0x20) o hide isEmulated(), there is no use case, and the info is available elsewhere o getTotalBlockCount() -> getBlockCount() o getBlockCount(int) -> getBlockCountInSector(int) o introduce blockToSector() and sectorToBlock() o remove authenticateBlock() make it really clear that authentication is per sector, and reduce function explosion. blockToSector() allows you to use authenticateSector... o explicit authenticateSectorWithKeyA() / authenticateSectorWithKeyB() get rid of magic boolean o remove all (int sector, int block) parameters always address by absolute block. this makes the API crystal clear, and helps reduce function explosion o validation of all sector and block indices o dont & 0xff when converting to byte - its redundant o Remove TYPE_OTHER. Mifare Classic types are well-known and stable. Change-Id: I3c9f8254ff307f31b388b3d7592c862d5de6afa5
| * | API changes for NFC.Jeff Hamilton2011-01-211-137/+129
| | | | | | | | | | | | | | | Bug: 3366009 Change-Id: Ia28e03e1501421906b640b78d4c9a59a20e9c668
* | | API changes for NFC.Jeff Hamilton2011-01-211-137/+129
| | | | | | | | | | | | | | | Bug: 3366009 Change-Id: Ia28e03e1501421906b640b78d4c9a59a20e9c668
* | | am 11576102: Fix issue #3373438: Update GBMR versionsDianne Hackborn2011-01-201-0/+11
|\ \ \ | |/ / | | | | | | | | | * commit '11576102a9794ef964a08bc372dc09803f58997a': Fix issue #3373438: Update GBMR versions
| * | Fix issue #3373438: Update GBMR versionsDianne Hackborn2011-01-201-0/+11
| | | | | | | | | | | | Change-Id: Ic4b4f1b0534fd2fbd6322eae01a4cb9d5a67cc6f
* | | am b7d6ffd7: Merge "Change signature of MifareClassic.authenticate*() to ↵Nick Pelly2011-01-181-8/+39
|\ \ \ | |/ / | | | | | | | | | | | | | | | throw IOException." into gingerbread * commit 'b7d6ffd76f6c47af488494f5de9560ec490e8241': Change signature of MifareClassic.authenticate*() to throw IOException.
| * | Change signature of MifareClassic.authenticate*() to throw IOException.Nick Pelly2011-01-181-8/+39
| | | | | | | | | | | | | | | | | | Update API for this and the previous commit. Change-Id: I19275a5d00081bd0f00afea59a2b673344a32954
* | | am a701cf85: Implement IsoDep timeout handling (API).Martijn Coenen2011-01-181-0/+13
|\ \ \ | |/ / | | | | | | | | | * commit 'a701cf85a0167a6bb623343388a7dca6f2b61ac5': Implement IsoDep timeout handling (API).
| * | Implement IsoDep timeout handling (API).Martijn Coenen2011-01-181-0/+13
| | | | | | | | | | | | | | | | | | Added a method for setting the timeout on IsoDep transactions. Change-Id: Ie627e7a826556e46295fefe69b9be83ebf911d93
* | | am 0716ea14: Merge "Javadoc updates for NFC." into gingerbreadJeff Hamilton2011-01-181-201/+82
|\ \ \ | |/ / | | | | | | | | | * commit '0716ea144d94b9dfce4670e90a849db19a492da9': Javadoc updates for NFC.
| * | Merge "Javadoc updates for NFC." into gingerbreadJeff Hamilton2011-01-181-201/+82
| |\ \
| | * | Javadoc updates for NFC.Jeff Hamilton2011-01-181-201/+82
| | | | | | | | | | | | | | | | Change-Id: Ibd91829979576297599fbcc9eb8054924af1d527
* | | | am 3a223404: Merge "New APIs for NDEF Push Protocol." into gingerbreadJeff Hamilton2011-01-181-1/+29
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '3a223404e7589831a901cb16c5ce97685bc1f3f8': New APIs for NDEF Push Protocol.
| * | | Merge "New APIs for NDEF Push Protocol." into gingerbreadJeff Hamilton2011-01-181-1/+29
| |\ \ \ | | |/ /
| | * | New APIs for NDEF Push Protocol.Jeff Hamilton2011-01-171-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NPP is only usable by the foregorund activity to prevent dispatching confusion on the far end. Change-Id: I08475a52083fd7f81b79b7fe2faf4e126121a809
* | | | am 524133cc: Remove API that snuck into MockPackageManagerKenny Root2011-01-173-45/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '524133cc793b5e372cc97c62653281605f57b5b3': Remove API that snuck into MockPackageManager
| * | | Remove API that snuck into MockPackageManagerKenny Root2011-01-173-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We didn't release the get/setPackageObbPath API, but it snuck into MockPackageManager. However, it is not usable as a developer anyway. Removing it so it doesn't stay in the API forever. Change-Id: Ia569754691dc3a9f2672c1f25e4e08d780db6028
* | | | am 34d2b41e: Revert "Add the {get,set}PackageObbPaths calls to API"Kenny Root2011-01-171-56/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '34d2b41e48281d1df2c844e004740f008e699093': Revert "Add the {get,set}PackageObbPaths calls to API"
| * | | Revert "Add the {get,set}PackageObbPaths calls to API"Kenny Root2011-01-171-56/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6c4d904851772313930f800ac7c323cf90c709bb. Going with a different tactic that doesn't dump stuff on PackageManagerService. Bug: 3214719 Change-Id: I0bbeccf3c21d264deda4256eb53713d2c98284f4
* | | merge 83fdc69e from gingerbread - do not mergeJean-Baptiste Queru2011-01-141-0/+379
|\ \ \ | |/ / | | | | | | Change-Id: Ib1e9e12244a44f75a93d66142e71915de6386680
| * | Merge "Squash commits of the following patches, cherry-picked from other ↵James Dong2011-01-141-0/+379
| |\ \ | | | | | | | | | | | | branch - do not merge." into gingerbread
| | * | Squash commits of the following patches, cherry-picked from other branch - ↵James Dong2011-01-121-0/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do not merge. o Prepare for publishing MediaMetadataRetriever as public API step one: o replaced captureFrame with getFrameAtTime o removed getMode o Replace MediaMetadataRetriever.captureFrame() with MediaMetadataRetriever.getFrameAtTime() as part of the preparation for publishing MediaMetadataRetriever as public Java API o Remove captureFrame from MediaMetadataRetriever.java class It has been replaced by getFrameAtTime() method o Replace extractAlbumArt() with getEmbeddedPicture() in MediaMetadataRetriever.java o Publish MediaMetadataRetriever.java as public API o Removed setMode() methods and related mode constants o Removed some of the unused the metadata keys o Updated the javadoc o part of a multi-project change. bug - 3309041 Change-Id: I2efb6e8b8d52897186b016cb4efda6862f5584c4
* | | | am a788a943: Merge "Do Not Merge: Expose insecure rfcomm Bluetooth API." ↵Jaikumar Ganesh2011-01-141-0/+32
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into gingerbread * commit 'a788a9430956dabbc1387e5cccc15f9f41639c95': Do Not Merge: Expose insecure rfcomm Bluetooth API.
| * | | Merge "Do Not Merge: Expose insecure rfcomm Bluetooth API." into gingerbreadJaikumar Ganesh2011-01-141-0/+32
| |\ \ \
| | * | | Do Not Merge: Expose insecure rfcomm Bluetooth API.Jaikumar Ganesh2011-01-141-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This complements the secure rfcomm API. The link key is unauthenticated and is subject to MITM attacks. The link key may be encrypted depending on the type of Bluetooth device. This helps apps which don't need the extra security or have their own security layer built on top of the rfcomm link. Bug: 3352266 Change-Id: I633fd0372e5e23288d6fec950dd1abc2896031f1
* | | | | am 52d3203e: Add dispatching overrides for foreground apps.Jeff Hamilton2011-01-131-0/+30
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '52d3203ef69d4babbc4dd030a15c08c0b8d1d226': Add dispatching overrides for foreground apps.
| * | | | Add dispatching overrides for foreground apps.Jeff Hamilton2011-01-131-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apps can register to override the default dispatching but only when they're in the foreground. Change-Id: I8e9a9254d3f79f097fb3c8c677d806043574ba4d
* | | | | am 61d9ffbf: Merge "Do not merge." into gingerbreadWei-Ta Chen2011-01-131-1/+151
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '61d9ffbfd86dfe6bacce431b8ed9eebe1cfd8178': Do not merge.
| * | | | Merge "Do not merge." into gingerbreadWei-Ta Chen2011-01-131-1/+151
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Do not merge.Wei-Ta Chen2011-01-111-1/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport changes related to BitmapRegionDecoder from HoneyComb to Gingerbread. Bug: 3309014 //////////////////////////////////////////////////// This is a combination of 7 commits. Revert "Do not merge." This reverts commit f7681f84918c27f6a626681ce37ed2a236c44e82. Change-Id: I46fd710600b1649773eaea2d9abc2b21a592f9a6 Fix a initialization bug in BitmapRegionDecoder. Change-Id: I6c1151fd34970a84d4de52d664d9a5dc464892c5 Fix segfault when tring to throw IOException. Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f Fix 3122139, where previewing an attachment for the second time will fail. Use AutoFDSeek to mark and restore the position before we read data from the descriptor. Change-Id: I3d4f012dce486e19b113bc90a98b94031cfa8195 Add inPreferQualityOverSpeed into BitmapFactory.Options. The new field allows a developer to use a more accurate by slightly slower IDCT method in JPEG decode. This in turns improves the quality of the reconstructed image. The field by default is not set and thus does not affect existing applications. Bug: 3238925 Change-Id: I93d55b7226e47a43e639325cd1a677694d6f2ee4 Unhide inPreferQualityOverSpeed in BitmapFactory.Options. The new field allows a developer to use a more accurate by slightly slower IDCT method in JPEG decode. This in turns improves the quality of the reconstructed image. The field by default is not set and thus does not affect existing applications. Bug: 3238925 Related changes: https://android-git.corp.google.com/g/#change,83291 and https://android-git.corp.google.com/g/#change,83294 Change-Id: I969f5c413f9b2179454aeb90e18ae8222ee583b4 Correct the API comments. BitmapRegionDecoder supports PNG as well.
* | | | | am e8c04db7: Merge "Add the {get,set}PackageObbPaths calls to API" into ↵Kenny Root2011-01-121-0/+56
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | gingerbread * commit 'e8c04db71e347396e9537ead7113ba9f46706e44': Add the {get,set}PackageObbPaths calls to API