Home
last modified time | relevance | path

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

123

/development/vndk/tools/sourcedr/Documentation/
Dlist-installed-files-from-source-dirs.md58 can be tweaked with `--installed-filter` and `--source-filter`:
60 * `--installed-filter` filters the paths of the files that may be installed to
64 * `--source-filter` filters the paths of the source files. The paths must be
77 --source-filter device/google \
78 --installed-filter system
87 --source-filter device/google \
88 --installed-filter system/lib64
98 --source-filter frameworks/base:frameworks/native \
99 --installed-filter system/lib:system/lib64
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DColorFilters.java127 private void drawSample(Canvas canvas, ColorFilter filter) { in drawSample() argument
132 mDrawable.setColorFilter(filter); in drawSample()
138 dr.setColorFilter(filter); in drawSample()
148 ColorFilter filter; in onDraw() local
150 filter = null; in onDraw()
152 filter = new PorterDuffColorFilter(color, in onDraw()
155 drawSample(canvas, filter); in onDraw()
DProxyDrawable.java66 public void setFilterBitmap(boolean filter) { in setFilterBitmap() argument
68 mProxy.setFilterBitmap(filter); in setFilterBitmap()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppListViewModel.java108 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in PackageIntentReceiver() local
109 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in PackageIntentReceiver()
110 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in PackageIntentReceiver()
111 filter.addDataScheme("package"); in PackageIntentReceiver()
112 context.registerReceiver(this, filter); in PackageIntentReceiver()
/development/tools/mkstubs/src/com/android/mkstubs/
DSourceGenerator.java54 Filter filter) throws IOException { in generateSource() argument
62 visitClassSource(fw, cr, filter); in generateSource()
88 void visitClassSource(Writer fw, ClassReader cr, Filter filter) { in visitClassSource() argument
92 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()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DAccessSourcer.java61 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/vndk/tools/definition-tool/templates/
Dvndk.txt1 ifneq ($(filter $(YOUR_DEVICE_NAME),$(TARGET_DEVICE)),)
37 LOCAL_MODULE_RELATIVE_PATH := $3$(if $(filter $1,$(INSTALL_IN_HW_SUBDIR)),/hw)
52 LOCAL_MODULE_RELATIVE_PATH := $3$(if $(filter $1,$(INSTALL_IN_HW_SUBDIR)),/hw)
88 endif # ifneq ($(filter $(YOUR_DEVICE_NAME),$(TARGET_DEVICE)),)
/development/tools/bugreport/src/com/android/bugreport/logcat/
DLogcat.java35 public ArrayList<LogLine> filter(Set<String> tags, String levels) { in filter() method in Logcat
48 public ArrayList<LogLine> filter(String tag, String levels) { in filter() method in Logcat
/development/apps/Development/src/com/android/development/
DPackageBrowser.java180 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in registerIntentReceivers() local
181 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerIntentReceivers()
182 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in registerIntentReceivers()
183 filter.addDataScheme("package"); in registerIntentReceivers()
185 registerReceiver(mRegisteredReceiver, filter); in registerIntentReceivers()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DFlagUtils.java54 .filter(f -> f.getName().startsWith(INTENT_FLAG_PREFIX)) // filter FLAG_ fields in discoverFlags()
55 .filter(f -> { in discoverFlags()
73 .filter(f -> f.getName().startsWith(INTENT_FLAG_PREFIX))
195 .filter(i-> i.name.equals(activity.getClassName()))
265 .filter(f -> f.getName().startsWith(ACTIVITY_INFO_FLAG_PREFIX))
266 .filter(f -> {
346 … return getAllIntentFlags().stream().filter(flag -> flag.getName().equals(stringFlag)).findAny()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DAutoComplete4.java83 FilterQueryProvider filter = getFilterQueryProvider(); in runQueryOnBackgroundThread() local
84 if (filter != null) { in runQueryOnBackgroundThread()
85 return filter.runQuery(constraint); in runQueryOnBackgroundThread()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DDeviceListActivity.java104 IntentFilter filter = new IntentFilter(BluetoothDevice.ACTION_FOUND); in onCreate() local
105 this.registerReceiver(mReceiver, filter); in onCreate()
108 filter = new IntentFilter(BluetoothAdapter.ACTION_DISCOVERY_FINISHED); in onCreate()
109 this.registerReceiver(mReceiver, filter); in onCreate()
/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/samples/RenderScript/Levels/src/com/android/rs/levels/
DLevelsRSActivity.java121 filter(); in onProgressChanged()
197 private void filter() { in filter() method in LevelsRSActivity
204 filter(); in benchmark()
206 filter(); in benchmark()
218 filter(); in onSurfaceTextureAvailable()
DLevelsDalvikActivity.java105 filter(); in onProgressChanged()
164 filter(); in onCreate()
180 private void filter() { in filter() method in LevelsDalvikActivity
232 filter(); in benchmark()
234 filter(); in benchmark()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/
DPickerActivity.java130 final String filter = mFilter.toLowerCase(); in refreshList() local
132 if (filter.length() == 0 || s.toLowerCase().contains(filter)) { in refreshList()
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbTestActivity.java68 IntentFilter filter = new IntentFilter(); in onCreate() local
69 filter.addAction(UsbManager.ACTION_USB_DEVICE_ATTACHED); in onCreate()
70 filter.addAction(UsbManager.ACTION_USB_DEVICE_DETACHED); in onCreate()
71 registerReceiver(mUsbReceiver, filter); in onCreate()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotificationManager.java112 IntentFilter filter = new IntentFilter(); in startNotification() local
113 filter.addAction(ACTION_NEXT); in startNotification()
114 filter.addAction(ACTION_PAUSE); in startNotification()
115 filter.addAction(ACTION_PLAY); in startNotification()
116 filter.addAction(ACTION_PREV); in startNotification()
117 mService.registerReceiver(this, filter); in startNotification()
/development/tools/repo_diff/service/repodiff/tools/
Dupgrade_db.py56 filter(
74 filter(
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyNetworkMonitor.java35 private final IntentFilter filter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); field in MonkeyNetworkMonitor
88 am.registerReceiver(null, null, this, filter, null, UserHandle.USER_ALL, 0); in register()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DCalendarWatchFaceService.java209 IntentFilter filter = new IntentFilter(Intent.ACTION_PROVIDER_CHANGED); in onVisibilityChanged() local
210 filter.addDataScheme("content"); in onVisibilityChanged()
211 filter.addDataAuthority(WearableCalendarContract.AUTHORITY, null); in onVisibilityChanged()
212 registerReceiver(mBroadcastReceiver, filter); in onVisibilityChanged()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCustom.java188 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); in PackageIntentReceiver() local
189 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in PackageIntentReceiver()
190 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in PackageIntentReceiver()
191 filter.addDataScheme("package"); in PackageIntentReceiver()
192 mLoader.getContext().registerReceiver(this, filter); in PackageIntentReceiver()
467 mAdapter.getFilter().filter(mCurFilter); in onQueryTextChange()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DClockBackService.java364 IntentFilter filter = new IntentFilter(); in registerBroadCastReceiver() local
365 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION); in registerBroadCastReceiver()
366 filter.addAction(Intent.ACTION_SCREEN_ON); in registerBroadCastReceiver()
367 filter.addAction(Intent.ACTION_SCREEN_OFF); in registerBroadCastReceiver()
369 registerReceiver(mBroadcastReceiver, filter, null, null); in registerBroadCastReceiver()

123