/packages/apps/Camera2/src/com/android/camera/ |
H A D | ButtonManager.java | 91 /** A listener for button enabled and visibility 119 * to prevent stale references button views. 126 * ButtonStatusListener provides callbacks for when button's 131 * A button's visibility has changed. 136 * A button's enabled state has changed. 184 MultiToggleImageButton button = null; 190 button = getButtonOrError(BUTTON_FLASH); 194 button = getButtonOrError(BUTTON_TORCH); 198 button = getButtonOrError(BUTTON_HDR_PLUS_FLASH); 202 button 664 initializeFlashButton(MultiToggleImageButton button, final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) argument 693 initializeTorchButton(MultiToggleImageButton button, final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) argument 722 initializeHdrPlusFlashButton(MultiToggleImageButton button, final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) argument 751 initializeCameraButton(final MultiToggleImageButton button, final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) argument 787 initializeHdrPlusButton(MultiToggleImageButton button, final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) argument 810 initializeHdrPlusButtonIcons(MultiToggleImageButton button, int resIdImages) argument 820 initializeHdrButton(MultiToggleImageButton button, final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) argument 843 initializeHdrButtonIcons(MultiToggleImageButton button, int resIdImages) argument 853 initializeCountdownButton(MultiToggleImageButton button, final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) argument 892 initializeGridLinesButton(MultiToggleImageButton button, final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) argument 1000 setPreChangeCallback(MultiToggleImageButton button, final ButtonCallback preCb) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | RadioOptions.java | 87 public void onClick(View button) { 88 setSelectedOptionByView(button); 93 View button = getChildAt(i); 94 button.setOnClickListener(onClickListener); 103 View button = findViewWithTag(tag); 104 setSelectedOptionByView(button); 112 View button = findViewById(id); 113 setSelectedOptionByView(button); 118 // Reset all button states. 123 // Highlight the appropriate button [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
H A D | StyleChooser.java | 47 final ImageButton button = new ImageButton(context); 48 button.setScaleType(ScaleType.CENTER_CROP); 49 button.setLayoutParams(lp); 50 button.setBackgroundResource(android.R.color.transparent); 51 mIconButton.add(button); 53 button.setOnClickListener(new View.OnClickListener() { 59 mLinearLayout.addView(button); 67 button.setImageBitmap(bmap);
|
H A D | ColorChooser.java | 65 final Button button = (Button) mTopView.findViewById(mButtonsID[i]); 66 mButton[i] = button; 70 button.setTag(hsvo); 71 GradientDrawable sd = ((GradientDrawable) button.getBackground()); 76 button.setOnClickListener(new View.OnClickListener() { 83 Button button = (Button) mTopView.findViewById(R.id.draw_color_popupbutton); 85 button.setOnClickListener(new View.OnClickListener() { 115 final Button button = mButton[i]; 116 GradientDrawable sd = ((GradientDrawable) button.getBackground()); 122 public void selectColor(View button, in argument [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSetupTypeFragment.java | 66 final Button button = (Button)parent.getChildAt(i); 69 (RelativeLayout.LayoutParams)button.getLayoutParams(); 72 button.setId(i); 73 button.setTag(info.protocol); 74 button.setText(info.name); 75 button.setOnClickListener(this); 76 lastView = button;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | TutorialJAJP.java | 221 Bubble button; 227 button = new Bubble(context, inputView, 230 mBubbles.add(button); 236 button = new Bubble(context, inputView, 239 mBubbles.add(button); 245 button = new Bubble(context, inputView, 248 mBubbles.add(button); 254 button = new Bubble(context, inputView, 257 mBubbles.add(button); 265 button [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | ButtonSwitcher.java | 159 private ViewPropertyAnimator animateButton(final View button, final int direction) { argument 161 final float innerX = button.getX() - button.getTranslationX(); 164 button.setClickable(true); 165 return button.animate().translationX(0); 167 button.setClickable(false); 168 return button.animate().translationX(outerX - innerX);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
H A D | ColorGridDialog.java | 45 for (Button button : b) { 46 if (!button.equals(sel)){ 51 GradientDrawable sd = ((GradientDrawable) button.getBackground()); 52 button.setOnClickListener(new View.OnClickListener() {
|
H A D | ColorPickerDialog.java | 146 private void setButtonColor(ToggleButton button, float[] hsv) { argument 147 if (button == null) { 151 button.setBackgroundColor(color); 157 button.setTextColor(Color.HSVToColor(fg)); 158 button.setTag(hsv);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SelectionMenu.java | 35 public SelectionMenu(Context context, Button button, OnPopupItemClickListener listener) { argument 37 mButton = button;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | ConfirmConvertToFbe.java | 38 final Button button = (Button) rootView.findViewById(R.id.button_confirm_convert_fbe); 39 button.setOnClickListener(new View.OnClickListener() {
|
H A D | ConvertToFbe.java | 53 final Button button = (Button) rootView.findViewById(R.id.button_convert_fbe); 54 button.setOnClickListener(new View.OnClickListener() {
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
H A D | SetupSkipDialog.java | 63 public void onClick(DialogInterface dialog, int button) { argument 64 switch (button) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
H A D | EditorRotate.java | 71 final Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect); 72 button.setOnClickListener(new OnClickListener() { 78 button.setText(displayVal);
|
H A D | EditorMirror.java | 71 final Button button = (Button) accessoryViewList.findViewById(R.id.applyEffect); 72 button.setOnClickListener(new OnClickListener() {
|
H A D | EditorDrawTabletUI.java | 132 final ImageButton button = new ImageButton(context); 133 mStyleButton[i] = button; 134 button.setScaleType(ImageView.ScaleType.CENTER_CROP); 135 button.setLayoutParams(params); 137 button.setImageBitmap(bitmap); 138 button.setBackgroundResource(android.R.color.transparent); 139 buttonContainer.addView(button); 141 button.setOnClickListener(new View.OnClickListener() { 271 final Button button = mColorButton[i]; 273 GradientDrawable sd = ((GradientDrawable) button [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
H A D | FolderPickerDialog.java | 86 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE); 88 // No items are selected, so disable the OK button. 89 button.setEnabled(false); 103 // This would remove the check on a single radio button, so just 120 // Since we know that an item is selected in the list, enable the OK button 121 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE); 122 button.setEnabled(true);
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
H A D | EnterSelfPhoneNumberDialog.java | 60 final int button) { 68 final int button) {
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
H A D | SubRatingsFragment.java | 80 CompoundButton button = (CompoundButton) view.findViewById(getCompoundButtonId()); 81 button.setButtonDrawable(R.drawable.btn_lock_material_anim); 82 button.setVisibility(View.VISIBLE); 141 CompoundButton button = (CompoundButton) view.findViewById(getCompoundButtonId()); 142 button.setButtonDrawable(R.drawable.btn_lock_material_anim); 143 button.setVisibility(View.VISIBLE);
|
/packages/apps/TV/src/com/android/tv/menu/ |
H A D | PlayControlsRowView.java | 166 private void initializeButton(PlayControlsButton button, int imageResId, argument 168 button.setImageResId(imageResId); 169 button.setAction(clickAction); 170 button.findViewById(R.id.button) 222 // Move focus to the play/pause button when the PREVIOUS, NEXT, REWIND or 223 // FAST_FORWARD button is clicked and the button becomes disabled. 468 PlayControlsButton button; 471 button [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
H A D | TutorialEN.java | 217 Bubble button; 221 button = new Bubble(context, inputView, 224 mBubbles.add(button); 231 button = new Bubble(context, inputView, 234 mBubbles.add(button); 236 button = new Bubble(context, inputView, 239 mBubbles.add(button);
|
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
H A D | ConditionAdapterUtils.java | 88 Button button = (Button) detailGroup.findViewById(i == 0 91 button.setVisibility(View.VISIBLE); 92 button.setText(actions[i]); 94 button.setOnClickListener(new View.OnClickListener() { 104 button.setVisibility(View.GONE);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | AttendeesView.java | 191 // Set up the Image button even if the view is disabled 193 final ImageButton button = (ImageButton) view.findViewById(R.id.contact_remove); 194 button.setVisibility(isEnabled() ? View.VISIBLE : View.GONE); 195 button.setTag(item); 197 button.setImageResource(R.drawable.ic_menu_add_field_holo_light); 198 button.setContentDescription(mContext.getString(R.string.accessibility_add_attendee)); 200 button.setImageResource(R.drawable.ic_menu_remove_field_holo_light); 201 button.setContentDescription(mContext. 204 button.setOnClickListener(this);
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | ModeOptions.java | 224 View button = mModeOptionsButtons.getChildAt(i); 225 if (button instanceof MultiToggleImageButton) { 226 MultiToggleImageButton toggleButton = (MultiToggleImageButton) button; 287 final View button; 289 button = mActiveBar.getChildAt(i); 291 button = mActiveBar.getChildAt(childCount-1-i); 301 button.setTranslationX((Float) animation.getAnimatedValue()); 303 button.setTranslationY(-((Float) animation.getAnimatedValue()));
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | BugleActivityUtil.java | 78 final int button) {
|