Searched refs:which (Results 1 - 25 of 163) sorted by relevance

1234567

/frameworks/base/core/java/android/content/
H A DSyncStatusObserver.java20 void onStatusChanged(int which); argument
H A DISyncStatusObserver.aidl23 void onStatusChanged(int which);
H A DDialogInterface.java115 * @param which the button that was clicked (ex.
119 void onClick(DialogInterface dialog, int which); argument
131 * @param which the position of the item in the list that was clicked
135 void onClick(DialogInterface dialog, int which, boolean isChecked); argument
/frameworks/base/core/java/android/app/
H A DIWallpaperManagerCallback.aidl37 void onWallpaperColorsChanged(in WallpaperColors colors, int which, int userId);
H A DIWallpaperManager.aidl36 * 'which' is some combination of:
47 in Rect cropHint, boolean allowBackup, out Bundle extras, int which,
63 ParcelFileDescriptor getWallpaper(String callingPkg, IWallpaperManagerCallback cb, int which,
69 int getWallpaperIdForUser(int which, int userId);
81 void clearWallpaper(in String callingPackage, int which, int userId);
132 boolean isWallpaperBackupEligible(int which, int userId);
143 * @param which either {@link WallpaperManager#FLAG_LOCK}
147 WallpaperColors getWallpaperColors(int which, int userId);
H A DWallpaperManager.java143 * which allows them to provide a custom large icon associated with this action.
176 // flags for which kind of wallpaper to act on
353 public void onWallpaperColorsChanged(WallpaperColors colors, int which, int userId) { argument
368 listener.first.onColorsChanged(colors, which, userId);
375 WallpaperColors getWallpaperColors(int which, int userId) { argument
376 if (which != FLAG_LOCK && which != FLAG_SYSTEM) {
382 return mService.getWallpaperColors(which, userId);
390 @SetWallpaperFlags int which) {
391 return peekWallpaperBitmap(context, returnDefault, which, contex
389 peekWallpaperBitmap(Context context, boolean returnDefault, @SetWallpaperFlags int which) argument
394 peekWallpaperBitmap(Context context, boolean returnDefault, @SetWallpaperFlags int which, int userId) argument
477 getDefaultWallpaper(Context context, @SetWallpaperFlags int which) argument
562 getBuiltInDrawable(@etWallpaperFlags int which) argument
602 getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, float horizontalAlignment, float verticalAlignment, @SetWallpaperFlags int which) argument
853 getWallpaperFile(@etWallpaperFlags int which) argument
912 getWallpaperColors(int which) argument
924 getWallpaperColors(int which, int userId) argument
943 getWallpaperFile(@etWallpaperFlags int which, int userId) argument
1012 getWallpaperId(@etWallpaperFlags int which) argument
1021 getWallpaperIdForUser(@etWallpaperFlags int which, int userId) argument
1125 setResource(@awRes int resid, @SetWallpaperFlags int which) argument
1240 setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, @SetWallpaperFlags int which) argument
1253 setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, @SetWallpaperFlags int which, int userId) argument
1382 setStream(InputStream bitmapData, Rect visibleCropHint, boolean allowBackup, @SetWallpaperFlags int which) argument
1612 clearWallpaper(@etWallpaperFlags int which, int userId) argument
1805 clear(@etWallpaperFlags int which) argument
1822 openDefaultWallpaper(Context context, @SetWallpaperFlags int which) argument
1905 isWallpaperBackupEligible(int which) argument
1942 onWallpaperColorsChanged(WallpaperColors colors, int which, int userId) argument
1960 onColorsChanged(WallpaperColors colors, int which) argument
1972 onColorsChanged(WallpaperColors colors, int which, int userId) argument
[all...]
/frameworks/base/core/java/com/android/internal/colorextraction/
H A DColorExtractor.java67 for (int which : new int[] { WallpaperManager.FLAG_LOCK, WallpaperManager.FLAG_SYSTEM}) {
69 mGradientColors.append(which, colors);
106 * @param which FLAG_LOCK or FLAG_SYSTEM
110 public GradientColors getColors(int which) { argument
111 return getColors(which, TYPE_DARK);
117 * @param which FLAG_LOCK or FLAG_SYSTEM
122 public GradientColors getColors(int which, int type) { argument
127 if (which != WallpaperManager.FLAG_LOCK && which != WallpaperManager.FLAG_SYSTEM) {
128 throw new IllegalArgumentException("which shoul
140 getWallpaperColors(int which) argument
151 onColorsChanged(WallpaperColors colors, int which) argument
176 triggerColorsChanged(int which) argument
284 onColorsChanged(ColorExtractor colorExtractor, int which) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
H A DSysuiColorExtractor.java96 public void onColorsChanged(WallpaperColors colors, int which, int userId) { argument
102 super.onColorsChanged(colors, which);
104 if ((which & WallpaperManager.FLAG_SYSTEM) != 0) {
117 * @param which FLAG_LOCK or FLAG_SYSTEM
121 public GradientColors getColors(int which) { argument
122 return getColors(which, TYPE_DARK);
128 * @param which FLAG_LOCK or FLAG_SYSTEM
133 public GradientColors getColors(int which, int type) { argument
134 return getColors(which, type, false /* ignoreVisibility */);
140 * @param which FLAG_LOC
145 getColors(int which, boolean ignoreWallpaperVisibility) argument
157 getColors(int which, int type, boolean ignoreWallpaperVisibility) argument
[all...]
/frameworks/base/core/java/android/os/
H A DBatteryStats.java243 // BATTERY_STATS_CHECKIN_VERSION, uid, which, "rpm", state/voter name, total time, total count,
255 // BATTERY_STATS_CHECKIN_VERSION, uid, which, "wl", name,
263 // BATTERY_STATS_CHECKIN_VERSION, uid, which, "awl",
333 * @param which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT
335 public abstract int getCountLocked(int which); argument
352 * @param which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT
354 public abstract long getCountLocked(int which); argument
370 * @param which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT
372 public abstract long[] getCountsLocked(int which); argument
422 * @param which on
424 getCountLocked(int which) argument
434 getTotalTimeLocked(long elapsedRealtimeUs, int which) argument
596 getWifiRunningTime(long elapsedRealtimeUs, int which) argument
597 getFullWifiLockTime(long elapsedRealtimeUs, int which) argument
598 getWifiScanTime(long elapsedRealtimeUs, int which) argument
599 getWifiScanCount(int which) argument
600 getWifiScanBackgroundCount(int which) argument
603 getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which) argument
604 getWifiBatchedScanCount(int csphBin, int which) argument
605 getWifiMulticastTime(long elapsedRealtimeUs, int which) argument
623 getCpuFreqTimes(int which) argument
624 getScreenOffCpuFreqTimes(int which) argument
667 getProcessStateTime(int state, long elapsedRealtimeUs, int which) argument
687 getUserActivityCount(int type, int which) argument
690 getNetworkActivityBytes(int type, int which) argument
691 getNetworkActivityPackets(int type, int which) argument
692 getMobileRadioActiveTime(int which) argument
693 getMobileRadioActiveCount(int which) argument
698 getUserCpuTimeUs(int which) argument
703 getSystemCpuTimeUs(int which) argument
714 getTimeAtCpuSpeed(int cluster, int step, int which) argument
721 getMobileRadioApWakeupCount(int which) argument
728 getWifiRadioApWakeupCount(int which) argument
777 getUserTime(int which) argument
784 getSystemTime(int which) argument
791 getStarts(int which) argument
798 getNumCrashes(int which) argument
805 getNumAnrs(int which) argument
812 getForegroundTime(int which) argument
848 getStartTime(long batteryUptime, int which) argument
855 getStarts(int which) argument
862 getLaunches(int which) argument
1859 getScreenOnTime(long elapsedRealtimeUs, int which) argument
1866 getScreenOnCount(int which) argument
1874 getScreenDozeTime(long elapsedRealtimeUs, int which) argument
1881 getScreenDozeCount(int which) argument
1883 getInteractiveTime(long elapsedRealtimeUs, int which) argument
1907 getScreenBrightnessTime(int brightnessBin, long elapsedRealtimeUs, int which) argument
1916 getPowerSaveModeEnabledTime(long elapsedRealtimeUs, int which) argument
1923 getPowerSaveModeEnabledCount(int which) argument
1946 getDeviceIdleModeTime(int mode, long elapsedRealtimeUs, int which) argument
1953 getDeviceIdleModeCount(int mode, int which) argument
1969 getDeviceIdlingTime(int mode, long elapsedRealtimeUs, int which) argument
1976 getDeviceIdlingCount(int mode, int which) argument
1983 getNumConnectivityChange(int which) argument
1991 getPhoneOnTime(long elapsedRealtimeUs, int which) argument
1998 getPhoneOnCount(int which) argument
2006 getPhoneSignalStrengthTime(int strengthBin, long elapsedRealtimeUs, int which) argument
2015 getPhoneSignalScanningTime( long elapsedRealtimeUs, int which) argument
2023 getPhoneSignalStrengthCount(int strengthBin, int which) argument
2031 getMobileRadioActiveTime(long elapsedRealtimeUs, int which) argument
2039 getMobileRadioActiveCount(int which) argument
2048 getMobileRadioActiveAdjustedTime(int which) argument
2056 getMobileRadioActiveUnknownTime(int which) argument
2063 getMobileRadioActiveUnknownCount(int which) argument
2097 getPhoneDataConnectionTime(int dataType, long elapsedRealtimeUs, int which) argument
2106 getPhoneDataConnectionCount(int dataType, int which) argument
2225 getWifiOnTime(long elapsedRealtimeUs, int which) argument
2233 getGlobalWifiRunningTime(long elapsedRealtimeUs, int which) argument
2256 getWifiStateTime(int wifiState, long elapsedRealtimeUs, int which) argument
2264 getWifiStateCount(int wifiState, int which) argument
2272 getWifiSupplStateTime(int state, long elapsedRealtimeUs, int which) argument
2280 getWifiSupplStateCount(int state, int which) argument
2290 getWifiSignalStrengthTime(int strengthBin, long elapsedRealtimeUs, int which) argument
2298 getWifiSignalStrengthCount(int strengthBin, int which) argument
2306 getFlashlightOnTime(long elapsedRealtimeUs, int which) argument
2314 getFlashlightOnCount(int which) argument
2322 getCameraOnTime(long elapsedRealtimeUs, int which) argument
2330 getBluetoothScanTime(long elapsedRealtimeUs, int which) argument
2344 getNetworkActivityBytes(int type, int which) argument
2345 getNetworkActivityPackets(int type, int which) argument
2460 getDischargeAmount(int which) argument
2504 computeBatteryUptime(long curTime, int which) argument
2512 computeBatteryRealtime(long curTime, int which) argument
2520 computeBatteryScreenOffUptime(long curTime, int which) argument
2528 computeBatteryScreenOffRealtime(long curTime, int which) argument
2536 computeUptime(long curTime, int which) argument
2544 computeRealtime(long curTime, int which) argument
2626 getMahDischargeScreenOff(int which) argument
2633 getMahDischargeScreenDoze(int which) argument
2639 getMahDischarge(int which) argument
2777 computeWakeLock(Timer timer, long elapsedRealtimeUs, int which) argument
2797 printWakeLock(StringBuilder sb, Timer timer, long elapsedRealtimeUs, String name, int which, String linePrefix) argument
2854 printTimer(PrintWriter pw, StringBuilder sb, Timer timer, long rawRealtimeUs, int which, String prefix, String type) argument
2904 printWakeLockCheckin(StringBuilder sb, Timer timer, long elapsedRealtimeUs, String name, int which, String linePrefix) argument
2977 dumpTimer(PrintWriter pw, int uid, String category, String type, Timer timer, long rawRealtime, int which) argument
2993 controllerActivityHasData(ControllerActivityCounter counter, int which) argument
3020 dumpControllerActivityLine(PrintWriter pw, int uid, String category, String type, ControllerActivityCounter counter, int which) argument
3042 printControllerActivityIfInteresting(PrintWriter pw, StringBuilder sb, String prefix, String controllerName, ControllerActivityCounter counter, int which) argument
3051 printControllerActivity(PrintWriter pw, StringBuilder sb, String prefix, String controllerName, ControllerActivityCounter counter, int which) argument
3160 dumpCheckinLocked(Context context, PrintWriter pw, int which, int reqUid) argument
3169 dumpCheckinLocked(Context context, PrintWriter pw, int which, int reqUid, boolean wifiOnly) argument
3884 dumpLocked(Context context, PrintWriter pw, String prefix, int which, int reqUid) argument
3890 dumpLocked(Context context, PrintWriter pw, String prefix, final int which, int reqUid, boolean wifiOnly) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DCustomDialogPreference.java64 protected void onClick(DialogInterface dialog, int which) { argument
107 public void onClick(DialogInterface dialog, int which) { argument
108 super.onClick(dialog, which);
109 getCustomizablePreference().onClick(dialog, which);
H A DCustomEditTextPreference.java69 protected void onClick(DialogInterface dialog, int which) { argument
113 public void onClick(DialogInterface dialog, int which) { argument
114 super.onClick(dialog, which);
115 getCustomizablePreference().onClick(dialog, which);
/frameworks/rs/perf-test-scripts/
H A Dswitch-device43 if [ ! `which adb` ]; then
/frameworks/base/tools/obbtool/
H A Dmkobb.sh32 MKFSBIN=`which ${MKFS}`
33 LOSETUPBIN=`which ${LOSETUP}`
34 MOUNTBIN=`which mount`
35 UMOUNTBIN=`which umount`
36 DDBIN=`which dd`
37 RSYNCBIN=`which rsync`
38 PBKDF2GEN=`which pbkdf2gen`
/frameworks/base/core/java/android/widget/
H A DViewSwitcher.java26 * from which these views are created. You can either use the factory to
28 * child views, of which only one is shown at a time.
80 int which = mWhichChild == 0 ? 1 : 0;
81 return getChildAt(which);
95 * Sets the factory used to create the two views between which the
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DUserUtil.java53 public void onClick(DialogInterface dialog, int which) { argument
54 if (which == BUTTON_NEGATIVE) {
/frameworks/opt/chips/src/com/android/ex/chips/
H A DCopyDialog.java44 public void onClick(DialogInterface dialog, int which) { argument
45 if (which == DialogInterface.BUTTON_POSITIVE) {
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DIPSettings.java41 // and the listener through which to receive callbacks when items are selected
45 public void onClick(DialogInterface dialog, int which, boolean isChecked) {
46 mEnables[which] = isChecked;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DIPSettings.java41 // and the listener through which to receive callbacks when items are selected
45 public void onClick(DialogInterface dialog, int which, boolean isChecked) {
46 mEnables[which] = isChecked;
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBlasSettings.java41 // and the listener through which to receive callbacks when items are selected
45 public void onClick(DialogInterface dialog, int which, boolean isChecked) {
46 mEnables[which] = isChecked;
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DCustomListPreference.java102 public void onClick(DialogInterface dialog, int which) {
134 public void onClick(DialogInterface dialog, int which) {
135 setClickedDialogEntryIndex(which);
143 protected void setClickedDialogEntryIndex(int which) { argument
144 mClickedDialogEntryIndex = which;
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DMultiSelectListPreferenceDialogFragment.java106 public void onClick(DialogInterface dialog, int which, boolean isChecked) {
109 mEntryValues[which].toString());
112 mEntryValues[which].toString());
H A DListPreferenceDialogFragment.java84 public void onClick(DialogInterface dialog, int which) {
85 mClickedDialogEntryIndex = which;
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DMultiSelectListPreferenceDialogFragmentCompat.java106 public void onClick(DialogInterface dialog, int which, boolean isChecked) {
109 mEntryValues[which].toString());
112 mEntryValues[which].toString());
/frameworks/base/core/java/com/android/internal/app/
H A DResolverTargetActionsDialogFragment.java72 public void onClick(DialogInterface dialog, int which) { argument
75 switch (which) {
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportWarningActivity.java78 public void onClick(DialogInterface dialog, int which) { argument
79 if (which == AlertDialog.BUTTON_POSITIVE) {

Completed in 842 milliseconds

1234567