Home
last modified time | relevance | path

Searched defs:mode (Results 1 – 25 of 212) sorted by relevance

123456789

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DUsbBackend.java110 private void setUsbFunction(int mode) { in setUsbFunction()
127 public void setMode(int mode) { in setMode()
141 private int modeToPower(int mode) { in modeToPower()
146 public boolean isModeDisallowed(int mode) { in isModeDisallowed()
155 public boolean isModeDisallowedBySystem(int mode) { in isModeDisallowedBySystem()
164 public boolean isModeSupported(int mode) { in isModeSupported()
DUsbModeChooserActivity.java134 private void inflateOption(final int mode, boolean selected, LinearLayout container, in inflateOption()
182 static void updateSummary(TextView summaryView, int mode) { in updateSummary()
189 static int getTitle(int mode) { in getTitle()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DViewMode.java194 public static boolean isListMode(final int mode) { in isListMode()
202 public static boolean isConversationMode(final int mode) { in isConversationMode()
210 public static boolean isSearchMode(final int mode) { in isSearchMode()
218 public static boolean isWaitingForSync(final int mode) { in isWaitingForSync()
226 public static boolean isAdMode(final int mode) { in isAdMode()
269 private boolean setModeInternal(int mode) { in setModeInternal()
DOnePaneController.java383 final int mode = mViewMode.getMode(); in handleBackPress() local
424 final int mode = mViewMode.getMode(); in handleUpPress() local
447 final int mode = mViewMode.getMode(); in transitionBackToConversationListMode() local
471 final int mode = mViewMode.getMode(); in onUndoAvailable() local
506 final int mode = mViewMode.getMode(); in onError() local
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
DUsbAoapHostActivity.java92 private String getTestModeString(int mode) { in getTestModeString()
113 public void testStarted(int mode, int bufferSize) { in testStarted()
119 public void testFinished(int mode, int bufferSize) { in testFinished()
125 public void testResult(int mode, String update) { in testResult()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeVoiceActivity.java52 int mode = Global.ZEN_MODE_OFF; in onVoiceSettingInteraction() local
77 private void setZenModeConfig(int mode, Condition condition) { in setZenModeConfig()
88 private CharSequence getChangeSummary(int mode, int minutes) { in getChangeSummary()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLocationFragment.java180 int mode = Settings.Secure.LOCATION_MODE_OFF; in onPreferenceChange() local
195 private void writeLocationMode(int mode) { in writeLocationMode()
203 Settings.Secure.LOCATION_MODE, mode); in writeLocationMode() local
210 final int mode = Settings.Secure.getInt(getActivity().getContentResolver(), in refreshLocationMode() local
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DSelectionManagers.java40 List<String> docs, @SelectionMode int mode) { in createTestInstance()
48 DocumentsAdapter adapter, @SelectionMode int mode, SelectionPredicate canSetState) { in createTestInstance()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/
DViewModeTests.java54 public void onViewModeChanged(int mode) { in testListenerCalledAfterRegistering()
59 ViewMode mode = new ViewMode(); in testListenerCalledAfterRegistering() local
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettingsBase.java86 public abstract void onModeChanged(int mode, boolean restricted); in onModeChanged()
102 public void setLocationMode(int mode) { in setLocationMode()
124 int mode = Settings.Secure.getInt(getContentResolver(), Settings.Secure.LOCATION_MODE, in refreshLocationMode() local
DLocationMode.java103 int mode = Settings.Secure.LOCATION_MODE_OFF; in onRadioButtonClicked() local
115 public void onModeChanged(int mode, boolean restricted) { in onModeChanged()
DLocationPreferenceController.java105 int mode = Secure.getInt(context.getContentResolver(), in getLocationSummary() local
114 public static int getLocationString(int mode) { in getLocationString()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DActionModeController.java127 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode()
151 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode()
171 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode()
184 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked()
/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java91 private void updateSelectedTitle(ActionMode mode) { in updateSelectedTitle()
109 public void onItemCheckedStateChanged(ActionMode mode, int position, long id, in onItemCheckedStateChanged()
152 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode()
165 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode()
177 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode()
207 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAutoBrightnessPreferenceControllerTest.java61 final int mode = Settings.System.getInt(mContext.getContentResolver(), in testOnPreferenceChange_TurnOnAuto_ReturnAuto() local
70 final int mode = Settings.System.getInt(mContext.getContentResolver(), in testOnPreferenceChange_TurnOffAuto_ReturnManual() local
DTimeoutPreferenceControllerTest.java58 final int mode = Settings.System.getInt(mContext.getContentResolver(), in testOnPreferenceChange_SetTimeout_ReturnCorrectTimeout() local
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DForwardingContentProvider.java129 public synchronized ParcelFileDescriptor openFile(Uri url, String mode) { in openFile()
139 public synchronized ParcelFileDescriptor openFile(Uri url, String mode, in openFile()
150 public synchronized AssetFileDescriptor openAssetFile(Uri url, String mode) { in openAssetFile()
160 public synchronized AssetFileDescriptor openAssetFile(Uri url, String mode, in openAssetFile()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialog.java52 AccessPoint accessPoint, int mode) { in createFullscreen()
62 AccessPoint accessPoint, int mode) { in createModal()
68 int mode, int style, boolean hideSubmitButton) { in WifiDialog()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java51 boolean setMode(int mode); in setMode()
65 public boolean setMode(int mode) { in setMode()
202 public boolean setMode(int mode) { in setMode()
220 private ResourceCounter modeToCounter(int mode) { in modeToCounter()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBackgroundActivityPreferenceController.java68 final int mode = mAppOpsManager in updateState() local
134 final int mode = mAppOpsManager in updateSummary() local
/packages/apps/Launcher3/src/com/android/launcher3/util/
DNoLocaleSqliteContext.java20 String name, int mode, CursorFactory factory, DatabaseErrorHandler errorHandler) { in openOrCreateDatabase()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailTable.java46 public ParcelFileDescriptor openFile(UriData uriData, String mode) in openFile()
65 public ParcelFileDescriptor openDataFile(UriData uriData, String mode) in openDataFile()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DUsbModePreferenceController.java83 int getSummary(int mode) { in getSummary()
103 private void updataSummary(Preference preference, int mode) { in updataSummary()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java69 public IconHelper(Context context, int mode) { in IconHelper()
90 public void setViewMode(@ViewMode int mode) { in setViewMode()
96 private int getThumbSize(int mode) { in getThumbSize()
/packages/apps/TV/src/com/android/tv/data/
DDisplayMode.java38 public static String getLabel(int mode, Context context) { in getLabel()

123456789