/packages/apps/Browser/src/com/android/browser/ |
H A D | XLargeUi.java | 197 // action mode callbacks 200 public void onActionModeStarted(ActionMode mode) { argument
|
/packages/apps/Browser/src/com/android/browser/stub/ |
H A D | NullController.java | 111 public void onActionModeStarted(ActionMode mode) { argument 115 public void onActionModeFinished(ActionMode mode) { argument
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | CalculatorEditText.java | 225 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 230 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 232 // Prevents the selection action mode on double tap. 237 public void onDestroyActionMode(ActionMode mode) {} argument 240 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | DbTestUtils.java | 74 public SharedPreferences getSharedPreferences(String name, int mode) { argument 78 return super.getSharedPreferences(name, mode);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Pyramid.cpp | 149 int mode) 177 (mode * ((6 * t1 + 180 (mode * ((t1 + t2 + 1) >> 1))); 186 int PyramidShort::BorderExpand(PyramidShort *pyr, int nlev, int mode) argument 192 if (mode > 0) { 200 else if (mode < 0) { 148 BorderExpandOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr, int mode) argument
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | ModePicker.java | 36 * A widget that includes three mode selections {@code RotateImageView}'s and 37 * a current mode indicator. 45 // Total mode number 92 // The current mode frame is for Phone UI only. 125 // There is a new activity created when changing mode. Fade-in animation at 126 // old activity would be interrupted and new mode picker appears. 174 // Set the selected mode as the current one and switch to it. 194 public void setCurrentMode(int mode) { argument 195 mCurrentMode = mode; 208 public boolean onModeChanged(int mode) { argument [all...] |
/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/Email/tests/src/com/android/email/ |
H A D | DBTestHelper.java | 173 public File getDir(String name, int mode) { argument 174 return mBaseContext.getDir("mockcontext2_" + name, mode); 206 public SharedPreferences getSharedPreferences(String name, int mode) { argument
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
H A D | MockFolder.java | 111 public void open(OpenMode mode) { argument
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
H A D | CalendarSyncAdapterTests.java | 80 public File getDir(String name, int mode) { argument 83 return getContext().getDir("mockcontext2_" + name, mode);
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
H A D | CalendarSyncAdapterTests.java | 80 public File getDir(String name, int mode) { argument 83 return getContext().getDir("mockcontext2_" + name, mode);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | HighlightView.java | 171 public void setMode(ModifyMode mode) { argument 172 if (mode != mMode) { 173 mMode = mode;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | ManageCachePage.java | 270 // We will always be in selection mode in this page. 395 public void onSelectionModeChange(int mode) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/provider/ |
H A D | GalleryProvider.java | 199 public ParcelFileDescriptor openFile(Uri uri, String mode) argument 203 if (mode.contains("w")) { 212 return PicasaSource.openFile(getContext(), object, mode);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | ActionModeHandler.java | 111 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 167 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 168 MenuInflater inflater = mode.getMenuInflater(); 184 public void onDestroyActionMode(ActionMode mode) { argument 188 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument 199 // This happens when starting selection mode from overflow menu
|
H A D | SelectionManager.java | 48 public void onSelectionModeChange(int mode); argument 59 // Whether we will leave selection mode automatically once the number of 137 // Convert to inverse selection mode if everything is selected.
|
/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/Gallery2/src_pd/com/android/gallery3d/picasasource/ |
H A D | PicasaSource.java | 129 public static ParcelFileDescriptor openFile(Context context, MediaObject image, String mode) argument
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
H A D | GLCanvasTest.java | 167 // GL_LINE_STRIP mode to draw the line and the input coordinates are used 174 public void glDrawArrays(int mode, int first, int count) { argument 176 assertEquals(GL10.GL_LINE_STRIP, mode); 211 // GL_TRIANGLE_STRIP mode to draw the line and the input coordinates 218 public void glDrawArrays(int mode, int first, int count) { argument 220 assertEquals(GL10.GL_TRIANGLE_STRIP, mode); 287 public void glDrawArrays(int mode, int first, int count) { argument
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Pyramid.cpp | 149 int mode) 171 (mode * ((6 * scr->ptr[j][i] + 174 (mode * ((scr->ptr[j][i] + scr->ptr[j][i+1] + 1) >> 1))); 180 int PyramidShort::BorderExpand(PyramidShort *pyr, int nlev, int mode) argument 186 if (mode > 0) { 194 else if (mode < 0) { 148 BorderExpandOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr, int mode) argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | ModePicker.java | 36 * A widget that includes three mode selections {@code RotateImageView}'s and 37 * a current mode indicator. 46 // Total mode number 51 // Returns true if the listener agrees that the mode can be changed. 94 // The current mode frame is for Phone UI only. 163 // Set the selected mode as the current one and switch to it. 182 public void setCurrentMode(int mode) { argument 183 mCurrentMode = mode; 187 public boolean onModeChanged(int mode) { argument 188 setCurrentMode(mode); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | BrightnessPreference.java | 145 int mode = getBrightnessMode(0); 147 if (false && mode == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC) { 253 private void setMode(int mode) { argument 254 mAutomaticMode = mode == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC; 256 Settings.System.SCREEN_BRIGHTNESS_MODE, mode);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
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.
|
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);
|
/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,
|