Lines Matching refs:clickable

880      * apps that do this just because more things (clickable things) are now auto-focusable
886 * Prior to O, auto-focusable didn't exist and views marked as clickable weren't implicitly
887 * made focusable by default. As a result, apps could (incorrectly) change the clickable
888 * setting of views off the UI thread. Now that clickable can effect the focusable state,
889 * changing the clickable attribute off the UI thread will cause an exception (since changing
892 * clickable from outside the UI thread.
1407 * <p>Indicates this view can be clicked. When clickable, a View reacts
1477 * Indicates this view can be long clicked. When long clickable, a View
1495 * Indicates this view can be context clicked. When context clickable, a View reacts to a
6137 * clickable, it becomes clickable.
6161 * long clickable, it becomes long clickable.
6176 * context clickable, it becomes context clickable.
6190 * being built. If this view is not long clickable, it becomes long clickable.
9847 * @return true if the view is clickable, false otherwise
9859 * is clickable it will change its state to "pressed" on every click.
9860 * Subclasses should set the view clickable to visually react to
9863 * @param clickable true to make the view clickable, false otherwise
9868 public void setClickable(boolean clickable) {
9869 setFlags(clickable ? CLICKABLE : 0, CLICKABLE);
9875 * @return true if the view is long clickable, false otherwise
9886 * clickable it reacts to the user holding down the button for a longer
9890 * @param longClickable true to make the view long clickable, false otherwise
9901 * @return true if the view is context clickable, false otherwise
9974 * {@link #setPressed(boolean)} is explicitly called, only clickable views can enter
12396 * is released, if the view is enabled and clickable.
12413 // Long clickable items don't necessarily have to be clickable.
12414 final boolean clickable = (mViewFlags & CLICKABLE) == CLICKABLE
12416 if (clickable || (mViewFlags & TOOLTIP) == TOOLTIP) {
12421 if (clickable) {
12705 * is enabled and is clickable. The default implementation also sends hover
12978 final boolean clickable = ((viewFlags & CLICKABLE) == CLICKABLE
12987 // A disabled view that is clickable still consumes the touch
12989 return clickable;
12997 if (clickable || (viewFlags & TOOLTIP) == TOOLTIP) {
13004 if (!clickable) {
13070 if (!clickable) {
13100 if (clickable) {
13112 if (clickable) {
13278 // Heuristic only takes into account whether view is clickable.
26218 stream.addProperty("misc:clickable", isClickable());