What exactly are unscaledWidth and unscaledHeight in mobile item renderers?

Hello,
What exactly are unscaledWidth and unscaledHeight that get passed to the measure() method for a mobile item renderer?
I am guessing renderers start at  "default" width and height (so unscaled) which get scaled based on DPI. Is that it?
Thank you.

measure() doesn't take any parameters so I assume you mean the layoutContents() and/or drawBackground() methods.
If you look at the code in LabelItemRenderer (and MobileSkin) for updateDisplayList() you'll see that it just delegates the work to the drawBackground() and layoutContents() methods:
    override protected function updateDisplayList(unscaledWidth:Number,
                                                  unscaledHeight:Number):void
        // clear the graphics before calling super.updateDisplayList()
        graphics.clear();
        super.updateDisplayList(unscaledWidth, unscaledHeight);
        drawBackground(unscaledWidth, unscaledHeight);
        layoutContents(unscaledWidth, unscaledHeight);
This was done to make it a little bit easier for people to subclass LabelItemRenderer/IconItemRenderer by breaking the positioning logic apart from drawing the background visuals.  Check out the documentation for UIComponent.updateDisplayList and look around on Google for more information on how updateDisplayList fits into the Flex component life cycle.

Similar Messages

  • Third Party Applications? What exactly are they?

    Right,
    I've read alot about the Blue Screen that appears when Upgrading to OSX Leopard. I am intending on upgrading tomorrow when my external hard drive arrives so I can Clone my 10.4.11 onto the external hard drive and upgrade the cloned version first but would like to know if I can check in advance for any of these' Third party App's'? and what exactly are they?
    Regards,

    A third party application is anything not made by Apple. It can also include products that Apple purchased fairly recently (some of those "Pro" apps) that weren't coded to Apple's specfications and haven't been well tested. Apple doesn't and shouldn't test their software with third party applications. It isn't their job to test other people's software. They probably make exceptions for things like Office and Photoshop, but that is a short list.
    Most third party applications will be fine. The ones you have to worry about are those that ask for your password when you install them. They can then install any sort of incompatible software.
    After you clone your hard drive, verify that you can boot from the external drive and all your data is there. If so, don't upgrade the external drive. Boot using the 10.5 DVD and immediately run Disk Utility and re-partition your internal hard drive to wipe it out completely. Then install Leopard. Do not use Migration Assistant. Re-install all your 3rd party applications that are 10.5 compatible. Be very careful about copying over from backup anything in a Library/Preferences folder. You can copy any preference file from a third party application back over - those are safe. Anything from Apple may have been upgraded. Only copy over the Apple files that you absolutely have to, such as your Mail folder and Address book file, for example.
    It sounds like a lot of work but it will only take a couple of hours.

  • What exactly are the updates good for on an ipod

    I ask because mine is windows format, and im having trouble transferring all the metadata off my ipod with senuti to a back up so that i can reformat the ipod to mac and then sync in my senuti backed up library. I was wondering if anyone knows what exactly are the updates that you get. my ipod is 1.2 5thgen.
    If i were to have the latest update would i be able to see album cover art view when the ipod is plugged into itunes? I noticed that i can see that view in library mode but not in ipod mode. (my pod isnt synced)...
    so what are these updates good for?

    hey thanks for your reply.
    I do have it set to manual and i can see the art on the ipod by itself, but even with manual transfer itunes wont let me view the artwork modes unless i am playing off my computers library (which doesn't have the songs on my ipod on it). I called apple earlier today and some tech support guy claimed that itunes does not support this feature. Is this correct? can anyone out there see artwork modes on an unsynced ipod through itunes?

  • What, exactly, are 'encoded assets'? Why does removing them resolve problems? How can they be avoided in the first place?

    What, exactly, are 'encoded assets'? Why does removing them resolve problems? How can they be avoided in the first place?

    As I understand it, encoding fomats your digital video clips and photos (assets) into Standard DVD mp2 format so that it can be burned to a DVD.  If there has been an error in the encoding process, then you remove the old encoded assets and start over.  There are numberous reasons why there can be errors in the encoding process. 

  • What exactly ARE the .pkg files that collect in the 'Receipts' folder?

    Hi there all.
    Those .pkg files that collect in HDD>Library>Receipts. What exactly ARE these packages for? How do they tie in with Disk Utility's 'Repair permissions' option? Why do we need to keep them?
    It's all Unix to me ;0)

    I used to delete .pkg files after I'd installed an application. I thought i was just the electronic equivalent of throwing away the empty box after I'd bought something.
    The "cardboard box" icon encouraged me to think that.
    Then someone said you should never throw away those.pkg files.
    So I stopped.
    But the only thing that has ever happened is that during permissions repair, I get a few lines here and there that say "could not repair permissions".
    I have experienced no other problems of any kind over about the last 2 years. All applications running normally, nothing weird happening.

  • What exactly are the cron scripts doing?

    Hi,
    Hope the subject says it all: I have searched but not found a detailed explanation as what the cron scripts (daily, weekly, monthly) actually do, and if the utilities (Onyx, Cocktail, Xupport, etc) are doing exactly the same.
    Can someone point to a site or explain?
    TIA
    Dan

    Hi Dan,
    (in addition to Barry's reply)
    Yes,
    1) running the Daily, the Weekly and the Monthly tasks manually with an utility, or
    2) running them yourself with the
    sudo periodic daily
    sudo periodic weekly
    sudo periodic monthly
    Terminal commands
    (or this one: sudo periodic daily weekly monthly), or
    3) leaving your computer running 24/7/365 so that they run automatically,
    all three ways do exactly the same thing.
    --> To see what they do exactly, the best way is to open Console, and in the /var/log section, look for "daily.out", "weekly.out" and "monthly.out".
    What exactly are the "cron scripts" doing?
    (Periodic tasks)
    In Console, you'll find a lot of different files that grow with more and more information every minute, even every second for some of them.
    The three Periodic tasks regularly rearrange them and compresses them so that they don't take too much disk space.
    They also rebuild some system database so that the data never gets unusable by the system.
    HTH
    Axl
    201

  • What exactly are Field symbols?

    Hi SDN,
    What exactly are Field symbols?
    I have read they are not pointers then what are they?
    Regards,
    Rahul

    Hi
    see this
    Field Symbols
    Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol cam point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.
    Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol. After successful assignment, there is no difference in ABAP whether you reference the field symbol or the field itself. You must assign a field to each field symbol before you can address the latter in programs.
    Field symbols are similar to dereferenced pointers in C (that is, pointers to which the content operator * is applied). However, the only real equivalent of pointers in ABAP, that is, variables that contain a memory address (reference) and that can be used without the contents operator, are reference variables in ABAP Objects.
    All operations programmed with field symbols are applied to the field assigned to it. For example, a MOVE statement between two field symbols moves the contents of the field assigned to the first field symbol to the field assigned to the second field symbol. The field symbols themselves point to the same fields after the MOVE statement as they did before.
    You can create field symbols either without or with type specifications. If you do not specify a type, the field symbol inherits all of the technical attributes of the field assigned to it. If you do specify a type, the system checks the compatibility of the field symbol and the field you are assigning to it during the ASSIGN statement.
    Field symbols provide greater flexibility when you address data objects:
    If you want to process sections of fields, you can specify the offset and length of the field dynamically.
    You can assign one field symbol to another, which allows you to address parts of fields.
    Assignments to field symbols may extend beyond field boundaries. This allows you to address regular sequences of fields in memory efficiently.
    You can also force a field symbol to take different technical attributes from those of the field assigned to it.
    The flexibility of field symbols provides elegant solutions to certain problems. On the other hand, it does mean that errors can easily occur. Since fields are not assigned to field symbols until runtime, the effectiveness of syntax and security checks is very limited for operations involving field symbols. This can lead to runtime errors or incorrect data assignments.
    While runtime errors indicate an obvious problem, incorrect data assignments are dangerous because they can be very difficult to detect. For this reason, you should only use field symbols if you cannot achieve the same result using other ABAP statements.
    For example, you may want to process part of a string where the offset and length depend on the contents of the field. You could use field symbols in this case. However, since the MOVE statement also supports variable offset and length specifications, you should use it instead. The MOVE statement (with your own auxiliary variables if required) is much safer than using field symbols, since it cannot address memory beyond the boundary of a field. However, field symbols may improve performance in some cases.
    check the below links u will get the answers for your questions
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_sy.htm
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci920484,00.html
    Syntax Diagram
    FIELD-SYMBOLS
    Basic form
    FIELD-SYMBOLS <fs>.
    Extras:
    1. ... TYPE type
    2. ... TYPE REF TO cif
    3. ... TYPE REF TO DATA
    4. ... TYPE LINE OF type
    5. ... LIKE s
    6. ... LIKE LINE OF s
    7. ... TYPE tabkind
    8. ... STRUCTURE s DEFAULT wa
    The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas. See Cannot Use Untyped Field Symbols ad Cannot Use Field Symbols as Components of Classes.
    Effect
    This statement declares a symbolic field called <fs>. At runtime, you can assign a concrete field to the field symbol using ASSIGN. All operations performed with the field symbol then directly affect the field assigned to it.
    You can only use one of the additions.
    Example
    Output aircraft type from the table SFLIGHT using a field symbol:
    FIELD-SYMBOLS <PT> TYPE ANY.
    DATA SFLIGHT_WA TYPE SFLIGHT.
    ASSIGN SFLIGHT_WA-PLANETYPE TO <PT>.
    WRITE <PT>.
    Addition 1
    ... TYPE type
    Addition 2
    ... TYPE REF TO cif
    Addition 3
    ... TYPE REF TO DATA
    Addition 4
    ... TYPE LINE OF type
    Addition 5
    ... LIKE s
    Addition 6
    ... LIKE LINE OF s
    Addition 7
    ... TYPE tabkind
    Effect
    You can define the type of the field symbol using additions 2 to 7 (just as you can for FORM parameters (compare Defining the Type of Subroutine Parameters). When you use the ASSIGN statement, the system carries out the same type checks as for USING parameters of FORMs.
    This addition is not allowed in an ABAP Objects context. See Cannot Use Obsolete Casting for FIELD SYMBOLS.
    In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs. See Defining Types Using STRUCTURE.
    Effect
    Assigns any (internal) field string or structure to the field symbol from the ABAP Dictionary (s). All fields of the structure can be addressed by name: <fs>-fieldname. The structured field symbol points initially to the work area wa specified after DEFAULT.
    The work area wa must be at least as long as the structure s. If s contains fields of the type I or F, wa should have the structure s or at least begin in that way, since otherwise alignment problems may occur.
    Example
    Address components of the flight bookings table SBOOK using a field symbol:
    DATA SBOOK_WA LIKE SBOOK.
    FIELD-SYMBOLS <SB> STRUCTURE SBOOK
    DEFAULT SBOOK_WA.
    WRITE: <SB>-BOOKID, <SB>-FLDATE.
    Regards
    Anji

  • What exactly are bezels when referring to the ipad?

    What exactly are bezels when referring to the ipad?

    In what context are you seeing this term? The only use of "bezel" in relation to the iPad I can think of is the frame, aka "bezel" that surrounds the screen.
    Regars.

  • What exactly are the free levels of Adobe services?

    What exactly are the free levels of Adobe services?

    Cloud Plans http://www.adobe.com/products/creativecloud/buying-guide-at-a-glance.html may help

  • How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    To see what reports are running, take a look at the execution log views that are available in the database.  Which views that are available are dependent on your version of SSRS.
    http://technet.microsoft.com/en-us/library/ms159110.aspx
    To see which application is using SSRS is a little more difficult.  You can turn HTTP logging on, which will give you an idea of where connections are coming from, so you can see IP addresses.  You can also look at the execution log view to see
    user accounts.  So, depending on your environment and use of service accounts, this could be easy, or difficult.
    http://technet.microsoft.com/en-us/library/bb630443.aspx
    If all else fails you can look for clues in the SSRS logs.  Good luck...

  • In General What is are Dimentional and fact tables

    Hi
    In General What is are Dimentional and fact tables.
    What are the differences between
    Data Warehouse, Data Mart, Data Mining, OLAP
    if possible Pl give definations also for above.
    thanks

    Please refer to www.ralphkimball.com

  • 1.how can I interpret meaning of TARGET  STATE   in output of command crsctl stat res -t  2. what exactly is nodeapps and why it need to be stopped before any maintenanace activity.

    I have two question requesting from the Gurus.
    1.how can I interpret meaning of TARGET  STATE   in output of command crsctl stat res -t  2. what exactly is nodeapps and why it need to be stopped before any maintenance activity. 

    I'd tried deleting my user preferences before, and it didn't seem to help. However, I tried again, and also removed the couple of actions I'd had in ~/Library/Automator. Success! Just for good measure, I tried putting the actions back and restoring the old preferences file, and everything still worked. Huh. But that's the nature of these things, I guess. At least it works now, thanks!

  • What Exactly XI ALL And XIPAYLOAD in Mail Adapter

    Hi All,
    What Exactly XI ALL And XIPAYLOAD Message protocol in Mail Adapter.
    What  is the Major Difference Between these two.
    Please let me Know
    Regards
    Babu

    Hi
    &#9679;      XIALL
    In this mode, the content of the RF C822 e-mail matches the content of the XI message. The XI message is a multipart MIME message with a SOAP envelope as its first part. See also: Structure linkMessages, under XI Message Protocol.
    &#9679;      XIPAYLOAD
    In this mode, the content of the e-mail is put in the payload of the XI message. If you do not set the Use Mail Package indicator, the information about the sender (From), receiver (To), and subject of the e-mail is lost.
    Ref:
    http://help.sap.com/saphelp_nw70/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
    regards
    krishna

  • HT204370 Hi like the music store how to I get to see what movies are available and where ?

    Hi like the music store how to I get to see what movies are available and where ?

    iTunes Store: Which types of items can I buy in my country?

  • What effects are these and where can I find a tutorial?

    There are a few Effects in this banner that I would like to know what they are and how I can do them.
    1. The blocks that move and twitch around. That is the only way I can describe it.
    2. How the text messes up and scrambles as it comes in.
    If you could also find me a tutorial on you tube as well as the name of the effect would be much appreciated.
    Thank you!

    Hi Speedrookie,
    You can search on the terms Mylenium gave you to find tutorials via search. Here's a collection of tutorials on fractal noise: Fractal Noise in After Effects by Rich Young
    If you need more ideas, let us know.
    FYI, we do see a lot of requests for recipes for "how do I make this effect?," etc. that can be figured out with a good hunk of AE basics under your belt. This is a bit irritating to die hards here on the forum. Sorry if that was a little off-putting. Getting After Effects basics down something you might try if you have not already. It's very liberating.
    Here are some resources for you:
    Getting started with After Effects (CS4, CS5, CS5.5, CS6, & CC) | After Effects region of interest
    After Effects CC Learn & Support | Tutorials, help, troubleshooting & community
    Thanks,
    Kevin

Maybe you are looking for

  • Cannot choose UDF created in profit center for XLR

    Hi, Customer required additional analysis in profit center. We had created U_Outlettype and U_Salestype in Profit center but it is not able to make these 2 UDF in profit center under Tools\User defined field. May I know how to make it visible for sel

  • Odd Tab Behavior in InDesign CS5

    I've used CS2 for quite a few years now, but decided it was time to upgrade to CS5. Doing so in the middle of a big book layout project was PROBABLY not the best idea. Essentially, I have laid out a document in this fashion: The headings are set 0.0"

  • Forefront Protection 2010 for Exchange and CorruptedCompressedFile issue

    Hi I have an issue where a third-party vendor is using Cisco Prime management software to email zipped reports to various recipients on our system. However, when it hits our system, Forefront is tagging this as a "CorruptedCompressedFile" and strippi

  • OBIEE and MapViewer problem

    Hi everyone, I'm trying to use mapviewer to get some reports on OBIEE 11g, after getting the tile and configure the Mapviewer with te data source and everything, i get the following error while trying to create a report, after associate data to the a

  • Making a query in Forms 6i to insert values

    Hi everyone, I have 2 Data Blocks in Forms 6i, one is not a Database Data Block and the other one is. In my first Data Block I have 3 items: teacher_id, grade and class_id Then, the second Data Block has 10 items where I'm going to be showing 10 rows