/packages/apps/Music/src/com/android/music/ |
H A D | CreatePlaylist.java | 54 mPrompt = (TextView)findViewById(R.id.prompt); 55 mPlaylist = (EditText)findViewById(R.id.playlist); 56 mSaveButton = (Button) findViewById(R.id.create); 59 ((Button)findViewById(R.id.cancel)).setOnClickListener(new View.OnClickListener() { 107 int id = -1; 111 id = c.getInt(0); 115 return id; 176 int id = idForplaylist(name); 178 if (id >= 0) { 179 uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, id); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationViewAdapter.java | 145 registerOnKeyListeners(v, v.findViewById(R.id.subject_and_folder_view)); 193 registerOnKeyListeners(v, v.findViewById(R.id.reply_button), 194 v.findViewById(R.id.reply_all_button), v.findViewById(R.id.forward_button)); 213 return mRootView.findViewById(R.id.reply_button); 286 registerOnKeyListeners(v, v.findViewById(R.id.upper_header), 287 v.findViewById(R.id.hide_details), v.findViewById(R.id.edit_draft), 288 v.findViewById(R.id.reply), v.findViewById(R.id 799 shouldInterceptLeftRightEvents(@dRes int id, boolean isLeft, boolean isRight, boolean twoPaneLand) argument 813 shouldNavigateAway(@dRes int id, boolean isLeft, boolean twoPaneLand) argument [all...] |
H A D | ConversationListFooterView.java | 67 mLoading = findViewById(R.id.loading); 68 mNetworkError = findViewById(R.id.network_error); 69 mLoadMore = findViewById(R.id.load_more); 71 mErrorActionButton = (Button) findViewById(R.id.error_action_button); 73 mErrorText = (TextView)findViewById(R.id.error_text); 82 final int id = v.getId(); 84 if (id == R.id.error_action_button) { 86 } else if (id == R.id [all...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | TimeConsumingPreferenceActivity.java | 59 protected Dialog onCreateDialog(int id) { argument 60 if (id == BUSY_READING_DIALOG || id == BUSY_SAVING_DIALOG) { 65 switch(id) { 79 if (id == RESPONSE_ERROR || id == RADIO_OFF_ERROR || id == EXCEPTION_ERROR 80 || id == FDN_CHECK_FAILURE) { 86 switch (id) { 194 private void dismissDialogSafely(int id) { argument [all...] |
H A D | ChangeIccPinScreen.java | 100 mOldPin = (EditText) findViewById(R.id.old_pin); 105 mNewPin1 = (EditText) findViewById(R.id.new_pin1); 110 mNewPin2 = (EditText) findViewById(R.id.new_pin2); 115 mBadPinError = (TextView) findViewById(R.id.bad_pin); 116 mMismatchError = (TextView) findViewById(R.id.mismatch); 118 mButton = (Button) findViewById(R.id.button); 121 mScrollView = (ScrollView) findViewById(R.id.scroll); 123 mPUKCode = (EditText) findViewById(R.id.puk_code); 128 mPUKSubmit = (Button) findViewById(R.id.puk_submit); 131 mIccPUKPanel = (LinearLayout) findViewById(R.id [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | SelectSyncedCalendarsMultiAccountActivity.java | 56 mList.setEmptyView(findViewById(R.id.loading)); 60 findViewById(R.id.btn_done).setOnClickListener(this); 61 findViewById(R.id.btn_discard).setOnClickListener(this); 66 if (view.getId() == R.id.btn_done) { 71 } else if (view.getId() == R.id.btn_discard) { 88 findViewById(R.id.calendars).getContext(), mAccountsCursor, 168 case android.R.id.home:
|
H A D | SelectSyncedCalendarsMultiAccountAdapter.java | 136 private static final int TAG_ID_CALENDAR_ID = R.id.calendar; 137 private static final int TAG_ID_SYNC_CHECKBOX = R.id.sync; 197 long id = (Long) v.getTag(TAG_ID_CALENDAR_ID); 199 boolean initialState = mCalendarInitialStates.get(id); 200 if (mCalendarChanges.containsKey(id)) { 202 newState = !mCalendarChanges.get(id); 209 mCalendarChanges.remove(id); 211 mCalendarChanges.put(id, newState); 215 setText(v, R.id.status, newState ? mSyncedText : mNotSyncedText); 279 long id 290 setText(View view, int id, String text) argument [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
H A D | CancelActivity.java | 80 showDialog(R.id.dialog_cancel_confirmation); 84 protected Dialog onCreateDialog(int id, Bundle bundle) { argument 85 switch (id) { 86 case R.id.dialog_cancel_confirmation: { 100 case R.id.dialog_cancel_failed: 109 Log.w(LOG_TAG, "Unknown dialog id: " + id); 112 return super.onCreateDialog(id, bundle);
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
H A D | StopwatchService.java | 159 remoteViewsCollapsed.setOnClickPendingIntent(R.id.swn_collapsed_hitspace, pendingIntent); 161 R.id.swn_collapsed_chronometer, clockBaseTime, null, clockRunning); 163 setImageViewResource(R.id.notification_icon, R.drawable.stat_notify_stopwatch); 166 remoteViewsExpanded.setOnClickPendingIntent(R.id.swn_expanded_hitspace, pendingIntent); 168 R.id.swn_expanded_chronometer, clockBaseTime, null, clockRunning); 170 setImageViewResource(R.id.notification_icon, R.drawable.stat_notify_stopwatch); 175 R.id.swn_left_button, getResources().getText(R.string.sw_lap_button)); 178 remoteViewsExpanded.setOnClickPendingIntent(R.id.swn_left_button, 181 setTextViewCompoundDrawablesRelative(R.id.swn_left_button, 186 R.id [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSettingsEditQuickResponsesFragment.java | 81 new int[] {R.id.quick_response_text}, 0); 84 R.id.account_settings_quick_responses_list); 89 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 123 R.id.account_settings_quick_responses_list); 125 UiUtilities.getView((ViewGroup) listView.getParent(), R.id.empty_view); 129 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 150 if (item.getItemId() == R.id.create_new) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
H A D | UserPresetsManager.java | 98 public void delete(int id) { argument 100 msg.arg1 = id; 105 int id; field in class:UserPresetsManager.UpdateOperation 112 op.id = representation.getId(); 138 int id = msg.arg1; 139 mUserPresets.removeStack(id); 145 mUserPresets.updateStackName(op.id, op.name);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiConfigUiForSetupWizardXL.java | 64 mConnectButton = (Button)activity.findViewById(R.id.wifi_setup_connect); 65 mCancelButton = (Button)activity.findViewById(R.id.wifi_setup_cancel); 76 if (mView.findViewById(R.id.security_fields).getVisibility() == View.VISIBLE) { 77 requestFocusAndShowKeyboard(R.id.password); 78 } else if (mView.findViewById(R.id.type_ssid).getVisibility() == View.VISIBLE) { 80 requestFocusAndShowKeyboard(R.id.ssid); 175 public void setTitle(int id) { argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/ |
H A D | DeviceNameSummaryFragment.java | 85 FrameLayout actionArea = (FrameLayout) content.findViewById(R.id.action); 86 FrameLayout descArea = (FrameLayout) content.findViewById(R.id.description); 92 ((TextView) body.findViewById(R.id.title_text)) 98 ((TextView) body.findViewById(R.id.description_text)) 107 R.layout.setup_list_item_text_only, R.id.list_item_text, mOptions); 116 public void onItemClick(AdapterView<?> adapter, View view, int position, long id) { argument 119 mListener.onItemClick(adapter, view, position, id);
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
H A D | FromAddressSpinnerAdapter.java | 52 super(context, R.layout.from_item, R.id.spinner_account_address); 81 ((TextView) fromEntry.findViewById(R.id.spinner_account_name)).setText(fromItem.name); 83 ((TextView) fromEntry.findViewById(R.id.spinner_account_address)) 86 ((TextView) fromEntry.findViewById(R.id.spinner_account_address)) 99 ((TextView) fromEntry.findViewById(R.id.spinner_account_name)).setText(fromItem.name); 100 ((TextView) fromEntry.findViewById(R.id.spinner_account_address)) 103 ((TextView) fromEntry.findViewById(R.id.spinner_account_address))
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | SharePopup.java | 84 RotateLayout r = (RotateLayout) v.findViewById(R.id.share_icon_rotate_layout); 119 (RotateLayout) sharePopup.findViewById(R.id.thumbnail_rotate_layout); 120 mShareList = (GridView) sharePopup.findViewById(R.id.share_list); 121 mThumbnail = (ImageView) sharePopup.findViewById(R.id.thumbnail); 124 (View) sharePopup.findViewById(R.id.thumbnail_image_frame); 129 (RotateLayout) sharePopup.findViewById(R.id.goto_gallery_button_rotate); 130 sharePopup.findViewById(R.id.goto_gallery_button).setOnClickListener(this); 137 sharePopup.findViewById(R.id.play).setVisibility(View.VISIBLE); 145 mRootView = sharePopup.findViewById(R.id.root); 204 RotateLayout r = (RotateLayout) f.findViewById(R.id 275 onItemClick(AdapterView<?> parent, View view, int index, long id) argument [all...] |
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
H A D | StrictModeActivity.java | 109 final Button readButton = (Button) findViewById(R.id.read_button); 126 final Button writeButton = (Button) findViewById(R.id.write_button); 135 final Button writeLoopButton = (Button) findViewById(R.id.write_loop_button); 150 final Button dnsButton = (Button) findViewById(R.id.dns_button); 177 final Button httpButton = (Button) findViewById(R.id.http_button); 195 final Button http2Button = (Button) findViewById(R.id.http2_button); 211 final Button http3Button = (Button) findViewById(R.id.http3_button); 226 final Button binderLocalButton = (Button) findViewById(R.id.binder_local_button); 238 final Button binderRemoteButton = (Button) findViewById(R.id.binder_remote_button); 252 final Button binderOneWayButton = (Button) findViewById(R.id [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
H A D | DialpadFragment.java | 345 mDialpadView = (DialpadView) fragmentView.findViewById(R.id.dialpad_view); 356 View oneButton = fragmentView.findViewById(R.id.one); 368 mSpacer = fragmentView.findViewById(R.id.spacer); 383 mDialpadChooser = (ListView) fragmentView.findViewById(R.id.dialpadChooser); 387 fragmentView.findViewById(R.id.dialpad_floating_action_button_container); 389 (ImageButton) fragmentView.findViewById(R.id.dialpad_floating_action_button); 547 final int[] buttonIds = new int[] {R.id.one, R.id.two, R.id.three, R.id 1258 int id; field in class:DialpadFragment.DialpadChooserAdapter.ChoiceItem 1350 onItemClick(AdapterView<?> parent, View v, int position, long id) argument [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
H A D | SettingsLayoutFragment.java | 187 ft.replace(android.R.id.content, f, TAG_LEAN_BACK_DIALOG_FRAGMENT).commit(); 267 View contentContainer = v.findViewById(R.id.content_fragment); 271 v.setTag(R.id.content_fragment, content); 273 View actionContainer = v.findViewById(R.id.action_fragment); 277 v.setTag(R.id.action_fragment, action); 318 View contentView = (View) dialogView.getTag(R.id.content_fragment); 321 TextView breadcrumbView = (TextView) contentView.getTag(R.id.breadcrumb); 325 TextView titleView = (TextView) contentView.getTag(R.id.title); 329 TextView descriptionView = (TextView) contentView.getTag(R.id.description); 341 View contentView = (View) dialogView.getTag(R.id [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserHistoryPage.java | 114 public Loader<Cursor> onCreateLoader(int id, Bundle args) { argument 117 switch (id) { 152 mRoot.findViewById(R.id.history).setVisibility(View.GONE); 153 mRoot.findViewById(android.R.id.empty).setVisibility(View.VISIBLE); 155 mRoot.findViewById(R.id.history).setVisibility(View.VISIBLE); 156 mRoot.findViewById(android.R.id.empty).setVisibility(View.GONE); 210 ViewStub stub = (ViewStub) mRoot.findViewById(R.id.pref_stub); 225 mHistoryList = (ExpandableListView) mRoot.findViewById(R.id.history); 234 mGroupList = (ListView) mRoot.findViewById(android.R.id.list); 235 mPrefsContainer = (ViewGroup) mRoot.findViewById(R.id 272 onChildClick(ExpandableListView parent, View view, int groupPosition, int childPosition, long id) argument [all...] |
H A D | AddBookmarkPage.java | 130 Folder(String name, long id) { argument 132 Id = id; 288 long id = mMap.getLong(BrowserContract.Bookmarks._ID); 291 BookmarkUtils.displayRemoveBookmarkDialog(id, 299 public void onSetSelection(long id) { argument 300 int intId = (int) id; 335 long id = addFolderToCurrent(mFolderNamer.getText().toString()); 336 descendInto(name, id); 381 private void descendInto(String foldername, long id) { argument 382 if (id ! 455 onCreateLoader(int id, Bundle args) argument 541 onItemClick(AdapterView<?> parent, View view, int position, long id) argument 787 UpdateBookmarkTask(Context context, long id) argument 965 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument 1053 long id = -1; field in class:AddBookmarkPage.EditBookmarkInfo [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
H A D | ContactEditorAccountsChangedActivity.java | 59 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 92 final TextView textView = (TextView) findViewById(R.id.text); 95 final Button button = (Button) findViewById(R.id.add_account_button); 99 final ListView accountListView = (ListView) findViewById(R.id.account_list); 109 final TextView textView = (TextView) findViewById(R.id.text); 110 final Button leftButton = (Button) findViewById(R.id.left_button); 111 final Button rightButton = (Button) findViewById(R.id.right_button); 136 final TextView textView = (TextView) findViewById(R.id.text); 137 final Button leftButton = (Button) findViewById(R.id.left_button); 138 final Button rightButton = (Button) findViewById(R.id [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadReceiver.java | 136 final long id = ContentUris.parseId(intent.getData()); 137 openDownload(context, id); 138 hideNotification(context, id); 141 final long id = ContentUris.parseId(intent.getData()); 142 hideNotification(context, id); 150 private void hideNotification(Context context, long id) { argument 154 final Uri uri = ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id); 161 Log.w(TAG, "Missing details for download " + id); 182 private void openDownload(Context context, long id) { argument 183 if (!OpenHelper.startViewIntent(context, id, Inten [all...] |
/packages/apps/DeskClock/src/com/android/alarmclock/ |
H A D | DigitalAppWidgetProvider.java | 93 R.id.digital_appwidget_listview); 97 WidgetUtils.setTimeFormat(widget, 0/*no am/pm*/, R.id.the_clock); 128 R.id.digital_appwidget_listview); 165 widget.setOnClickPendingIntent(R.id.digital_appwidget, 171 WidgetUtils.setTimeFormat(widget, 0/*no am/pm*/, R.id.the_clock); 177 widget.setCharSequence(R.id.date, "setFormat12Hour", dateFormat); 178 widget.setCharSequence(R.id.date, "setFormat24Hour", dateFormat); 180 // Set up R.id.digital_appwidget_listview to use a remote views adapter 185 widget.setRemoteAdapter(R.id.digital_appwidget_listview, intent); 189 widget.setPendingIntentTemplate(R.id [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | PicasaSource.java | 128 String id = data.cursor.getString(idIndex); 129 if (id != null && id.equals(data.id)) { 150 data.id = cursor.getString(idIndex); 178 for (String id : getFoundAlbums()) { 179 if (mSettings.isAlbumEnabled(id)) { 180 String[] parts = id.split(":"); 182 albumIds.addAll(resolveAlbumIds(id)); 256 private String resolveAccount(String id) { argument 279 resolveAlbumIds(String id) argument [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | RadioInfo.java | 260 mDeviceId= (TextView) findViewById(R.id.imei); 261 number = (TextView) findViewById(R.id.number); 262 callState = (TextView) findViewById(R.id.call); 263 operatorName = (TextView) findViewById(R.id.operator); 264 roamingState = (TextView) findViewById(R.id.roaming); 265 gsmState = (TextView) findViewById(R.id.gsm); 266 gprsState = (TextView) findViewById(R.id.gprs); 267 network = (TextView) findViewById(R.id.network); 268 dBm = (TextView) findViewById(R.id.dbm); 269 mMwi = (TextView) findViewById(R.id [all...] |