/frameworks/base/core/java/android/app/ |
D | MediaRouteActionProvider.java | 53 private MediaRouteButton mButton; field in MediaRouteActionProvider 94 if (mButton != null) { in setRouteTypes() 95 mButton.setRouteTypes(mRouteTypes); in setRouteTypes() 102 if (mButton != null) { in setExtendedSettingsClickListener() 103 mButton.setExtendedSettingsClickListener(listener); in setExtendedSettingsClickListener() 115 if (mButton != null) { in onCreateActionView() 121 mButton = new MediaRouteButton(mContext); in onCreateActionView() 122 mButton.setCheatSheetEnabled(true); in onCreateActionView() 123 mButton.setRouteTypes(mRouteTypes); in onCreateActionView() 124 mButton.setExtendedSettingsClickListener(mExtendedSettingsListener); in onCreateActionView() [all …]
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouteActionProvider.java | 136 private MediaRouteButton mButton; field in MediaRouteActionProvider 189 if (mButton != null) { in setRouteSelector() 190 mButton.setRouteSelector(selector); in setRouteSelector() 220 if (mButton != null) { in setDialogFactory() 221 mButton.setDialogFactory(factory); in setDialogFactory() 231 return mButton; in getMediaRouteButton() 247 if (mButton != null) { in onCreateActionView() 253 mButton = onCreateMediaRouteButton(); in onCreateActionView() 254 mButton.setCheatSheetEnabled(true); in onCreateActionView() 255 mButton.setRouteSelector(mSelector); in onCreateActionView() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
D | TouchModeFocusableTest.java | 35 private Button mButton; field in TouchModeFocusableTest 47 mButton = getActivity().getButton(); in setUp() 52 assertFalse("should not be in touch mode to start off", mButton.isInTouchMode()); in testPreconditions() 59 assertInTouchModeAfterTap(this, mButton); in testClickButtonEditTextKeepsFocus() 60 assertTrue("should be in touch mode", mButton.isInTouchMode()); in testClickButtonEditTextKeepsFocus() 68 assertTrue("button should have focus", mButton.isFocused()); in testClickEditTextGivesItFocus() 71 assertTrue("clicking edit text should have entered touch mode", mButton.isInTouchMode()); in testClickEditTextGivesItFocus() 83 mButton.isFocused()); in testEnterTouchModeGivesFocusBackToFocusableInTouchMode() 85 assertInTouchModeAfterClick(this, mButton); in testEnterTouchModeGivesFocusBackToFocusableInTouchMode() 86 assertTrue("should be in touch mode", mButton.isInTouchMode()); in testEnterTouchModeGivesFocusBackToFocusableInTouchMode()
|
D | StartInTouchWithViewInFocusTest.java | 33 private Button mButton; field in StartInTouchWithViewInFocusTest 44 mButton = getActivity().getButton(); in setUp() 57 assertTrue("should have given focus to next view", mButton.isFocused()); in DISABLE_testKeyDownLeavesTouchModeAndGoesToNextView()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListSetSelection.java | 31 private Button mButton; field in ListSetSelection 45 mButton = new Button(this); in onCreate() 46 mButton.setText("setSelection(0)"); in onCreate() 47 mButton.setOnClickListener(new View.OnClickListener() { in onCreate() 53 getListViewContainer().addView(mButton, new LinearLayout.LayoutParams( in onCreate() 60 return mButton; in getButton()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | GoneParentFocusedChild.java | 34 private Button mButton; field in GoneParentFocusedChild 52 return mButton; in getButton() 71 mButton = new Button(this); in onCreate() 72 mButton.setLayoutParams(new LinearLayout.LayoutParams( in onCreate() 77 mGoneGroup.addView(mButton); in onCreate() 81 mButton.requestFocus(); in onCreate()
|
D | ListWithFooterViewAndNewLabelsTest.java | 30 private Button mButton; field in ListWithFooterViewAndNewLabelsTest 48 mButton = (Button) a.findViewById(R.id.button); in setUp() 55 assertNotNull(mButton); in FAILING_testPreconditions() 59 assertTrue(mButton.hasFocus()); in FAILING_testPreconditions()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | UniqueIds.java | 62 Button mButton; field in UniqueIds.ToggleScene 66 mButton = button; in ToggleScene() 70 if (mButton.getLeft() == 0) { in ToggleScene() 71 mButton.offsetLeftAndRight(500); in ToggleScene() 73 int width = mButton.getWidth(); in ToggleScene() 74 mButton.setLeft(0); in ToggleScene() 75 mButton.setRight(width); in ToggleScene()
|
D | CrossfadeMultiple.java | 41 Button mButton; field in CrossfadeMultiple 55 mButton = (Button) findViewById(R.id.button); in onCreate() 101 mButton.setText("A"); in sendMessage() 107 mButton.setText("B"); in sendMessage() 113 mButton.setText("C"); in sendMessage() 118 mButton.setLayoutParams(params); in sendMessage()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ActionPresenterSelector.java | 41 Button mButton; field in ActionPresenterSelector.ActionViewHolder 46 mButton = (Button) view.findViewById(R.id.lb_action_button); in ActionViewHolder() 64 vh.mButton.setText(action.getLabel1()); in onBindViewHolder() 100 vh.mButton.setCompoundDrawablesWithIntrinsicBounds(null, null, icon, null); in onBindViewHolder() 102 vh.mButton.setCompoundDrawablesWithIntrinsicBounds(icon, null, null, null); in onBindViewHolder() 108 vh.mButton.setText(line2); in onBindViewHolder() 110 vh.mButton.setText(line1); in onBindViewHolder() 112 vh.mButton.setText(line1 + "\n" + line2); in onBindViewHolder() 119 vh.mButton.setCompoundDrawablesWithIntrinsicBounds(null, null, null, null); in onUnbindViewHolder()
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
D | MenuWith1Item.java | 24 private Button mButton; field in MenuWith1Item 34 return mButton; in getButton() 41 mButton = new Button(this); in onCreate() 42 setContentView(mButton); in onCreate()
|
D | MenuLayout.java | 29 private Button mButton; field in MenuLayout 54 return mButton; in getButton() 61 mButton = new Button(this); in onCreate() 62 setContentView(mButton); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | BaselineAlignmentSpinnerButton.java | 30 private View mButton; field in BaselineAlignmentSpinnerButton 42 mButton = activity.findViewById(R.id.reminder_remove); in setUp() 48 assertNotNull(mButton); in testSetUpConditions() 53 ViewAsserts.assertBaselineAligned(mSpinner, mButton); in testChildrenAligned()
|
D | LLEditTextThenButton.java | 29 private Button mButton; field in LLEditTextThenButton 41 mButton = (Button) findViewById(R.id.button); in onCreate() 53 return mButton; in getButton()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | ErrorSupportFragment.java | 47 private Button mButton; field in ErrorSupportFragment 213 mButton = (Button) root.findViewById(R.id.button); in onCreateView() 226 setTopMargin(mButton, underMessageBaselineMargin - metrics.descent); in onCreateView() 266 if (mButton != null) { in updateButton() 267 mButton.setText(mButtonText); in updateButton() 268 mButton.setOnClickListener(mButtonClickListener); in updateButton() 269 mButton.setVisibility(TextUtils.isEmpty(mButtonText) ? View.GONE : View.VISIBLE); in updateButton() 270 mButton.requestFocus(); in updateButton()
|
D | ErrorFragment.java | 45 private Button mButton; field in ErrorFragment 211 mButton = (Button) root.findViewById(R.id.button); in onCreateView() 224 setTopMargin(mButton, underMessageBaselineMargin - metrics.descent); in onCreateView() 264 if (mButton != null) { in updateButton() 265 mButton.setText(mButtonText); in updateButton() 266 mButton.setOnClickListener(mButtonClickListener); in updateButton() 267 mButton.setVisibility(TextUtils.isEmpty(mButtonText) ? View.GONE : View.VISIBLE); in updateButton() 268 mButton.requestFocus(); in updateButton()
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 49 private Button mButton; field in ConfirmDialog 81 mButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in onResume() 82 mButton.setFilterTouchesWhenObscured(true); in onResume()
|