Hi Wetson,
Enabling/Disabling of the built in zoom control logic is part of Browser
app.

However enabling & disabling the multitouch logic presents in the WebKit
Java layer.

Check updateMultiTouchSupport function in the ZoomManager.java of the
frameworks/base/core/java/android/webkit.

 mSupportMultiTouch
<http://androidxref.com/4.3_r2.1/xref/frameworks/base/core/java/android/webkit/ZoomManager.java#mSupportMultiTouch>
=
                (pm
<http://androidxref.com/4.3_r2.1/s?defs=pm&project=frameworks>.hasSystemFeature
<http://androidxref.com/4.3_r2.1/s?defs=hasSystemFeature&project=frameworks>(PackageManager
<http://androidxref.com/4.3_r2.1/s?defs=PackageManager&project=frameworks>.FEATURE_TOUCHSCREEN_MULTITOUCH
<http://androidxref.com/4.3_r2.1/s?defs=FEATURE_TOUCHSCREEN_MULTITOUCH&project=frameworks>)
                 || pm
<http://androidxref.com/4.3_r2.1/s?defs=pm&project=frameworks>.hasSystemFeature
<http://androidxref.com/4.3_r2.1/s?defs=hasSystemFeature&project=frameworks>(PackageManager
<http://androidxref.com/4.3_r2.1/s?defs=PackageManager&project=frameworks>.FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT
<http://androidxref.com/4.3_r2.1/s?defs=FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT&project=frameworks>))
                && settings
<http://androidxref.com/4.3_r2.1/s?defs=settings&project=frameworks>.supportZoom
<http://androidxref.com/4.3_r2.1/s?defs=supportZoom&project=frameworks>()
&& settings 
<http://androidxref.com/4.3_r2.1/s?defs=settings&project=frameworks>.getBuiltInZoomControls
<http://androidxref.com/4.3_r2.1/s?defs=getBuiltInZoomControls&project=frameworks>();


Check if it satisfies all the above conditions in your environment.

FEATURE_TOUCH_SCREEN_MULTITOUCH is for enabling/disabling the multitouch
for the over all system.
supportZoom & getBuiltInZoomControls values will be set/unset in
WebSettings by the App which uses the Webview for ex: Browser app in your
case.
I suggest you add logs in the above updateMultiTouchSupport to check what
is going wrong.

Regards,
kamal



On Wed, Jan 8, 2014 at 11:35 AM, rishi gupta <[email protected]> wrote:

> Did you analyzed handlers for these multi touch events.
>
>
> On Mon, Jan 6, 2014 at 10:59 PM, Weston Weems <[email protected]> wrote:
>
>> I've turned a lot of tracing on throughout my code and so far have found
>> this...
>>
>> Browser checks for multitouch or fake multitouch.distinct, and that
>> returns true... so I dont get the zoom icons.
>>
>> I enabled tracing on input events to the browser and am seeing multiple
>> touch points come in (touch point count = 2), but it just seems like its
>> nto even trying to do pinch zoom etc.
>>
>> Any ideas?
>>
>>
>> On Friday, January 3, 2014 2:40:52 PM UTC-8, Weston Weems wrote:
>>>
>>> Gentleman,
>>>
>>> I've successfully ported android a number of times as well as ran
>>> through a number of iterations of android on the same sets of hardware but
>>> I've got something thats puzzling me.
>>>
>>> Moving one of my bits of hardware from 4.1 to 4.3, I've noticed that
>>> multi-touch in the browser doesnt work (even after copying
>>> android.hardware.touchscreen.multitouch.xml to the appropriate place).
>>>
>>> In testing with a multi-touch testing application and getevent, I do see
>>> multi-touch working, but the browser app / web views just ignore the
>>> functionality.
>>>
>>> If anyone has any clues, they would be greatly appreciated!
>>>
>>>
>>>  --
>> --
>> unsubscribe: [email protected]
>> website: http://groups.google.com/group/android-porting
>>
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "android-porting" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/android-porting/PIkC8ov0cOA/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" 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/groups/opt_out.
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" 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/groups/opt_out.

Reply via email to