/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/Launcher3/src/com/android/launcher3/ |
H A D | OverviewButtonClickListener.java | 3 import android.view.View; 26 public void onClick(View view) { argument 27 if (shouldPerformClick(view)) { 28 handleViewClick(view, Action.Touch.TAP); 33 public boolean onLongClick(View view) { argument 34 if (shouldPerformClick(view)) { 35 handleViewClick(view, Action.Touch.LONGPRESS); 40 private boolean shouldPerformClick(View view) { argument 41 return !Launcher.getLauncher(view.getContext()).getWorkspace().isSwitchingState(); 44 private void handleViewClick(View view, in argument 50 handleViewClick(View view) 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.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/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/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/Dialer/java/com/android/dialer/app/list/ |
H A D | ContentChangedFilter.java | 19 import android.view.View; 20 import android.view.View.AccessibilityDelegate; 21 import android.view.ViewGroup; 22 import android.view.accessibility.AccessibilityEvent; 27 * be rejected at a view's parent once it is generated, use addToParent() to add this delegate to 32 //the view we don't want TYPE_WINDOW_CONTENT_CHANGED to fire. 35 private ContentChangedFilter(View view) { argument 37 mView = view; 40 /** Add this delegate to the parent of @param view to filter out TYPE_WINDOW_CONTENT_CHANGED */ 41 public static void addToParent(View view) { argument [all...] |
H A D | OnDragDropListener.java | 30 * @param view The contact tile which the drag was started on 32 void onDragStarted(int x, int y, PhoneFavoriteSquareTileView view); argument 39 * @param view Contact tile in the ListView which is currently being displaced by the dragged 42 void onDragHovered(int x, int y, PhoneFavoriteSquareTileView view); argument 54 * Called when a contact has been dropped on the remove view, indicating that the user wants to
|
/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/Dialer/java/com/android/dialer/common/ |
H A D | UiUtil.java | 21 import android.view.View; 22 import android.view.inputmethod.InputMethodManager; 28 public static void hideKeyboardFrom(Context context, View view) { argument 31 imm.hideSoftInputFromWindow(view.getWindowToken(), 0); 35 public static void openKeyboardFrom(Context context, View view) { argument 39 view.getApplicationWindowToken(), InputMethodManager.SHOW_FORCED, 0);
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
H A D | AddContactViewHolder.java | 21 import android.view.View; 22 import android.view.View.OnClickListener; 31 AddContactViewHolder(View view) { argument 32 super(view); 33 view.setOnClickListener(this); 34 context = view.getContext();
|
/packages/apps/Contacts/tests/src/com/android/contacts/list/ |
H A D | ContactListItemViewTest.java | 56 ContactListItemView view = createView(); 58 view.showDisplayName(cursor, 0, ContactsPreferences.DISPLAY_ORDER_PRIMARY); 60 assertEquals(view.getNameTextView().getText().toString(), "John Doe"); 65 ContactListItemView view = createView(); 67 view.setUnknownNameText("unknown"); 68 view.showDisplayName(cursor, 0, ContactsPreferences.DISPLAY_ORDER_PRIMARY); 70 assertEquals(view.getNameTextView().getText().toString(), "unknown"); 75 ContactListItemView view = createView(); 77 view.setHighlightedPrefix("DOE"); 78 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/Dialer/java/com/android/dialer/app/alert/ |
H A D | AlertManager.java | 19 import android.view.View; 24 /** Inflates <code>layoutId</code> into a view that is ready to be inserted as an alert. */ 27 void add(View view); argument
|
/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/services/Car/car-support-lib/src/android/support/car/input/ |
H A D | CarInputManager.java | 29 * If IME input is already occurring for another view, this call stops input on the previous 30 * view and starts input on the new view. 35 abstract public void startInput(EditText view); argument 60 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/Dialer/java/com/android/dialer/searchfragment/list/ |
H A D | HeaderViewHolder.java | 20 import android.view.View; 28 HeaderViewHolder(View view) { argument 29 super(view); 30 header = view.findViewById(R.id.header);
|