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

1 2 3 4 56 7 8 91011>>

  /frameworks/support/transition/src/androidTest/java/androidx/transition/
ExplodeTest.java 31 import android.view.View;
48 final View redSquare = rule.getActivity().findViewById(R.id.redSquare);
49 final View greenSquare = rule.getActivity().findViewById(R.id.greenSquare);
50 final View blueSquare = rule.getActivity().findViewById(R.id.blueSquare);
51 final View yellowSquare = rule.getActivity().findViewById(R.id.yellowSquare);
57 redSquare.setVisibility(View.INVISIBLE);
58 greenSquare.setVisibility(View.INVISIBLE);
59 blueSquare.setVisibility(View.INVISIBLE);
60 yellowSquare.setVisibility(View.INVISIBLE)
    [all...]
  /frameworks/base/core/java/android/view/
FocusFinder.java 17 package android.view;
35 * The algorithm used for finding the next focusable view in a given direction
36 * from a view that currently has focus.
60 ? v.findUserSetNextFocus(r, View.FOCUS_FORWARD) : null);
63 ? v.findUserSetNextKeyboardNavigationCluster(r, View.FOCUS_FORWARD) : null);
66 private final ArrayList<View> mTempList = new ArrayList<View>();
72 * Find the next view to take focus in root's descendants, starting from the view
77 * @return The next focusable view, or null if none exists
913 final View view = focusables.get(i); local
922 final View view = focusables.get(i); local
    [all...]
ViewGroupOverlay.java 16 package android.view;
24 * (the "host view") which is drawn after all other content in that view
25 * (including the view group's children). Interaction with the overlay
36 ViewGroupOverlay(Context context, View hostView) {
41 * Adds a {@code View} to the overlay. The bounds of the added view should be
42 * relative to the host view. Any view added to the overlay should be
50 * <p>If the view has a parent, the view will be removed from that paren
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
HorizontalFocusSearchTest.java 26 import android.view.View;
76 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_UP));
78 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_DOWN));
80 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_LEFT));
84 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_RIGHT));
89 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_UP));
92 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_DOWN));
95 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_LEFT));
98 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_RIGHT))
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
AspectRatioFrameLayoutTest.java 22 import android.view.View;
47 int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY);
48 int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.EXACTLY);
60 int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.EXACTLY);
61 int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY)
    [all...]
  /developers/build/prebuilts/gradle/AdvancedImmersiveMode/Application/src/main/java/com/example/android/advancedimmersivemode/
AdvancedImmersiveModeFragment.java 20 import android.view.LayoutInflater;
21 import android.view.View;
22 import android.view.ViewGroup;
50 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle state) {
51 final View flagsView = inflater.inflate(R.layout.fragment_flags, container, false);
60 toggleFlagsButton.setOnClickListener(new View.OnClickListener() {
62 public void onClick(View view) {
68 presetsImmersiveModeButton.setOnClickListener(new View.OnClickListener()
    [all...]
  /developers/samples/android/ui/window/AdvancedImmersiveMode/Application/src/main/java/com/example/android/advancedimmersivemode/
AdvancedImmersiveModeFragment.java 20 import android.view.LayoutInflater;
21 import android.view.View;
22 import android.view.ViewGroup;
50 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle state) {
51 final View flagsView = inflater.inflate(R.layout.fragment_flags, container, false);
60 toggleFlagsButton.setOnClickListener(new View.OnClickListener() {
62 public void onClick(View view) {
68 presetsImmersiveModeButton.setOnClickListener(new View.OnClickListener()
    [all...]
  /development/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/
AdvancedImmersiveModeFragment.java 20 import android.view.LayoutInflater;
21 import android.view.View;
22 import android.view.ViewGroup;
50 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle state) {
51 final View flagsView = inflater.inflate(R.layout.fragment_flags, container, false);
60 toggleFlagsButton.setOnClickListener(new View.OnClickListener() {
62 public void onClick(View view) {
68 presetsImmersiveModeButton.setOnClickListener(new View.OnClickListener()
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/view/
ViewCompat.java 17 package androidx.core.view;
35 import android.view.Display;
36 import android.view.MotionEvent;
37 import android.view.PointerIcon;
38 import android.view.VelocityTracker;
39 import android.view.View;
40 import android.view.ViewConfiguration;
41 import android.view.ViewGroup;
42 import android.view.ViewParent
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
DummyAdapter.java 19 import android.view.View;
20 import android.view.ViewGroup;
26 View[] mSpecialViews;
28 public DummyAdapter(int count, View... specialViews) {
59 public View getView(int position, View convertView, ViewGroup parent) {
64 convertView = new View(parent.getContext());
  /frameworks/support/viewpager/src/androidTest/java/android/support/v4/testutils/
TestUtilsMatchers.java 23 import android.view.View;
24 import android.view.ViewGroup;
25 import android.view.ViewParent;
28 import androidx.core.view.ViewCompat;
41 return new BoundedMatcher<View, View>(View.class) {
52 public boolean matchesSafely(final View view) {
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/speeddial/
HeaderViewHolder.java 21 import android.view.View;
22 import android.view.View.OnClickListener;
33 public HeaderViewHolder(View view, SpeedDialHeaderListener listener) {
34 super(view);
36 headerText = view.findViewById(R.id.speed_dial_header_text);
37 addButton = view.findViewById(R.id.speed_dial_add_button);
46 addButton.setVisibility(show ? View.VISIBLE : View.GONE)
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
TimeoutActivity.java 21 import android.view.View;
22 import android.view.WindowManager;
34 final View blankView = new View(this);
  /cts/hostsidetests/theme/app/src/android/theme/app/modifiers/
ProgressBarModifier.java 19 import android.view.View;
20 import android.view.animation.Interpolator;
26 public View modifyView(View view) {
27 ProgressBar pb = (ProgressBar) view;
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
EventCapturingTouchListener.java 22 import android.view.MotionEvent;
23 import android.view.View;
28 public class EventCapturingTouchListener implements View.OnTouchListener {
33 public boolean onTouch(View view, MotionEvent motionEvent) {
  /cts/tests/autofillservice/src/android/autofillservice/cts/
EmptyActivity.java 22 import android.view.View;
29 private View mEmptyView;
39 public View getEmptyView() {
  /cts/tests/tests/systemui/src/android/systemui/cts/
LightBarActivity.java 18 import android.view.View;
27 setLightBar(lightStatusBar, View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
31 setLightBar(lightNavigationBar, View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ChronometerDemo.java 17 package com.example.android.apis.view;
26 import android.view.View;
27 import android.view.View.OnClickListener;
61 View.OnClickListener mStartListener = new OnClickListener() {
62 public void onClick(View v) {
67 View.OnClickListener mStopListener = new OnClickListener() {
68 public void onClick(View v) {
73 View.OnClickListener mResetListener = new OnClickListener()
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/request/animation/
ViewPropertyAnimation.java 3 import android.view.View;
7 * that can apply an animation like a {@link android.view.ViewPropertyAnimator}
8 * or a {@link android.animation.ObjectAnimator} to an {@link View}.
10 * @param <R> The type of the resource displayed in the view that is animated
17 * Constructor for a view property animation that takes an
19 * to a view.
29 * constructor to the given view and returns {@code false} because the animator cannot set the new resource on
30 * the view.
38 final View view = adapter.getView() local
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowViewAnimatorTest.java 7 import android.view.View;
33 viewAnimator.addView(new View(application));
39 viewAnimator.addView(new View(application));
40 viewAnimator.addView(new View(application));
47 View view0 = new View(application);
48 View view1 = new View(application);
58 viewAnimator.addView(new View(application))
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
CustomizeWindow.java 20 import android.view.View;
41 ((ProgressBar) activity.findViewById(R.id.progress_bar)).setVisibility(on ? View.VISIBLE
42 : View.GONE);
  /frameworks/base/core/java/com/android/internal/globalactions/
Action.java 19 import android.view.LayoutInflater;
20 import android.view.View;
21 import android.view.ViewGroup;
28 /** Create the view that represents this action. */
29 View create(Context context, View convertView, ViewGroup parent, LayoutInflater inflater);
  /frameworks/base/core/java/com/android/internal/widget/
PagerAdapter.java 22 import android.view.View;
23 import android.view.ViewGroup;
27 * a {@link android.support.v4.view.ViewPager}. You will most likely want to use a more
35 * <li>{@link #instantiateItem(android.view.ViewGroup, int)}</li>
36 * <li>{@link #destroyItem(android.view.ViewGroup, int, Object)}</li>
38 * <li>{@link #isViewFromObject(android.view.View, Object)}</li>
43 * View recycling mechanism directly ViewPager uses callbacks to indicate the
44 * steps taken during an update. A PagerAdapter may implement a form of View
    [all...]
  /frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
OverlayPlugin.java 18 import android.view.View;
26 void setup(View statusBar, View navBar);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
HeadsUpUtil.java 19 import android.view.View;
30 * Set the given view as clicked or not-clicked.
31 * @param view The view to be set the flag to.
34 public static void setIsClickedHeadsUpNotification(View view, boolean clicked) {
35 view.setTag(TAG_CLICKED_NOTIFICATION, clicked ? true : null);
39 * Check if the given view has the flag of "clicked notification"
40 * @param view The view to be checked
    [all...]

Completed in 1289 milliseconds

1 2 3 4 56 7 8 91011>>