/packages/apps/Browser/src/com/android/browser/ |
D | UrlSelectionActionMode.java | 34 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument 35 mode.getMenuInflater().inflate(R.menu.url_selection, menu); in onCreateActionMode() 40 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument 44 mode.finish(); in onActionItemClicked() 53 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument 57 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument
|
D | BrowserActivity.java | 254 public void onActionModeStarted(ActionMode mode) { in onActionModeStarted() argument 255 super.onActionModeStarted(mode); in onActionModeStarted() 256 mController.onActionModeStarted(mode); in onActionModeStarted() 260 public void onActionModeFinished(ActionMode mode) { in onActionModeFinished() argument 261 super.onActionModeFinished(mode); in onActionModeFinished() 262 mController.onActionModeFinished(mode); in onActionModeFinished()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageListItemCoordinates.java | 125 int mode = NORMAL_MODE; in getMode() local 127 mode = WIDE_MODE; in getMode() 129 return mode; in getMode() 139 private static int getLayoutId(int mode) { in getLayoutId() argument 140 switch (mode) { in getLayoutId() 146 throw new IllegalArgumentException("Unknown conversation header view mode " + mode); in getLayoutId() 164 public static int getHeight(Context context, int mode) { in getHeight() argument 166 (mode == WIDE_MODE) in getHeight() 229 public static int getSubjectLength(Context context, int mode) { in getSubjectLength() argument 234 return SUBJECT_LENGTHS[mode]; in getSubjectLength() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ThreadPool.java | 48 boolean setMode(int mode); in setMode() argument 62 public boolean setMode(int mode) { in setMode() argument 186 public boolean setMode(int mode) { in setMode() argument 193 rc = modeToCounter(mode); in setMode() 198 mMode = mode; in setMode() 204 private ResourceCounter modeToCounter(int mode) { in modeToCounter() argument 205 if (mode == MODE_CPU) { in modeToCounter() 207 } else if (mode == MODE_NETWORK) { in modeToCounter()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | ControlPanelLayout.java | 43 int mode, longSideSize, shortSideSize, specSize; in onMeasure() local 49 mode = MeasureSpec.getMode(widthSpec); in onMeasure() 54 mode = MeasureSpec.getMode(heightSpec); in onMeasure() 60 if (widthSpecSize > 0 && heightSpecSize > 0 && mode == MeasureSpec.AT_MOST) { in onMeasure() 75 if (mode == MeasureSpec.AT_MOST && measuredSize > specSize) { in onMeasure()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ControlPanelLayout.java | 44 int mode, longSideSize, shortSideSize, specSize; in onMeasure() local 50 mode = MeasureSpec.getMode(widthSpec); in onMeasure() 55 mode = MeasureSpec.getMode(heightSpec); in onMeasure() 61 if (widthSpecSize > 0 && heightSpecSize > 0 && mode == MeasureSpec.AT_MOST) { in onMeasure() 76 if (mode == MeasureSpec.AT_MOST && measuredSize > specSize) { in onMeasure()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryAddWordActivity.java | 41 final int mode; in onCreate() local 43 mode = UserDictionaryAddWordContents.MODE_EDIT; in onCreate() 45 mode = UserDictionaryAddWordContents.MODE_INSERT; in onCreate() 55 args.putInt(UserDictionaryAddWordContents.EXTRA_MODE, mode); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
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) { in handleModeChanged() argument 241 if (mode == BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in handleModeChanged() 259 int mode = mLocalAdapter.getScanMode(); in updateCountdownSummary() local 260 if (mode != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) { in updateCountdownSummary()
|
D | LocalBluetoothAdapter.java | 133 void setScanMode(int mode) { in setScanMode() argument 134 mAdapter.setScanMode(mode); in setScanMode() 137 boolean setScanMode(int mode, int duration) { in setScanMode() argument 138 return mAdapter.setScanMode(mode, duration); in setScanMode()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | MiscFilesHandler.java | 84 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument 90 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument 94 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument 128 mode.finish(); in onActionItemClicked() 137 onItemCheckedStateChanged(mode, 1, 0, true); in onActionItemClicked() 160 public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument 164 public void onItemCheckedStateChanged(ActionMode mode, int position, long id, in onItemCheckedStateChanged() argument 168 mode.setTitle(String.format(mNumSelectedFormat, numChecked, mAdapter.getCount())); in onItemCheckedStateChanged() 181 mode.setSubtitle(String.format(mNumBytesSelectedFormat, in onItemCheckedStateChanged()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | OpenWnnEvent.java | 265 public int mode = 0; field in OpenWnnEvent 295 public OpenWnnEvent(int code, int mode) { in OpenWnnEvent() argument 297 this.mode = mode; in OpenWnnEvent()
|
D | DefaultSoftKeyboard.java | 400 protected Keyboard getModeChangeKeyboard(int mode) { in getModeChangeKeyboard() argument 402 … Keyboard[] kbd = mKeyboard[mCurrentLanguage][mDisplayMode][mCurrentKeyboardType][mShiftOn][mode]; in getModeChangeKeyboard() 510 int mode = -1; in processAltKey() local 515 mode = KEYMODE_EN_NUMBER; in processAltKey() 517 mode = KEYMODE_EN_ALPHABET; in processAltKey() 523 mode = KEYMODE_JA_HALF_NUMBER; in processAltKey() 525 mode = KEYMODE_JA_HALF_ALPHABET; in processAltKey() 527 mode = KEYMODE_JA_FULL_NUMBER; in processAltKey() 529 mode = KEYMODE_JA_FULL_ALPHABET; in processAltKey() 537 if (mode >= 0) { in processAltKey() [all …]
|
D | OpenWnnEN.java | 266 private void setSymbolMode(String mode) { in setSymbolMode() argument 267 if (mode != null) { in setSymbolMode() 270 mSymbolList.setDictionary(mode); in setSymbolMode() 921 int mode = 0; in updateMetaKeyStateDisplay() local 923 mode = DefaultSoftKeyboard.HARD_KEYMODE_SHIFT_OFF_ALT_OFF; in updateMetaKeyStateDisplay() 925 mode = DefaultSoftKeyboard.HARD_KEYMODE_SHIFT_ON_ALT_OFF; in updateMetaKeyStateDisplay() 927 mode = DefaultSoftKeyboard.HARD_KEYMODE_SHIFT_LOCK_ALT_OFF; in updateMetaKeyStateDisplay() 929 mode = DefaultSoftKeyboard.HARD_KEYMODE_SHIFT_OFF_ALT_ON; in updateMetaKeyStateDisplay() 931 mode = DefaultSoftKeyboard.HARD_KEYMODE_SHIFT_OFF_ALT_LOCK; in updateMetaKeyStateDisplay() 933 mode = DefaultSoftKeyboard.HARD_KEYMODE_SHIFT_ON_ALT_ON; in updateMetaKeyStateDisplay() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoActionPopup.java | 74 final Listener listener, int mode) { in createPopupMenu() argument 79 if ((mode & Flags.ALLOW_PRIMARY) > 0) { in createPopupMenu() 84 if ((mode & Flags.REMOVE_PHOTO) > 0) { in createPopupMenu() 89 if ((mode & Flags.TAKE_OR_PICK_PHOTO) > 0) { in createPopupMenu() 90 boolean replace = (mode & Flags.TAKE_OR_PICK_PHOTO_REPLACE_WORDING) > 0; in createPopupMenu()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | ContactsListFragment.java | 64 public ContactsListFragment(int mode) { in ContactsListFragment() argument 66 mMode = mode; in ContactsListFragment() 104 public void setMode(int mode) { in setMode() argument 105 boolean reload = mode != mMode; in setMode() 106 mMode = mode; in setMode()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | AttachmentTypeSelectorAdapter.java | 43 public AttachmentTypeSelectorAdapter(Context context, int mode) { in AttachmentTypeSelectorAdapter() argument 44 super(context, getData(mode, context)); in AttachmentTypeSelectorAdapter() 52 protected static List<IconListItem> getData(int mode, Context context) { in getData() argument 74 if (mode == MODE_WITH_SLIDESHOW) { in getData()
|
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
D | ProviderTestCase3.java | 54 public File getDir(String name, int mode) { in getDir() argument 57 return getContext().getDir("mockcontext2_" + name, mode); in getDir() 66 public SharedPreferences getSharedPreferences(String name, int mode) { in getSharedPreferences() argument 67 return getContext().getSharedPreferences("mockcontext2_" + name, mode); in getSharedPreferences()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | MenuHelper.java | 50 public static void addSwitchModeMenuItem(Menu menu, int mode, in addSwitchModeMenuItem() argument 53 switch(mode) { in addSwitchModeMenuItem() 99 public static void gotoMode(int mode, Activity activity) { in gotoMode() argument 101 switch (mode) { in gotoMode() 115 Log.e(TAG, "unknown camera mode:" + mode); in gotoMode()
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
D | FileContentProvider.java | 51 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile() argument 57 if (!"r".equals(mode)) { in openFile() 58 throw new FileNotFoundException("Bad mode for " + uri + ": " + mode); in openFile()
|
/packages/apps/Camera/src/com/android/camera/ |
D | MenuHelper.java | 62 public static void gotoMode(int mode, Activity activity) { in gotoMode() argument 64 switch (mode) { in gotoMode() 78 Log.e(TAG, "unknown camera mode:" + mode); in gotoMode()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ProfileProvider.java | 112 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile() argument 113 if (mode != null && mode.contains("w")) { in openAssetFile() 120 return mDelegate.openAssetFileLocal(uri, mode); in openAssetFile()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseVoicemailProviderTest.java | 100 public File getDir(String name, int mode) { in createMockProviderCalls() 149 public File getDir(String name, int mode); 167 public File getDir(String name, int mode) { 168 return mDelegate.getDir(name, mode);
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | DownloadList.java | 273 @Override public void onDestroyActionMode(ActionMode mode) { in onDestroyActionMode() argument 279 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode() argument 284 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode() argument 289 mDownloadList.mActionMode = mode; in onCreateActionMode() 294 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked() argument 313 onItemCheckedStateChanged(mode, position, 0, false); in onActionItemClicked() 318 onItemCheckedStateChanged(mode, 1, 0, false); in onActionItemClicked() 328 public void onItemCheckedStateChanged(ActionMode mode, int position, long id, in onItemCheckedStateChanged() argument 341 mDownloadList.setActionModeTitle(mode); in onItemCheckedStateChanged() 345 void setActionModeTitle(ActionMode mode) { in setActionModeTitle() argument [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryFileDumper.java | 154 for (int mode = MODE_MIN; mode <= MODE_MAX; ++mode) { in cacheWordList() 171 switch (mode) { in cacheWordList() 207 Log.i(TAG, "Can't open word list in mode " + mode + " : " + e); in cacheWordList()
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Pyramid.cpp | 149 int mode) in BorderExpandOdd() argument 177 (mode * ((6 * t1 + in BorderExpandOdd() 180 (mode * ((t1 + t2 + 1) >> 1))); in BorderExpandOdd() 186 int PyramidShort::BorderExpand(PyramidShort *pyr, int nlev, int mode) in BorderExpand() argument 192 if (mode > 0) { in BorderExpand() 200 else if (mode < 0) { in BorderExpand()
|