Home
last modified time | relevance | path

Searched refs:canSayHello (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
DAppRestrictionSchemaFragment.java125 boolean canSayHello; in updateCanSayHello()
127 canSayHello = entry.getSelectedState(); in updateCanSayHello()
129 canSayHello = restrictions.getBoolean(KEY_CAN_SAY_HELLO); in updateCanSayHello()
131 mTextSayHello.setText(canSayHello ? in updateCanSayHello()
134 mButtonSayHello.setEnabled(canSayHello); in updateCanSayHello()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java278 private void updateCanSayHello(boolean canSayHello) { in updateCanSayHello() argument
279 mCurrentRestrictions.putBoolean(RESTRICTION_KEY_SAY_HELLO, canSayHello); in updateCanSayHello()
281 mSwitchSayHello.setChecked(canSayHello); in updateCanSayHello()