Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 22 of 22) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DColorFilters.java128 private void drawSample(Canvas canvas, ColorFilter filter) { in drawSample() argument
133 mDrawable.setColorFilter(filter); in drawSample()
139 dr.setColorFilter(filter); in drawSample()
149 ColorFilter filter; in onDraw() local
151 filter = null; in onDraw()
153 filter = new PorterDuffColorFilter(color, in onDraw()
156 drawSample(canvas, filter); in onDraw()
DProxyDrawable.java66 public void setFilterBitmap(boolean filter) { in setFilterBitmap() argument
68 mProxy.setFilterBitmap(filter); in setFilterBitmap()
/development/tools/mkstubs/src/com/android/mkstubs/
DSourceGenerator.java54 Filter filter) throws IOException { in generateSource() argument
64 visitClassSource(fw, cr, filter); in generateSource()
92 void visitClassSource(Writer fw, ClassReader cr, Filter filter) { in visitClassSource() argument
96 ClassVisitor classFilter = new FilterClassAdapter(javaWriter, filter, mLog); in visitClassSource()
DStubGenerator.java56 Filter filter) throws IOException { in generateStubbedJar() argument
63 byte[] b = visitClassStubber(cr, filter); in generateStubbedJar()
101 byte[] visitClassStubber(ClassReader cr, Filter filter) { in visitClassStubber() argument
109 ClassVisitor classFilter = new FilterClassAdapter(stubWriter, filter, mLog); in visitClassStubber()
DAsmAnalyzer.java83 void filter(Map<String, ClassReader> classes, Filter filter, Logger log) { in filter() method in AsmAnalyzer
92 if (!filter.accept(key)) { in filter()
DFilterClassAdapter.java39 public FilterClassAdapter(ClassVisitor writer, Filter filter, Logger log) { in FilterClassAdapter() argument
41 mFilter = filter; in FilterClassAdapter()
DMain.java295 aa.filter(classes, p.getFilter(), log); in process()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DAccessSourcer.java61 private Flag(int value, int filter) { in Flag() argument
63 mFilter = filter; in Flag()
96 public void write(int access, int filter) { in write() argument
101 if ((f.getFilter() & filter) != 0 && (access & f.getValue()) != 0) { in write()
/development/apps/Development/src/com/android/development/
DPackageBrowser.java178 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in registerIntentReceivers() local
179 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerIntentReceivers()
180 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in registerIntentReceivers()
181 filter.addDataScheme("package"); in registerIntentReceivers()
183 registerReceiver(mRegisteredReceiver, filter); in registerIntentReceivers()
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py200 query.filter('username = ', user)
201 query.filter('friend_handle = ', entity.friend_handle)
230 query.filter('deleted = ', False)
231 query.filter('username = ', user)
249 query.filter('username =', user)
250 query.filter('friend_handle =', friend)
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DDeviceListActivity.java95 IntentFilter filter = new IntentFilter(BluetoothDevice.ACTION_FOUND); in onCreate() local
96 this.registerReceiver(mReceiver, filter); in onCreate()
99 filter = new IntentFilter(BluetoothAdapter.ACTION_DISCOVERY_FINISHED); in onCreate()
100 this.registerReceiver(mReceiver, filter); in onCreate()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyNetworkMonitor.java34 private final IntentFilter filter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); field in MonkeyNetworkMonitor
87 am.registerReceiver(null, this, filter, null); in register()
/development/ndk/platforms/android-3/include/
Ddirent.h73 int(*filter)(const struct dirent *),
/development/samples/ApiDemos/src/com/example/android/apis/content/
DExternalStorage.java166 IntentFilter filter = new IntentFilter(); in startWatchingExternalStorage() local
167 filter.addAction(Intent.ACTION_MEDIA_MOUNTED); in startWatchingExternalStorage()
168 filter.addAction(Intent.ACTION_MEDIA_REMOVED); in startWatchingExternalStorage()
169 registerReceiver(mExternalStorageReceiver, filter); in startWatchingExternalStorage()
/development/samples/AccessibilityService/src/com/example/android/clockback/
DClockBackService.java412 IntentFilter filter = new IntentFilter(); in registerBroadCastReceiver() local
413 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION); in registerBroadCastReceiver()
414 filter.addAction(Intent.ACTION_SCREEN_ON); in registerBroadCastReceiver()
415 filter.addAction(Intent.ACTION_SCREEN_OFF); in registerBroadCastReceiver()
417 registerReceiver(mBroadcastReceiver, filter, null, null); in registerBroadCastReceiver()
/development/samples/Home/src/com/example/android/home/
DHome.java199 IntentFilter filter = new IntentFilter(Intent.ACTION_WALLPAPER_CHANGED); in registerIntentReceivers() local
200 registerReceiver(mWallpaperReceiver, filter); in registerIntentReceivers()
202 filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in registerIntentReceivers()
203 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerIntentReceivers()
204 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in registerIntentReceivers()
205 filter.addDataScheme("package"); in registerIntentReceivers()
206 registerReceiver(mApplicationsReceiver, filter); in registerIntentReceivers()
/development/ndk/platforms/android-3/include/linux/
Dfilter.h32 struct sock_filter __user *filter; member
/development/samples/SipDemo/src/com/example/android/sip/
DWalkieTalkieActivity.java68 IntentFilter filter = new IntentFilter(); in onCreate() local
69 filter.addAction("android.SipDemo.INCOMING_CALL"); in onCreate()
71 this.registerReceiver(callReceiver, filter); in onCreate()
/development/samples/NFCDemo/src/com/example/android/nfc/record/
DSmartPoster.java117 UriRecord uri = Iterables.getOnlyElement(Iterables.filter(records, UriRecord.class)); in parse()
158 Iterable<T> filtered = Iterables.filter(elements, type); in getFirstIfExists()
/development/build/tools/
Dsdk_repo.mk78 ifneq ($(filter sdk win_sdk,$(MAKECMDGOALS)),)
/development/tools/mkstubs/
DREADME.txt74 - We do not filter out private classes. Their .class will still be present in the
/development/pdk/docs/
Dfaqs.jd180 We use this as a filter to separate devices that can participate in the