Hello everyone,

I am getting a real strange behaviour with this piece of code 

private boolean isDisplayingWhole()
    {
        if (top != 0 || left != 0)
            return false;
        
        if (width() < m_Size.width)
            return false;
        
        if (height() < m_Size.height)
            return false;

        return true;
    }

If I debug the function it does its job - I am testing the case where it 
must return true -  but strange behaviour  happens in the following 
assigment:

 boolean a = isDisplayingWhole();

That returns everytime false ! Is there any bug open on the compiler ?  I 
am using Java ADT.

Thanks in advance,
Pietro

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to