/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ItemAlignmentFacetHelper.java | 21 import android.view.View; 22 import android.view.ViewGroup; 25 * Helper class to handle ItemAlignmentFacet in a grid view. 37 View view = itemView; 39 view = itemView.findViewById(facet.mViewId); 40 if (view == null) { 41 view = itemView; 48 alignPos += view.getPaddingLeft(); 52 alignPos -= view.getPaddingRight(); 56 alignPos += ((view [all...] |
H A D | BackgroundHelper.java | 21 import android.view.View; 25 * Helper for view backgrounds. 33 public void setBackgroundPreservingAlpha(View view, Drawable drawable); argument 38 public void setBackgroundPreservingAlpha(View view, Drawable drawable) { argument 40 view.setBackground(drawable); 46 public void setBackgroundPreservingAlpha(View view, Drawable drawable) { argument 47 BackgroundHelperKitkat.setBackgroundPreservingAlpha(view, drawable); 62 public static void setBackgroundPreservingAlpha(View view, Drawable drawable) { argument 63 sImpl.setBackgroundPreservingAlpha(view, drawable);
|
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
H A D | MenuItemCompatHoneycomb.java | 17 package android.support.v4.view; 19 import android.view.MenuItem; 20 import android.view.View; 30 public static MenuItem setActionView(MenuItem item, View view) { argument 31 return item.setActionView(view);
|
H A D | ViewGroupCompatHC.java | 18 package android.support.v4.view; 20 import android.view.ViewGroup;
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | TextViewBindingAdapter.java | 61 public static void setAutoText(TextView view, boolean autoText) { argument 62 KeyListener listener = view.getKeyListener(); 74 view.setKeyListener(TextKeyListener.getInstance(autoText, capitalize)); 78 public static void setCapitalize(TextView view, TextKeyListener.Capitalize capitalize) { argument 79 KeyListener listener = view.getKeyListener(); 83 view.setKeyListener(TextKeyListener.getInstance(autoText, capitalize)); 87 public static void setBufferType(TextView view, TextView.BufferType bufferType) { argument 88 view.setText(view.getText(), bufferType); 92 public static void setDigits(TextView view, CharSequenc argument 101 setNumeric(TextView view, int numeric) argument 107 setPhoneNumber(TextView view, boolean phoneNumber) argument 116 setDrawableBottom(TextView view, Drawable drawable) argument 122 setDrawableLeft(TextView view, Drawable drawable) argument 128 setDrawableRight(TextView view, Drawable drawable) argument 134 setDrawableTop(TextView view, Drawable drawable) argument 140 setDrawableStart(TextView view, Drawable drawable) argument 150 setDrawableEnd(TextView view, Drawable drawable) argument 160 setImeActionLabel(TextView view, CharSequence value) argument 165 setImeActionLabel(TextView view, int value) argument 170 setInputMethod(TextView view, CharSequence inputMethod) argument 184 setLineSpacingExtra(TextView view, float value) argument 193 setLineSpacingMultiplier(TextView view, float value) argument 202 setMaxLength(TextView view, int value) argument 236 setPassword(TextView view, boolean password) argument 245 setShadowColor(TextView view, int color) argument 255 setShadowDx(TextView view, float dx) argument 265 setShadowDy(TextView view, float dy) argument 275 setShadowRadius(TextView view, float r) argument 285 setTextSize(TextView view, float size) argument 290 setListener(TextView view, AfterTextChanged after) argument 295 setListener(TextView view, BeforeTextChanged before) argument 300 setListener(TextView view, OnTextChanged onTextChanged) argument 305 setListener(TextView view, final BeforeTextChanged before, final AfterTextChanged after) argument 311 setListener(TextView view, final BeforeTextChanged before, final OnTextChanged on) argument 317 setListener(TextView view,final OnTextChanged on, final AfterTextChanged after) argument 323 setListener(TextView view, final BeforeTextChanged before, final OnTextChanged on, final AfterTextChanged after) argument [all...] |
H A D | ViewGroupBindingAdapter.java | 24 import android.view.View; 25 import android.view.ViewGroup; 26 import android.view.ViewGroup.OnHierarchyChangeListener; 27 import android.view.animation.Animation; 28 import android.view.animation.Animation.AnimationListener; 31 @BindingMethod(type = android.view.ViewGroup.class, attribute = "android:alwaysDrawnWithCache", method = "setAlwaysDrawnWithCacheEnabled"), 32 @BindingMethod(type = android.view.ViewGroup.class, attribute = "android:animationCache", method = "setAnimationCacheEnabled"), 33 @BindingMethod(type = android.view.ViewGroup.class, attribute = "android:splitMotionEvents", method = "setMotionEventSplittingEnabled"), 39 public static void setAnimateLayoutChanges(ViewGroup view, boolean animate) { argument 41 view 48 setListener(ViewGroup view, OnChildViewAdded listener) argument 53 setListener(ViewGroup view, OnChildViewRemoved listener) argument 58 setListener(ViewGroup view, final OnChildViewAdded added, final OnChildViewRemoved removed) argument 83 setListener(ViewGroup view, final OnAnimationStart start, final OnAnimationEnd end, final OnAnimationRepeat repeat) argument 114 setListener(ViewGroup view, final OnAnimationStart start, final OnAnimationEnd end) argument 120 setListener(ViewGroup view, final OnAnimationEnd end, final OnAnimationRepeat repeat) argument 126 setListener(ViewGroup view, final OnAnimationStart start, final OnAnimationRepeat repeat) argument 132 setListener(ViewGroup view, final OnAnimationStart start) argument 137 setListener(ViewGroup view, final OnAnimationEnd end) argument 142 setListener(ViewGroup view, final OnAnimationRepeat repeat) argument [all...] |
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/ |
H A D | RoundedRectHelperApi21.java | 20 import android.view.ViewOutlineProvider; 21 import android.view.View; 29 public void getOutline(View view, Outline outline) { 31 sCornerRadius = view.getResources().getDimensionPixelSize( 34 outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), sCornerRadius); 39 public static void setClipToRoundedOutline(View view, boolean clip) { argument 40 view.setOutlineProvider(clip ? sOutlineProvider : ViewOutlineProvider.BACKGROUND); 41 view.setClipToOutline(clip);
|
/frameworks/base/core/java/android/text/method/ |
H A D | KeyListener.java | 20 import android.view.KeyEvent; 21 import android.view.View; 27 * {@link android.view.inputmethod.InputMethod}; it should only be used 63 public boolean onKeyDown(View view, Editable text, argument 71 public boolean onKeyUp(View view, Editable text, argument 79 public boolean onKeyOther(View view, Editable text, KeyEvent event); argument 84 public void clearMetaKeyState(View view, Editable content, int states); argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | NestedScrollingChild.java | 18 package android.support.v4.view; 20 import android.view.MotionEvent; 21 import android.view.VelocityTracker; 22 import android.view.View; 23 import android.view.ViewConfiguration; 24 import android.view.ViewParent; 27 * This interface should be implemented by {@link android.view.View View} subclasses that wish 29 * {@link android.view.ViewGroup ViewGroup}. 42 * Enable or disable nested scrolling for this view. 44 * <p>If this property is set to true the view wil [all...] |
H A D | MenuCompat.java | 17 package android.support.v4.view; 19 import android.view.MenuItem; 22 * Helper for accessing features in {@link android.view.Menu}
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | OrientationHelper.java | 19 import android.view.View; 26 * can also be used to abstract calls around view bounds and child measurements with margins and 72 * Returns the start of the view including its decoration and margin. 77 * @param view The view element to check 79 * @see #getDecoratedEnd(android.view.View) 81 public abstract int getDecoratedStart(View view); argument 84 * Returns the end of the view including its decoration and margin. 89 * @param view The view elemen 93 getDecoratedEnd(View view) argument 103 getDecoratedMeasurement(View view) argument 113 getDecoratedMeasurementInOther(View view) argument 157 offsetChild(View view, int offset) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/widget/ |
H A D | SimpleMonthView_Delegate.java | 43 // Maintain a cache of the last view used, so that the formatters can be reused. 53 /*package*/ static CharSequence getTitle(SimpleMonthView view) { argument 54 if (view.mTitle == null) { 55 SimpleMonthView_Delegate delegate = getDelegate(view); 58 getLocale(delegate, view), DEFAULT_TITLE_FORMAT)); 60 view.mTitle = delegate.mTitleFormatter.format(view.mCalendar.getTime()); 62 return view.mTitle; 66 /*package*/ static String getDayOfWeekLabel(SimpleMonthView view, int dayOfWeek) { argument 67 view 76 getLocale(SimpleMonthView_Delegate delegate, SimpleMonthView view) argument 84 getDelegate(SimpleMonthView view) argument [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | GenericAdapter.java | 30 public static <T> void setListText(TextView view, List<T> list) { argument 31 setText(view, list); 35 public static <T> void setCollectionText(TextView view, Collection<T> list) { argument 36 setText(view, list); 40 public static <T> void setArrayText(TextView view, T[] values) { argument 41 setText(view, Arrays.asList(values)); 45 public static <T> void setListAndArray(TextView view, List<T> list, T[] values) { argument 46 setText(view, list); 50 public static <T> void setGenericViewValue(GenericView<T> view, List<T> value) { argument 51 view 55 setGenericListAndArray(GenericView<T> view, List<T> list, T[] values) argument 60 setGenericList(TextView view, List<String> list) argument 65 setGenericIntegerList(TextView view, List<Integer> list) argument 68 setText(TextView view, Collection<T> collection) argument [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | Util.java | 5 import android.support.v4.view.accessibility.AccessibilityEventCompat; 6 import android.support.v4.view.accessibility.AccessibilityRecordCompat; 7 import android.view.View; 8 import android.view.accessibility.AccessibilityEvent; 9 import android.view.accessibility.AccessibilityManager; 22 * {@link android.view.View#announceForAccessibility} 23 * @param view The view that triggered the announcement 29 final View view, AccessibilityManager accessibilityManager, 33 view 28 announceForAccessibility( final View view, AccessibilityManager accessibilityManager, final CharSequence text) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | IApplicationToken.aidl | 1 /* //device/java/android/android/view/IApplicationToken.aidl 18 package android.view;
|
H A D | IWindowFocusObserver.aidl | 16 package android.view;
|
H A D | SearchEvent.java | 17 package android.view; 19 import android.view.InputDevice;
|
/frameworks/base/core/java/android/widget/ |
H A D | HeterogeneousExpandableList.java | 19 import android.view.View; 20 import android.view.ViewGroup; 24 * {@link ExpandableListAdapter} take advantage of the {@link Adapter} view type 27 * An {@link ExpandableListAdapter} declares it has one view type for its group items 28 * and one view type for its child items. Although adapted for most {@link ExpandableListView}s,
|
H A D | SpinnerAdapter.java | 19 import android.view.View; 20 import android.view.ViewGroup; 31 * Gets a {@link android.view.View} that displays in the drop down popup 34 * @param position index of the item whose view we want. 35 * @param convertView the old view to reuse, if possible. Note: You should 36 * check that this view is non-null and of an appropriate type before 37 * using. If it is not possible to convert this view to display the 38 * correct data, this method can create a new view. 39 * @param parent the parent that this view will eventually be attached to 40 * @return a {@link android.view [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | ViewState.java | 19 import android.view.View; 22 * A state of a view. This can be used to apply a set of view properties to a view with 42 public void initFrom(View view) { argument 43 alpha = view.getVisibility() == View.INVISIBLE ? 0.0f : view.getAlpha(); 44 yTranslation = view.getTranslationY(); 45 zTranslation = view.getTranslationZ(); 46 gone = view [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | MultiAdapterSetterObj.java | 16 import android.view.View; 22 public void onClick(View view) {
|
/frameworks/support/v4/gingerbread/android/support/v4/view/ |
H A D | ViewCompatGingerbread.java | 17 package android.support.v4.view; 19 import android.view.View;
|
/frameworks/support/v4/java/android/support/v4/internal/view/ |
H A D | SupportMenu.java | 17 package android.support.v4.internal.view; 25 * @see android.view.Menu 28 public interface SupportMenu extends android.view.Menu {
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/view/ |
H A D | ViewGroupCompatJellybeanMR2.java | 18 package android.support.v4.view; 20 import android.view.ViewGroup;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchUIUtilImpl.java | 20 import android.support.v4.view.ViewCompat; 22 import android.view.View; 33 public void onDraw(Canvas c, RecyclerView recyclerView, View view, argument 36 Object originalElevation = view.getTag(R.id.item_touch_helper_previous_elevation); 38 originalElevation = ViewCompat.getElevation(view); 39 float newElevation = 1f + findMaxElevation(recyclerView, view); 40 ViewCompat.setElevation(view, newElevation); 41 view.setTag(R.id.item_touch_helper_previous_elevation, originalElevation); 44 super.onDraw(c, recyclerView, view, dX, dY, actionState, isCurrentlyActive); 64 public void clearView(View view) { argument 77 clearView(View view) argument 83 onSelected(View view) argument 88 onDraw(Canvas c, RecyclerView recyclerView, View view, float dX, float dY, int actionState, boolean isCurrentlyActive) argument 95 onDrawOver(Canvas c, RecyclerView recyclerView, View view, float dX, float dY, int actionState, boolean isCurrentlyActive) argument 103 draw(Canvas c, RecyclerView parent, View view, float dX, float dY) argument 112 clearView(View view) argument 117 onSelected(View view) argument 122 onDraw(Canvas c, RecyclerView recyclerView, View view, float dX, float dY, int actionState, boolean isCurrentlyActive) argument 130 onDrawOver(Canvas c, RecyclerView recyclerView, View view, float dX, float dY, int actionState, boolean isCurrentlyActive) argument [all...] |