GithubHelp home page GithubHelp logo

android's Introduction

TEMASEK

Official Notice

I have officially retired with effective 20 August 2016.

I thank those whom had supported me all these years.

I "may" continue just syncing cm sources until such day when CM goes into N.

Farewell ....

Download the Source

Please see the CyanogenMod Wiki for building instructions.

Initializing Repository

Repo initialization:

$ repo init -u https://github.com/temasek/android.git -b cm-13.0

sync repo :

$ repo sync

Temasek Bootanimation

Setting Aspect Ratio (TARGET_SCREEN_ASPECT_RATIO)

Modern devices have excellent screens and most if not all boot animations from source do not take advantage of this. Devices have a set aspect ratio such as 16:9, 16:10, etc based on their width and height We can take advantage of this to create high quality full screen boot animations Within your device tree either in cm.mk, device.mk, or for example hlte.mk (for Samsung Galaxy Note 3 International) you will have "TARGET_SCREEN_HEIGHT" & "TARGET_SCREEN_WIDTH" These numbers should correspond to things such as 720p, 1080p, 1440p, in lamens terms.

If so, your device is said to have a screen aspect ratio of 16:9 Under your TARGET_SCREEN_HEIGHT & TARGET_SCREEN_WIDTH values place the corresponding ratio as follows:

TARGET_SCREEN_ASPECT_RATIO := 16by9

(this will also work with 16:10) This is device independant in that it will choose the correct full screen bootanimation for either phone or tablet config

Further, the device requires a qualifier in the same location.

SCREEN_RATIO_PROPORTIONATE := true

This line is used as a conditioner flag, which allows the full screen boot animations to be seperated, allows to have more than 1 aspect ratio and not clutter up vendor with multiple ifeq statements that are for the same thing.

This condition flag will essentially 'turn on' the full screen boot animation and the TARGET_SCREEN_ASPECT_RATIO flag will tell the build from what ratio the boot animation will be selected from.

Credits

Google for the Android source code. CyanogenMod, in which this source layout was used as a starting point for me. Everyone in crDroid, AOSPA, CyanogenMod, OmniROM, SlimROM, LiquidSmooth, SpasilliumNexus, DirtyUnicorns, NamelessROM, AICP, Euphoria-OS, TeamBliss, PAC and anyone else I forgot to mention for their commits.

Special mention - Cristiano Matos (crDroid)

PartimusPrime - Official bootanimation creator for temasek builds (CM11/CM12)

Contributors - Khaon, neobuddy89, rogersb11 (Brett Rogers)

android's People

Contributors

rmcc avatar temasek avatar hyperb1iss avatar ryzenforce990 avatar koush avatar mikeng avatar intervigilium avatar zdrowygosciu avatar ciwrl avatar ctso avatar arter97 avatar euclidgeo avatar invisiblek avatar kali- avatar 0xd34d avatar tdmcyngn avatar tomgiordano avatar romanbb avatar jruesga avatar chirayudesai avatar championswimmer avatar cretin45 avatar zwliew avatar delphij avatar slayher avatar tpruvot avatar rashed97 avatar npv0 avatar greniaz avatar scintill avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.