Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DFakeUid.java137 public long getWifiRunningTime(long elapsedRealtimeUs, int which) { in getWifiRunningTime() argument
142 public long getFullWifiLockTime(long elapsedRealtimeUs, int which) { in getFullWifiLockTime() argument
147 public long getWifiScanTime(long elapsedRealtimeUs, int which) { in getWifiScanTime() argument
152 public int getWifiScanCount(int which) { in getWifiScanCount() argument
157 public int getWifiScanBackgroundCount(int which) { in getWifiScanBackgroundCount() argument
172 public long getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which) { in getWifiBatchedScanTime() argument
177 public int getWifiBatchedScanCount(int csphBin, int which) { in getWifiBatchedScanCount() argument
182 public long getWifiMulticastTime(long elapsedRealtimeUs, int which) { in getWifiMulticastTime() argument
217 public long getProcessStateTime(int state, long elapsedRealtimeUs, int which) { in getProcessStateTime() argument
241 public int getUserActivityCount(int type, int which) { in getUserActivityCount() argument
[all …]
DBatteryUtils.java95 int which) { in getProcessTimeMs() argument
102 return getScreenUsageTimeMs(uid, which); in getProcessTimeMs()
104 return getProcessForegroundTimeMs(uid, which); in getProcessTimeMs()
106 return getProcessBackgroundTimeMs(uid, which); in getProcessTimeMs()
108 return getProcessForegroundTimeMs(uid, which) in getProcessTimeMs()
109 + getProcessBackgroundTimeMs(uid, which); in getProcessTimeMs()
114 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which, long rawRealTimeUs) { in getScreenUsageTimeMs() argument
120 final long localTime = uid.getProcessStateTime(type, rawRealTimeUs, which); in getScreenUsageTimeMs()
132 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which) { in getScreenUsageTimeMs() argument
134 return getScreenUsageTimeMs(uid, which, rawRealTimeUs); in getScreenUsageTimeMs()
[all …]
DAdvancedPowerUsageDetail.java119 PreferenceFragment fragment, BatteryStatsHelper helper, int which, BatteryEntry entry, in startBatteryDetailPage() argument
130 BatteryUtils.StatusType.FOREGROUND, uid, which) : sipper.usageTimeMs; in startBatteryDetailPage()
132 BatteryUtils.StatusType.BACKGROUND, uid, which) : 0; in startBatteryDetailPage()
159 BatteryStatsHelper helper, int which, BatteryEntry entry, String usagePercent, in startBatteryDetailPage() argument
161 startBatteryDetailPage(caller, BatteryUtils.getInstance(caller), fragment, helper, which, in startBatteryDetailPage()
/packages/apps/Calendar/src/com/android/calendar/
DDeleteEventHelper.java209 public void delete(long begin, long end, long eventId, int which) { in delete() argument
215 mWhichDelete = which; in delete()
218 public void delete(long begin, long end, long eventId, int which, Runnable callback) { in delete() argument
219 delete(begin, end, eventId, which); in delete()
257 public void delete(long begin, long end, CalendarEventModel model, int which) { in delete() argument
258 mWhichDelete = which; in delete()
316 if (which != -1) { in delete()
318 which = labelIndex.indexOf(which); in delete()
327 .setSingleChoiceItems(adapter, which, mDeleteListListener) in delete()
333 if (which == -1) { in delete()
[all …]
DEditResponseHelper.java61 public void setWhichEvents(int which) { in setWhichEvents() argument
62 mWhichEvents = which; in setWhichEvents()
66 public void onClick(DialogInterface dialog, int which) { in onClick() argument
99 public void onClick(DialogInterface dialog, int which) {
100 mWhichEvents = which;
/packages/apps/Settings/src/com/android/settings/
DRestrictedListPreference.java206 public void onClick(DialogInterface dialog, int which) { in getOnItemClickListener()
208 if (which < 0 || which >= preference.getEntryValues().length) { in getOnItemClickListener()
211 String entryValue = preference.getEntryValues()[which].toString(); in getOnItemClickListener()
219 setClickedDialogEntryIndex(which); in getOnItemClickListener()
248 protected void setClickedDialogEntryIndex(int which) { in setClickedDialogEntryIndex() argument
249 super.setClickedDialogEntryIndex(which); in setClickedDialogEntryIndex()
250 mLastCheckedPosition = which; in setClickedDialogEntryIndex()
DCustomListPreference.java103 public void onClick(DialogInterface dialog, int which) { in onPrepareDialogBuilder()
136 public void onClick(DialogInterface dialog, int which) { in getOnItemClickListener()
137 setClickedDialogEntryIndex(which); in getOnItemClickListener()
145 protected void setClickedDialogEntryIndex(int which) { in setClickedDialogEntryIndex() argument
146 mClickedDialogEntryIndex = which; in setClickedDialogEntryIndex()
208 public void onClick(DialogInterface dialog, int which) {
DSmsDefaultDialog.java83 public void onClick(DialogInterface dialog, int which) { in onClick() argument
84 switch (which) { in onClick()
92 if (which >= 0) { in onClick()
94 if (!adapter.isSelected(which)) { in onClick()
95 String packageName = adapter.getPackageName(which); in onClick()
/packages/apps/Email/provider_src/com/android/email/provider/
DFolderPickerDialog.java126 public void onClick(DialogInterface dialog, int which) { in onClick() argument
127 switch (which) { in onClick()
139 onClick(dialog, which, true); in onClick()
145 public void onClick(DialogInterface dialog, int which, boolean isChecked) { in onClick() argument
146 final FolderRow row = (FolderRow) mAdapter.getItem(which); in onClick()
151 mDialog.getListView().setItemChecked(which, false); in onClick()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageListUber.java122 int which = (int) (v >> 32); in getImageAt() local
124 int subindex = mSkipCounts[which] + (index - skipCount); in getImageAt()
125 return mSubList[which].getImageAt(subindex); in getImageAt()
128 mSkipCounts[which] += offset; in getImageAt()
220 int which = (int) (value >> 32); in getImageIndex() local
221 if (which == listIndex) { in getImageIndex()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java108 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
115 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
116 onKeyboardLayoutClicked(which); in onCreateDialog()
164 private void onKeyboardLayoutClicked(int which) { in onKeyboardLayoutClicked() argument
165 if (which >= 0 && which < mAdapter.getCount()) { in onKeyboardLayoutClicked()
166 KeyboardLayout keyboardLayout = mAdapter.getItem(which); in onKeyboardLayoutClicked()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java213 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
214 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
249 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
250 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
268 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
269 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
288 public void onClick(DialogInterface dialog, int which) { in onActivityCreated()
289 if (which == DialogInterface.BUTTON_POSITIVE) { in onActivityCreated()
309 } else if (which == DialogInterface.BUTTON_NEGATIVE) { in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiNoInternetDialog.java165 public void onClick(DialogInterface dialog, int which) { in onClick() argument
166 if (which != BUTTON_NEGATIVE && which != BUTTON_POSITIVE) return; in onClick()
172 final boolean accept = (which == BUTTON_POSITIVE); in onClick()
177 final boolean avoid = (which == BUTTON_POSITIVE); in onClick()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DWallpaperManagerCompatVOMR1.java50 public WallpaperColorsCompat getWallpaperColors(int which) { in getWallpaperColors() argument
51 return convertColorsObject(mWm.getWallpaperColors(which)); in getWallpaperColors()
58 public void onColorsChanged(WallpaperColors colors, int which) { in addOnColorsChangedListener()
59 listener.onColorsChanged(convertColorsObject(colors), which); in addOnColorsChangedListener()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragment.java395 public void onClick(final DialogInterface dialog, final int which) { in onClick() argument
397 switch (which) { in onClick()
445 public void onClick(final DialogInterface dialog, final int which) { in onPreferenceClick()
446 if (which == DialogInterface.BUTTON_POSITIVE) { in onPreferenceClick()
479 final int which) { in onPreferenceClick()
480 if (which == DialogInterface.BUTTON_POSITIVE) { in onPreferenceClick()
DSeekBarDialogPreference.java113 public void onClick(final DialogInterface dialog, final int which) { in onClick() argument
114 super.onClick(dialog, which); in onClick()
116 if (which == DialogInterface.BUTTON_NEUTRAL) { in onClick()
122 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
Ddialer_phone_number.proto25 // DialerInternalPhoneNumber, which is a copy of libphonenumber's PhoneNumber
29 // input failed to parse, in which case raw_input should be used.
32 // The raw input which was used to create a DialerPhoneNumber.
68 // For countries which have the concept of an "area code" or "national
115 // The source from which the country_code is derived. This is not set in the
141 // The source from which the country_code is derived.
151 // Note this is the "preferred" code, which means other codes may work as
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamNotificationActivity.java379 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
387 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() argument
397 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() argument
465 public void onClick(DialogInterface dialog, int which) {
473 public void onClick(DialogInterface dialog, int which) {
483 public void onClick(DialogInterface dialog, int which) {
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelPicker.java97 public void onClick(DialogInterface dialog, int which) {
99 mAlertParams.mCheckedItem = which;
105 public void onClick(DialogInterface dialog, int which) { in onClick() argument
106 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java685 .setPositiveButton(R.string.ok, (dialog, which) -> getActivity().finish()) in onCreateDialog()
703 ((dialog, which) -> ((PackageInstallerActivity) getActivity()) in onCreateDialog()
705 .setNegativeButton(R.string.cancel, ((dialog, which) -> getActivity().finish())) in onCreateDialog()
745 .setPositiveButton(R.string.manage_applications, (dialog, which) -> { in createDialog()
752 .setNegativeButton(R.string.cancel, (dialog, which) -> getActivity().finish()) in createDialog()
770 .setNeutralButton(R.string.ok, (dialog, which) -> getActivity().finish()) in createDialog()
798 (dialog, which) -> { in createDialog()
813 (dialog, which) -> getActivity().finish()) in createDialog()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventFragment.java748 public void onClick(DialogInterface dialog, int which) { in displayEditWhichDialog()
749 if (which == 0) { in displayEditWhichDialog()
758 } else if (which == 1) { in displayEditWhichDialog()
761 } else if (which == 2) { in displayEditWhichDialog()
830 int which = -1; in run() local
833 which = DeleteEventHelper.DELETE_SELECTED; in run()
836 which = DeleteEventHelper.DELETE_ALL_FOLLOWING; in run()
839 which = DeleteEventHelper.DELETE_ALL; in run()
844 deleteHelper.delete(begin, end, mOriginalModel, which); in run()
/packages/apps/Music/src/com/android/music/
DTrackBrowserActivity.java516 public void remove(int which) {
517 removePlaylistItem(which);
521 private void removePlaylistItem(int which) { in removePlaylistItem() argument
522 View v = mTrackList.getChildAt(which - mTrackList.getFirstVisiblePosition()); in removePlaylistItem()
524 Log.d(LOGTAG, "No view when removing playlist item " + which); in removePlaylistItem()
528 if (MusicUtils.sService != null && which != MusicUtils.sService.getQueuePosition()) { in removePlaylistItem()
538 ((NowPlayingCursor) mTrackCursor).removeItem(which); in removePlaylistItem()
541 mTrackCursor.moveToPosition(which); in removePlaylistItem()
1167 public boolean removeItem(int which) {
1169 if (mService.removeTracks(which, which) == 0) {
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java153 public void onClick(DialogInterface dialog, int which) {
154 if (which == mCursor.getCount() + mStaticItemCount) {
166 setCheckedItem(which);
175 playRingtone(which, 0);
477 public void onClick(DialogInterface dialog, int which) { in onClick() argument
478 boolean positiveResult = which == DialogInterface.BUTTON_POSITIVE; in onClick()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md34 …te that, these 3 types are also template class. `UTF8<>` is `UTF8<char>`, which means using char t…
61 The `Allocator` defines which allocator class is used when allocating/deallocating memory for `Docu…
65 Another allocator is `CrtAllocator`, of which CRT is short for C RunTime library. This allocator si…
69 …or parsing. In below, (1) is the fundamental function, while the others are helpers which call (1).
112 …efault parse flags. It is equal to macro `RAPIDJSON_PARSE_DEFAULT_FLAGS`, which is defined as `kPa…
119 …arameter, instead of a function parameter, C++ compiler can generate code which is optimized for s…
213 …on overheads and memory copying. Generally this improves cache coherence, which is an important fa…
250 …dlers for transforming the DOM into other formats. For example, a handler which converts the DOM i…
258 …e a buffer. The buffer can be on the program stack, or a "scratch buffer" which is statically allo…
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile18 # that follow. The default is UTF-8 which is also the encoding used for all
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
124 # If left blank the directory from which doxygen is run is used as the
130 # the path mentioned in the documentation of a class, which tells
131 # the reader which header file to include in order to use a class.
188 # put the command \sideeffect (or @sideeffect) in the documentation, which
221 # With this tag you can assign which parser to use for a given extension.
287 # determine which symbols to keep in memory and which to flush to disk.
330 # methods, which are defined in the implementation section but not in
518 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
[all …]

12345678910>>...13