/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarActivity.java | 30 import android.view.GestureDetector; 31 import android.view.Menu; 32 import android.view.MenuItem; 33 import android.view.MotionEvent; 34 import android.view.View; 35 import android.view.animation.Animation; 36 import android.view.animation.AnimationUtils; 37 import android.view.animation.TranslateAnimation; 121 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); in onRestoreInstanceState() local 124 view.setSelectedDay(time); in onRestoreInstanceState() [all …]
|
D | DayActivity.java | 20 import android.view.View; 21 import android.view.ViewGroup.LayoutParams; 46 DayView view = new DayView(this); in makeView() local 47 view.setId(VIEW_ID); in makeView() 48 view.setLayoutParams(new ViewSwitcher.LayoutParams( in makeView() 50 view.setSelectedDay(mSelectedDay); in makeView() 51 return view; in makeView() 57 CalendarView view = (CalendarView) mViewSwitcher.getCurrentView(); in onPause() local 58 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 | 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 | 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 | MonthActivity.java | 35 import android.view.KeyEvent; 36 import android.view.Menu; 37 import android.view.MenuItem; 38 import android.view.View; 39 import android.view.animation.Animation; 40 import android.view.animation.AnimationUtils; 41 import android.view.animation.Animation.AnimationListener; 133 MonthView view = (MonthView) mSwitcher.getCurrentView(); in goToToday() local 134 view.setSelectedTime(now); in goToToday() 135 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 | AttachmentEditor.java | 31 import android.view.View; 32 import android.view.ViewStub; 118 View view = findViewById(viewId); in getStubView() local 119 if (view == null) { in getStubView() 121 view = stub.inflate(); in getStubView() 124 return view; in getStubView() 188 LinearLayout view = (LinearLayout)getStubView(stub_view_id, real_view_id); in createMediaView() local 189 view.setVisibility(View.VISIBLE); in createMediaView() 191 Button viewButton = (Button) view.findViewById(view_button_id); in createMediaView() 192 Button replaceButton = (Button) view.findViewById(replace_button_id); in createMediaView() [all …]
|
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 | ConversationListAdapter.java | 26 import android.view.LayoutInflater; 27 import android.view.View; 28 import android.view.ViewGroup; 49 public void bindView(View view, Context context, Cursor cursor) { in bindView() argument 50 if (!(view instanceof ConversationHeaderView)) { in bindView() 51 Log.e(TAG, "Unexpected bound view: " + view); in bindView() 55 ConversationHeaderView headerView = (ConversationHeaderView) view; in bindView() 62 public void onMovedToScrapHeap(View view) { in onMovedToScrapHeap() argument 63 ConversationHeaderView headerView = (ConversationHeaderView)view; in onMovedToScrapHeap()
|
/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 | 24 import android.view.Display; 25 import android.view.Menu; 26 import android.view.MenuItem; 27 import android.view.View; 28 import android.view.KeyEvent; 68 View view; in onCreate() local 76 if ((view = findViewById(R.id.del)) != null) { in onCreate() 78 view.setOnLongClickListener(mListener); in onCreate() 175 public void adjustFontSize(TextView view) { in adjustFontSize() argument 176 float fontPixelSize = view.getTextSize(); in adjustFontSize() [all …]
|
/packages/providers/GoogleSubscribedFeedsProvider/src/com/android/settings/ |
D | SyncStateCheckBoxPreference.java | 25 import android.view.View; 59 public void onBindView(View view) { in onBindView() argument 60 super.onBindView(view); in onBindView() 61 ImageView syncActiveView = (ImageView) view.findViewById(R.id.sync_active); in onBindView() 62 View syncPendingView = view.findViewById(R.id.sync_pending); in onBindView() 63 View syncFailedView = view.findViewById(R.id.sync_failed); in onBindView() 91 View checkBox = view.findViewById(android.R.id.checkbox); in onBindView() 100 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/Email/src/com/android/email/activity/ |
D | AccountFolderList.java | 50 import android.view.ContextMenu; 51 import android.view.KeyEvent; 52 import android.view.LayoutInflater; 53 import android.view.Menu; 54 import android.view.MenuItem; 55 import android.view.View; 56 import android.view.ViewGroup; 57 import android.view.Window; 58 import android.view.ContextMenu.ContextMenuInfo; 59 import android.view.View.OnClickListener; [all …]
|
/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/Launcher2/src/com/android/launcher2/ |
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/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
D | MagicSmokeSelector.java | 37 import android.view.MotionEvent; 38 import android.view.View; 39 import android.view.WindowManager; 40 import android.view.ViewGroup; 41 import android.view.Window; 42 import android.view.LayoutInflater; 192 final View view = findViewById(R.id.backgroundview); in onServiceConnected() local 193 final View root = view.getRootView(); in onServiceConnected() 194 mService.attach(this, view.getWindowToken(), in onServiceConnected()
|
/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/Browser/src/com/android/browser/ |
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/Settings/src/com/android/settings/wifi/ |
D | AccessPointDialog.java | 37 import android.view.View; 38 import android.view.ViewGroup; 297 private void onReferenceViews(View view) { in onReferenceViews() argument 298 mPasswordText = (TextView) view.findViewById(R.id.password_text); in onReferenceViews() 299 mPasswordEdit = (EditText) view.findViewById(R.id.password_edit); in onReferenceViews() 300 mSsidText = (TextView) view.findViewById(R.id.ssid_text); in onReferenceViews() 301 mSsidEdit = (EditText) view.findViewById(R.id.ssid_edit); in onReferenceViews() 302 mSecurityText = (TextView) view.findViewById(R.id.security_text); in onReferenceViews() 303 mSecuritySpinner = (Spinner) view.findViewById(R.id.security_spinner); in onReferenceViews() 304 mWepTypeSpinner = (Spinner) view.findViewById(R.id.wep_type_spinner); in onReferenceViews() [all …]
|