Searched refs:view (Results 1 - 25 of 1896) 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
/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/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.
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 DViewOutlineProviderCompatUtilsLXX.java23 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/Launcher3/src/com/android/launcher3/
H A DClickShadowView.java24 import android.view.View;
25 import android.view.ViewGroup;
50 * @return extra space required by the view to show the shadow.
58 * @return true if the view was invalidated.
88 * Aligns the shadow with {@param view}
89 * @param viewParent immediate parent of {@param view}. It must be a sibling of this view.
91 public void alignWithIconView(BubbleTextView view, ViewGroup viewParent) { argument
92 float leftShift = view.getLeft() + viewParent.getLeft() - getLeft();
93 float topShift = view
[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/calllog/
H A DShowCallHistoryViewHolder.java22 import android.view.LayoutInflater;
23 import android.view.View;
24 import android.view.ViewGroup;
30 private ShowCallHistoryViewHolder(final Context context, View view) { argument
31 super(view);
32 view.setOnClickListener(new View.OnClickListener() {
43 View view = inflater.inflate(R.layout.show_call_history_list_item, parent, false);
44 return new ShowCallHistoryViewHolder(context, view);
/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/Messaging/src/com/android/messaging/ui/
H A DPagerViewHolder.java18 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/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/Settings/src/com/android/settings/
H A DAccessiblePreferenceCategory.java21 import android.view.View;
38 protected void onBindView(View view) { argument
39 super.onBindView(view);
41 view.setContentDescription(mContentDescription);
/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...]

Completed in 2183 milliseconds

1234567891011>>