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

1234567891011>>

/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/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;
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 doAfterDraw(final View view, final Runnable runnable) { argument
45 view.getViewTreeObserver().removeOnDrawListener(this);
49 view.getViewTreeObserver().addOnDrawListener(listener);
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DItemMoveGestureListener.java19 import android.view.MotionEvent;
20 import android.view.View;
29 * @param view The view
34 public boolean onMoveBegin(View view, MotionEvent e); argument
39 * @param view The view
45 public boolean onMove(View view, MotionEvent e1, MotionEvent e2); argument
50 * @param view The view
52 onMoveEnd(View view) argument
[all...]
H A DItemSimpleGestureListener.java19 import android.view.MotionEvent;
20 import android.view.View;
36 * @param view The view which received the event
42 public boolean onSingleTapConfirmed(View view, int area, MotionEvent e); argument
48 * @param view The view which received the event
52 public void onLongPress(View view, MotionEvent e); argument
H A DScrollViewListener.java19 import android.view.View;
28 * @param view The view
34 public void onScrollBegin(View view, int scrollX, int scrollY, boolean appScroll); argument
39 * @param view The view
45 public void onScrollProgress(View view, int scrollX, int scrollY, boolean appScroll); argument
50 * @param view The view
56 public void onScrollEnd(View view, in argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DViewUtil.java19 import android.view.View;
20 import android.view.ViewGroup;
30 * @throws IllegalStateException Thrown if the view's width is unknown before a layout pass
33 public static int getConstantPreLayoutWidth(View view) { argument
35 final ViewGroup.LayoutParams p = view.getLayoutParams();
37 throw new IllegalStateException("Expecting view's width to be a constant rather " +
/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/ContactsCommon/tests/src/com/android/contacts/common/list/
H A DContactListItemViewTest.java58 ContactListItemView view = createView();
60 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY);
62 assertEquals(view.getNameTextView().getText().toString(), "John Doe");
67 ContactListItemView view = createView();
69 view.setUnknownNameText("unknown");
70 view.showDisplayName(cursor, 0, ContactsContract.Preferences.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
H A DAnimationManager.java22 import android.view.View;
43 * @param view a thumbnail view that shows a picture captured and gets animated
45 public void startCaptureAnimation(final View view) { argument
49 View parentView = (View) view.getParent();
50 float slideDistance = (float) (parentView.getWidth() - view.getLeft());
52 float scaleX = ((float) parentView.getWidth()) / ((float) view.getWidth());
53 float scaleY = ((float) parentView.getHeight()) / ((float) view.getHeight());
56 int centerX = view.getLeft() + view
[all...]
/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/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...]
H A DGridAdapter.java6 import android.view.View;
7 import android.view.ViewGroup;
39 * For a view at the specified position, return the region around the view that is a possible
42 * @param isLastColumnInGrid Flag to indicate whether the view at the specified position is
44 * when it comes to reordering. As an example, if a view has reordering area set to Left, and
46 * for this view as well so that the user has the convenience have dropping views on the right
48 * @return int The re-ordering area for the view at this adapter position.
71 public void setHeaderView(View view) { argument
72 mHeaderView = view;
79 setFooterView(View view) argument
95 setItemId(View view, long id) argument
102 getItemIdFromView(View view, int position) argument
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DSlideshowPresenter.java53 // Since only the original thread that created a view hierarchy can touch
58 public SlideshowPresenter(Context context, ViewInterface view, Model model) { argument
59 super(context, view, model);
63 if (view instanceof AdaptableSlideViewInterface) {
64 ((AdaptableSlideViewInterface) view).setOnSizeChangedListener(
120 * @param view
123 protected void presentSlide(SlideViewInterface view, SlideModel model) { argument
124 view.reset();
128 presentRegionMedia(view, (RegionMediaModel) media, true);
130 presentAudio(view, (AudioMode
138 presentRegionMedia(SlideViewInterface view, RegionMediaModel rMedia, boolean dataChanged) argument
150 presentAudio(SlideViewInterface view, AudioModel audio, boolean dataChanged) argument
169 presentText(SlideViewInterface view, TextModel text, RegionModel r, boolean dataChanged) argument
190 presentImage(SlideViewInterface view, ImageModel image, RegionModel r, boolean dataChanged) argument
222 presentVideo(SlideViewInterface view, VideoModel video, RegionModel r, boolean dataChanged) argument
[all...]
H A DIconListAdapter.java23 import android.view.LayoutInflater;
24 import android.view.View;
25 import android.view.ViewGroup;
45 public ViewHolder(View view) { argument
46 mView = view;
73 View view;
75 view = mInflater.inflate(mResource, parent, false);
76 mViewHolder = new ViewHolder(view);
77 view.setTag(mViewHolder);
79 view
[all...]
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DMockContactPhotoManager.java31 public void loadThumbnail(ImageView view, long photoId, boolean darkTheme, argument
33 defaultProvider.applyDefaultImage(view, -1, darkTheme, null);
37 public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean darkTheme, argument
39 defaultProvider.applyDefaultImage(view, requestedExtent, darkTheme, null);
43 public void removePhoto(ImageView view) { argument
44 view.setImageDrawable(null);
/packages/apps/Contacts/src/com/android/contacts/test/
H A DEmptyFragment.java21 import android.view.LayoutInflater;
22 import android.view.View;
23 import android.view.ViewGroup;
/packages/apps/Email/src/com/android/email/activity/setup/
H A DPolicyListPreference.java22 import android.view.View;
41 protected void onBindView(View view) { argument
42 super.onBindView(view);
43 ((TextView)view.findViewById(android.R.id.summary)).setMaxLines(MAX_POLICIES);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DAttachmentDeletionInterface.java4 import android.view.View.OnClickListener;
8 * attachments so that the larger attachments view can set
14 * Sets the onClickListener for the close button on the attachment view.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
H A DHardwareEventDecoder.java19 import android.view.KeyEvent;

Completed in 556 milliseconds

1234567891011>>