/packages/apps/Browser/src/com/android/browser/ |
H A D | UrlSelectionActionMode.java | 34 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 35 mode.getMenuInflater().inflate(R.menu.url_selection, menu); 40 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 44 mode.finish(); 53 public void onDestroyActionMode(ActionMode mode) { argument 57 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
|
H A D | ActivityController.java | 56 void onActionModeStarted(ActionMode mode); argument 58 void onActionModeFinished(ActionMode mode); argument
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | ControlPanelLayout.java | 27 * the shutter button, thumbnail, front/back camera picker, and mode picker. 43 int mode, longSideSize, shortSideSize, specSize; 49 mode = MeasureSpec.getMode(widthSpec); 54 mode = MeasureSpec.getMode(heightSpec); 60 if (widthSpecSize > 0 && heightSpecSize > 0 && mode == MeasureSpec.AT_MOST) { 75 if (mode == MeasureSpec.AT_MOST && measuredSize > specSize) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | ControlPanelLayout.java | 28 * the shutter button, thumbnail, front/back camera picker, and mode picker. 44 int mode, longSideSize, shortSideSize, specSize; 50 mode = MeasureSpec.getMode(widthSpec); 55 mode = MeasureSpec.getMode(heightSpec); 61 if (widthSpecSize > 0 && heightSpecSize > 0 && mode == MeasureSpec.AT_MOST) { 76 if (mode == MeasureSpec.AT_MOST && measuredSize > specSize) {
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
H A D | UserDictionaryAddWordActivity.java | 41 final int mode; 43 mode = UserDictionaryAddWordContents.MODE_EDIT; 45 mode = UserDictionaryAddWordContents.MODE_INSERT; 55 args.putInt(UserDictionaryAddWordContents.EXTRA_MODE, mode);
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | ThreadPool.java | 48 boolean setMode(int mode); argument 62 public boolean setMode(int mode) { argument 120 // A job is in CPU mode by default. setMode returns false 186 public boolean setMode(int mode) { argument 193 rc = modeToCounter(mode); 198 mMode = mode; 204 private ResourceCounter modeToCounter(int mode) { argument 205 if (mode == MODE_CPU) { 207 } else if (mode == MODE_NETWORK) {
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | MenuHelper.java | 62 public static void gotoMode(int mode, Activity activity) { argument 64 switch (mode) { 78 Log.e(TAG, "unknown camera mode:" + mode);
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
H A D | FileContentProvider.java | 51 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument 57 if (!"r".equals(mode)) { 58 throw new FileNotFoundException("Bad mode for " + uri + ": " + mode);
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MessageListItemCoordinates.java | 110 * Returns the mode of the header view (Wide/Normal/Narrow) given the its 124 // Choose the correct mode based on view width. 125 int mode = NORMAL_MODE; 127 mode = WIDE_MODE; 129 return mode; 137 * Returns the layout id to be inflated in this mode. 139 private static int getLayoutId(int mode) { argument 140 switch (mode) { 146 throw new IllegalArgumentException("Unknown conversation header view mode " + mode); 164 getHeight(Context context, int mode) argument 229 getSubjectLength(Context context, int mode) argument [all...] |
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
H A D | ProviderTestCase3.java | 54 public File getDir(String name, int mode) { argument 57 return getContext().getDir("mockcontext2_" + name, mode); 66 public SharedPreferences getSharedPreferences(String name, int mode) { argument 67 return getContext().getSharedPreferences("mockcontext2_" + name, mode);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | AttachmentTypeSelectorAdapter.java | 43 public AttachmentTypeSelectorAdapter(Context context, int mode) { argument 44 super(context, getData(mode, context)); 52 protected static List<IconListItem> getData(int mode, Context context) { argument 74 if (mode == MODE_WITH_SLIDESHOW) {
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | LocalBluetoothAdapter.java | 133 void setScanMode(int mode) { argument 134 mAdapter.setScanMode(mode); 137 boolean setScanMode(int mode, int duration) { argument 138 return mAdapter.setScanMode(mode, duration);
|
H A D | BluetoothDiscoverableEnabler.java | 75 int mode = intent.getIntExtra(BluetoothAdapter.EXTRA_SCAN_MODE, 77 if (mode != BluetoothAdapter.ERROR) { 78 handleModeChanged(mode); 240 void handleModeChanged(int mode) { argument 241 if (mode == BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { 259 int mode = mLocalAdapter.getScanMode(); 260 if (mode != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { 268 // We're still in discoverable mode, but maybe there isn't a timeout.
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | OpenWnnEvent.java | 135 * The definition class of engine's mode. 264 /** Detail mode of the event */ 265 public int mode = 0; field in class:OpenWnnEvent 290 * Generate {@link OpenWnnEvent} for changing the mode 293 * @param mode The mode 295 public OpenWnnEvent(int code, int mode) { argument 297 this.mode = mode;
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | Persist.java | 42 public void setDeleteMode(int mode) { argument 43 mDeleteMode = mode;
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Pyramid.h | 48 static void BorderExpandOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr, int mode); 49 static int BorderExpand(PyramidShort *pyr, int nlev, int mode);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Pyramid.h | 48 static void BorderExpandOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr, int mode); 49 static int BorderExpand(PyramidShort *pyr, int nlev, int mode);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/ |
H A D | CrashingIconProvider.java | 42 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument 43 if (DBG) Log.d(TAG, "openFile(" + uri + ", " + mode + ")");
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | VoicemailTable.java | 45 public ParcelFileDescriptor openFile(UriData uriData, String mode) argument 63 public ParcelFileDescriptor openDataFile(UriData uriData, String mode) argument
|
H A D | ProfileProvider.java | 112 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { argument 113 if (mode != null && mode.contains("w")) { 120 return mDelegate.openAssetFileLocal(uri, mode);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | PhotoActionPopup.java | 74 final Listener listener, int mode) { 75 // Build choices, depending on the current mode. We assume this Dialog is never called 79 if ((mode & Flags.ALLOW_PRIMARY) > 0) { 84 if ((mode & Flags.REMOVE_PHOTO) > 0) { 89 if ((mode & Flags.TAKE_OR_PICK_PHOTO) > 0) { 90 boolean replace = (mode & Flags.TAKE_OR_PICK_PHOTO_REPLACE_WORDING) > 0; 73 createPopupMenu(Context context, View anchorView, final Listener listener, int mode) argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | MenuHelper.java | 50 public static void addSwitchModeMenuItem(Menu menu, int mode, argument 53 switch(mode) { 67 // incorrect mode, do nothing. 99 public static void gotoMode(int mode, Activity activity) { argument 101 switch (mode) { 115 Log.e(TAG, "unknown camera mode:" + mode);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
H A D | ContactsListFragment.java | 64 public ContactsListFragment(int mode) { argument 66 mMode = mode; 104 public void setMode(int mode) { argument 105 boolean reload = mode != mMode; 106 mMode = mode;
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | MiscFilesHandler.java | 84 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 90 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument 94 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 128 mode.finish(); 137 onItemCheckedStateChanged(mode, 1, 0, true); 160 public void onDestroyActionMode(ActionMode mode) { argument 164 public void onItemCheckedStateChanged(ActionMode mode, int position, long id, argument 168 mode.setTitle(String.format(mNumSelectedFormat, numChecked, mAdapter.getCount())); 181 mode.setSubtitle(String.format(mNumBytesSelectedFormat,
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | BaseVoicemailProviderTest.java | 100 public File getDir(String name, int mode) { 149 public File getDir(String name, int mode); argument 167 public File getDir(String name, int mode) { 168 return mDelegate.getDir(name, mode);
|