Home
last modified time | relevance | path

Searched refs:setMode (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java51 boolean setMode(int mode); in setMode() method
65 public boolean setMode(int mode) { in setMode() method in ThreadPool.JobContextStub
131 if (setMode(MODE_CPU)) { in run()
140 setMode(MODE_NONE); in run()
202 public boolean setMode(int mode) { in setMode() method in ThreadPool.Worker
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java343 setMode(MODE_NORMAL); in onSingleTapUp()
386 setMode(MODE_SLIDESHOW); in onCreateOptionsMenu()
403 setMode(MODE_NORMAL); in onCreateOptionsMenu()
458 setMode(MODE_NORMAL); in onPrepareOptionsMenu()
639 setMode(MODE_SLIDESHOW); in onCreate()
688 void setMode(int mode) { in setMode() method
855 setMode(MODE_NORMAL); in loadNextImage()
963 setMode(MODE_NORMAL); in onStop()
1180 mViewImage.setMode(ViewImage.MODE_NORMAL);
DCropImage.java663 mMotionHighlightView.setMode( in onTouchEvent()
691 mMotionHighlightView.setMode( in onTouchEvent()
DHighlightView.java171 public void setMode(ModifyMode mode) { in setMode() method in HighlightView
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java374 setMode(mode); in requestAudioFocusAndSetMode()
379 setMode(AudioManager.MODE_NORMAL); in abandonAudioFocus()
391 private void setMode(int newMode) { in setMode() method in CallAudioManager
399 mAudioManager.setMode(AudioManager.MODE_NORMAL); in setMode()
401 mAudioManager.setMode(newMode); in setMode()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java317 jc.setMode(ThreadPool.MODE_NETWORK); in run()
323 jc.setMode(ThreadPool.MODE_NETWORK); in run()
325 jc.setMode(ThreadPool.MODE_NONE); in run()
330 jc.setMode(ThreadPool.MODE_NONE); in run()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java364 mAppOps.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, uid, pkg, AppOpsManager.MODE_IGNORED); in onResume()
365 mAppOps.setMode(AppOpsManager.OP_TOAST_WINDOW, uid, pkg, AppOpsManager.MODE_IGNORED); in onResume()
374 mAppOps.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, uid, pkg, mCurSysAppOpMode); in onPause()
375 mAppOps.setMode(AppOpsManager.OP_TOAST_WINDOW, uid, pkg, mCurToastAppOpMode); in onPause()
DUsageAccessSettings.java333 mAppOpsManager.setMode(AppOpsManager.OP_GET_USAGE_STATS, in setNewMode()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DHomeGroupsXLarge.java79 getContactsList().setMode(ContactsListFragment.MODE_VISIBLE); in onAllContactsSelected()
83 getContactsList().setMode(ContactsListFragment.MODE_STREQUENT); in onFavoritesSelected()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java276 mAudioManager.setMode(AudioManager.MODE_NORMAL); in setCallState()
1956 mAudioManager.setMode(newAudioMode); in processMessage()
2033 mAudioManager.setMode(newAudioMode); in processAudioEvent()
2114 mAudioManager.setMode(AudioManager.MODE_NORMAL); in processMessage()
2187 mAudioManager.setMode(AudioManager.MODE_NORMAL); in processAudioEvent()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactsListFragment.java104 public void setMode(int mode) { in setMode() method in ContactsListFragment
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowDataAdapter.java178 jc.setMode(ThreadPool.MODE_NONE); in nextSlide()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsDetails.java150 mAppOps.setMode(switchOp, entry.getPackageOps().getUid(), in refreshUi()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java770 jc.setMode(ThreadPool.MODE_NONE); in run()