/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarActivity.java | 33 import android.view.GestureDetector; 34 import android.view.Menu; 35 import android.view.MenuItem; 36 import android.view.MotionEvent; 37 import android.view.View; 38 import android.view.animation.Animation; 39 import android.view.animation.AnimationUtils; 40 import android.view.animation.TranslateAnimation; 124 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); in onRestoreInstanceState() local 127 view.setSelectedDay(time); in onRestoreInstanceState() [all …]
|
D | DayActivity.java | 22 import android.view.View; 23 import android.view.ViewGroup.LayoutParams; 58 DayView view = new DayView(this); in makeView() local 59 view.setId(VIEW_ID); in makeView() 60 view.setLayoutParams(new ViewSwitcher.LayoutParams( in makeView() 62 view.setSelectedDay(mSelectedDay); in makeView() 63 return view; in makeView() 69 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); in onPause() local 70 mSelectedDay = view.getSelectedDay(); in onPause()
|
D | AlertAdapter.java | 24 import android.view.View; 35 public void bindView(View view, Context context, Cursor cursor) { in bindView() argument 38 View stripe = view.findViewById(R.id.vertical_stripe); in bindView() 41 textView = (TextView) view.findViewById(R.id.event_title); in bindView() 45 View repeatContainer = view.findViewById(R.id.repeat_icon); in bindView() 68 updateView(context, view, eventName, location, startMillis, endMillis, allDay); in bindView() 71 public static void updateView(Context context, View view, String eventName, String location, in updateView() argument 81 textView = (TextView) view.findViewById(R.id.event_title); in updateView() 97 textView = (TextView) view.findViewById(R.id.when); in updateView() 101 textView = (TextView) view.findViewById(R.id.where); in updateView()
|
D | SelectCalendarsAdapter.java | 29 import android.view.LayoutInflater; 30 import android.view.View; 31 import android.view.ViewGroup; 92 public void bindView(View view, Context context, Cursor cursor) { in bindView() argument 97 … view.findViewById(R.id.color).setBackgroundDrawable(getColorChip(cursor.getInt(colorColumn))); in bindView() 98 setText(view, R.id.calendar, cursor.getString(nameColumn)); in bindView() 99 CheckBox box = (CheckBox) view.findViewById(R.id.checkbox); in bindView() 122 private static void setText(View view, int id, String text) { in setText() argument 126 TextView textView = (TextView) view.findViewById(id); in setText()
|
D | MonthView.java | 42 import android.view.ContextMenu; 43 import android.view.GestureDetector; 44 import android.view.Gravity; 45 import android.view.KeyEvent; 46 import android.view.LayoutInflater; 47 import android.view.MenuItem; 48 import android.view.MotionEvent; 49 import android.view.View; 50 import android.view.ViewConfiguration; 51 import android.view.ContextMenu.ContextMenuInfo; [all …]
|
D | MonthActivity.java | 36 import android.view.KeyEvent; 37 import android.view.Menu; 38 import android.view.MenuItem; 39 import android.view.View; 40 import android.view.animation.Animation; 41 import android.view.animation.AnimationUtils; 42 import android.view.animation.Animation.AnimationListener; 127 MonthView view = (MonthView) mSwitcher.getCurrentView(); in goToToday() local 128 view.setSelectedTime(now); in goToToday() 129 view.reloadEvents(); in goToToday() [all …]
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | SlideshowPresenter.java | 61 public SlideshowPresenter(Context context, ViewInterface view, Model model) { in SlideshowPresenter() argument 62 super(context, view, model); in SlideshowPresenter() 66 if (view instanceof AdaptableSlideViewInterface) { in SlideshowPresenter() 67 ((AdaptableSlideViewInterface) view).setOnSizeChangedListener( in SlideshowPresenter() 119 protected void presentSlide(SlideViewInterface view, SlideModel model) { in presentSlide() argument 120 view.reset(); in presentSlide() 125 presentRegionMedia(view, (RegionMediaModel) media, true); in presentSlide() 127 presentAudio(view, (AudioModel) media, true); in presentSlide() 142 protected void presentRegionMedia(SlideViewInterface view, in presentRegionMedia() argument 147 presentText(view, (TextModel) rMedia, r, dataChanged); in presentRegionMedia() [all …]
|
D | MmsThumbnailPresenter.java | 34 public MmsThumbnailPresenter(Context context, ViewInterface view, Model model) { in MmsThumbnailPresenter() argument 35 super(context, view, model); in MmsThumbnailPresenter() 46 private void presentFirstSlide(SlideViewInterface view, SlideModel slide) { in presentFirstSlide() argument 47 view.reset(); in presentFirstSlide() 50 presentImageThumbnail(view, slide.getImage()); in presentFirstSlide() 52 presentVideoThumbnail(view, slide.getVideo()); in presentFirstSlide() 54 presentAudioThumbnail(view, slide.getAudio()); in presentFirstSlide() 58 private void presentVideoThumbnail(SlideViewInterface view, VideoModel video) { in presentVideoThumbnail() argument 60 showDrmIcon(view, video.getSrc()); in presentVideoThumbnail() 62 view.setVideo(video.getSrc(), video.getUri()); in presentVideoThumbnail() [all …]
|
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) { in getView() argument 44 if (view == null) { in getView() 49 if (view instanceof DeliveryReportListItem) { in getView() 50 listItem = (DeliveryReportListItem) view; in getView() 52 return view; in getView()
|
D | IconListAdapter.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 50 View view; in getView() local 52 view = mInflater.inflate(mResource, parent, false); in getView() 54 view = convertView; in getView() 58 text = (TextView) view.findViewById(R.id.text1); in getView() 62 image = (ImageView) view.findViewById(R.id.icon); in getView() 65 return view; in getView()
|
D | AttachmentEditor.java | 32 import android.view.View; 33 import android.view.ViewStub; 34 import android.view.View.OnClickListener; 147 View view = mRoot.findViewById(viewId); in getStubView() local 148 if (view == null) { in getStubView() 150 view = stub.inflate(); in getStubView() 153 return view; in getStubView() 201 LinearLayout view = (LinearLayout)getStubView(stub_view_id, real_view_id); in createMediaView() local 202 view.setVisibility(View.VISIBLE); in createMediaView() 204 Button viewButton = (Button) view.findViewById(view_button_id); in createMediaView() [all …]
|
D | Presenter.java | 35 public Presenter(Context context, ViewInterface view, Model model) { in Presenter() argument 37 mView = view; in Presenter() 38 mViewWidth = view.getWidth(); in Presenter() 39 mViewHeight = view.getHeight(); in Presenter() 49 public void setView(ViewInterface view) { in setView() argument 50 mView = view; in setView()
|
/packages/apps/Browser/src/com/android/browser/ |
D | GearsBaseDialog.java | 30 import android.view.InflateException; 31 import android.view.LayoutInflater; 32 import android.view.View; 33 import android.view.ViewGroup; 127 View view = findViewById(viewID); in inflate() local 128 if (view != null) { in inflate() 130 ViewGroup viewGroup = (ViewGroup) view; in inflate() 133 String msg = "exception, the view (" + view + ")"; in inflate() 156 View view = findViewById(buttonRscID); in setupButton() local 157 if (view == null) { in setupButton() [all …]
|
D | BrowserDownloadAdapter.java | 33 import android.view.View; 74 public void bindView(View view, Context context, Cursor cursor) { in bindView() argument 79 ImageView iv = (ImageView) view.findViewById(R.id.download_icon); in bindView() 99 TextView tv = (TextView) view.findViewById(R.id.download_title); in bindView() 118 tv = (TextView) view.findViewById(R.id.domain); in bindView() 125 View v = view.findViewById(R.id.progress_text); in bindView() 128 v = view.findViewById(R.id.download_progress); in bindView() 131 tv = (TextView) view.findViewById(R.id.complete_text); in bindView() 143 tv = (TextView) view.findViewById(R.id.complete_date); in bindView() 148 tv = (TextView) view.findViewById(R.id.progress_text); in bindView() [all …]
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | EventListener.java | 19 import android.view.View; 20 import android.view.KeyEvent; 21 import android.view.View.OnClickListener; 22 import android.view.View.OnLongClickListener; 23 import android.view.View.OnKeyListener; 38 public void onClick(View view) { in onClick() argument 39 int id = view.getId(); in onClick() 56 if (view instanceof Button) { in onClick() 57 String text = ((Button) view).getText().toString(); in onClick() 72 public boolean onLongClick(View view) { in onLongClick() argument [all …]
|
D | HistoryAdapter.java | 19 import android.view.LayoutInflater; 20 import android.view.ViewGroup; 21 import android.view.View; 63 View view; in getView() local 65 view = mInflater.inflate(R.layout.history_item, parent, false); in getView() 67 view = convertView; in getView() 70 TextView expr = (TextView) view.findViewById(R.id.historyExpr); in getView() 71 TextView result = (TextView) view.findViewById(R.id.historyResult); in getView() 84 return view; in getView()
|
D | Calculator.java | 23 import android.view.Menu; 24 import android.view.MenuItem; 25 import android.view.Window; 26 import android.view.View; 64 View view; in onCreate() local 72 if ((view = findViewById(R.id.del)) != null) { in onCreate() 73 view.setOnClickListener(mListener); in onCreate() 74 view.setOnLongClickListener(mListener); in onCreate()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | Accounts.java | 39 import android.view.ContextMenu; 40 import android.view.KeyEvent; 41 import android.view.Menu; 42 import android.view.MenuItem; 43 import android.view.View; 44 import android.view.ViewGroup; 45 import android.view.ContextMenu.ContextMenuInfo; 46 import android.view.View.OnClickListener; 144 public void onClick(View view) { in onClick() argument 145 if (view.getId() == R.id.add_new_account) { in onClick() [all …]
|
D | AccountShortcutPicker.java | 32 import android.view.View; 33 import android.view.ViewGroup; 91 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { in onItemClick() argument 104 View view; in getView() local 106 view = convertView; in getView() 109 view = getLayoutInflater().inflate(R.layout.accounts_item, parent, false); in getView() 111 AccountViewHolder holder = (AccountViewHolder) view.getTag(); in getView() 114 holder.description = (TextView) view.findViewById(R.id.description); in getView() 115 holder.email = (TextView) view.findViewById(R.id.email); in getView() 116 holder.newMessageCount = (TextView) view.findViewById(R.id.new_message_count); in getView() [all …]
|
/packages/providers/GoogleSubscribedFeedsProvider/src/com/android/settings/ |
D | SyncStateCheckBoxPreference.java | 25 import android.view.View; 47 public void onBindView(View view) { in onBindView() argument 48 super.onBindView(view); in onBindView() 49 ImageView syncActiveView = (ImageView) view.findViewById(R.id.sync_active); in onBindView() 50 View syncPendingView = view.findViewById(R.id.sync_pending); in onBindView() 51 View syncFailedView = view.findViewById(R.id.sync_failed); in onBindView() 75 View checkBox = view.findViewById(android.R.id.checkbox); in onBindView() 84 TextView summary = (TextView) view.findViewById(android.R.id.summary); in onBindView()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ProgressCategory.java | 22 import android.view.View; 36 public void onBindView(View view) { in onBindView() argument 37 super.onBindView(view); in onBindView() 38 View textView = view.findViewById(R.id.scanning_text); in onBindView() 39 View progressBar = view.findViewById(R.id.scanning_progress); in onBindView()
|
D | ApnPreference.java | 27 import android.view.View; 28 import android.view.ViewGroup; 29 import android.view.View.OnClickListener; 72 View view = super.getView(convertView, parent); in getView() local 74 View widget = view.findViewById(R.id.apn_radiobutton); in getView() 94 View textLayout = view.findViewById(R.id.text_layout); in getView() 99 return view; in getView() 133 public void onClick(android.view.View v) { in onClick()
|
/packages/apps/Launcher/src/com/android/launcher/ |
D | LiveFolderAdapter.java | 26 import android.view.View; 27 import android.view.ViewGroup; 28 import android.view.LayoutInflater; 63 View view; in newView() local 67 view = mInflater.inflate(R.layout.application_boxed, parent, false); in newView() 69 view = mInflater.inflate(R.layout.application_list, parent, false); in newView() 70 holder.description = (TextView) view.findViewById(R.id.description); in newView() 71 holder.icon = (ImageView) view.findViewById(R.id.icon); in newView() 74 holder.name = (TextView) view.findViewById(R.id.name); in newView() 84 view.setTag(holder); in newView() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerGaugePreference.java | 25 import android.view.View; 77 protected void onBindView(View view) { in onBindView() argument 78 super.onBindView(view); in onBindView() 80 ImageView appIcon = (ImageView) view.findViewById(R.id.appIcon); in onBindView() 86 ImageView appGauge = (ImageView) view.findViewById(R.id.appGauge); in onBindView() 89 TextView percentView = (TextView) view.findViewById(R.id.percent); in onBindView()
|
/packages/apps/IM/src/com/android/im/app/ |
D | ImageListAdapter.java | 23 import android.view.View; 24 import android.view.ViewGroup; 25 import android.view.LayoutInflater; 90 private void setupView(int position, View view) { in setupView() argument 91 ImageView iv = (ImageView) view.findViewById(mImageId); in setupView() 92 TextView tv = (TextView)view.findViewById(mTextId); in setupView() 93 View separator = view.findViewById(mSeparatorId); in setupView()
|