I hereby claim:
- I am mrenouf on github.
- I am mrenouf (https://keybase.io/mrenouf) on keybase.
- I have a public key whose fingerprint is 3A76 13EC 9AF1 79E5 0A84 E29F C42A 8652 1ACD 8184
To claim this, I am signing this object:
| package com.example.mrenouf.touchtest; | |
| import android.graphics.Rect; | |
| import android.support.v4.view.ViewCompat; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.view.ViewParent; | |
| import java.util.ArrayList; | |
| import java.util.List; |
| package com.example.mrenouf.touchtest; | |
| import android.content.Context; | |
| import android.support.annotation.NonNull; | |
| import android.support.annotation.Nullable; | |
| import android.support.v4.widget.NestedScrollView; | |
| import android.util.AttributeSet; | |
| import android.view.MotionEvent; | |
| public class NonGreedyNestedScrollView extends NestedScrollView { |
| package com.example.mrenouf.touchtest; | |
| import android.support.v4.view.ViewCompat; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.view.ViewParent; | |
| import java.util.ArrayList; | |
| import java.util.Collections; | |
| import java.util.Comparator; |
| ViewRootImpl.deliverInputEvent | |
| .... | |
| ViewRootImpl.processPointerEvent | |
| View.dispatchPointerEvent (DecorView) | |
| View.dispatchTouchEvent (DecorView) | |
| Activity.dispatchTouchEvent (Window.Callback) | |
| Window.superDispatchTouchEvent (PhoneWindow) | |
| DecorView.superDispatchTouchEvent | |
| super.dispatchTouchEvent(event) (ViewGroup) |
I hereby claim:
To claim this, I am signing this object:
| /** | |
| * {@inheritDoc} | |
| */ | |
| @Override | |
| public boolean dispatchTouchEvent(MotionEvent ev) { | |
| if (mInputEventConsistencyVerifier != null) { | |
| mInputEventConsistencyVerifier.onTouchEvent(ev, 1); | |
| } | |
| boolean handled = false; | |
| if (onFilterTouchEventForSecurity(ev)) { |
| /** | |
| * Manually render this view (and all of its children) to the given Canvas. | |
| * The view must have already done a full layout before this function is | |
| * called. When implementing a view, implement | |
| * {@link #onDraw(android.graphics.Canvas)} instead of overriding this method. | |
| * If you do need to override this method, call the superclass version. | |
| * | |
| * @param canvas The Canvas to which the View is rendered. | |
| */ |
| /** | |
| * <p>ScrollabilityCache holds various fields used by a View when scrolling | |
| * is supported. This avoids keeping too many unused fields in most | |
| * instances of View.</p> | |
| */ | |
| private static class ScrollabilityCache implements Runnable { | |
| /** | |
| * Scrollbars are not visible | |
| */ |
| #include <util/delay.h> | |
| #include <avr/sleep.h> | |
| #include <avr/power.h> | |
| #include <avr/io.h> | |
| #include <avr/interrupt.h> | |
| #include <string.h> | |
| #include <stdio.h> | |
| #include "port_macros.h" | |
| #include "teensy_20.h" | |
| #include "cpu_clock.h" |
| els = document.getElementsByTagName('li'); | |
| for(i = 0; i < els.length; i++) { | |
| els[i].addEventListener('click', | |
| function() { | |
| alert(i); | |
| }, | |
| false); | |
| } |