/packages/inputmethods/LatinIME/tools/dicttool/compat/android/view/inputmethod/ |
H A D | EditorInfo.java | 17 package android.view.inputmethod;
|
H A D | CompletionInfo.java | 17 package android.view.inputmethod;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | SwipeableItemView.java | 20 import android.view.View; 40 public static SwipeableView from(View view) { argument 41 view.setClickable(true); 42 return new SwipeableView(view); 46 private SwipeableView(View view) { argument 47 mView = view;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | ScrollAdapterCustomAlign.java | 19 import android.view.View; 29 public int getItemAlignmentExtraOffset(int adapterIndex, View view); argument
|
H A D | ScrollAdapterCustomSize.java | 19 import android.view.View; 34 * it's width or height, the view itself is responsible doing the scale in 37 int getSelectItemSize(int adapterIndex, View view); argument
|
H A D | ScrollAdapterTransform.java | 19 import android.view.View; 22 * performs transform on a view based on distance from center 27 * performs transform on a view based on distance pixels from center 29 * @param view view that to perform transform 33 * grid view; in case of a single row/column, it will be 0 35 public void transform(View view, int distanceFromCenter, int distanceFromCenter2ndAxis); argument
|
H A D | ScrollAdapter.java | 19 import android.view.View; 20 import android.view.ViewGroup; 31 * {@link Adapter#getView(int,View,ViewGroup)} to create an expanded view. Returns null if the
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | ViewUtils.java | 23 import android.support.v4.view.ViewCompat; 24 import android.view.View; 25 import android.view.ViewParent; 26 import android.view.Window; 27 import android.view.accessibility.AccessibilityEvent; 28 import android.view.accessibility.AccessibilityManager; 36 * Determines whether the given view has RTL layout. NOTE: do not call this 37 * on a view until it has been measured. This value is not guaranteed to be 40 public static boolean isViewRtl(View view) { argument 41 return ViewCompat.getLayoutDirection(view) 48 getPaddingStart(View view) argument 56 getPaddingEnd(View view) argument 64 setTextAlignment(View view, int textAlignment) argument 80 announceForAccessibility(View view, CharSequence text) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | SchedulingUtils.java | 19 import android.view.View; 20 import android.view.ViewTreeObserver.OnDrawListener; 21 import android.view.ViewTreeObserver.OnGlobalLayoutListener; 22 import android.view.ViewTreeObserver.OnPreDrawListener; 29 public static void doAfterLayout(final View view, final Runnable runnable) { argument 34 view.getViewTreeObserver().removeOnGlobalLayoutListener(this); 38 view.getViewTreeObserver().addOnGlobalLayoutListener(listener); 42 public static void doOnPreDraw(final View view, final boolean drawNextFrame, argument 47 view.getViewTreeObserver().removeOnPreDrawListener(this); 52 view [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | ViewSelectedFilter.java | 19 import android.view.View; 20 import android.view.View.AccessibilityDelegate; 21 import android.view.ViewGroup; 22 import android.view.accessibility.AccessibilityEvent; 28 private View mView; //the view we don't want TYPE_VIEW_SELECTED event to fire. 30 private ViewSelectedFilter(View view) { argument 32 mView = view; 36 * AccessibilityEvent can only be suppressed at a view's parent, so this function adds the 37 * delegate to the view's parent. 38 * @param view th 40 suppressViewSelectedEvent(View view) argument [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | SchedulingUtils.java | 19 import android.view.View; 20 import android.view.ViewTreeObserver.OnGlobalLayoutListener; 21 import android.view.ViewTreeObserver.OnPreDrawListener; 28 public static void doAfterLayout(final View view, final Runnable runnable) { argument 33 view.getViewTreeObserver().removeOnGlobalLayoutListener(this); 37 view.getViewTreeObserver().addOnGlobalLayoutListener(listener); 41 public static void doOnPreDraw(final View view, final boolean drawNextFrame, argument 46 view.getViewTreeObserver().removeOnPreDrawListener(this); 51 view.getViewTreeObserver().addOnPreDrawListener(listener);
|
H A D | ViewUtil.java | 21 import android.view.View; 22 import android.view.ViewGroup; 23 import android.view.ViewOutlineProvider; 37 * @throws IllegalStateException Thrown if the view's width is unknown before a layout pass 40 public static int getConstantPreLayoutWidth(View view) { argument 42 final ViewGroup.LayoutParams p = view.getLayoutParams(); 44 throw new IllegalStateException("Expecting view's width to be a constant rather " + 51 * Returns a boolean indicating whether or not the view's layout direction is RTL 53 * @param view - A valid view 56 isViewLayoutRtl(View view) argument 94 addRectangularOutlineProvider(View view, Resources res) argument 105 setupFloatingActionButton(View view, Resources res) argument [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | ContentChangedFilter.java | 3 import android.view.View; 4 import android.view.View.AccessibilityDelegate; 5 import android.view.ViewGroup; 6 import android.view.accessibility.AccessibilityEvent; 11 * AccessibilityEvent can only be rejected at a view's parent once it is generated, 15 //the view we don't want TYPE_WINDOW_CONTENT_CHANGED to fire. 19 * Add this delegate to the parent of @param view to filter out TYPE_WINDOW_CONTENT_CHANGED 21 public static void addToParent(View view){ argument 22 View parent = (View) view.getParent(); 23 parent.setAccessibilityDelegate(new ContentChangedFilter(view)); 26 ContentChangedFilter(View view) argument [all...] |
H A D | OnDragDropListener.java | 13 * @param view The contact tile which the drag was started on 15 public void onDragStarted(int x, int y, PhoneFavoriteSquareTileView view); argument 23 * @param view Contact tile in the ListView which is currently being displaced 26 public void onDragHovered(int x, int y, PhoneFavoriteSquareTileView view); argument 37 * Called when a contact has been dropped on the remove view, indicating that the user
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | ViewCompatUtils.java | 19 import android.view.View; 23 // TODO: Use {@link android.support.v4.view.ViewCompat} instead of this utility class. 42 public static int getPaddingEnd(final View view) { argument 44 return view.getPaddingRight(); 46 return (Integer)CompatUtils.invoke(view, 0, METHOD_getPaddingEnd); 49 public static void setPaddingRelative(final View view, final int start, final int top, argument 52 view.setPadding(start, top, end, bottom); 55 CompatUtils.invoke(view, null, METHOD_setPaddingRelative, start, top, end, bottom); 67 public static void setTextAlignment(final View view, final int textAlignment) { argument 68 CompatUtils.invoke(view, nul [all...] |
H A D | ViewOutlineProviderCompatUtilsLXX.java | 23 import android.view.View; 24 import android.view.ViewOutlineProvider; 34 static InsetsUpdater setInsetsOutlineProvider(final View view) { argument 35 final InsetsOutlineProvider provider = new InsetsOutlineProvider(view); 36 view.setOutlineProvider(provider); 46 public InsetsOutlineProvider(final View view) { argument 47 mView = view; 48 view.setOutlineProvider(this); 61 public void getOutline(final View view, final Outline outline) { argument 64 ViewOutlineProvider.BACKGROUND.getOutline(view, outlin [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
H A D | EmptyItemPresenter.java | 22 import android.view.Gravity; 23 import android.view.ViewGroup; 44 TextView view = new TextView(parent.getContext()); 45 Resources resources = view.getResources(); 46 view.setLayoutParams(new ViewGroup.LayoutParams( 49 view.setFocusable(true); 50 view.setFocusableInTouchMode(true); 51 view.setBackgroundColor( 53 view.setTextColor(Color.WHITE); 54 view [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/list/ |
H A D | ContactListItemViewTest.java | 58 ContactListItemView view = createView(); 60 view.showDisplayName(cursor, 0, ContactsPreferences.DISPLAY_ORDER_PRIMARY); 62 assertEquals(view.getNameTextView().getText().toString(), "John Doe"); 67 ContactListItemView view = createView(); 69 view.setUnknownNameText("unknown"); 70 view.showDisplayName(cursor, 0, ContactsPreferences.DISPLAY_ORDER_PRIMARY); 72 assertEquals(view.getNameTextView().getText().toString(), "unknown"); 77 ContactListItemView view = createView(); 79 view.setHighlightedPrefix("DOE"); 80 view [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | ContextMenuAdapter.java | 18 import android.view.MenuItem; 19 import android.view.View;
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | PagerViewHolder.java | 18 import android.view.View; 19 import android.view.ViewGroup; 27 /** Instructs the pager to clean up any view related resources 32 /** @return The view that presents the page view to the user */
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
H A D | Item.java | 20 import android.view.View; 21 import android.view.ViewGroup; 52 protected void onBind(View view) { argument 53 mItemView = view; 81 private void setEnabledInternal(View view, boolean enabled) { argument 82 view.setEnabled(enabled); 83 if (view instanceof ViewGroup) { 84 ViewGroup parent = (ViewGroup) view;
|
/packages/services/Car/car-support-lib/src/android/support/car/input/ |
H A D | CarInputManager.java | 27 * If IME input is already occurring for another view, this call stops input on the previous 28 * view and starts input on the new view. 33 abstract public void startInput(EditText view); argument 58 abstract public boolean isCurrentCarEditable(EditText view); argument
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | VideoController.java | 19 import android.view.View; 25 public void onReviewDoneClicked(View view); argument 27 public void onReviewPlayClicked(View view); argument 33 public void onSingleTapUp(View view, int x, int y); argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | SimpleOnStylusPressListener.java | 3 import android.view.MotionEvent; 4 import android.view.View; 9 * Simple listener that performs a long click on the view after a stylus button press. 14 public SimpleOnStylusPressListener(View view) { argument 15 mView = view;
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | AccessibilityUtils.java | 20 import android.support.v4.view.accessibility.AccessibilityRecordCompat; 21 import android.view.View; 22 import android.view.accessibility.AccessibilityEvent; 23 import android.view.accessibility.AccessibilityManager; 32 public static void makeAnnouncement(View view, CharSequence announcement) { argument 33 if (view == null) 36 view.announceForAccessibility(announcement); 39 Context ctx = view.getContext(); 46 arc.setSource(view); 47 event.setClassName(view [all...] |