HomeSort by relevance Sort by last modified time
    Searched refs:View (Results 101 - 125 of 7049) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/apps/DeskClock/src/com/android/deskclock/widget/toast/
SnackbarSlidingBehavior.java 24 import android.view.View;
30 public final class SnackbarSlidingBehavior extends CoordinatorLayout.Behavior<View> {
36 public boolean layoutDependsOn(CoordinatorLayout parent, View child, View dependency) {
41 public boolean onDependentViewChanged(CoordinatorLayout parent, View child, View dependency) {
47 public void onDependentViewRemoved(CoordinatorLayout parent, View child, View dependency) {
52 public boolean onLayoutChild(CoordinatorLayout parent, View child, int layoutDirection)
    [all...]
  /developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
AutofillFieldMetadata.kt 20 import android.view.View
21 import android.view.autofill.AutofillId
27 class AutofillFieldMetadata(view: ViewNode) {
31 val autofillHints = view.autofillHints.filter(AutofillHelper::isValidHint).toTypedArray()
32 val autofillId: AutofillId = view.autofillId
33 val autofillType: Int = view.autofillType
34 val autofillOptions: Array<CharSequence>? = view.autofillOptions
35 val isFocused: Boolean = view.isFocused
57 View.AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE
    [all...]
  /developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
AutofillFieldMetadata.kt 20 import android.view.View
21 import android.view.autofill.AutofillId
27 class AutofillFieldMetadata(view: ViewNode) {
31 val autofillHints = view.autofillHints.filter(AutofillHelper::isValidHint).toTypedArray()
32 val autofillId: AutofillId = view.autofillId
33 val autofillType: Int = view.autofillType
34 val autofillOptions: Array<CharSequence>? = view.autofillOptions
35 val isFocused: Boolean = view.isFocused
57 View.AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE
    [all...]
  /frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
LayoutUtils.java 19 import android.view.View;
20 import android.view.ViewGroup;
27 private static void recursivelyGather(ViewGroup currentNode, List<View> nodeList) {
31 View view = currentNode.getChildAt(i); local
32 if (view instanceof ViewGroup) {
33 recursivelyGather((ViewGroup) view, nodeList);
35 nodeList.add(view);
41 * Flattern the whole view tree into a list of View
    [all...]
  /frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
WeirdListeners.java 21 import android.view.View;
25 public static void setListener(View view, OnFoo onFoo) {}
28 public static void setListener(View view, OnFoo2 onFoo) {}
31 public static void setListener(View view, OnBar1 onBar) {}
34 public static void setListener(View view, OnBar2 onBar) {
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
ProgressBarWrapper.java 20 import android.view.View;
48 if (visibility == View.INVISIBLE || visibility == View.GONE) {
57 mIndeterminate.setVisibility(isIndeterminate ? View.VISIBLE : View.GONE);
58 mDeterminate.setVisibility(isIndeterminate ? View.GONE : View.VISIBLE);
  /frameworks/support/compat/src/main/java/androidx/core/view/
NestedScrollingParentHelper.java 18 package androidx.core.view;
20 import android.view.View;
21 import android.view.ViewGroup;
24 import androidx.core.view.ViewCompat.NestedScrollType;
25 import androidx.core.view.ViewCompat.ScrollAxis;
31 * <p>{@link android.view.ViewGroup ViewGroup} subclasses should instantiate a final instance
38 * {@link androidx.core.view.ViewCompat}, {@link androidx.core.view.ViewGroupCompat} or
39 * {@link androidx.core.view.ViewParentCompat} compatibilit
    [all...]
  /frameworks/support/fragment/src/main/java/androidx/fragment/app/
OneShotPreDrawListener.java 19 import android.view.View;
20 import android.view.ViewTreeObserver;
26 * OneShotPreDrawListener.add(view, () -> { view.doSomething(); })
31 * The listener will also remove itself from the ViewTreeObserver when the view
32 * is detached from the view hierarchy. In that case, the Runnable will never be
36 View.OnAttachStateChangeListener {
37 private final View mView;
41 private OneShotPreDrawListener(View view, Runnable runnable)
    [all...]
  /frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
AttachDetachCollector.java 19 import android.view.View;
27 * Simple class that can collect list of view attach and detach events so that we can assert on them
30 private final List<View> mAttached = new ArrayList<>();
31 private final List<View> mDetached = new ArrayList<>();
38 public void onChildViewAttachedToWindow(@NonNull View view) {
39 mAttached.add(view);
43 public void onChildViewDetachedFromWindow(@NonNull View view) {
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
UiUtilities.java 22 import android.view.View;
31 * Same as {@link View#findViewById}, but crashes if there's no view.
34 public static <T extends View> T getView(View parent, int viewId) {
38 private static View checkView(View v) {
40 throw new IllegalArgumentException("View doesn't exist");
46 * Same as {@link View#setVisibility(int)}, but doesn't crash even if {@code view} is null
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
ViewCompatUtils.java 19 import android.view.View;
23 // TODO: Use {@link android.support.v4.view.ViewCompat} instead of this utility class.
24 // Currently {@link #getPaddingEnd(View)} and {@link #setPaddingRelative(View,int,int,int,int)}
27 // Note that View.getPaddingEnd(), View.setPaddingRelative(int,int,int,int) have been
30 View.class, "getPaddingEnd");
32 View.class, "setPaddingRelative",
34 // Note that View.setTextAlignment(int) has been introduced in API level 17
    [all...]
  /developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/util/
SystemUiHiderHoneycomb.java 22 import android.view.View;
23 import android.view.WindowManager;
27 * Honeycomb and later (specifically {@link View#setSystemUiVisibility(int)}) to
33 * Flags for {@link View#setSystemUiVisibility(int)} to use when showing the
39 * Flags for {@link View#setSystemUiVisibility(int)} to use when hiding the
46 * {@link android.view.View.OnSystemUiVisibilityChangeListener#onSystemUiVisibilityChange(int)}
53 * {@link android.view.View.OnSystemUiVisibilityChangeListener}
    [all...]
  /developers/build/prebuilts/gradle/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/util/
ViewExt.kt 20 import android.view.View
22 fun View.showSnackbar(msgId: Int, length: Int) {
26 fun View.showSnackbar(msg: String, length: Int) {
30 fun View.showSnackbar(
34 action: (View) -> Unit
39 fun View.showSnackbar(
43 action: (View) -> Unit
  /developers/samples/android/system/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/util/
ViewExt.kt 20 import android.view.View
22 fun View.showSnackbar(msgId: Int, length: Int) {
26 fun View.showSnackbar(msg: String, length: Int) {
30 fun View.showSnackbar(
34 action: (View) -> Unit
39 fun View.showSnackbar(
43 action: (View) -> Unit
  /developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
AutofillHints.java 20 import android.view.View;
41 .put(View.AUTOFILL_HINT_EMAIL_ADDRESS, new AutofillHintProperties(
42 View.AUTOFILL_HINT_EMAIL_ADDRESS, SaveInfo.SAVE_DATA_TYPE_EMAIL_ADDRESS,
46 new FilledAutofillField(View.AUTOFILL_HINT_EMAIL_ADDRESS);
49 }, View.AUTOFILL_TYPE_TEXT, View.AUTOFILL_TYPE_LIST))
50 .put(View.AUTOFILL_HINT_NAME, new AutofillHintProperties(
51 View.AUTOFILL_HINT_NAME, SaveInfo.SAVE_DATA_TYPE_GENERIC,
55 new FilledAutofillField(View.AUTOFILL_HINT_NAME)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
FocusFinderTest.java 17 package android.view;
41 assertIsNotCandidate(View.FOCUS_UP,
54 assertDirectionIsCandidate(View.FOCUS_UP, src, dest);
60 View.FOCUS_DOWN,
69 View.FOCUS_DOWN,
78 View.FOCUS_DOWN,
87 View.FOCUS_DOWN,
92 View.FOCUS_DOWN,
102 assertBeamsOverlap(View.FOCUS_LEFT, rect, rect);
103 assertBeamsOverlap(View.FOCUS_RIGHT, rect, rect)
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
AdapterViewBehavior.java 7 import android.view.View;
35 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
66 View emptyView = new View(adapterView.getContext());
69 assertThat(adapterView.getVisibility()).isEqualTo(View.GONE);
70 assertThat(emptyView.getVisibility()).isEqualTo(View.VISIBLE);
76 View emptyView = new View(adapterView.getContext())
    [all...]
  /frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
ViewBindingAdapter.java 26 import android.view.View;
27 import android.view.View.OnAttachStateChangeListener;
31 @BindingMethod(type = View.class, attribute = "android:backgroundTint", method = "setBackgroundTintList"),
32 @BindingMethod(type = View.class, attribute = "android:fadeScrollbars", method = "setScrollbarFadingEnabled"),
33 @BindingMethod(type = View.class, attribute = "android:getOutline", method = "setOutlineProvider"),
34 @BindingMethod(type = View.class, attribute = "android:nextFocusForward", method = "setNextFocusForwardId"),
35 @BindingMethod(type = View.class, attribute = "android:nextFocusLeft", method = "setNextFocusLeftId"),
36 @BindingMethod(type = View.class, attribute = "android:nextFocusRight", method = "setNextFocusRightId")
    [all...]
  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/
MultiplePartitionsActivity.java 22 import android.view.View;
23 import android.view.autofill.AutofillManager;
66 mCredentialsPartition.addLine("username", View.AUTOFILL_TYPE_TEXT,
68 " ", false, View.AUTOFILL_HINT_USERNAME);
69 mCredentialsPartition.addLine("password", View.AUTOFILL_TYPE_TEXT,
71 " ", true, View.AUTOFILL_HINT_PASSWORD);
73 int ccExpirationType = View.AUTOFILL_TYPE_DATE;
88 mCcPartition.addLine("ccNumber", View.AUTOFILL_TYPE_TEXT,
90 " ", true, View.AUTOFILL_HINT_CREDIT_CARD_NUMBER)
    [all...]
  /packages/apps/TV/src/com/android/tv/ui/
ViewUtils.java 22 import android.view.View;
23 import android.view.ViewGroup.LayoutParams;
27 /** A class that includes convenience methods for view classes. */
35 public static void setTransitionAlpha(View v, float alpha) {
38 method = View.class.getDeclaredMethod("setTransitionAlpha", Float.TYPE);
44 Log.e(TAG, "Fail to call View.setTransitionAlpha", e);
49 * Creates an animator in view's height
51 * @param target the {@link view} animator performs on.
54 final View target, int initialHeight, int targetHeight)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
JobWorkServiceActivity.java 27 import android.view.View;
60 private View.OnClickListener mEnqueue1Listener = new View.OnClickListener() {
61 public void onClick(View v) {
67 private View.OnClickListener mEnqueue2Listener = new View.OnClickListener() {
68 public void onClick(View v) {
74 private View.OnClickListener mEnqueue3Listener = new View.OnClickListener()
    [all...]
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
SelfManagedCallListAdapter.java 24 import android.view.LayoutInflater;
25 import android.view.View;
26 import android.view.ViewGroup;
41 private View.OnClickListener mDisconnectListener = new View.OnClickListener() {
43 public void onClick(View v) {
44 View parent = (View) v.getParent().getParent();
54 private View.OnClickListener mActiveListener = new View.OnClickListener()
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
TvAppVerifierActivity.java 20 import android.view.LayoutInflater;
21 import android.view.View;
22 import android.view.ViewGroup;
38 private View mPostTarget;
40 protected View getPostTarget() {
50 View view = mInflater.inflate(R.layout.location_mode_main, null); local
51 mPostTarget = mItemList = (ViewGroup) view.findViewById(R.id.test_items);
53 setContentView(view);
    [all...]
  /external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
MainActivity.java 22 import android.view.View;
35 startSimplePieExButton.setOnClickListener(new View.OnClickListener() {
37 public void onClick(View view) {
43 startDynamicXYExButton.setOnClickListener(new View.OnClickListener() {
45 public void onClick(View view) {
51 startSimpleXYExButton.setOnClickListener(new View.OnClickListener() {
53 public void onClick(View view) {
    [all...]
  /cts/tests/tests/transition/src/android/transition/cts/
ExplodeTest.java 28 import android.view.View;
55 final View redSquare = mActivity.findViewById(R.id.redSquare);
56 final View greenSquare = mActivity.findViewById(R.id.greenSquare);
57 final View blueSquare = mActivity.findViewById(R.id.blueSquare);
58 final View yellowSquare = mActivity.findViewById(R.id.yellowSquare);
62 redSquare.setVisibility(View.INVISIBLE);
63 greenSquare.setVisibility(View.INVISIBLE);
64 blueSquare.setVisibility(View.INVISIBLE);
65 yellowSquare.setVisibility(View.INVISIBLE)
    [all...]

Completed in 981 milliseconds

1 2 3 45 6 7 8 91011>>