Home
last modified time | relevance | path

Searched refs:showAction (Results 1 – 12 of 12) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DActionableToastBar.java154 final boolean showAction = !TextUtils.isEmpty(mSingleLineActionView.getText()); in onMeasure()
157 setVisibility(false /* multiLine */, showAction); in onMeasure()
167 setVisibility(true /* multiLine */, showAction); in onMeasure()
328 private void setVisibility(boolean multiLine, boolean showAction) { in setVisibility() argument
330 mSingleLineActionView.setVisibility(!multiLine && showAction ? View.VISIBLE : View.GONE); in setVisibility()
335 mMultiLineActionView.setVisibility(multiLine && showAction ? View.VISIBLE : View.GONE); in setVisibility()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DTwoActionPreferenceTest.java69 mTestTwoActionPreference.showAction(true); in showAction_true_buttonVisible()
78 mTestTwoActionPreference.showAction(false); in showAction_false_buttonGone()
87 mTestTwoActionPreference.showAction(true); in isActionShown_true()
93 mTestTwoActionPreference.showAction(false); in isActionShown_false()
DButtonPreferenceTest.java70 mButtonPreference.showAction(true); in performButtonClick_listenerSetAndButtonVisible_listenerFired()
81 mButtonPreference.showAction(false); in performButtonClick_listenerSetAndButtonInvisible_listenerNotFired()
DMasterSwitchPreferenceTest.java100 mMasterSwitchPreference.showAction(false); in setSwitchState_listenerSetAndButtonInvisible_oppositeBool_listenerNotCalled()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DActionView.java82 showAction(true); in init()
112 public void showAction(boolean visible) { in showAction() method in ActionView
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAppsPickerEntryBasePreferenceController.java51 preference.showAction(intent != null); in updateState()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceController.java55 pref.showAction(true); in createDevicePreference()
DBluetoothDevicePreference.java54 showAction(false); in BluetoothDevicePreference()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DEditUserNameEntryPreferenceController.java54 preference.showAction(false); in updateState()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DTwoActionPreference.java71 public void showAction(boolean isShown) { in showAction() method in TwoActionPreference
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DInspectorController.java335 void showAction(boolean visible); in showAction() method
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DInspectorControllerTest.java329 public void showAction(boolean visible) { in showAction() method in InspectorControllerTest.TestAction