Searched refs:sensorCard (Results 1 – 2 of 2) sorted by relevance
350 AutoCardViewPreference sensorCard = findPreference(REQUIRED_APP_PREF_KEY); in setRequiredAppCard() local351 if (sensorCard == null) { in setRequiredAppCard()352 sensorCard = createRequiredAppCard(); in setRequiredAppCard()354 getPreferenceScreen().addPreference(sensorCard); in setRequiredAppCard()357 sensorCard.setVisible(true); in setRequiredAppCard()361 AutoCardViewPreference sensorCard = findPreference(BLOCKED_APP_PREF_KEY); in setBlockedAppCard() local362 if (sensorCard == null) { in setBlockedAppCard()363 sensorCard = createBlockedAppCard(isRequiredApp); in setBlockedAppCard()365 getPreferenceScreen().addPreference(sensorCard); in setBlockedAppCard()368 sensorCard.setVisible(true); in setBlockedAppCard()[all …]
254 CardViewPreference sensorCard = findPreference(BLOCKED_SENSOR_PREF_KEY); in setSensorCard() local255 if (sensorCard == null) { in setSensorCard()256 sensorCard = createSensorCard(); in setSensorCard()258 getPreferenceScreen().addPreference(sensorCard); in setSensorCard()260 sensorCard.setVisible(true); in setSensorCard()304 CardViewPreference sensorCard = new CardViewPreference(context, action); in createSensorCard() local305 sensorCard.setKey(BLOCKED_SENSOR_PREF_KEY); in createSensorCard()306 sensorCard.setIcon(Utils.getBlockedIcon(mPermGroupName)); in createSensorCard()307 sensorCard.setTitle(Utils.getBlockedTitle(mPermGroupName)); in createSensorCard()311 sensorCard.setSummary(context.getString(cardSummary)); in createSensorCard()[all …]