Searched refs:view (Results 651 - 675 of 4387) sorted by relevance

<<21222324252627282930>>

/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/test/
H A DImmediateNavigationActivity.java23 import android.view.LayoutInflater;
24 import android.view.View;
25 import android.view.ViewGroup;
/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/
H A DFragmentTabsFragment.java20 import android.view.LayoutInflater;
21 import android.view.View;
22 import android.view.ViewGroup;
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DActionBarMechanics.java19 import android.view.Menu;
20 import android.view.MenuItem;
24 import androidx.core.view.WindowCompat;
37 // before setting a content view. Normally this is set automatically
H A DMenuItemIconTinting.java19 import android.view.Menu;
20 import android.view.MenuInflater;
21 import android.view.MenuItem;
39 // Retrieve the Toolbar from our content view, and set it as the action bar
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DCardPresenter.java21 import android.view.ContextThemeWrapper;
22 import android.view.View.MeasureSpec;
23 import android.view.ViewGroup;
24 import android.view.ViewGroup.LayoutParams;
96 // Randomly makes image view crop as a square or just stretch to original
114 final Context context = viewHolder.view.getContext();
117 ((ImageCardView) viewHolder.view).setMainImage(drawable);
118 ((ImageCardView) viewHolder.view).setTitleText(photoItem.getTitle());
120 ((ImageCardView) viewHolder.view).setContentText(photoItem.getContent());
133 final Context context = viewHolder.view
[all...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/text/
H A DAllCapsTransformationMethod.java24 import android.view.View;
42 public CharSequence getTransformation(CharSequence source, View view) { argument
47 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, argument
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DDecorContentParent.java25 import android.view.Menu;
26 import android.view.Window;
29 import androidx.appcompat.view.menu.MenuPresenter;
/frameworks/base/core/java/android/app/
H A DIUiAutomationConnection.aidl22 import android.view.InputEvent;
23 import android.view.WindowContentFrameStats;
24 import android.view.WindowAnimationFrameStats;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DWindowCallbacksCompat.java20 import android.view.DisplayListCanvas;
21 import android.view.View;
22 import android.view.ViewRootImpl;
23 import android.view.WindowCallbacks;
65 public WindowCallbacksCompat(View view) { argument
66 mView = view;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMipMapActivity.java29 import android.view.Gravity;
30 import android.view.View;
31 import android.view.animation.Animation;
32 import android.view.animation.ScaleAnimation;
40 final BitmapsView view = new BitmapsView(this);
41 setContentView(view);
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DScaleDrawableTests.java18 import android.view.ViewGroup.LayoutParams;
69 ImageView view = new ImageView(this);
70 view.setLayoutParams(params);
71 view.setScaleType(scaleType);
72 view.setImageResource(vector_icon);
73 container.addView(view);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DSearchViewBindingAdapter.java36 public static void setOnQueryTextListener(SearchView view, final OnQueryTextSubmit submit, argument
40 view.setOnQueryTextListener(null);
42 view.setOnQueryTextListener(new OnQueryTextListener() {
67 public static void setOnSuggestListener(SearchView view, final OnSuggestionSelect submit, argument
71 view.setOnSuggestionListener(null);
73 view.setOnSuggestionListener(new OnSuggestionListener() {
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DOverflowMenuAdapter.java19 import com.android.internal.view.menu.MenuBuilder;
20 import com.android.internal.view.menu.MenuItemImpl;
21 import com.android.internal.view.menu.MenuView;
24 import android.view.LayoutInflater;
25 import android.view.View;
26 import android.view.ViewGroup;
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
H A DSwitchItem.java23 import android.view.View;
31 * To change the switch state when tapping on the text, use the click handlers of list view or
100 * @param view The root view of this item, typically from the argument of onItemClick.
102 public void toggle(View view) { argument
104 final SwitchCompat switchView = (SwitchCompat) view.findViewById(R.id.suw_items_switch);
109 public void onBindView(View view) { argument
110 super.onBindView(view);
111 final SwitchCompat switchView = (SwitchCompat) view.findViewById(R.id.suw_items_switch);
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
H A DDrawingTestHelper.java29 import android.view.View;
30 import android.view.View.MeasureSpec;
74 public void drawView(View view) { argument
75 view.measure(
78 view.layout(0, 0, mWidth, mHeight);
79 view.draw(mCanvas);
/frameworks/support/compat/src/main/java/androidx/core/internal/view/
H A DSupportMenuItem.java17 package androidx.core.internal.view;
24 import android.view.MenuItem;
25 import android.view.View;
28 import androidx.core.view.ActionProvider;
36 * @see android.view.MenuItem
40 public interface SupportMenuItem extends android.view.MenuItem {
67 * This item's action view collapses to a normal menu item. When expanded, the action view
110 * Set an action view for this menu item. An action view wil
122 setActionView(View view) argument
[all...]
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
H A DChangeColor.java24 import android.view.View;
25 import android.view.ViewGroup;
46 values.values.put(PROPNAME_BACKGROUND, values.view.getBackground());
75 final View view = endValues.view;
104 view.setBackgroundColor((Integer) value);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGuidedActionsRelativeLayout.java6 import android.view.KeyEvent;
7 import android.view.View;
8 import android.view.ViewGroup;
52 View view = findViewById(R.id.guidedactions_sub_list);
53 if (view != null) {
55 view.getLayoutParams();
/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
H A DChangeColor.java24 import android.view.View;
25 import android.view.ViewGroup;
46 values.values.put(PROPNAME_BACKGROUND, values.view.getBackground());
75 final View view = endValues.view;
104 view.setBackgroundColor((Integer) value);
/frameworks/base/core/java/android/service/autofill/
H A DValueFinder.java21 import android.view.autofill.AutofillId;
22 import android.view.autofill.AutofillValue;
/frameworks/base/core/java/android/transition/
H A DExplode.java23 import android.view.View;
24 import android.view.ViewGroup;
25 import android.view.animation.AccelerateInterpolator;
26 import android.view.animation.DecelerateInterpolator;
33 * {@link View#setVisibility(int)} state of the view as well as whether it
34 * is parented in the current view hierarchy. Disappearing Views are
35 * limited as described in {@link Visibility#onDisappear(android.view.ViewGroup,
58 View view = transitionValues.view;
59 view
80 onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, TransitionValues endValues) argument
97 onDisappear(ViewGroup sceneRoot, View view, TransitionValues startValues, TransitionValues endValues) argument
[all...]
/frameworks/base/core/java/android/view/
H A DContextMenu.java17 package android.view;
79 * <var>view</var>. This replaces the header title and icon (and those
82 * @param view The {@link View} used for the header.
85 public ContextMenu setHeaderView(View view); argument
H A DSubMenu.java17 package android.view;
73 * <var>view</var>. This replaces the header title and icon (and those
76 * @param view The {@link View} used for the header.
79 public SubMenu setHeaderView(View view); argument
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeProvider.java17 package android.view.accessibility;
21 import android.view.View;
27 * virtual view hierarchy rooted at a given view for accessibility purposes. A virtual
28 * view hierarchy is a tree of imaginary Views that is reported as a part of the view
35 * The main use case of these APIs is to enable a custom view that draws complex content,
45 * actions on any virtual view or the root view itself. For example:
78 * Returns an {@link AccessibilityNodeInfo} representing a virtual view,
[all...]
/frameworks/base/core/java/android/widget/
H A DAdapter.java21 import android.view.View;
22 import android.view.ViewGroup;
26 * underlying data for that view. The Adapter provides access to the data items.
27 * The Adapter is also responsible for making a {@link android.view.View} for
86 * {@link android.view.LayoutInflater#inflate(int, android.view.ViewGroup, boolean)}
87 * to specify a root view and to prevent attachment to the root.
89 * @param position The position of the item within the adapter's data set of the item whose view
91 * @param convertView The old view to reuse, if possible. Note: You should check that this view
[all...]

Completed in 549 milliseconds

<<21222324252627282930>>