aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2016-09-29Media samples fixitYuichi Araki
Fix lint errors in some media samples. Change-Id: I00708b09d93388656926229e6b1065f4ca6c4210
2016-01-19MediaRecorder: Merge a pull requestMykhailo Shchurov
https://github.com/googlesamples/android-MediaRecorder/pull/3 Considered Camera.getSupportedVideoSizes(), handled exception on MediaRecorder.stop() Change-Id: Ie758fa9724fed1b2dc2f6cc1de9b609eb0dbaaad
2015-08-26MidiSynth: Add a new sampleYuichi Araki
Bug: 21693466 Change-Id: Ib6a7c0802e46e2f5feefa0b31b94dea5cad367d7 (cherry picked from commit b8f8c1d198d7ed3434289625668bad296de4794b)
2015-08-17MidiScope: Add a sampleYuichi Araki
This brings back MidiScope that was deleted in order to resolve a merge conflict. Change-Id: I027d53ad57eea89827d486918c0000af5521d463
2015-08-05Revert "MidiScope: Add a new sample"Yuichi Araki
This reverts commit 0576649c525875b2178f159ae1af993409d25d7c. Change-Id: Iac551f56e4df82d80dd890bdc6fc4d17963b1eee
2015-08-03MidiScope: Add a new sampleYuichi Araki
Bug: 21693466 Change-Id: I398b6330cb739c6cadae1c3abd52a4d75edb1d3b
2014-02-13am 8cb9846e: am 535fde45: Fix possible infinity loop in ag/417350Chris Banes
* commit '8cb9846e57aac090eb78dae0fcaff14e9ae56be5': Fix possible infinity loop in ag/417350
2014-02-12Fix possible infinity loop in ag/417350Chris Banes
ag/417350 is a cherry pick of the merged CL ag/416106 which is why this is in klp-dev. I will cherry pick this into klp-docs after it has been merged. Change-Id: Ifcf1fc901acd73ad9ccfef789b73cd5a62a6302c
2014-02-11am 75781ee0: am e8362a50: Add randomList() method to Cheeses dummy data classChris Banes
* commit '75781ee0b837cff56da8454975bcbc9eed7ab1d5': Add randomList() method to Cheeses dummy data class
2014-02-10Add randomList() method to Cheeses dummy data classChris Banes
Change-Id: If0bc908360f3509928001ffdb0e8ee9758c0168a
2014-02-06am bb5698a5: am a7fee0bb: Merge "SlidingTabLayout common component" into klp-devTrevor Johns
* commit 'bb5698a5b6a159e6f4253fb53aeced867aaefc5b': SlidingTabLayout common component
2014-02-06Merge "SlidingTabLayout common component" into klp-devTrevor Johns
2014-01-14am a45207bb: am 4e2f6037: Merge "ListViewModalSelect Sample: Move to new ↵Trevor Johns
build system" into klp-dev * commit 'a45207bb9e1dd8dfb467a1f8adcf5fecdbaf07a7': ListViewModalSelect Sample: Move to new build system
2014-01-14Merge "ListViewModalSelect Sample: Move to new build system" into klp-devTrevor Johns
2014-01-06SlidingTabLayout common componentChris Banes
To be used with ViewPager to provide a tab indicator component which give constant feedback as to the user's scroll progress. Samples to come tomorrow. Change-Id: I8f4cc532fb4c0e6a9bdbadf8aed641b0ef07e9be (cherry picked from commit c42ce80a905dca0faf63c61f4fb5db39d037cb1d)
2013-12-30am 0b49cffe: am a57f444c: Add AssetProvider to common dirctoryTrevor Johns
* commit '0b49cffeb519e9b652ed086b919e61e30bd79f80': Add AssetProvider to common dirctory
2013-12-30Add AssetProvider to common dirctoryTrevor Johns
This is a basic ContentProvider which will serve any files located in an application's assets directory. Change-Id: I7b7fa13bc58d48178bef7c94e16dba6348864eca (cherry picked from commit 72dfa39262bc1261d3dd413f137e4147fd14b939)
2013-11-18ListViewModalSelect Sample: Move to new build systemTrevor Johns
Migrate ListViewModalSelect to new templatized build system for conformity with other samples. Also moved common/actionbarcompat and common/dummydata to new template-visible common directory. (Re-created change to account for recent ActionBarCompat rename.) Change-Id: Id0fcc987410f40bf187d5d5f445ac2e1819bb39e
2013-11-04Add "throws IOException" to MediaCodec constructors (11)Andy Hung
Change to add "throws IOException" to android.media.MediaCodec (createByCodecName|createDecoderByType|createEncoderByType). The exception was previously thrown through the native JNI, but not explicitly declared. Requires changes to existing code for declaration compatibility. Bug: 11364276 Change-Id: Idb37e0bd97bfcef3f0951efcad3c7cce4d9c5758 Signed-off-by: Andy Hung <hunga@google.com>
2013-10-30Restore "Merge downstream branch 'developers-dev' into 'klp-dev'"Trevor Johns
This reverts commit ec985147ec781dfff9a229c6b794ee4eac0ced91.
2013-10-30Revert "Merge downstream branch 'developers-dev' into 'klp-dev'"Trevor Johns
Undoing recent merge to get a clean klp-dev samples release without template code. Will un-revert for followup release with templates after that build has been cut. This reverts commit bc6fe0f65025563ab50af193b099a8fca95ff0a2. Change-Id: Icd2b9772986de7c4978a92e7e22bb2c2cef20bd0
2013-10-28BasicMediaDecoder: Use new build systemTrevor Johns
Migrate BasicMediaDecoder to use new templatized build system for conformity with other samples. Also moved common/src/com/example/android/common/media to common/src/java/com/example/android/common/media, in order to make it visible to the template system. Change-Id: I11613d27bb61f45b92893cfd08b70f788fdc1fc1
2013-10-24Merge "Fix path issues in the repeating alarm sample" into developers-devIan Ni-Lewis
2013-10-23GenericAccountService: Allow arbitrary account typesTrevor Johns
Removed hardcoded account type from GenericAccountService, to support better reusability between projects. Change-Id: I95f0626cebceb097fa0136c85ac0ef998987b3a6
2013-10-23SelectionBuilder: Remove Guava-style initializersTrevor Johns
We don't want to use Guava in the samples, so we shouldn't use Guava-style initializers here. Change-Id: Ic3695c53f0108691414bcf7bba863009f77d52ca
2013-10-22Move SelectionBuilder to common/src/javaTrevor Johns
Change-Id: I637ce0b39c6a86feb000e3b50f764a7c3e70ed25
2013-10-22Move GenericAccountService to common/src/javaTrevor Johns
Change-Id: I3a430084450b1e2035d3a550c535962dc5901bb8
2013-10-22Fix path issues in the repeating alarm sampleIan Ni-Lewis
Change-Id: Id98cc78f523ea7785dda52cb57cb1439e773d761
2013-10-09Merge "Fixed LogView so it'll work when a log statement is called from a ↵Trevor Johns
non-UI thread." into developers-dev
2013-10-03moved to build system friendly commons locationAnirudh Dewani
Change-Id: I7cfc0d08a3d4669db5a660329bf7697bd31a5893
2013-09-26Fixed LogView so it'll work when a log statement is called from a non-UI thread.Alexander Lucas
Change-Id: I347e203fbb3b0ec5682712790e0f4deb1c735edf
2013-09-23Remove the build directory from samples/commonIan Ni-Lewis
Removing the build directory from samples/common in favor of platform/developers/build. Change-Id: I0f4fbba61669434fc441ffe3575e31f26c17ce15
2013-09-19Template: Move launcher icons to "create" dirTrevor Johns
Launcher icons should be in the "create" template, rather than the "base" template. This allows downstream projects to override their launcher icons with custom artwork. Change-Id: Ic26b782ff094b1b17bd05e0e1d5bd4979ba94040
2013-09-12Basic Media Decoder sample that builds on a Utility class - ↵Anirudh Dewani
common/media/MediaCodecWrapper Change-Id: I23be233009ccc6ad1e5f1305d53bdf8f436451b6
2013-09-10am f022e163: am 86e6edc9: am d9470522: am 74b8afc4: am 0aa0c0af: ↵Anirudh Dewani
BasicMediaRecorder initial implementation * commit 'f022e1634c3e6c9a159eb18bddaed8c3347415c8': BasicMediaRecorder initial implementation
2013-09-09BasicMediaRecorder initial implementationAnirudh Dewani
Change-Id: I7be6b088ad651bc394ffe0ba61b42dfce0f73f5c
2013-09-09Sample templates: Fix reference for intro_messageTrevor Johns
The intro_message string comes from sample.strings.intro, not sample.intro. Change-Id: I944114341557008afc009fec0bcf8cbec7eead63
2013-09-06Sample templates: Fix @strings/intro_messageTrevor Johns
Move @strings/intro_message back from "SingleView" template to "base" template. Partially reverts changes from commit bcbb958aeb9ae6248f6f6865dca506be6d1a1bde. Change-Id: Iffa639a9334e3738ab6fd93985884ea46d43c614
2013-09-06Merge "Added SingleView template, and corresponding singleViewSample which ↵Ian Ni-Lewis
is powered by it" into developers-dev
2013-09-06Added SingleView template, and corresponding singleViewSample which is ↵Alexander Lucas
powered by it Change-Id: I606b667c49f2272d52ec48284fdd3798e562c128
2013-09-05am be497879: am 4e8e9d6f: am 5a321af7: Play Services UtilityAnirudh Dewani
* commit 'be4978794fb86b5fb8d24f53cb1b116e592da352': Play Services Utility
2013-09-05Play Services UtilityAnirudh Dewani
Change-Id: I415576f5ab5f81d2f9eb46f33fafdabf5c85fa8d
2013-08-02Sample template generator--work in progress.Ian Ni-Lewis
Placed template outputs in src/template instead of src/main Placed common files into src/common Added src/common and src/template to .gitignore Updated to Android tools .0.5.+ Fixed <common> tag handling In this patch set: the promised refactoring. All templating logic is now in separate plugin classes and all of the spaghetti and duplicate naming has been eliminated. No additional functionality or templates, sorry. However, it should be quite trivial to add extra templates. Instructions: 1. Run developers/samples/android/common/build/sample-create <path to new sample> 2. Load new sample in Android Studio, let gradle do its thing 3. Edit SampleManifest.xml -- you at least need to add another <template> tag for the specific template you want. 4. Rebuild and add classes as necessary to fix compile errors. To add your own template(s): Put code and/or Freemarker script into a subdirectory of developers/samples/android/common/build/templates. Change-Id: I43abbd337957b2eae5ffb844e411a5d3c91d6f44
2013-07-24am 7a328637: am c5198ac7: am db58c3d2: Make common/README.txt more succinctTrevor Johns
* commit '7a328637ab404dc0792f73c89aa234a3aa7fd6ce': Make common/README.txt more succinct
2013-07-24am 6e0f9e2c: am 058e14b8: am 06e33a0e: Merge "Update README for common ↵Trevor Johns
directory to be more user friendly" into jb-mr2-dev * commit '6e0f9e2c6d83567c9fecbaf059e10a403dadf404': Update README for common directory to be more user friendly
2013-07-23Make common/README.txt more succinctTrevor Johns
This will get copied into other samples, and I don't want to scare users away from the sample they're currently browsing. Change-Id: I6f86f29e4fd73abb44ada9df848a4e529df97527
2013-07-23Update README for common directory to be more user friendlyTrevor Johns
Change-Id: I75c92c5cf34650b1845fcb43e4b664a2b03a7a72
2013-07-22Merge "ActionBarCompat ListView Modal Choice Sample" into developers-devTrevor Johns
2013-07-19ActionBarCompat ListView Modal Choice SampleChris Banes
Change-Id: I444108211ec35d8b9e58437c3c39d61865613d64 Signed-off-by: Chris Banes <chrisbanes@google.com> (cherry picked from commit ff54b59b080340f3735432c61bbd671c84dbecea)
2013-07-18Move SelectionBuilder to common.Trevor Johns
Change-Id: I044a3edcc7d862b08a05b56594a8bd77c77ace10