lwuit
  1. lwuit
  2. LWUIT-436

improvement to the new flatten option of component

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: current
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Hi,

      i think you should add a static method to component to set the default value of this variable flatten (i see there is an option to initialize it UIBUILDER but i assume its for each compoenent seperatly + i never used UIBUILDER and i guess others who like to build their UI with code also)
      the reason for this request is that for highend platforms which have alot of heap memory (such as bb,symbian,android etc) you dont want to set this individually for every component and obviously you prefer the speed of heap space which is why this variable was created, so to have this as an option to do a one line enhancment and make your app run faster with out alot of hassle.

        Activity

        Hide
        vprise added a comment -

        Regardless of the amount of memory flatten must not be used on all components or even most of them. Even when it works the benefit is roughly in the 30% area.
        Recent improvements to EncodedImage do much more for the performance of UI's than flatten, to such an extent that we might even remove that feature.

        Show
        vprise added a comment - Regardless of the amount of memory flatten must not be used on all components or even most of them. Even when it works the benefit is roughly in the 30% area. Recent improvements to EncodedImage do much more for the performance of UI's than flatten, to such an extent that we might even remove that feature.
        Hide
        tempusername added a comment -

        if you don't mind me asking why flattern must not be used on all/most components if i have infinite (say 256mb) memory?

        wasn't that the purpose of it? speed over memory?

        Show
        tempusername added a comment - if you don't mind me asking why flattern must not be used on all/most components if i have infinite (say 256mb) memory? wasn't that the purpose of it? speed over memory?
        Hide
        vprise added a comment -

        It removes translucency and effectively creates an entirely opaque UI.

        Show
        vprise added a comment - It removes translucency and effectively creates an entirely opaque UI.

          People

          • Assignee:
            Unassigned
            Reporter:
            tempusername
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: