Searched refs:view (Results 226 - 250 of 3459) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodClient.aidl17 package com.android.internal.view;
19 import com.android.internal.view.InputBindResult;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuHelper.java17 package com.android.internal.view.menu;
H A DShowableListMenu.java17 package com.android.internal.view.menu;
/frameworks/base/core/tests/coretests/src/android/view/
H A DBigCacheTest.java17 package android.view;
19 import android.view.BigCache;
24 import android.view.View;
25 import android.view.ViewConfiguration;
71 private Bitmap createCacheForView(final View view) { argument
75 view.setDrawingCacheEnabled(true);
76 view.invalidate();
77 view.buildDrawingCache();
78 cache[0] = view.getDrawingCache();
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DGefingerpoken.java19 import android.view.MotionEvent;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DScrollAdapter.java19 import android.view.View;
27 * @return Whether the view returned by {@link #getHostView()} is scrolled to the top
32 * @return Whether the view returned by {@link #getHostView()} is scrolled to the bottom
37 * @return The view in which the scrolling is performed
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackScrollState.java20 import android.view.View;
21 import android.view.ViewGroup;
75 private void resetViewState(ExpandableView view) { argument
76 StackViewState viewState = mStateMap.get(view);
79 mStateMap.put(view, viewState);
81 // initialize with the default values of the view
82 viewState.height = view.getIntrinsicHeight();
83 viewState.gone = view.getVisibility() == View.GONE;
128 public boolean applyState(ExpandableView view, StackViewState state) { argument
137 applyViewState(view, stat
186 applyViewState(View view, ViewState state) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DInteraction.java19 import android.view.MotionEvent;
20 import android.view.View;
21 import android.view.View.OnGenericMotionListener;
22 import android.view.View.OnTouchListener;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DDisplay_Delegate.java17 package android.view;
H A DViewRootImpl_Delegate.java17 package android.view;
/frameworks/support/compat/java/android/support/v4/view/
H A DScrollingView.java17 package android.support.v4.view;
31 * <p>The default range is the drawing width of this view.</p>
51 * <p>The default offset is the scroll offset of this view.</p>
70 * <p>The default extent is the drawing width of this view.</p>
89 * <p>The default range is the drawing height of this view.</p>
106 * <p>The default offset is the scroll offset of this view.</p>
125 * <p>The default extent is the drawing height of this view.</p>
/frameworks/support/design/honeycomb/android/support/design/widget/
H A DViewGroupUtilsHoneycomb.java22 import android.view.View;
23 import android.view.ViewGroup;
24 import android.view.ViewParent;
52 static void offsetDescendantMatrix(ViewParent target, View view, Matrix m) { argument
53 final ViewParent parent = view.getParent();
60 m.preTranslate(view.getLeft(), view.getTop());
62 if (!view.getMatrix().isIdentity()) {
63 m.preConcat(view.getMatrix());
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/
H A DRoundedRectHelperApi21.java18 import android.view.ViewOutlineProvider;
19 import android.view.View;
35 public void getOutline(View view, Outline outline) { argument
36 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), mRadius);
41 public static void setClipToRoundedOutline(View view, boolean clip, int roundedCornerRadius) { argument
53 view.setOutlineProvider(provider);
55 view.setOutlineProvider(ViewOutlineProvider.BACKGROUND);
57 view.setClipToOutline(clip);
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
H A DLeanbackPreferenceFragment.java21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;
52 final View view = inflater.inflate(R.layout.leanback_preference_fragment, container, false);
53 final ViewGroup innerContainer = (ViewGroup) view.findViewById(R.id.main_frame);
58 return view;
62 public void onViewCreated(View view, Bundle savedInstanceState) { argument
63 super.onViewCreated(view, savedInstanceState);
64 final TextView decorTitle = (TextView) view.findViewById(R.id.decor_title);
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuHelper.java17 package android.support.v7.view.menu;
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DFragmentContentIdActivity.java23 import android.view.LayoutInflater;
24 import android.view.View;
25 import android.view.ViewGroup;
55 View view = new View(getContext());
56 view.setId(R.id.fragment_a);
57 return view;
66 View view = new View(getContext());
67 view.setId(R.id.fragment_b);
68 return view;
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DFadeAndShortSlide.java31 import android.view.Gravity;
32 import android.view.View;
33 import android.view.ViewGroup;
34 import android.view.animation.DecelerateInterpolator;
59 /** Returns the translation X value for view when it goes out of the scene */
60 float getGoneX(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) { argument
61 return view.getTranslationX();
64 /** Returns the translation Y value for view when it goes out of the scene */
65 float getGoneY(FadeAndShortSlide t, ViewGroup sceneRoot, View view, int[] position) { argument
66 return view
221 onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, TransitionValues endValues) argument
252 onDisappear(ViewGroup sceneRoot, View view, TransitionValues startValues, TransitionValues endValues) argument
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DListenerTest.java21 import android.view.View;
45 View view = mBinder.click1;
47 view.callOnClick();
53 View view = mBinder.click2;
55 view.callOnClick();
61 View view = mBinder.click3;
63 view.callOnClick();
65 assertTrue(view.isClickable());
69 assertFalse(view.isClickable());
72 assertFalse(view
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DMultiArgTestAdapter.java20 import android.view.View;
44 public static void setBoth(TextView view, MultiBindingClass1 class1, argument
46 view.setText(join(class1, class2));
50 public static void setBoth(TextView view, String str1, argument
52 view.setText(join(str1, str2));
56 public static void setClass1(TextView view, MultiBindingClass1 class1) { argument
57 view.setText(class1.getValue());
61 public static void setClassStr(TextView view, String str) { argument
62 view.setText(str);
66 public static void setClass2(TextView view, MultiBindingClass argument
71 setWithOldValue(TextView view, String oldValue, String newValue) argument
76 set2WithOldValues(TextView view, String oldValue1, String oldValue2, String newValue1, String newValue2) argument
[all...]
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DCheckBoxPreference.java24 import android.view.View;
25 import android.view.accessibility.AccessibilityManager;
104 protected void performClick(View view) { argument
105 super.performClick(view);
106 syncViewIfAccessibilityEnabled(view);
109 private void syncViewIfAccessibilityEnabled(View view) { argument
116 View checkboxView = view.findViewById(android.R.id.checkbox);
119 View summaryView = view.findViewById(android.R.id.summary);
123 private void syncCheckboxView(View view) { argument
124 if (view instanceo
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTableLayoutBindingAdapter.java31 public static void setCollapseColumns(TableLayout view, CharSequence columnsStr) { argument
35 if (isCollapsed != view.isColumnCollapsed(i)) {
36 view.setColumnCollapsed(i, isCollapsed);
42 public static void setShrinkColumns(TableLayout view, CharSequence columnsStr) { argument
44 view.setShrinkAllColumns(true);
46 view.setShrinkAllColumns(false);
53 view.setColumnShrinkable(column, shrinkable);
60 public static void setStretchColumns(TableLayout view, CharSequence columnsStr) { argument
62 view.setStretchAllColumns(true);
64 view
[all...]
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTestUtilsMatchers.java27 import android.support.v4.view.GravityCompat;
28 import android.support.v4.view.ViewCompat;
30 import android.view.Gravity;
31 import android.view.View;
32 import android.view.ViewGroup;
33 import android.view.ViewParent;
55 public boolean matchesSafely(final View view) {
56 final int viewWidth = view.getWidth();
80 public boolean matchesSafely(final View view) {
81 final int viewWidth = view
[all...]
/frameworks/base/core/java/android/animation/
H A DRevealAnimator.java19 import android.view.RenderNodeAnimator;
20 import android.view.View;
25 * This hidden class currently only accessed by the {@link android.view.View}.
/frameworks/base/core/java/android/transition/
H A DChangeText.java25 import android.view.ViewGroup;
36 * text view to its new size before displaying the text that goes there.
64 * view at the end of the fade-out animation. This transition is typically
74 * end text into the affected target view(s). This transition is typically
77 * a sequence to fade out, then resize the view, then fade in.
129 if (transitionValues.view instanceof TextView) {
130 TextView textview = (TextView) transitionValues.view;
158 !(startValues.view instanceof TextView) || !(endValues.view instanceof TextView)) {
161 final TextView view
[all...]
H A DRotate.java21 import android.view.View;
22 import android.view.ViewGroup;
36 transitionValues.values.put(PROPNAME_ROTATION, transitionValues.view.getRotation());
41 transitionValues.values.put(PROPNAME_ROTATION, transitionValues.view.getRotation());
50 final View view = endValues.view;
54 view.setRotation(startRotation);
55 return ObjectAnimator.ofFloat(view, View.ROTATION,

Completed in 1175 milliseconds

1234567891011>>