/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
H A D | SwipeHelper.java | 29 import android.view.MotionEvent; 30 import android.view.VelocityTracker; 31 import android.view.View; 32 import android.view.animation.LinearInterpolator; 160 private float getAlphaForOffset(View view) { argument 161 float viewSize = getSize(view); 164 float pos = view.getTranslationX(); 173 // invalidate the view's own bounds all the way up the view hierarchy 174 public static void invalidateGlobalRegion(View view) { argument 182 invalidateGlobalRegion(View view, RectF childBounds) argument 293 dismissChild(final View view, float velocity) argument 345 snapChild(final View view, float velocity) argument [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
H A D | AccountSelectorAdapter.java | 25 import android.view.LayoutInflater; 26 import android.view.View; 27 import android.view.ViewGroup; 120 * The account selector view can contain one of four types of row data: 140 View view; 142 view = mInflater.inflate(R.layout.action_bar_spinner_dropdown_header, parent, false); 143 final TextView displayNameView = (TextView) view.findViewById(R.id.display_name); 147 view = mInflater.inflate(R.layout.action_bar_spinner_dropdown, parent, false); 148 final TextView displayNameView = (TextView) view.findViewById(R.id.display_name); 149 final TextView emailAddressView = (TextView) view 199 bindView(View view, Context context, Cursor cursor) argument [all...] |
H A D | MailboxFragmentAdapter.java | 28 import android.view.LayoutInflater; 29 import android.view.View; 30 import android.view.ViewGroup; 59 * 1. The standard inbox, mailbox view 60 * 2. The combined mailbox view 63 * TODO At a minimum, we should break out the loaders. They have no relation to the view code 65 * TODO Determine if we actually need a separate adapter / view / loader for nested folder 90 /** Account "mailboxes" in the combined view */ 202 public void bindView(View view, Context context, Cursor cursor) { argument 203 if (view instanceo 346 bindListHeader(View view, Context context, Cursor cursor) argument 351 bindListItem(View view, Context context, Cursor cursor) argument [all...] |
H A D | MessagesAdapter.java | 25 import android.view.View; 26 import android.view.ViewGroup; 191 public void bindView(View view, Context context, Cursor cursor) { argument 192 // Reset the view (in case it was recycled) and prepare for binding 193 MessageListItem itemView = (MessageListItem) view; 199 // Load the public fields in the view (for later use) 272 private void changeFavoriteIcon(MessageListItem view, boolean isFavorite) { argument 273 view.invalidate();
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | MenuHelper.java | 40 import android.view.Menu; 41 import android.view.MenuItem; 42 import android.view.SubMenu; 43 import android.view.View; 200 public UpdateLocationCallback(WeakReference<View> view) { argument 201 mView = view; 208 View view = mView.get(); 209 if (view == null) return; 211 MenuHelper.setDetailsValue(view, location, 214 MenuHelper.hideDetailsRow(view, [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
H A D | PanelController.java | 21 import android.view.MenuItem; 22 import android.view.View; 23 import android.view.View.OnClickListener; 24 import android.view.ViewPropertyAnimator; 67 public Panel(View view, View container, int position) { argument 68 mView = view; 73 public void addView(View view) { argument 74 mSubviews.add(view); 144 public UtilityPanel(Context context, View view, View textView, argument 147 mView = view; 292 ViewType(View view, int type) argument 316 addView(View view) argument 321 addPanel(View view, View container, int position) argument 337 addImageView(View view) argument 399 onClick(View view) argument 426 showPanel(View view) argument 573 showComponent(View view) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GLView.java | 21 import android.view.MotionEvent; 202 // Request re-rendering of the view hierarchy. 209 // Request re-layout of the view hierarchy. 256 protected void renderBackground(GLCanvas view) { argument 258 view.clearBuffer(mBackgroundColor); 261 mTransition.applyBackground(this, view); 403 * Gets the bounds of the given descendant that relative to this view. 408 GLView view = descendant; 409 while (view != this) { 410 if (view [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Util.java | 44 import android.view.Display; 45 import android.view.OrientationEventListener; 46 import android.view.Surface; 47 import android.view.View; 48 import android.view.Window; 49 import android.view.WindowManager; 50 import android.view.animation.AlphaAnimation; 51 import android.view.animation.Animation; 600 public static void fadeIn(View view) { argument 601 if (view 609 fadeOut(View view) argument [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | IndicatorControlWheel.java | 32 import android.view.MotionEvent; 33 import android.view.View; 37 * A view that contains camera setting indicators in two levels. The first-level 153 public void onClick(View view) { argument 190 ImageView view; 192 view = new RotateImageView(context); 194 view = new TwoStateImageView(context); 196 view.setImageResource(resourceId); 197 view.setOnClickListener(this); 198 addView(view); [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | MessageListAdapter.java | 34 import android.view.LayoutInflater; 35 import android.view.View; 36 import android.view.ViewGroup; 145 public void onMovedToScrapHeap(View view) { 146 if (view instanceof MessageListItem) { 147 MessageListItem mli = (MessageListItem) view; 156 public void bindView(View view, Context context, Cursor cursor) { argument 157 if (view instanceof MessageListItem) { 163 MessageListItem mli = (MessageListItem) view; 220 View view [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | AlbumBrowserActivity.java | 46 import android.view.ContextMenu; 47 import android.view.Menu; 48 import android.view.MenuItem; 49 import android.view.SubMenu; 50 import android.view.View; 51 import android.view.ViewGroup; 52 import android.view.Window; 53 import android.view.ContextMenu.ContextMenuInfo; 272 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfoIn) { argument 590 public void bindView(View view, Contex argument [all...] |
H A D | MusicPicker.java | 35 import android.view.Menu; 36 import android.view.MenuItem; 37 import android.view.View; 38 import android.view.ViewGroup; 39 import android.view.Window; 40 import android.view.animation.AnimationUtils; 132 /** Container of the list view hierarchy, to be able to show it when done 135 /** Set to true when the list view has been shown for the first time. */ 198 * query, to avoid displaying the "No music" empty view during 231 public void bindView(View view, Contex argument [all...] |
/packages/apps/Phone/src/com/android/phone/ |
H A D | CallCard.java | 36 import android.view.Gravity; 37 import android.view.View; 38 import android.view.ViewGroup; 39 import android.view.ViewStub; 40 import android.view.accessibility.AccessibilityEvent; 261 // Landscape view has the views side by side, so no shifting of the picture is needed 710 // Start sending view notification after the current request being done. 713 // TODO: may be nice to update the image view again once the newer one 876 // Also, setText("") is used since there is a delay in making the view GONE, 1609 private static final boolean showCachedImage(ImageView view, CallerInf argument 1622 showImage(ImageView view, int resource) argument 1626 showImage(ImageView view, Bitmap bitmap) argument 1631 showImage(ImageView view, Drawable drawable) argument 1765 dispatchPopulateAccessibilityEvent(AccessibilityEvent event, View view) argument [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | KeyguardAppWidgetPickActivity.java | 44 import android.view.IWindowManager; 45 import android.view.LayoutInflater; 46 import android.view.View; 47 import android.view.ViewGroup; 503 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | RunningProcessesView.java | 34 import android.view.LayoutInflater; 35 import android.view.View; 36 import android.view.ViewGroup; 300 public void bindView(View view, int position) { argument 308 ViewHolder vh = (ViewHolder) view.getTag(); 311 mActiveItems.put(view, ai); 403 public void onMovedToScrapHeap(View view) { argument 404 mActiveItems.remove(view);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiSettingsForSetupWizardXL.java | 32 import android.view.View; 33 import android.view.View.OnClickListener; 34 import android.view.ViewGroup; 35 import android.view.Window; 36 import android.view.inputmethod.InputMethodManager; 213 public void onClick(View view) { argument 215 if (view == mAddNetworkButton) { 218 } else if (view == mRefreshButton) { 221 } else if (view == mSkipOrNextButton) { 223 if (TextUtils.equals(getString(R.string.wifi_setup_skip), ((Button)view) 481 initSecurityFields(View view, int accessPointSecurity) argument [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | MediaItemView.java | 36 import android.view.Display; 37 import android.view.GestureDetector; 38 import android.view.MotionEvent; 39 import android.view.View; 40 import android.view.WindowManager; 47 * Media item preview view on the timeline. This class assumes the media item is always put on a 48 * MediaLinearLayout and is wrapped with a timeline scroll view. 72 // Progress of generation of the effect applied on this media item view. 78 // The scrolled left pixels of this view. 83 // Convenient handle to the parent timeline scroll view 192 onScrollBegin(View view, int scrollX, int scrollY, boolean appScroll) argument 197 onScrollProgress(View view, int scrollX, int scrollY, boolean appScroll) argument 203 onScrollEnd(View view, int scrollX, int scrollY, boolean appScroll) argument 243 MediaItemShadowBuilder(View view) argument [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
H A D | ContactHeaderWidget.java | 45 import android.view.LayoutInflater; 46 import android.view.View; 86 public void onPhotoClick(View view); argument 87 public void onDisplayNameClick(View view); argument 666 public void onClick(View view) { argument 667 switch (view.getId()) {
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
H A D | ContactFragment.java | 68 import android.view.LayoutInflater; 69 import android.view.View; 70 import android.view.ViewGroup; 71 import android.view.View.OnClickListener; 132 * The view shown if the detail list is empty. 133 * We set this to the list view when first bind the adapter, so that it won't be shown while 156 View view = inflater.inflate(R.layout.contact_details, container, false); 160 mContactHeaderWidget = (ContactHeaderWidget) view.findViewById(R.id.contact_header_widget); 163 mListView = (ListView) view.findViewById(android.R.id.list); 167 mEmptyView = view 708 bindView(View view, ViewEntry entry) argument [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | AddBookmarkPage.java | 47 import android.view.KeyEvent; 48 import android.view.LayoutInflater; 49 import android.view.View; 50 import android.view.ViewGroup; 51 import android.view.Window; 52 import android.view.WindowManager; 53 import android.view.inputmethod.EditorInfo; 54 import android.view.inputmethod.InputMethodManager; 159 public void onTop(BreadCrumbView view, int level, Object data) { argument 175 * Show or hide the icon for bookmarks next to "Bookmarks" in the crumb view 541 onItemClick(AdapterView<?> parent, View view, int position, long id) argument 575 bindView(View view, Context context, Cursor cursor) argument 965 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument 1004 checkInputConnectionProxy(View view) argument [all...] |
H A D | BaseUi.java | 35 import android.view.Gravity; 36 import android.view.LayoutInflater; 37 import android.view.Menu; 38 import android.view.MenuItem; 39 import android.view.MotionEvent; 40 import android.view.View; 41 import android.view.View.OnClickListener; 42 import android.view.ViewGroup; 43 import android.view.ViewGroup.LayoutParams; 44 import android.view 523 showCustomView(View view, int requestedOrientation, WebChromeClient.CustomViewCallback callback) argument 856 addFixedTitleBar(View view) argument [all...] |
H A D | BrowserSettings.java | 534 public boolean hasDesktopUseragent(WebView view) { argument 535 return view != null && mCustomUserAgents.get(view.getSettings()) != null; 538 public void toggleDesktopUseragent(WebView view) { argument 539 if (view == null) { 542 WebSettings settings = view.getSettings();
|
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | ScrollerView.java | 17 package com.android.browser.view; 25 import android.view.FocusFinder; 26 import android.view.InputDevice; 27 import android.view.KeyEvent; 28 import android.view.MotionEvent; 29 import android.view.VelocityTracker; 30 import android.view.View; 31 import android.view.ViewConfiguration; 32 import android.view.ViewDebug; 33 import android.view [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | ActivityBase.java | 31 import android.view.KeyEvent; 32 import android.view.View; 33 import android.view.Window; 34 import android.view.WindowManager; 35 import android.view.animation.AlphaAnimation; 36 import android.view.animation.Animation; 37 import android.view.animation.DecelerateInterpolator; 91 // The view containing only camera related widgets like control panel, 490 // natural orientation, not the view system orientation. 517 protected void onSingleTapUp(View view, in argument [all...] |
H A D | Util.java | 47 import android.view.Display; 48 import android.view.OrientationEventListener; 49 import android.view.Surface; 50 import android.view.View; 51 import android.view.WindowManager; 52 import android.view.animation.AlphaAnimation; 53 import android.view.animation.Animation; 586 public static int[] getRelativeLocation(View reference, View view) { argument 590 view.getLocationInWindow(sLocation); 665 public static void fadeIn(View view, floa argument 674 fadeIn(View view) argument 681 fadeOut(View view) argument [all...] |