Searched refs:view (Results 1 - 25 of 1658) sorted by relevance

1234567891011>>

/packages/inputmethods/LatinIME/tools/dicttool/compat/android/view/inputmethod/
H A DEditorInfo.java17 package android.view.inputmethod;
H A DCompletionInfo.java17 package android.view.inputmethod;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSwipeableItemView.java20 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/ContactsCommon/src/com/android/contacts/common/util/
H A DViewUtil.java21 import android.view.View;
22 import android.view.ViewGroup;
23 import android.view.ViewOutlineProvider;
36 * @throws IllegalStateException Thrown if the view's width is unknown before a layout pass
39 public static int getConstantPreLayoutWidth(View view) { argument
41 final ViewGroup.LayoutParams p = view.getLayoutParams();
43 throw new IllegalStateException("Expecting view's width to be a constant rather " +
50 * Returns a boolean indicating whether or not the view's layout direction is RTL
52 * @param view - A valid view
55 isViewLayoutRtl(View view) argument
79 addRectangularOutlineProvider(View view, Resources res) argument
88 setupFloatingActionButton(View view, Resources res) argument
[all...]
H A DSchedulingUtils.java19 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);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollAdapterCustomAlign.java19 import android.view.View;
29 public int getItemAlignmentExtraOffset(int adapterIndex, View view); argument
H A DScrollAdapterCustomSize.java19 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 DScrollAdapterTransform.java19 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 DScrollAdapter.java19 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
H A DScrollAdapterBase.java19 import android.view.View;
20 import android.view.ViewGroup;
31 * when a view is removed from ScrollAdapterView, this gives Adapter a chance to do some clean
33 * should not destroy the view hierarchy because the view might be recycled and passed as
36 public abstract void viewRemoved(View view); argument
39 * Creates a scrap view to measure and decide the size of ScrollAdapterView , the difference
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DViewUtils.java23 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 DSchedulingUtils.java19 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/Browser/tests/src/com/android/browser/
H A DTestWebViewClient.java22 import android.view.KeyEvent;
45 public boolean shouldOverrideUrlLoading(WebView view, String url) { argument
46 return mWrappedClient.shouldOverrideUrlLoading(view, url);
51 public void onPageStarted(WebView view, String url, Bitmap favicon) { argument
52 mWrappedClient.onPageStarted(view, url, favicon);
57 public void onPageFinished(WebView view, String url) { argument
58 mWrappedClient.onPageFinished(view, url);
63 public void onLoadResource(WebView view, String url) { argument
64 mWrappedClient.onLoadResource(view, url);
70 public void onTooManyRedirects(WebView view, Messag argument
77 onReceivedError(WebView view, int errorCode, String description, String failingUrl) argument
84 onFormResubmission(WebView view, Message dontResend, Message resend) argument
91 doUpdateVisitedHistory(WebView view, String url, boolean isReload) argument
98 onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) argument
105 onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm) argument
112 shouldOverrideKeyEvent(WebView view, KeyEvent event) argument
118 onUnhandledKeyEvent(WebView view, KeyEvent event) argument
124 onScaleChanged(WebView view, float oldScale, float newScale) argument
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DOptionsMenuHandler.java19 import android.view.Menu;
20 import android.view.MenuItem;
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DContextMenuAdapter.java18 import android.view.MenuItem;
19 import android.view.View;
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmListeners.java19 import android.view.View;
33 public void onClick(View view) { argument
/packages/apps/Dialer/src/com/android/dialer/list/
H A DOnDragDropListener.java13 * @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/apps/ContactsCommon/tests/src/com/android/contacts/common/list/
H A DContactListItemViewTest.java58 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/Camera2/src/com/android/camera/
H A DVideoController.java19 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/Camera2/src/com/android/camera/util/
H A DAccessibilityUtils.java4 import android.support.v4.view.accessibility.AccessibilityRecordCompat;
5 import android.view.View;
6 import android.view.accessibility.AccessibilityEvent;
7 import android.view.accessibility.AccessibilityManager;
14 public static void makeAnnouncement(View view, CharSequence announcement) { argument
15 if (view == null)
18 view.announceForAccessibility(announcement);
21 Context ctx = view.getContext();
28 arc.setSource(view);
29 event.setClassName(view
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DAccessibilityUtils.java20 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...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
H A DWindowLocationUtil.java22 import android.view.View;
23 import android.view.ViewParent;
35 * map points inside view into locations of a screen
41 public static void getLocationsInWindow(View view, float[] points) { argument
47 Matrix matrix = view.getMatrix();
52 int deltax = view.getLeft();
53 int deltay = view.getTop();
61 ViewParent viewParent = view.getParent();
63 view = (View) viewParent;
65 deltax = view
95 getLocationsInWindow(View view, RectF rect) argument
110 getImageLocationsInWindow(ImageView view, RectF clippedBounds, RectF unclippedBitmapRect) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DPanelTrack.java20 import android.view.MotionEvent;
21 import android.view.View;
26 public void onTouch(MotionEvent event, StateView view); argument
28 public void setCurrentView(View view); argument
31 public int findChild(View view); argument
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DSgvAnimationHelper.java12 import android.view.View;
13 import android.view.WindowManager;
14 import android.view.animation.AnimationUtils;
15 import android.view.animation.Interpolator;
29 // New views expand into view from height 0. Existing views are updated and translated
32 // New views expand into view from height 0. Existing views are updated and translated
51 // Stale views are faded out of view. Existing views are then updated and translated
111 * Add animations to translate a view's X-translation. {@link AnimatorListener} can be null.
114 final View view, int startTranslation, final int endTranslation, int animationDelay,
117 // but to add a recycle view listene
113 addXTranslationAnimators(List<Animator> animators, final View view, int startTranslation, final int endTranslation, int animationDelay, AnimatorListener listener) argument
134 addYTranslationAnimators(List<Animator> animators, final View view, int startTranslation, final int endTranslation, int animationDelay, AnimatorListener listener) argument
156 addXYTranslationAnimators(List<Animator> animators, final View view, int xTranslation, int yTranslation, int animationDelay) argument
166 addTranslationRotationAnimators(List<Animator> animators, final View view, int xTranslation, int yTranslation, float rotation, int animationDelay) argument
202 addExpandInAnimators(List<Animator> animators, final View view, int animationDelay) argument
226 addCollapseOutAnimators(List<Animator> animators, final View view, int animationDelay) argument
250 addCollapseOutAnimators(List<Animator> animators, final View view) argument
259 addFlyOutAnimators(List<Animator> animators, final View view, int startTranslation, int endTranslation, int animationDelay) argument
265 addFlyOutAnimators(List<Animator> animators, final View view, int startTranslation, int endTranslation) argument
271 addSlideInFromRightAnimators(List<Animator> animators, final View view, int startTranslation, int animationDelay) argument
281 addSlideOutAnimators(List<Animator> animators, final View view, int startTranslation, int endTranslation, int animationDelay) argument
293 addSlideOutAnimators(List<Animator> animators, final View view, int startTranslation, int endTranslation) argument
302 addFadeAnimators(List<Animator> animators, final View view, float startAlpha, final float endAlpha, int animationDelay) argument
330 addFadeAnimators(List<Animator> animators, final View view, float startAlpha, final float endAlpha) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DViewCompatUtils.java19 import android.view.View;
23 // TODO: Use {@link android.support.v4.view.ViewCompat} instead of this utility class.
45 public static int getPaddingEnd(final View view) { argument
47 return view.getPaddingRight();
49 return (Integer)CompatUtils.invoke(view, 0, METHOD_getPaddingEnd);
52 public static void setPaddingRelative(final View view, final int start, final int top, argument
55 view.setPadding(start, top, end, bottom);
58 CompatUtils.invoke(view, null, METHOD_setPaddingRelative, start, top, end, bottom);
61 public static void setElevation(final View view, final float elevation) { argument
62 CompatUtils.invoke(view, nul
74 setTextAlignment(final View view, final int textAlignment) argument
[all...]

Completed in 3092 milliseconds

1234567891011>>