Skip to content
Commits on Jun 4, 2013
  1. @cyanogen @task650

    provide overrides for hwui memory limits for xxhdpi phones

    cyanogen committed with task650 Jun 3, 2013
    Change-Id: I7aee243673bb824a3197c90e04b77017039a92c3
    Signed-off-by: task650 <task650@gmail.com>
Commits on Jun 1, 2013
  1. @Whitehawkx

    Abort surface composition if hw surface is invalid

    Michael Chock committed with Whitehawkx Mar 4, 2013
    If an invalid display device is detected during surface composition
    (e.g., a simulated secondary display is removed), abort the
    composition.
    
    Change-Id: Ia6afb2e287882d8ae0614eb25463d3f85b687adf
  2. @Whitehawkx

    fix mem leak on error handling

    Hyejin Kim committed with Whitehawkx Mar 9, 2013
    Change-Id: I40d8e371c46184aa701fa676246201a9d8f6e27d
Commits on May 28, 2013
  1. @kufikugel @akellar

    Frameworks_native: TRDS 2.0 (2/3)

    kufikugel committed with akellar May 24, 2013
    After testing with huge success we discovered here
    and there small problems (like NFC beam animation is broken,
    TRDS was disabled on cardock etc) which mainly was caused
    due that we used the already from AOSP introduced uiModes
    qualifier which could cause in special conditions this
    conflicts. Beside that we want a bit more flexibility.
    Result: This commit introduces the inverted qualifier as
    complete own qualifier undependent of the already AOSP
    used ones.
    
    Beside that it fixes all known issues......features:
    
    - it is now completly working over the AOSP Configuration classes
      Means every app get notice of a change trough onConfiguratioChange
      and restarts it's activity if change was detected.
    - app can disable that like some other configuration values
      over AndroidMainfest.xml
    - beside "inverted" folder another "notinverted" folder is introduced
      for another themeing (eg white)
    - qualifier order is direct before the official uiMode qualifiers
      (see AOSP docs)
    - All usual Configuration actions can be used with the inverted
      qualifiers....like BroadcastChange, direct read out from every
      app etc. etc. Note: Only system can change the uiInvertedMode
    
    So as you see a real own qualifier now
    
    NOTE: Apktool as well aapt need to be changed to fit the "new
    qualifier"....which means that we need to recompile our gapps
    that they react as well on this new behaviour. Think we will get them ready
    next 2 or 3 days.
    
    Change-Id: Ic538219fe86bb7a1f92c3eb9f44057cb249dcbe6
Commits on May 21, 2013
  1. @cyanogen @task650

    Add heap configuration for 1080p phones with 2048m

    cyanogen committed with task650 May 17, 2013
     * Increase heap start size to 16m to minimize GC with larger bitmaps
    
    Change-Id: I8fbba2e5a2a2cf2d7a6898ca6bae8639d6cf5a19
Commits on May 14, 2013
  1. @sethyx

    Merge "Squash Dark UI commits from Slim" into jb-mr1

    sethyx committed with Gerrit Code Review May 14, 2013
Commits on May 6, 2013
  1. @kufikugel @akellar

    Squash Dark UI commits from Slim

    kufikugel committed with akellar Mar 9, 2013
    Frameworks native: Add new configuration qualifier for UI change on the fly (2/3)
    
    last night I got an idea after 5 weeks of breaking stuff and
    doing to much complicated things. Together with mnazim we tried
    today to realize this idea. So another absolut new unique SlimBean
    feature is born.
    
    The aim we wanted at the end was to give a simple and resource friendly
    way to change the complete UI of a rom on the fly. So why not use
    the great fallback mechanism of AOSP and change/add a new
    qualifier into the AOSP core. To explain how it works.....if you want
    to add a new UI just add in /res folder of any app or framework you want
    folders with the qualifier "inverted". Eg. drawable-inverted-xhdpi
    or values-inverted or layout-port-inverted or whatever you want. Put in
    only the files you want to modify thats it.
    
    All qualifier in AOSP are following strict rules. You can read here.
    Do not forget the order of qualifier is important. The new "inverted"
    qualifier we added to the UIMode qualifier. To get more information
    about read here
    
    http://developer.android.com/guide/topics/resources/providing-resources.html
    
    So what this commit does:
    - add new qualifier "inverted"
    - support for API level 13 and higher
    - change the custom UI on the fly
    - control default UI Mode over config.xml
    - working for all apps. They just need to include folders
      with the new qualifier name
    - resource friendly....no resource wasting either programmticaly
      then source blow, because you just need to put in the files you
      want to change
    - cause of the qualifier structure compatible with every phone,
      language or whatever qualifier you want to use on top
    - 100% compatible to theme manager. If a theme misses drawables
      they are replaced with them from the current UIMode which is set.
    
    What is the benefit why not use just a theme? We started half year
    ago TRDS which was inverted gapps system base themed....means we
    morphed directly the changes into the framework. This methoed was
    on of the reasons why trds got so popular. Points for that are easy
    first the system is themed, means each theme you activate over
    theme engine works on top the themed system. So you have a base
    style and can modify more if you want. The other reason is easy
    a lot faster and resource friendly. Now this idea went to the
    rom to provide two core system based themes and user
    can do on top what they want or not without, like you have
    to roms in one.
    
    This commit just adds the support for this
    
    cheers
    
    mnazim and kufikugel
    
    Change-Id: I8d6637f81f3a3263ebc43f67e824cfda910df9db
    
    Frameworks_native: TRDS new qualifier push up qualifier number (2/2)
    
    Hey guys,
    
    after this feature is working really well and a lot roms kanged
    it we got a hint to change one thing which is indeed a good
    idea to have less problems on AOSP updates and tools like
    Apktool can provide us better without doing major changes every
    AOSP update.
    
    We pushed the number up to 69.....should be enough for
    next years.
    
    Please note for the one who are using our gapps at the moment
    this will break actuall gapps till we published the new one
    which will be end this week as usual.
    
    After that we will begin to publish the apktool after we had
    now enough tests....and who knows maybe the "official" Apktool
    will provide us all now. So all in all a good time to change
    the qualifier now before it is getting more and more
    popular (we saw that first themes are providing us)
    
    cheers
    
    Lars
    
    Change-Id: I8253a8a2302032aac8f4b2ea3ca835a1ecf231a5
Commits on May 1, 2013
  1. @tiny4579 @Whitehawkx

    build/phone-xhdpi-1024-dalvik-heap.mk Revert AOSP heapgrowthlimit cha…

    tiny4579 committed with Whitehawkx Apr 25, 2013
    …nge from 64 to 96
    
    This reverts part of AOSP change at
    
    https://android.googlesource.com/platform/frameworks/native/+/c84e9844d621223d14178be521
    
    Possible performance issues have arisen because of it. Discussion at
    
    http://code.google.com/p/android/issues/detail?id=40961
    
    Patch Set 2: Clean up commit message
    
    Change-Id: Id7e3324607f92553a98e4d47da58a322e4fba657
Commits on Apr 21, 2013
  1. @Whitehawkx

    Gfx-3d: fix GetProcAddress in egl extention

    luliuhui committed with Whitehawkx Aug 30, 2012
    This patch can fix issue when Proc address return NULL.
    Glbench10, egl-ext and conformance test need this patch to run pass.
    
    Change-Id: I275c7cb6f77cb334c3ee7fa23cd696bba1c5a458
    Author: Liuhui Lu <liuhui.lu@intel.com>
    Signed-off-by: Shuo Gao <shuo.gao@intel.com>
    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    Signed-off-by: Jack Ren <jack.ren@intel.com>
    Author-tracking-BZ: 52622
  2. @android-x86 @Whitehawkx

    DisplayDevice: initialize mDisplayToken correctly

    android-x86 committed with Whitehawkx Jan 7, 2013
    mDisplayToken should be initialized by displayToken.
    
    Change-Id: I0a5fec1f1732200a32d10b1575239dceffe6dee4
Commits on Mar 31, 2013
  1. @rdeva31 @sethyx

    native: Add custom 32-aligned NV12 colorformat

    rdeva31 committed with sethyx Aug 23, 2012
    Change-Id: If00faad5b155e8be70ffb48b01992bdf86165dc8
Commits on Mar 27, 2013
  1. @Whitehawkx

    Merge "FM Radio: Add support for FM Radio in Android" into jb-mr1

    Whitehawkx committed with Gerrit Code Review Mar 27, 2013
Commits on Mar 25, 2013
  1. @arco @Whitehawkx

    Don't use fence sync for qcom legacy

    arco committed with Whitehawkx Mar 23, 2013
    Change-Id: Ice64233a25edee763a36a3ba34230d1360a0d610
  2. @Whitehawkx

    ui: Allocate the custom buffer size in the failure case also

    Naseer Ahmed committed with Whitehawkx Mar 5, 2013
    The custom buffer size was not being honored if memory allocation
    failed in the first pass.
    Also - removing an unnecessary check.
    
    Change-Id: Ie501b2dda3843454405fec05fc898fec5912bd06
Commits on Mar 23, 2013
  1. @freexperia

    FM Radio: Add support for FM Radio in Android

    freexperia committed with ChampionSwimmer Jan 16, 2013
    moved permissions to frameworks/native
    
    Change-Id: I27ded70f7bc116a1b1c9cff2383c4899afe746ec
Commits on Mar 11, 2013
  1. @Whitehawkx

    libgui: Add support to update buffer geometry.

    Ramkumar Radhakrishnan committed with Whitehawkx Nov 6, 2012
    Add native window properties NATIVE_WINDOW_UPDATE_BUFFERS_GEOMETRY
    to the perform function of SurfaceTextureClient and SurfaceTexture
    to update the width, height and format of the buffer dynamically
    from the client before queue buffer call.
    
    Change-Id: I62447fcf523b507d534085cd0835f55a978c4ead
  2. @Whitehawkx

    Add support for custom buffer sizes.

    Ramkumar Radhakrishnan committed with Whitehawkx Nov 7, 2012
    Add native window properties NATIVE_WINDOW_SET_BUFFERS_SIZE to the
    perform function of SurfaceTextureClient to set the user defined size
    of graphic buffers.
    
    Change-Id: I1dc2203990a3641fbb9ddab9a86f7e9017f05270
Commits on Mar 6, 2013
  1. @cyanogen @task650

    Revert "SurfaceFlinger: Change to support framebuffer flip for 2D bli…

    cyanogen committed with task650 Mar 6, 2013
    …tters"
    
    This reverts commit f442ef1.
  2. @task650

    Reset the FrameNumber for dropped frame in async mode

    Naomi Luis committed with task650 Feb 25, 2013
    In Async, reset the framenumber of frames dropped by the BufferQueue.
    This allows the client to dequeue and use this frame before the other
    queued frames which may be with the MDP.
    
    CRs-fixed: 448606
    Change-Id: Icaabf77b55a7275dc98ba1fdfba89508feb92145
Commits on Feb 15, 2013
  1. @Whitehawkx

    fix build

    Whitehawkx committed Feb 14, 2013
    *missing from 4.2.2 merge
    
    Change-Id: I1dd9710d41a2d2fb0a8a326a4d64cc6987706eef
    Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Commits on Feb 14, 2013
  1. @MarcLandis

    Merge tag 'android-4.2.2_r1' into HEAD

    MarcLandis committed Feb 14, 2013
    Android 4.2.2 release 1
    
    Conflicts:
    	libs/ui/GraphicBufferAllocator.cpp
Commits on Feb 8, 2013
  1. @cyanogen @Whitehawkx

    libgui: Use fences for all QCOM targets

    cyanogen committed with Whitehawkx Feb 1, 2013
    Change-Id: I32d6d8c8c06a2541aa655fb8f2a99c2c0ac0f64b
  2. @chirayudesai @Whitehawkx

    SurfaceComposerClient: bring back getDisplayWidth, Height & Orientation

    chirayudesai committed with Whitehawkx Dec 29, 2012
    enable it with either ICS_CAMERA_BLOB or MR0_CAMERA_BLOB CFLAG
    
    Change-Id: Ieb5d36ad2a87ed1f0aa28ae3afbd5d48c880d6ab
  3. @Whitehawkx

    SurfaceFlinger: Change to support framebuffer flip for 2D blitters

    Arun Kumar K.R committed with Whitehawkx Dec 19, 2012
    - Surfaceflinger does not flip framebuffers when there are
      no layers marked for HWC_FRAMEBUFFER
    - This change checks for the HWC_BLIT flag and will request a flip
      to a new FB_TARGET buffer even if there are no FRAMEBUFFER layers
    
    Change-Id: I1cb44389a05c9ec049d7f0d39c288feccb11a91c
  4. @Whitehawkx

    JB_MR1: native/libs/ui: Adding fix for conf 2.0 seg faults

    Vishrut Shah committed with Whitehawkx Jan 7, 2013
    function call to cancelBuffer was resulted in seg-faults on conf 2.0.
    Setting function pointer of cancelBuffer to null in order to select
    correct path of execution.
    CRs-fixed: 383715
    
    Change-Id: I6de8355febaea86ded63f33a582c787fef862193
Commits on Jan 27, 2013
  1. @rmcc @Whitehawkx

    ui/sf: Add support for exynos HDMI

    rmcc committed with Whitehawkx Dec 30, 2012
    Change-Id: I27b34e95c04750e3dd321a2183b6cc1d89f29b5d
Commits on Dec 19, 2012
  1. @BuzzBumbleBee @Bajee11

    Add setOrientation back

    BuzzBumbleBee committed with Bajee11 Nov 29, 2012
    	this is needed for some tegra ICS and JB_MR0 prebuilts
  2. @mkasick @Bajee11

    dumpstate: Squash fixes from CM 10.0

    mkasick committed with Bajee11 Oct 31, 2012
    commit ba3723de8d13126027706bbbe6f9657da231b9bd
    Author: Mike Kasick <mike@kasick.org>
    Date:   Wed Oct 31 20:31:05 2012 -0400
    
        dumpstate: Fix calls to su to specify a shell command
    
        Superuser's su requires that shell commands be specified with the "-c"
        option.  Fix calls to su to explicitly specify this option.
    
    commit 78cd73fce82fd0b5ee98a6136c847932ba8c636b
    Author: Mike Kasick <mike@kasick.org>
    Date:   Wed Oct 31 18:53:58 2012 -0400
    
        dumpstate: Skip subsequent showmaps if the first run fails.
    
        dumpstate takes over six minutes to run as each call to "su" (which
        dumpstate uses opportunistically on states that require root privileges to
        access) takes approximately one second to process.
    
        The vast majority of these "su" calls are made to "showmap", which is
        called for every running process.  These calls nearly always fail, either
        because dumpstate is denied root access, or because "showmap" isn't
        installed.
    
        This greatly speeds up the dumpstate process by skipping subsequent
        "showmap" attempts if the first run (on process init) fails.
    
    Change-Id: Ibdfa996afff541dc30251da7ab01ac4987ae2ebc
  3. @rmcc @Bajee11

    Revert "remove support for HWC < 1.0"

    rmcc committed with Bajee11 Nov 22, 2012
    This partially reverts commit 30bcc61
    and updates to the current API. Tested on 0.1 blobs from Tegra2/3
    and OMAP3/4
    
    Change-Id: I43cee8852b266d68d1edefbe7ac988b9dbcf7227
  4. @codeworkx @Bajee11
  5. @Hashcode @Bajee11

    surfaceflinger: odd hw rotation (90/270) patch for swapping width/height

    Hashcode committed with Bajee11 Dec 10, 2012
    This patch works in addition to the following commit
    re-implementing ro.sf.hwrotation:
    CyanogenMod/android_frameworks_native@7d28343
    
    When using values of 90 and 270 for ro.sf.hwrotation the
    LCD width and height also need to be swapped to display properly.
    
    NOTE: This patch does not fix the initial startup of bootanimation
    
    Change-Id: Iab9de66348967a378dd73a41bc96d632f750386c
    Signed-off-by: Hashcode <hashcode0f@gmail.com>
  6. @Entropy512 @Bajee11

    DisplayDevice: Backwards compatibility with old EGL

    Entropy512 committed with Bajee11 Dec 10, 2012
    From 4.1 to 4.2, the display subsystem was reworked to
    use SurfaceTextureClient/BufferQueue instead of
    FramebufferNativeWindow for the framebuffer itself.
    
    Unfortunately, some legacy EGL libraries make assumptions
    that any framebuffer device will be FramebufferNativeWindow.
    
    These EGL libraries will fail when used in 4.2 as if the
    framebuffer is not FramebufferNativeWindow, they will
    try to dequeue more than one buffer at a time, which
    will cause a hang of the graphics subsystem.
    
    This allows use of FramebufferNativeWindow to keep
    legacy EGL implementations happy.  Confirmed EGL
    implementations that need this include but are
    not limited to:
    
    Set BOARD_EGL_NEEDS_LEGACY_FB to use
    
    Tegra2/3 ICS EGL
    Mali400 ICS EGL (Allwinner A10)
    Mali400 Jellybean (4.1) EGL (Samsung Exynos4)
    
    Original implementation by OndraOrg of XDA:
    http://forum.xda-developers.com/showpost.php?p=34469675&postcount=19
    
    Change-Id: I74005cf6753b3c9bfb4c1e32fb641f5167787917
  7. @pawitp @Bajee11

    Sensor: Add RotationVectorSensor2

    pawitp committed with Bajee11 Dec 5, 2012
    (ported from 4.1)
    
    Some ICS apps (namely, Google Maps) expects a rotation vector to be
    available. Newer devices, this is provided by either Android's
    sensor fusion (requires Gyro) or by hardware sensor fusion (MPL).
    
    Older devices will lack this virtual sensor and compass in Google
    Maps will not work. To fix this, we can provide our own rotation
    vector sensor by converting the values from the orientation sensor.
    (They are basically the same information in different formats.)
    
    Thanks to Unhelpful for the help with related math.
    
    Change-Id: I39489b3a5ce7c7d890768614357f32cc491bd6d9
  8. @codeworkx @Bajee11

    libui: exynos4: apply FIMC usage flag on format HAL_PIXEL_FORMAT_YCbC…

    codeworkx committed with Bajee11 Dec 3, 2012
    …r_420_SP_TILED
    
    Change-Id: I8a98e593cb60d0843e83a5e431142410e26d82e7
  9. @codeworkx @Bajee11

    GraphicBuffer: exynos4: set FIMC1 usage bit on samsung specific formats

    codeworkx committed with Bajee11 Nov 27, 2012
    Change-Id: Ia8cde7e594f8be464ef15eaae453872ee5aa2768
Something went wrong with that request. Please try again.