/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 | BookmarkDragHandler.java | 41 ViewGroup getActionModeView(ActionMode mode, BookmarkDragState state); argument 153 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 154 ViewGroup view = mDragController.getActionModeView(mode, mDragState); 159 mode.setCustomView(view); 164 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument 169 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 174 public void onDestroyActionMode(ActionMode mode) { argument
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | PhotoActionPopup.java | 43 final Listener listener, int mode) { 44 // Build choices, depending on the current mode. We assume this Dialog is never called 48 if (mode == MODE_PHOTO_ALLOW_PRIMARY || mode == MODE_READ_ONLY_ALLOW_PRIMARY) { 53 if (mode == MODE_PHOTO_DISALLOW_PRIMARY || mode == MODE_PHOTO_ALLOW_PRIMARY) { 58 if (mode == MODE_NO_PHOTO || mode == MODE_PHOTO_ALLOW_PRIMARY 59 || mode == MODE_PHOTO_DISALLOW_PRIMARY) { 60 final int resId = mode 42 createPopupMenu(Context context, View anchorView, final Listener listener, int mode) argument [all...] |
/packages/apps/Camera/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) { 70 if (mode == MeasureSpec.AT_MOST && measuredSize > specSize) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | BoxBlurFilter.java | 50 private static int sample(int x, int width, int mode) { argument 52 return mode == MODE_REPEAT 71 int[] in, int[] out, int width, int height, int mode) { 78 int argb = in[read + sample(i, width, mode)]; 92 int prev = in[read + sample(x - RADIUS, width, mode)]; 93 int next = in[read + sample(x + RADIUS + 1, width, mode)]; 70 applyOneDimension( int[] in, int[] out, int width, int height, int mode) argument
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MessageListItemCoordinates.java | 109 * Returns the mode of the header view (Wide/Normal/Narrow) given the its 118 // Choose the correct mode based on view width. 119 int mode = NORMAL_MODE; 121 mode = WIDE_MODE; 123 return mode; 131 * Returns the layout id to be inflated in this mode. 133 private static int getLayoutId(int mode) { argument 134 switch (mode) { 140 throw new IllegalArgumentException("Unknown conversation header view mode " + mode); 158 getHeight(Context context, int mode) argument 223 getSubjectLength(Context context, int mode) argument [all...] |
/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/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/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 | 130 * The definition class of engine's mode. 229 /** Detail mode of the event */ 230 public int mode = 0; field in class:OpenWnnEvent 255 * Generate {@link OpenWnnEvent} for changing the mode 258 * @param mode The mode 260 public OpenWnnEvent(int code, int mode) { argument 262 this.mode = mode;
|
H A D | DefaultSoftKeyboard.java | 164 * Keyboard[language][portrait/landscape][keyboard type][shift off/on][key-mode] 181 /** Display mode (Portrait) */ 183 /** Display mode (Landscape) */ 201 /** Current key-mode */ 205 /** English key-mode (alphabet) */ 207 /** English key-mode (number) */ 209 /** English key-mode (phone number) */ 213 /** Japanese key-mode (Full-width Hiragana) */ 215 /** Japanese key-mode (Full-width alphabet) */ 217 /** Japanese key-mode (Ful 324 getModeChangeKeyboard(int mode) argument 555 updateIndicator(int mode) argument [all...] |
/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/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 | 104 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { argument 105 if (mode != null && mode.contains("w")) { 112 return mDelegate.openAssetFileLocal(uri, mode);
|
/packages/apps/Camera/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | KeyboardId.java | 66 int mode, EditorInfo attribute, boolean hasSettingsKey, int f2KeyMode, 73 this.mMode = mode; 98 mode, 184 public static String modeName(int mode) { argument 185 switch (mode) { 65 KeyboardId(String xmlName, int xmlId, Locale locale, int orientation, int width, int mode, EditorInfo attribute, boolean hasSettingsKey, int f2KeyMode, boolean clobberSettingsKey, boolean shortcutKeyEnabled, boolean hasShortcutKey) argument
|
/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);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSetupIncoming.java | 45 public static void actionIncomingSettings(Activity fromActivity, int mode, Account account) { argument 46 SetupData.setFlowMode(mode);
|