Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Camera2/src_pd/com/android/camera/stats/
DSessionStatsCollector.java18 public synchronized void previewActive(boolean active) { in previewActive() argument
21 public synchronized void faceScanActive(boolean active) { in faceScanActive() argument
24 public synchronized void autofocusActive(boolean active) { in autofocusActive() argument
36 public synchronized void sessionActive(boolean active) { in sessionActive() argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiDetailsFragment.java143 final boolean active = mAccessPoint.isActive(); in update()
145 mConnectionStatusPref.setSummary(active ? R.string.connected : R.string.not_connected); in update()
146 mIpAddressPref.setVisible(active); in update()
147 mMacAddressPref.setVisible(active); in update()
148 mSignalStrengthPref.setVisible(active); in update()
150 if (active) { in update()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java503 final Event active = iter.next(); in removeAlldayActiveEvents() local
504 if (active.endDay < event.startDay) { in removeAlldayActiveEvents()
505 colMask &= ~(1L << active.getColumn()); in removeAlldayActiveEvents()
519 final Event active = iter.next(); in removeNonAlldayActiveEvents() local
522 active.getEndMillis() - active.getStartMillis(), minDurationMillis); in removeNonAlldayActiveEvents()
523 if ((active.getStartMillis() + duration) <= start) { in removeNonAlldayActiveEvents()
524 colMask &= ~(1L << active.getColumn()); in removeNonAlldayActiveEvents()
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DTunerCallbackAdapterExt.java150 public void onTrafficAnnouncement(boolean active) { in onTrafficAnnouncement() argument
151 mHandler.post(() -> mCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement()
154 public void onEmergencyAnnouncement(boolean active) { in onEmergencyAnnouncement() argument
155 mHandler.post(() -> mCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationStation.java88 public boolean active; field in NotificationStation.HistoricalNotificationInfo
271 StatusBarNotification[] active = mNoMan.getActiveNotifications( in loadNotifications() local
277 = new ArrayList<HistoricalNotificationInfo>(active.length + dismissed.length); in loadNotifications()
280 : new StatusBarNotification[][] { active, dismissed }) { in loadNotifications()
302 info.active = (resultset == active); in loadNotifications()
360 if (info.active) { in generateExtraText()
423 if (info.active) { in generateExtraText()
637 row.itemView.setAlpha(mInfo.active ? 1.0f : 0.5f); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationStation.java88 public boolean active; field in NotificationStation.HistoricalNotificationInfo
271 StatusBarNotification[] active = mNoMan.getActiveNotifications( in loadNotifications() local
277 = new ArrayList<HistoricalNotificationInfo>(active.length + dismissed.length); in loadNotifications()
280 : new StatusBarNotification[][] { active, dismissed }) { in loadNotifications()
302 info.active = (resultset == active); in loadNotifications()
360 if (info.active) { in generateExtraText()
423 if (info.active) { in generateExtraText()
637 row.itemView.setAlpha(mInfo.active ? 1.0f : 0.5f); in onBindViewHolder()
/packages/apps/Car/Media/src/com/android/car/media/
DPlaybackFragment.java143 boolean active = mActiveQueueItemId != null && Objects.equals(mActiveQueueItemId, in bind()
145 if (active) { in bind()
150 mShowTimeForActiveQueueItem && active && mQueueAdapter.getTimeVisible(); in bind()
155 boolean shouldShowIcon = mShowIconForActiveQueueItem && active; in bind()
158 return active; in bind()
219 boolean active = holder.bind(mQueueItems.get(position)); in onBindViewHolder()
220 if (active) { in onBindViewHolder()
/packages/apps/Car/Radio/src/com/android/car/radio/widget/
DBandSelectorFlat.java75 boolean active = btn.getTag() == ptype; in setType()
76 btn.setTextColor(ctx.getColor(active in setType()
79 btn.setBackground(ctx.getDrawable(active in setType()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DAppFocusTest.java71 public void onAppFocusChanged(int appType, boolean active) { in onAppFocusChanged() argument
72 Log.i(TAG, "onAppFocusChanged appType=" + appType + " active=" + active); in onAppFocusChanged()
74 mLastChangeAppActive = active; in onAppFocusChanged()
/packages/services/Car/service/src/com/android/car/
DAppFocusService.java333 private void dispatchAppFocusChange(IAppFocusListener listener, int appType, boolean active) { in dispatchAppFocusChange() argument
335 listener.onAppFocusChanged(appType, active); in dispatchAppFocusChange()
461 boolean active) { in requestAppFocusChangeDispatch() argument
462 Message msg = obtainMessage(MSG_DISPATCH_FOCUS_CHANGE, appType, active ? 1 : 0, in requestAppFocusChangeDispatch()
/packages/services/Car/car-lib/src/android/car/
DCarAppFocusManager.java49 void onAppFocusChanged(@AppFocusType int appType, boolean active); in onAppFocusChanged() argument
356 public void onAppFocusChanged(final @AppFocusType int appType, final boolean active) { in onAppFocusChanged() argument
365 listener.onAppFocusChanged(appType, active); in onAppFocusChanged()
DIAppFocusListener.aidl21 void onAppFocusChanged(int appType, boolean active) = 0; in onAppFocusChanged() argument
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DMetadataCallback.java75 boolean active = activeStates.contains(focusState); in updateOneCameraFocusState()
76 mOneCameraFocusState.update(new OneCamera.FocusState(focusDistance, active)); in updateOneCameraFocusState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java140 private AccessPoint createAccessPoint(String name, boolean active, boolean reachable) { in createAccessPoint() argument
143 doReturn(active).when(accessPoint).isActive(); in createAccessPoint()
145 if (active) { in createAccessPoint()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDevicePolicyManager.java63 public void setIsAdminActiveAsUser(boolean active) { in setIsAdminActiveAsUser() argument
64 mIsAdminActiveAsUser = active; in setIsAdminActiveAsUser()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DFloatingHeaderView.java227 public void setMainActive(boolean active) { in setMainActive() argument
228 mCurrentRV = active ? mMainRV : mWorkRV; in setMainActive()
229 mMainRVActive = active; in setMainActive()
/packages/services/Car/car-lib/src/android/car/trust/
DCarTrustAgentEnrollmentManager.java410 void onEscrowTokenActiveStateChanged(long handle, boolean active); in onEscrowTokenActiveStateChanged() argument
515 public void onEscrowTokenActiveStateChanged(long handle, boolean active) { in onEscrowTokenActiveStateChanged() argument
524 data.putBoolean(KEY_ACTIVE, active); in onEscrowTokenActiveStateChanged()
DICarTrustAgentEnrollmentCallback.aidl52 void onEscrowTokenActiveStateChanged(in long handle, in boolean active); in onEscrowTokenActiveStateChanged() argument
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DAddTrustedDeviceActivity.java103 public void onEscrowTokenActiveStateChanged(long handle, boolean active) {
104 if (active) {
DTrustedDeviceListPreferenceController.java74 public void onEscrowTokenActiveStateChanged(long handle, boolean active) {
75 if (active) {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java194 public static synchronized void setActive(boolean active) { in setActive() argument
196 sBluetoothMediaBrowserService.mSession.setActive(active); in setActive()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java214 ArrayList<String> active = intent.getStringArrayListExtra( in onReceive() local
219 active.toArray(new String[active.size()]), in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java214 ArrayList<String> active = intent.getStringArrayListExtra( in onReceive() local
219 active.toArray(new String[active.size()]), in onReceive()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterViewModel.java102 (appType, active) -> setNavigationFocus(active), in registerAppFocusListener()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java112 (appType, active) -> {
114 Log.d(TAG, "onAppFocusChanged, appType: " + appType + " active: " + active);

12