Searched refs:mode (Results 51 - 75 of 130) sorted by relevance

123456

/packages/apps/Settings/src/com/android/settings/
H A DBrightnessPreference.java208 private void setMode(int mode) { argument
209 if (mode == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC) {
215 Settings.System.SCREEN_BRIGHTNESS_MODE, mode);
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
H A DDownloadList.java274 @Override public void onDestroyActionMode(ActionMode mode) { argument
280 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
285 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
290 mDownloadList.mActionMode = mode;
295 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
314 onItemCheckedStateChanged(mode, position, 0, false);
319 onItemCheckedStateChanged(mode, 1, 0, false);
329 public void onItemCheckedStateChanged(ActionMode mode, int position, long id, argument
342 mDownloadList.setActionModeTitle(mode);
346 void setActionModeTitle(ActionMode mode) { argument
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupExchangeFragment.java147 // Additional setup only used while in "settings" mode
333 int mode = useSsl ? View.VISIBLE : View.GONE;
334 mTrustCertificatesView.setVisibility(mode);
335 UiUtilities.setVisibilitySafe(getView(), R.id.account_trust_certificates_divider, mode);
336 mClientCertificateSelector.setVisibility(mode);
337 UiUtilities.setVisibilitySafe(getView(), R.id.client_certificate_divider, mode);
371 * Entry point from Activity after entering new settings and verifying them. For setup mode.
378 * Entry point from Activity after entering new settings and verifying them. For setup mode.
H A DAccountCheckSettingsFragment.java126 * @param mode incoming or outgoing
128 public static AccountCheckSettingsFragment newInstance(int mode, Fragment parentFragment) { argument
130 f.setTargetFragment(parentFragment, mode);
409 * @param mode bits request operations
412 public AccountCheckTask(int mode, Account checkAccount) { argument
414 mMode = mode;
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DGLCanvasTest.java187 // GL_LINE_STRIP mode to draw the line and the input coordinates are used
194 public void glDrawArrays(int mode, int first, int count) { argument
196 assertEquals(GL10.GL_LINE_STRIP, mode);
231 // GL_TRIANGLE_STRIP mode to draw the line and the input coordinates
238 public void glDrawArrays(int mode, int first, int count) { argument
240 assertEquals(GL10.GL_TRIANGLE_STRIP, mode);
307 public void glDrawArrays(int mode, int first, int count) { argument
545 public void glDrawArrays(int mode, int first, int count) { argument
547 assertEquals(GL10.GL_TRIANGLE_STRIP, mode);
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DAudioTrackLinearLayout.java80 * The audio track action mode handler
97 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
98 mAudioTrackActionMode = mode;
100 mode.getMenuInflater().inflate(R.menu.audio_mode_menu, menu);
104 mode.setCustomView(titleBarView);
118 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
125 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
165 public void onDestroyActionMode(ActionMode mode) { argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DDefaultSoftKeyboardJAJP.java37 /** Enable English word prediction on half-width alphabet mode */
40 /** Key code for switching to full-width HIRAGANA mode */
43 /** Key code for switching to full-width KATAKANA mode */
46 /** Key code for switching to full-width alphabet mode */
49 /** Key code for switching to full-width number mode */
52 /** Key code for switching to half-width KATAKANA mode */
55 /** Key code for switching to half-width alphabet mode */
58 /** Key code for switching to half-width number mode */
71 /** Input mode toggle cycle table */
262 /** The constant for mFixedKeyMode. It means that input mode i
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
H A DGalleryProvider.java197 public ParcelFileDescriptor openFile(Uri uri, String mode) argument
201 if (mode.contains("w")) {
210 return PicasaSource.openFile(getContext(), object, mode);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_lib.h164 NJ_UINT16 mode; member in struct:__anon18
186 NJ_UINT8 mode; member in struct:__anon20
324 NJ_UINT16 mode; member in struct:__anon30
/packages/providers/DrmProvider/src/com/android/providers/drm/
H A DDrmProvider.java392 public ParcelFileDescriptor openFile(Uri uri, String mode) argument
394 String requiredPermission = mode.equals("w") ?
401 return openFileHelper(uri, mode);
/packages/apps/Browser/src/com/android/browser/
H A DUI.java118 public void onActionModeStarted(ActionMode mode); argument
H A DBreadCrumbView.java327 int mode = View.MeasureSpec.getMode(heightMeasureSpec);
328 switch(mode) {
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
H A DPicasaSource.java121 public static ParcelFileDescriptor openFile(Context context, MediaObject image, String mode) argument
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActionBar.java220 public void setNavigationMode(int mode) { argument
221 if (mActionBar != null) mActionBar.setNavigationMode(mode);
/packages/apps/Mms/src/com/android/mms/ui/
H A DConversationList.java280 // Simply setting the choice mode causes the previous choice mode to finish and we exit
281 // multi-select mode (if we're in it) and remove all the selections.
735 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
747 mode.setCustomView(mMultiSelectActionBarView);
753 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
757 mode.setCustomView(v);
764 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
770 mode.finish();
779 public void onDestroyActionMode(ActionMode mode) { argument
785 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DFocusManager.java41 // A class that handles everything about focus in still picture mode.
181 // can take the photo right away. If the focus mode is infinity, we can
222 // Do not play the sound in continuous autofocus mode. It does
333 // Otherwise, focus mode stays at auto and the tap area passed to the
363 // Try to find a supported focus mode from the default list.
366 String mode = mDefaultFocusModes[i];
367 if (isSupported(mode, supportedFocusModes)) {
368 mFocusMode = mode;
376 // focus mode. Fall back to auto.
/packages/apps/Gallery/src/com/android/camera/
H A DHighlightView.java171 public void setMode(ModifyMode mode) { argument
172 if (mode != mMode) {
173 mMode = mode;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DInputMethodManagerCompatWrapper.java157 private InputMethodSubtypeCompatWrapper getLastResortSubtype(String mode) { argument
158 if (VOICE_MODE.equals(mode) && !FORCE_ENABLE_VOICE_EVEN_WITH_NO_VOICE_SUBTYPES)
163 return new InputMethodSubtypeCompatWrapper(0, 0, inputLocale.toString(), mode, "");
/packages/apps/Email/src/com/android/email/activity/
H A DMessageListItem.java84 // Wide mode shows sender, snippet, time, and favorite spread out across the screen
263 * Determine the mode of this view (WIDE or NORMAL)
266 * @return The mode of the view
364 int mode = getViewMode(mViewWidth);
365 if (mode != mMode) {
366 mMode = mode;
377 * @param mode The current mode of this view
380 private int measureHeight(int measureSpec, int mode) { argument
H A DMessageListFragment.java483 // Reset the footer mode since we just blew away the footer view we were holding on to.
592 * @return true if the list is in the "selection" mode.
1135 int mode = determineFooterMode();
1136 if (mListFooterMode == mode) {
1139 mListFooterMode = mode;
1145 // Already have an adapter - reset it to force the mode. But save the scroll
1161 * Set the list footer text based on mode and the current "network active" status
1413 * Show/hide the "selection" action mode, according to the number of selected messages and
1433 * Finish the "selection" action mode.
1435 * Note this method finishes the contextual mode, bu
1460 onCreateActionMode(ActionMode mode, Menu menu) argument
1474 onPrepareActionMode(ActionMode mode, Menu menu) argument
1492 onActionItemClicked(ActionMode mode, MenuItem item) argument
1522 onDestroyActionMode(ActionMode mode) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DVoicemailStatusTable.java119 public ParcelFileDescriptor openFile(UriData uriData, String mode) { argument
H A DVoicemailContentTable.java241 public ParcelFileDescriptor openFile(UriData uriData, String mode) argument
243 return mDelegateHelper.openDataFile(uriData, mode);
/packages/apps/Email/src/com/android/email/provider/
H A DAttachmentProvider.java140 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument
143 if (mode.equals("w")) {
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProviderPerfActivity.java591 private float settingsProviderLoop(int mode, long innerSleep) { argument
595 long duration = mode == MODE_READ ? settingsRead(innerSleep) : settingsWrite(mode);
603 Log.v(TAG, "settings provider; mode=" + mode + "; total=" + total +
639 private long settingsWrite(int mode) { argument
646 values.put("value", (mode == MODE_WRITE ? (""+startTime) : "foo"));
/packages/apps/Camera/src/com/android/camera/panorama/
H A DPanoramaActivity.java398 // Use the default focus mode and log a message
399 Log.w(TAG, "Cannot set the focus mode to " + mTargetFocusMode +
400 " becuase the mode is not supported.");
420 private boolean switchToOtherMode(int mode) { argument
424 MenuHelper.gotoMode(mode, this);
429 public boolean onModeChanged(int mode) { argument
430 if (mode != ModePicker.MODE_PANORAMA) {
431 return switchToOtherMode(mode);

Completed in 1956 milliseconds

123456