/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | TutorialJAJP.java | 221 Bubble button; in TutorialJAJP() local 227 button = new Bubble(context, inputView, in TutorialJAJP() 230 mBubbles.add(button); in TutorialJAJP() 236 button = new Bubble(context, inputView, in TutorialJAJP() 239 mBubbles.add(button); in TutorialJAJP() 245 button = new Bubble(context, inputView, in TutorialJAJP() 248 mBubbles.add(button); in TutorialJAJP() 254 button = new Bubble(context, inputView, in TutorialJAJP() 257 mBubbles.add(button); in TutorialJAJP() 265 button = new Bubble(context, inputView, in TutorialJAJP() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
D | StyleChooser.java | 44 final ImageButton button = new ImageButton(context); in setUp() local 45 button.setScaleType(ScaleType.CENTER_CROP); in setUp() 46 button.setLayoutParams(lp); in setUp() 47 button.setBackgroundResource(android.R.color.transparent); in setUp() 48 mIconButton.add(button); in setUp() 50 button.setOnClickListener(new View.OnClickListener() { in setUp() 56 mLinearLayout.addView(button); in setUp() 64 button.setImageBitmap(bmap); in setUp()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ButtonSwitcher.java | 144 private ViewPropertyAnimator animateButton(final View button, final int direction) { in animateButton() argument 146 final float innerX = button.getX() - button.getTranslationX(); in animateButton() 148 button.setClickable(true); in animateButton() 149 return button.animate().translationX(0); in animateButton() 151 button.setClickable(false); in animateButton() 152 return button.animate().translationX(outerX - innerX); in animateButton()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | AttendeesView.java | 193 final ImageButton button = (ImageButton) view.findViewById(R.id.contact_remove); in updateAttendeeView() local 194 button.setVisibility(isEnabled() ? View.VISIBLE : View.GONE); in updateAttendeeView() 195 button.setTag(item); in updateAttendeeView() 197 button.setImageResource(R.drawable.ic_menu_add_field_holo_light); in updateAttendeeView() 198 button.setContentDescription(mContext.getString(R.string.accessibility_add_attendee)); in updateAttendeeView() 200 button.setImageResource(R.drawable.ic_menu_remove_field_holo_light); in updateAttendeeView() 201 button.setContentDescription(mContext. in updateAttendeeView() 204 button.setOnClickListener(this); in updateAttendeeView()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
D | TutorialEN.java | 217 Bubble button; in TutorialEN() local 221 button = new Bubble(context, inputView, in TutorialEN() 224 mBubbles.add(button); in TutorialEN() 231 button = new Bubble(context, inputView, in TutorialEN() 234 mBubbles.add(button); in TutorialEN() 236 button = new Bubble(context, inputView, in TutorialEN() 239 mBubbles.add(button); in TutorialEN()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
D | ColorPickerDialog.java | 108 private void setButtonColor(ToggleButton button, float[] hsv) { in setButtonColor() argument 109 if (button == null) { in setButtonColor() 113 button.setBackgroundColor(color); in setButtonColor() 119 button.setTextColor(Color.HSVToColor(fg)); in setButtonColor() 120 button.setTag(hsv); in setButtonColor()
|
D | ColorGridDialog.java | 45 for (Button button : b) { in ColorGridDialog() 46 if (!button.equals(sel)){ in ColorGridDialog() 51 GradientDrawable sd = ((GradientDrawable) button.getBackground()); in ColorGridDialog() 52 button.setOnClickListener(new View.OnClickListener() { in ColorGridDialog()
|
/packages/apps/Phone/src/com/android/phone/ |
D | DTMFTwelveKeyDialer.java | 611 View button; in setupKeypad() local 614 button = dialerView.findViewById(viewId); in setupKeypad() 616 button.setOnTouchListener(this); in setupKeypad() 617 button.setClickable(true); in setupKeypad() 618 button.setOnKeyListener(this); in setupKeypad() 619 button.setOnHoverListener(this); in setupKeypad() 620 button.setOnClickListener(this); in setupKeypad()
|
/packages/apps/Settings/src/com/android/settings/ |
D | CredentialStorage.java | 249 @Override public void onClick(DialogInterface dialog, int button) { in onClick() argument 250 mResetConfirmed = (button == DialogInterface.BUTTON_POSITIVE); in onClick() 319 @Override public void onClick(DialogInterface dialog, int button) { in onClick() argument 320 mConfigureConfirmed = (button == DialogInterface.BUTTON_POSITIVE); in onClick() 427 @Override public void onClick(DialogInterface dialog, int button) { in onClick() argument 428 mUnlockConfirmed = (button == DialogInterface.BUTTON_POSITIVE); in onClick()
|
D | CryptKeeper.java | 424 final Button button = (Button) findViewById(R.id.factory_reset); in showFactoryReset() local 425 button.setVisibility(View.VISIBLE); in showFactoryReset() 426 button.setOnClickListener(new OnClickListener() { in showFactoryReset()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | EditorDraw.java | 87 final Button button = (Button) accessoryViewList.findViewById( in showPopupMenu() local 89 if (button == null) { in showPopupMenu() 92 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), button); in showPopupMenu() 132 Button button = (Button) dialog.findViewById(R.id.sizeAcceptButton); in showSizeDialog() local 133 button.setOnClickListener(new OnClickListener() { in showSizeDialog()
|
D | EditorRotate.java | 53 final Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect); in openUtilityPanel() local 54 button.setOnClickListener(new OnClickListener() { in openUtilityPanel() 58 … button.setText(mContext.getString(getTextId()) + " " + mImageRotate.getLocalValue()); in openUtilityPanel()
|
D | EditorCrop.java | 83 final Button button = (Button) accessoryViewList.findViewById( in showPopupMenu() local 85 if (button == null) { in showPopupMenu() 88 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), button); in showPopupMenu()
|
D | EditorFlip.java | 53 final Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect); in openUtilityPanel() local 54 button.setOnClickListener(new OnClickListener() { in openUtilityPanel()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventInfoFragment.java | 562 View button = mView.findViewById(R.id.change_color); in onQueryComplete() local 563 if (button != null && mColors.length > 0) { in onQueryComplete() 564 button.setEnabled(true); in onQueryComplete() 565 button.setVisibility(View.VISIBLE); in onQueryComplete() 1793 View button; in updateCalendar() local 1795 button = mView.findViewById(R.id.delete); in updateCalendar() 1796 if (button != null) { in updateCalendar() 1797 button.setEnabled(true); in updateCalendar() 1798 button.setVisibility(View.VISIBLE); in updateCalendar() 1802 button = mView.findViewById(R.id.edit); in updateCalendar() [all …]
|
D | DeleteEventHelper.java | 135 public void onClick(DialogInterface dialog, int button) { 154 public void onClick(DialogInterface dialog, int button) { 171 public void onClick(DialogInterface dialog, int button) { 173 mWhichDelete = mWhichIndex.get(button); 187 public void onClick(DialogInterface dialog, int button) {
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ConfirmRateLimitActivity.java | 51 Button button = (Button) findViewById(R.id.btn_yes); in onCreate() local 52 button.setOnClickListener(new OnClickListener() { in onCreate() 58 button = (Button) findViewById(R.id.btn_no); in onCreate() 59 button.setOnClickListener(new OnClickListener() { in onCreate()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Launcher.java | 3072 TextView button = (TextView) findViewById(buttonId); in updateTextButtonWithIconFromExternalActivity() local 3077 if (button != null) { in updateTextButtonWithIconFromExternalActivity() 3078 button.setCompoundDrawables(toolbarIcon, null, null, null); in updateTextButtonWithIconFromExternalActivity() 3083 if (button != null) { in updateTextButtonWithIconFromExternalActivity() 3084 button.setCompoundDrawables(toolbarIcon, null, null, null); in updateTextButtonWithIconFromExternalActivity() 3094 ImageView button = (ImageView) findViewById(buttonId); in updateButtonWithIconFromExternalActivity() local 3097 if (button != null) { in updateButtonWithIconFromExternalActivity() 3101 button.setImageResource(fallbackDrawableId); in updateButtonWithIconFromExternalActivity() 3103 button.setImageDrawable(toolbarIcon); in updateButtonWithIconFromExternalActivity() 3112 TextView button = (TextView) findViewById(buttonId); in updateTextButtonWithDrawable() local [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
D | SwipeHelper.java | 212 View button = mCurrView.findViewById(R.id.onoff); in onInterceptTouchEvent() local 215 int left = button.getLeft(); in onInterceptTouchEvent() 216 int top = button.getTop(); in onInterceptTouchEvent() 217 View parent = (View) button.getParent(); in onInterceptTouchEvent() 229 int bottom = top + button.getHeight() + PROTECTION_PADDING; in onInterceptTouchEvent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
D | ImageCurves.java | 94 final Button button = (Button) accessoryViewList.findViewById( in showPopupMenu() local 96 if (button == null) { in showPopupMenu() 110 PopupMenu popupMenu = new PopupMenu(getActivity(), button); in showPopupMenu() 116 button.setText(mIdStrLut.get(item.getItemId())); in showPopupMenu()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmClock.java | 601 final ToggleButton button = (ToggleButton) viewgroup.getChildAt(0); in newView() local 603 button.setText(mShortWeekDayStrings[dayToShowIndex]); in newView() 604 button.setTextOn(mShortWeekDayStrings[dayToShowIndex]); in newView() 605 button.setTextOff(mShortWeekDayStrings[dayToShowIndex]); in newView() 606 button.setContentDescription(mLongWeekDayStrings[dayToShowIndex]); in newView() 608 holder.dayButtons[i] = button; in newView()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorAccountsChangedActivity.java | 95 final Button button = (Button) findViewById(R.id.add_account_button); in onCreate() local 96 button.setText(getString(R.string.add_new_account)); in onCreate() 97 button.setOnClickListener(mAddAccountClickListener); in onCreate()
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
D | ProviderPerfActivity.java | 242 final Button button = (Button) findViewById(button_id); in setButtonAction() local 243 button.setOnClickListener(new View.OnClickListener() { in setButtonAction() 245 button.requestFocus(); in setButtonAction() 246 button.setEnabled(false); in setButtonAction()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectSyncedCalendarsMultiAccountAdapter.java | 378 CheckBox button = (CheckBox) view.findViewById(R.id.sync); in bindChildView() local 379 button.setChecked(sync); in bindChildView() 383 view.setTag(TAG_ID_SYNC_CHECKBOX, button); in bindChildView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SelectionMenu.java | 35 public SelectionMenu(Context context, Button button, OnPopupItemClickListener listener) { in SelectionMenu() argument 37 mButton = button; in SelectionMenu()
|