Thanks.

It would be nice if there was a cleaner failure rather than just showing 
you the wrong source.  I wouldn't mind some kind of check that prevents you 
from jumping to some weird source line without necessarily knowing it.



On Thursday, January 10, 2013 9:25:20 AM UTC-6, Streets Of Boston wrote:
>
> Yes.
>
> The code on the device (Nexus 7) has debug info that tells Eclipse the 
> line-numbers of the source-code. If your source-code (android-16) is 
> out-of-date, these line-number don't match up and Eclipse shows you 
> something wrong (correct line-number, wrong source-version).
>
> On Thursday, January 10, 2013 10:21:46 AM UTC-5, bob wrote:
>>
>> It seems to work if I do "Edit Source Lookup" and change it to 
>> android-17.  Is it 17 because the Nexus 7 is running 4.2.1?
>>
>>
>> I built targeted for 16.
>>
>>
>>
>> On Wednesday, January 9, 2013 7:46:34 PM UTC-6, RichardC wrote:
>>>
>>> Emulator or Phone and what was the Android version running on it?
>>>
>>> On Wednesday, January 9, 2013 10:40:27 PM UTC, bob wrote:
>>>>
>>>> I'm stepping thru my source.
>>>>
>>>> I have a call to invalidate().
>>>>
>>>> I stepped into it, and attached the android source (version 16).
>>>>
>>>> However, it went here:
>>>>
>>>>     /**
>>>>      * Used to indicate that the parent of this view should be 
>>>> invalidated. This functionality
>>>>      * is used to force the parent to rebuild its display list (when 
>>>> hardware-accelerated),
>>>>      * which is necessary when various parent-managed properties of the 
>>>> view change, such as
>>>>      * alpha, translationX/Y, scrollX/Y, scaleX/Y, and rotation/X/Y. 
>>>> This method will propagate
>>>>      * an invalidation event to the parent.
>>>>      *
>>>>      * @hide
>>>>      */
>>>>     protected void invalidateParentIfNeeded() {
>>>>         if (isHardwareAccelerated() && mParent instanceof View) {
>>>>             ((View) mParent).invalidate(true);
>>>>         }
>>>>     }
>>>>
>>>>
>>>>
>>>> Why did it go to the function *invalidateParentIfNeeded()* instead of 
>>>> the function *invalidate()*?
>>>>
>>>>

-- 
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

Reply via email to