/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | ItemMoveGestureListener.java | 19 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 D | ItemSimpleGestureListener.java | 19 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 D | ScrollViewListener.java | 19 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/Browser/tests/src/com/android/browser/ |
H A D | TestWebViewClient.java | 22 import android.view.KeyEvent; 46 public boolean shouldOverrideUrlLoading(WebView view, String url) { argument 47 return mWrappedClient.shouldOverrideUrlLoading(view, url); 52 public void onPageStarted(WebView view, String url, Bitmap favicon) { argument 53 mWrappedClient.onPageStarted(view, url, favicon); 58 public void onPageFinished(WebView view, String url) { argument 59 mWrappedClient.onPageFinished(view, url); 64 public void onLoadResource(WebView view, String url) { argument 65 mWrappedClient.onLoadResource(view, url); 71 public void onTooManyRedirects(WebView view, Messag argument 78 onReceivedError(WebView view, int errorCode, String description, String failingUrl) argument 85 onFormResubmission(WebView view, Message dontResend, Message resend) argument 92 doUpdateVisitedHistory(WebView view, String url, boolean isReload) argument 99 onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) argument 106 onReceivedClientCertRequest(WebView view, ClientCertRequestHandler handler, String host_and_port) argument 113 onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm) argument 120 shouldOverrideKeyEvent(WebView view, KeyEvent event) argument 126 onUnhandledKeyEvent(WebView view, KeyEvent event) argument 132 onScaleChanged(WebView view, float oldScale, float newScale) argument [all...] |
H A D | TestWebChromeClient.java | 22 import android.view.View; 48 public void onProgressChanged(WebView view, int newProgress) { argument 49 mWrappedClient.onProgressChanged(view, newProgress); 54 public void onReceivedTitle(WebView view, String title) { argument 55 mWrappedClient.onReceivedTitle(view, title); 60 public void onReceivedIcon(WebView view, Bitmap icon) { argument 61 mWrappedClient.onReceivedIcon(view, icon); 66 public void onReceivedTouchIconUrl(WebView view, String url, argument 68 mWrappedClient.onReceivedTouchIconUrl(view, url, precomposed); 73 public void onShowCustomView(View view, CustomViewCallbac argument 85 onCreateWindow(WebView view, boolean dialog, boolean userGesture, Message resultMsg) argument 94 onRequestFocus(WebView view) argument 106 onJsAlert(WebView view, String url, String message, JsResult result) argument 113 onJsConfirm(WebView view, String url, String message, JsResult result) argument 120 onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) argument 127 onJsBeforeUnload(WebView view, String url, String message, JsResult result) argument [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | OptionsMenuHandler.java | 19 import android.view.Menu; 20 import android.view.MenuItem;
|
/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/Contacts/tests/src/com/android/contacts/list/ |
H A D | ContactListItemViewTest.java | 65 ContactListItemView view = createView(); 67 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY); 69 SpannedTestUtils.checkHtmlText("John Doe", view.getNameTextView()); 74 ContactListItemView view = createView(); 76 view.setUnknownNameText("unknown"); 77 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY); 79 SpannedTestUtils.checkHtmlText("unknown", view.getNameTextView()); 84 ContactListItemView view = createView(); 86 view.setHighlightedPrefix("DOE".toCharArray()); 87 view [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | MmsThumbnailPresenter.java | 36 public MmsThumbnailPresenter(Context context, ViewInterface view, Model model) { argument 37 super(context, view, model); 48 private void presentFirstSlide(SlideViewInterface view, SlideModel slide) { argument 49 view.reset(); 52 presentImageThumbnail(view, slide.getImage()); 54 presentVideoThumbnail(view, slide.getVideo()); 56 presentAudioThumbnail(view, slide.getAudio()); 60 private void presentVideoThumbnail(SlideViewInterface view, VideoModel video) { argument 62 showDrmIcon(view, video.getSrc()); 64 view 68 presentImageThumbnail(SlideViewInterface view, ImageModel image) argument 76 presentAudioThumbnail(SlideViewInterface view, AudioModel audio) argument 85 showDrmIcon(SlideViewInterface view, String name) argument [all...] |
H A D | IconListAdapter.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 50 View view; 52 view = mInflater.inflate(mResource, parent, false); 54 view = convertView; 58 text = (TextView) view.findViewById(R.id.text1); 62 image = (ImageView) view.findViewById(R.id.icon); 65 return view;
|
H A D | Presenter.java | 33 public Presenter(Context context, ViewInterface view, Model model) { argument 35 mView = view; 45 public void setView(ViewInterface view) { argument 46 mView = view;
|
H A D | SlideshowPresenter.java | 55 // Since only the original thread that created a view hierarchy can touch 60 public SlideshowPresenter(Context context, ViewInterface view, Model model) { argument 61 super(context, view, model); 65 if (view instanceof AdaptableSlideViewInterface) { 66 ((AdaptableSlideViewInterface) view).setOnSizeChangedListener( 120 * @param view 123 protected void presentSlide(SlideViewInterface view, SlideModel model) { argument 124 view.reset(); 129 presentRegionMedia(view, (RegionMediaModel) media, true); 131 presentAudio(view, (AudioMode 146 presentRegionMedia(SlideViewInterface view, RegionMediaModel rMedia, boolean dataChanged) argument 159 presentAudio(SlideViewInterface view, AudioModel audio, boolean dataChanged) argument 178 presentText(SlideViewInterface view, TextModel text, RegionModel r, boolean dataChanged) argument 200 presentImage(SlideViewInterface view, ImageModel image, RegionModel r, boolean dataChanged) argument 223 presentVideo(SlideViewInterface view, VideoModel video, RegionModel r, boolean dataChanged) argument [all...] |
H A D | DeliveryReportAdapter.java | 22 import android.view.LayoutInflater; 23 import android.view.View; 24 import android.view.ViewGroup; 40 public View getView(int position, View view, ViewGroup viewGroup) { argument 44 if (view == null) { 49 if (view instanceof DeliveryReportListItem) { 50 listItem = (DeliveryReportListItem) view; 52 return view;
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
H A D | SpinnerProgressDialog.java | 20 import android.view.MotionEvent; 21 import android.view.View; 22 import android.view.ViewGroup; 23 import android.view.ViewGroup.LayoutParams; 53 View view = toolbar.getChildAt(i); 54 if (view.isEnabled()) { 55 dialog.enabledTools.add(view); 56 view.setEnabled(false); 66 for (View view : dialog.enabledTools) { 67 view [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | LegacyContactListAdapter.java | 24 import android.view.View; 25 import android.view.ViewGroup; 75 final ContactListItemView view = new ContactListItemView(context, null); 76 view.setUnknownNameText(mUnknownNameText); 77 return view; 82 ContactListItemView view = (ContactListItemView)itemView; 83 bindName(view, cursor); 84 bindPresence(view, cursor); 87 protected void bindName(final ContactListItemView view, Cursor cursor) { argument 88 view 93 bindPresence(final ContactListItemView view, Cursor cursor) argument [all...] |
H A D | PostalAddressListAdapter.java | 27 import android.view.View; 28 import android.view.ViewGroup; 113 final ContactListItemView view = new ContactListItemView(context, null); 114 view.setUnknownNameText(mUnknownNameText); 115 view.setQuickContactEnabled(isQuickContactEnabled()); 116 return view; 121 ContactListItemView view = (ContactListItemView)itemView; 122 bindSectionHeaderAndDivider(view, position); 123 bindName(view, cursor); 124 bindPhoto(view, curso 128 bindPostalAddress(ContactListItemView view, Cursor cursor) argument 141 bindSectionHeaderAndDivider(final ContactListItemView view, int position) argument 159 bindName(final ContactListItemView view, Cursor cursor) argument 163 bindPhoto(final ContactListItemView view, Cursor cursor) argument [all...] |
H A D | LegacyPhoneNumberListAdapter.java | 26 import android.view.View; 27 import android.view.ViewGroup; 79 final ContactListItemView view = new ContactListItemView(context, null); 80 view.setUnknownNameText(mUnknownNameText); 81 return view; 86 ContactListItemView view = (ContactListItemView)itemView; 87 bindName(view, cursor); 88 bindPhoneNumber(view, cursor); 91 protected void bindName(final ContactListItemView view, Cursor cursor) { argument 92 view 96 bindPhoneNumber(ContactListItemView view, Cursor cursor) argument [all...] |
H A D | LegacyPostalAddressListAdapter.java | 26 import android.view.View; 27 import android.view.ViewGroup; 80 final ContactListItemView view = new ContactListItemView(context, null); 81 view.setUnknownNameText(mUnknownNameText); 82 return view; 87 ContactListItemView view = (ContactListItemView)itemView; 88 bindName(view, cursor); 89 bindPostalAddress(view, cursor); 92 protected void bindName(final ContactListItemView view, Cursor cursor) { argument 93 view 98 bindPostalAddress(ContactListItemView view, Cursor cursor) argument [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
H A D | MockContactPhotoManager.java | 30 public void loadPhoto(ImageView view, long photoId, boolean hires, boolean darkTheme, argument 32 defaultProvider.applyDefaultImage(view, hires, darkTheme); 36 public void loadPhoto(ImageView view, Uri photoUri, boolean hires, boolean darkTheme, argument 38 defaultProvider.applyDefaultImage(view, hires, darkTheme); 42 public void removePhoto(ImageView view) { argument 43 view.setImageDrawable(null);
|
/packages/apps/Contacts/src/com/android/contacts/test/ |
H A D | EmptyFragment.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup;
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
H A D | ContactDetailViewPagerAdapter.java | 19 import android.support.v4.view.PagerAdapter; 20 import android.support.v4.view.ViewPager; 21 import android.view.View; 30 public static final String ABOUT_FRAGMENT_TAG = "view-pager-about-fragment"; 31 public static final String UPDTES_FRAGMENT_TAG = "view-pager-updates-fragment"; 39 * The initial value for the view count needs to be MAX_FRAGMENT_VIEW_COUNT, 42 * device, the view pager requires the second page to exist immediately on launch). 52 public void setAboutFragmentView(View view) { argument 53 mAboutFragmentView = view; 56 public void setUpdatesFragmentView(View view) { argument 117 isViewFromObject(View view, Object object) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayFragment.java | 26 import android.view.LayoutInflater; 27 import android.view.View; 28 import android.view.ViewGroup; 29 import android.view.ViewGroup.LayoutParams; 30 import android.view.animation.Animation; 31 import android.view.animation.AnimationUtils; 41 * The view id used for all the views we create. It's OK to have all child 42 * views have the same ID. This ID is used to pick which view receives 43 * focus when a view hierarchy is saved / restore 115 DayView view [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
H A D | CursorFactoryListAdapter.java | 24 import android.view.LayoutInflater; 25 import android.view.View; 26 import android.view.ViewGroup; 35 public void bindView(View view, Context context, Cursor cursor); argument 39 * A simple view factory that inflates the views from XML and puts the display 55 public void bindView(View view, Context context, Cursor cursor) { argument 56 TextView name = (TextView) view.findViewById(R.id.name); 68 View view = mViewFactory.newView(context, parent); 69 mViewFactory.bindView(view, context, cursor); 70 return view; 74 bindView(View view, Context context, Cursor cursor) argument [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MessageListItemCoordinates.java | 25 import android.view.LayoutInflater; 26 import android.view.View; 27 import android.view.View.MeasureSpec; 28 import android.view.ViewGroup; 29 import android.view.ViewParent; 36 * (eg, checkmark, star, subject, sender, labels, etc.) It will inflate a view, 38 * to easily improve performance by creating custom view while still defining 94 // Cache to save Coordinates based on view width. 109 * Returns the mode of the header view (Wide/Normal/Narrow) given the its 118 // Choose the correct mode based on view widt 168 getX(View view) argument 181 getY(View view) argument 197 getWidth(View view, boolean includeMargins) argument 208 getHeight(View view, boolean includeMargins) argument [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | InputViewManager.java | 19 import android.view.View; 21 import android.view.inputmethod.EditorInfo; 24 * The interface of input view manager used by OpenWnn. 30 * Initialize the input view. 36 * @return The input view created in the initialize process; {@code null} if cannot create a input view. 41 * Get the input view being used currently. 43 * @return The input view; {@code null} if no input view is used currently. 55 * Reflect the preferences in the input view [all...] |