Home
last modified time | relevance | path

Searched refs:INVALID_ID (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java84 private long mScrollToAlarmId = Alarm.INVALID_ID;
85 private long mExpandedAlarmId = Alarm.INVALID_ID;
107 mExpandedAlarmId = savedState.getLong(KEY_EXPANDED_ID, Alarm.INVALID_ID); in onCreate()
164 mExpandedAlarmId = Alarm.INVALID_ID; in onCreateView()
219 long alarmId = intent.getLongExtra(SCROLL_TO_ALARM_INTENT_EXTRA, Alarm.INVALID_ID); in onResume()
220 if (alarmId != Alarm.INVALID_ID) { in onResume()
332 if (mExpandedAlarmId != Alarm.INVALID_ID) { in setAdapterItems()
339 mExpandedAlarmId = Alarm.INVALID_ID; in setAdapterItems()
344 if (mScrollToAlarmId != Alarm.INVALID_ID) { in setAdapterItems()
346 setSmoothScrollStableId(Alarm.INVALID_ID); in setAdapterItems()
DAlarmClockFragment.kt70 private var mScrollToAlarmId = Alarm.INVALID_ID
71 private var mExpandedAlarmId = Alarm.INVALID_ID
85 mExpandedAlarmId = it.getLong(KEY_EXPANDED_ID, Alarm.INVALID_ID) in onCreate()
139 mExpandedAlarmId = Alarm.INVALID_ID in onCreateView()
188 val alarmId = intent.getLongExtra(SCROLL_TO_ALARM_INTENT_EXTRA, Alarm.INVALID_ID) in onResume()
189 if (alarmId != Alarm.INVALID_ID) { in onResume()
293 if (mExpandedAlarmId != Alarm.INVALID_ID) { in setAdapterItems()
300 mExpandedAlarmId = Alarm.INVALID_ID in setAdapterItems()
305 if (mScrollToAlarmId != Alarm.INVALID_ID) { in setAdapterItems()
307 setSmoothScrollStableId(Alarm.INVALID_ID) in setAdapterItems()
/packages/apps/TV/src/com/android/tv/recommendation/
DNotificationService.java133 mNotificationChannels[i] = Channel.INVALID_ID; in onCreate()
202 if (mNotificationChannels[notificationId] == Channel.INVALID_ID in handleUpdateRecommendation()
282 if (mNotificationChannels[i] == Channel.INVALID_ID) { in showRecommendation()
299 mNotificationChannels[notificationId] = Channel.INVALID_ID; in showRecommendation()
319 if (mNotificationChannels[notificationId] != Channel.INVALID_ID) { in changeRecommendation()
320 mNotificationChannels[notificationId] = Channel.INVALID_ID; in changeRecommendation()
344 if (mNotificationChannels[i] != Channel.INVALID_ID) { in hideAllRecommendation()
345 mNotificationChannels[i] = Channel.INVALID_ID; in hideAllRecommendation()
416 if (mNotificationChannels[notificationId] == Channel.INVALID_ID) { in sendNotification()
544 if (mNotificationChannels[i] == Channel.INVALID_ID) {
/packages/apps/Car/libs/car-settings-lib/src/com/android/car/settingslib/util/
DProfileNameSaver.java34 private static final int INVALID_ID = -1; field in ProfileNameSaver
108 if (newContact || structuredNameId == INVALID_ID) { in updateMeContactWith()
143 return INVALID_ID; in getProfileItem()
147 return cursor.moveToFirst() ? cursor.getLong(0) : INVALID_ID; in getProfileItem()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DDragAndDropAccessibilityDelegate.java60 return INVALID_ID; in getVirtualViewAt()
90 if (action == AccessibilityNodeInfoCompat.ACTION_CLICK && viewId != INVALID_ID) { in onPerformActionForVirtualView()
106 if (id == INVALID_ID) { in onPopulateEventForVirtualView()
114 if (id == INVALID_ID) { in onPopulateNodeForVirtualView()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberAsyncQueryHandler.java42 public static final int INVALID_ID = -1; field in FilteredNumberAsyncQueryHandler
121 listener.onCheckComplete(INVALID_ID); in isBlockedNumber()
144 listener.onCheckComplete(INVALID_ID); in isBlockedNumber()
151 listener.onCheckComplete(INVALID_ID); in isBlockedNumber()
152 blockedNumberCache.put(number, INVALID_ID); in isBlockedNumber()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.java56 public static final long INVALID_ID = -1; field in AlarmInstance
92 if (instance.mId != INVALID_ID) { in createContentValues()
263 if (instance.mId == INVALID_ID) return false; in updateInstance()
270 if (instanceId == INVALID_ID) return false; in deleteInstance()
305 mId = INVALID_ID; in AlarmInstance()
DAlarmInstance.kt70 mId = INVALID_ID
260 const val INVALID_ID: Long = -1 constant
297 if (instance.mId != INVALID_ID) { in createContentValues()
497 if (instance.mId == INVALID_ID) return false in updateInstance()
506 if (instanceId == INVALID_ID) return false in deleteInstance()
DAlarm.kt81 id = INVALID_ID
251 const val INVALID_ID: Long = -1 constant
323 if (alarm.id != INVALID_ID) { in createContentValues()
463 if (alarm.id == INVALID_ID) return false in updateAlarm()
472 if (alarmId == INVALID_ID) return false in deleteAlarm()
DAlarm.java43 public static final long INVALID_ID = -1; field in Alarm
115 if (alarm.id != INVALID_ID) { in createContentValues()
254 if (alarm.id == Alarm.INVALID_ID) return false;
261 if (alarmId == INVALID_ID) return false;
296 this.id = INVALID_ID;
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java51 private long mInitialChannelId = Channel.INVALID_ID;
52 private long mLastFocusedChannelId = Channel.INVALID_ID;
94 if (mLastFocusedChannelId != Channel.INVALID_ID) { in onCreateView()
127 if (mLastFocusedChannelId != Channel.INVALID_ID in onCreateView()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DChannelsBlockedFragment.java50 private long mLastFocusedChannelId = Channel.INVALID_ID;
83 if (mLastFocusedChannelId != Channel.INVALID_ID) { in onCreateView()
198 mLastFocusedChannelId = Channel.INVALID_ID; in onFocused()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java577 SoftPreconditions.checkState(channelId != Channel.INVALID_ID, TAG, "Invalid channel ID"); in getConflictingSchedules()
579 if (!mInitialized || channelId == Channel.INVALID_ID || startTimeMs >= endTimeMs) { in getConflictingSchedules()
660 SoftPreconditions.checkState(channelId != Channel.INVALID_ID, TAG, "Invalid channel ID"); in getConflictingSchedulesForTune()
664 if (!mInitialized || channelId == Channel.INVALID_ID || input == null) { in getConflictingSchedulesForTune()
713 SoftPreconditions.checkState(channelId != Channel.INVALID_ID, TAG, "Invalid channel ID"); in getConflictingSchedulesForWatching()
717 if (!mInitialized || channelId == Channel.INVALID_ID || input == null) { in getConflictingSchedulesForWatching()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesSettingsFragment.java126 mSelectedChannelId = Channel.INVALID_ID; in onAttach()
216 if (mSelectedChannelId != Channel.INVALID_ID) { in onGuidedActionClicked()
250 mSelectedChannelId = Channel.INVALID_ID; in onSubGuidedActionClicked()
DDvrConflictFragment.java301 SoftPreconditions.checkArgument(mChannelId != Channel.INVALID_ID); in onCreateView()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java143 if (channelId == Channel.INVALID_ID) { in getInputIdForChannel()
225 .getLong(PREF_KEY_LAST_WATCHED_CHANNEL_ID, Channel.INVALID_ID); in getLastWatchedChannelId()
230 .getLong(PREF_KEY_LAST_WATCHED_CHANNEL_ID_FOR_INPUT + inputId, Channel.INVALID_ID); in getLastWatchedChannelIdForInput()
311 if (channelId == Channel.INVALID_ID) { in getProgramAt()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java35 public static final int INVALID_ID = -1; field in AvrcpPlayer
65 mId = INVALID_ID; in AvrcpPlayer()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java575 && channelId != Channel.INVALID_ID) { in onCreate()
588 Channel.INVALID_ID, mOnCurrentProgramUpdatedListener); in onCreate()
1052 if (channelId != Channel.INVALID_ID) { in startTv()
1523 if (programUriFromIntent != null && channelIdFromIntent != Channel.INVALID_ID) { in handleIntent()
1557 if (channelId == Channel.INVALID_ID) { in handleIntent()
1573 if (channelId == Channel.INVALID_ID) { in handleIntent()
2020 Channel.INVALID_ID, mOnCurrentProgramUpdatedListener);
DChannelTuner.java153 return mCurrentChannel != null ? mCurrentChannel.getId() : Channel.INVALID_ID; in getCurrentChannelId()
/packages/apps/TV/src/com/android/tv/data/api/
DChannel.java33 long INVALID_ID = -1; field
/packages/apps/TV/src/com/android/tv/data/
DChannelImpl.java458 return channel != null && (channel.getId() != INVALID_ID || channel.isPassthrough()); in isValid()
471 mChannel.mId = INVALID_ID; in Builder()
DProgramDataManager.java473 mChannelId2ProgramUpdatedListeners.get(Channel.INVALID_ID)) { in notifyCurrentProgramUpdate()
1016 .setChannelId(Channel.INVALID_ID) in createStubProgram()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java58 private static final long INVALID_ID = -1; field in ProgramManager
616 if (program.getChannelId() == INVALID_ID) { in createProgramEntries()
/packages/apps/TV/src/com/android/tv/ui/
DProgramDetailsFragment.java156 if (program != null && channelId != Channel.INVALID_ID && !TextUtils.isEmpty(inputId)) { in onLoadDetails()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java397 ? DRAG_HANDLE_ID : INVALID_ID; in getVirtualViewAt()

12