Home
last modified time | relevance | path

Searched refs:filters (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DMimePredicate.java35 public MimePredicate(String[] filters) { in MimePredicate() argument
36 mFilters = filters; in MimePredicate()
50 public static boolean mimeMatches(String[] filters, String[] tests) { in mimeMatches() argument
55 if (mimeMatches(filters, test)) { in mimeMatches()
74 public static boolean mimeMatches(String[] filters, String test) { in mimeMatches() argument
75 if (filters == null) { in mimeMatches()
78 for (String filter : filters) { in mimeMatches()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
DColorFilterCache.java45 ColorFilterCache filters = sColorToFiltersMap.get(color); in getColorFilterCache() local
46 if (filters == null) { in getColorFilterCache()
47 filters = new ColorFilterCache(r, g, b); in getColorFilterCache()
48 sColorToFiltersMap.put(color, filters); in getColorFilterCache()
50 return filters; in getColorFilterCache()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java351 Filter[] filters = currentFilters(); in onStep() local
352 for (int i = 0; i < filters.length; ++i) { in onStep()
353 Filter filter = filters[i]; in onStep()
394 Filter[] filters = graph.getAllFilters(); in loadFilters() local
395 mFilters.push(filters); in loadFilters()
407 Filter[] filters = graph.getAllFilters(); in closeFilters() local
409 for (int i = 0; i < filters.length; ++i) { in closeFilters()
411 Log.i("GraphRunner", "Closing Filter " + filters[i] + "!"); in closeFilters()
413 filters[i].softReset(); in closeFilters()
439 public void prepare(Filter[] filters); in prepare() argument
[all …]
DGraphExporter.java53 Filter[] filters = graph.getAllFilters(); in exportAsDot() local
66 for(Filter filter : filters) { in exportAsDot()
103 for(Filter filter : filters) { in exportAsDot()
/frameworks/support/core-utils/java/android/support/v4/content/
DLocalBroadcastManager.java136 ArrayList<IntentFilter> filters = mReceivers.get(receiver); in registerReceiver() local
137 if (filters == null) { in registerReceiver()
138 filters = new ArrayList<IntentFilter>(1); in registerReceiver()
139 mReceivers.put(receiver, filters); in registerReceiver()
141 filters.add(filter); in registerReceiver()
165 ArrayList<IntentFilter> filters = mReceivers.remove(receiver); in unregisterReceiver() local
166 if (filters == null) { in unregisterReceiver()
169 for (int i=0; i<filters.size(); i++) { in unregisterReceiver()
170 IntentFilter filter = filters.get(i); in unregisterReceiver()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java240 InputFilter[] filters = view.getFilters(); in setMaxLength() local
241 if (filters == null) { in setMaxLength()
242 filters = new InputFilter[]{ in setMaxLength()
247 for (int i = 0; i < filters.length; i++) { in setMaxLength()
248 InputFilter filter = filters[i]; in setMaxLength()
256 filters[i] = new InputFilter.LengthFilter(value); in setMaxLength()
263 InputFilter[] oldFilters = filters; in setMaxLength()
264 filters = new InputFilter[oldFilters.length + 1]; in setMaxLength()
265 System.arraycopy(oldFilters, 0, filters, 0, oldFilters.length); in setMaxLength()
266 filters[filters.length - 1] = new InputFilter.LengthFilter(value); in setMaxLength()
[all …]
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java111 public void startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() argument
113 startScan(filters, settings, null, callback, null); in startScan()
146 public void startScanFromSource(List<ScanFilter> filters, ScanSettings settings, in startScanFromSource() argument
148 startScan(filters, settings, workSource, callback, null); in startScanFromSource()
151 private void startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() argument
186 if (!isSettingsAndFilterComboAllowed(settings, filters)) { in startScan()
191 BleScanCallbackWrapper wrapper = new BleScanCallbackWrapper(gatt, filters, in startScan()
286 List<ScanFilter> filters, ScanSettings settings, in BleScanCallbackWrapper() argument
290 mFilters = filters; in BleScanCallbackWrapper()
/frameworks/base/docs/html/training/app-indexing/
Ddeep-linking.jd12 <li><a href="#adding-filters">Add Intent Filters for Your Deep Links</a></li>
14 <li><a href="#testing-filters">Test Your Deep Links</a></li>
19 <li><a href="{@docRoot}guide/components/intents-filters.html">Intents and Intent Filters</a></li>
20 <li><a href="{@docRoot}training/basics/intents/filters.html">Allow Other Apps to Start Your Activit…
27 from search results, you must add intent filters for the relevant
28 activities in your app manifest. These intent filters allow
31 <h2 id="adding-filters">Add Intent Filters for Your Deep Links</h2>
77 <p>Once you've added intent filters with URIs for activity content to your app
82 <strong>Note:</strong> Intent filters may only contain a single {@code data} element
83 for a URI pattern. Create separate intent filters to capture additional URI patterns.
[all …]
Dindex.jd23 <li><a href="{@docRoot}guide/components/intents-filters.html">Intents and Intent
43 app by providing intent filters for your activities. Google Search
55 in your app by adding intent filters in your app manifest.</li>
77 <dd>Shows how to add intent filters to enable deep linking to app
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteSelector.java106 public boolean matchesControlFilters(List<IntentFilter> filters) { in matchesControlFilters() argument
107 if (filters != null) { in matchesControlFilters()
111 final int filterCount = filters.size(); in matchesControlFilters()
113 final IntentFilter filter = filters.get(i); in matchesControlFilters()
DMediaRouteDescriptor.java570 public Builder addControlFilters(Collection<IntentFilter> filters) { in addControlFilters() argument
571 if (filters == null) { in addControlFilters()
575 if (!filters.isEmpty()) { in addControlFilters()
576 for (IntentFilter filter : filters) { in addControlFilters()
/frameworks/base/docs/html/google/play/
Dfilters.jd9 <li>Google Play applies filters to control which Android devices can download
19 <li><a href="#how-filters-work">How Filters Work on Google Play</a></li>
20 <li><a href="#manifest-filters">Filtering based on Manifest Elements</a>
22 <li><a href="#other-filters">Other Filters</a></li>
67 <h2 id="how-filters-work">How Filters Work on Google Play</h2>
85 <p>You can use any combination of the available filters for your app. For example, you can set a
88 only. Google Play's filters will thus prevent the application from being available on any device
104 <h2 id="manifest-filters">Filtering based on the App Manifest</h2>
106 <p>Most filters are triggered by elements within an application's
137 but filters the application so that it is not available to small-screen
[all …]
/frameworks/base/core/java/android/content/pm/
DEphemeralResolveInfo.java47 @NonNull List<IntentFilter> filters) { in EphemeralResolveInfo() argument
51 || filters == null in EphemeralResolveInfo()
52 || filters.size() == 0) { in EphemeralResolveInfo()
57 mFilters.addAll(filters); in EphemeralResolveInfo()
/frameworks/base/docs/html/training/sharing/
Dreceive.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">Intents and
45 <p>Intent filters inform the system what intents an application component is willing to accept.
48 lesson, you create intent filters in order to be able to receive intents with this action. You
51 href="{@docRoot}guide/components/intents-filters.html#ifs">&lt;intent-filter&gt;</a></code>
75 <p class="note"><strong>Note:</strong> For more information on intent filters and intent resolution
76 please read <a href="{@docRoot}guide/components/intents-filters.html#ifs">Intents and Intent
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/
Dindex.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">인텐트 및 인텐트
58 <dt><b><a href="filters.html">다른 앱이 자신의 액티비티를 시작하도록 허용하기</a></b></dt>
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dindex.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">意圖和意圖篩選器</a>
58 <dt><b><a href="filters.html">允許其他應用程式啟動您的應用行為顯示</a></b></dt>
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/
Dindex.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">インテントとインテントフィルタ</a>
58 <dt><b><a href="filters.html">他のアプリからのアクティビティの開始を許可する</a></b></dt>
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/
Dindex.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">Объекты Intent и фильтры
58 <dt><b><a href="filters.html">Разрешение другим приложениям на запуск операции</a></b></dt>
/frameworks/av/cmds/stagefright/
DAndroid.mk182 filters/argbtorgba.rs \
183 filters/nightvision.rs \
184 filters/saturation.rs \
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dindex.jd26 <li><a href="{@docRoot}guide/components/intents-filters.html">意向和意向过滤器</a>
58 <dt><b><a href="filters.html">允许其他应用开始您的Activity</a></b></dt>
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerVrTest.java28 import android.support.test.filters.MediumTest;
29 import android.support.test.filters.SmallTest;
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-alias-element.jd32 It can have its own set of intent filters, and they, rather than the
33 intent filters on the target activity itself, determine which intents
35 treats the alias. For example, the intent filters on the alias may
41 filters on the target activity itself set these flags.
76 The default value depends on whether the alias contains intent filters. The
77 absence of any filters means that the activity can be invoked through the alias
Dsupports-gl-texture-element.jd10 <p style="padding-top:1em;">Google Play filters applications according
142 <li><a href="{@docRoot}google/play/filters.html">Filters on Google Play</a></li>
148 <p>Google Play filters the applications that are visible to users, so that
150 their devices. One of the ways it filters applications is by texture
180 formats is supported by the device, Google Play filters the application so
/frameworks/base/docs/html/training/basics/intents/
Dindex.jd28 <li><a href="{@docRoot}guide/components/intents-filters.html">Intents and Intent
61 <dt><b><a href="filters.html">Allowing Other Apps to Start Your Activity</a></b></dt>
63 intent filters that declare the implicit intents your app accepts.</dd>
/frameworks/base/docs/html/training/app-links/
Dindex.jd45 <li>In your app manifest, create intent filters for your website URIs.</li>
92 App links are based on the <a href="{@docRoot}guide/components/intents-filters.html">Intent</a>
94 declare the same web link URI patterns in their intent filters. When a user clicks on a web link
100 To enable your app to handle links, use intent filters in your app manifest to declare the URI
119 As this example shows, intent filters for app links must declare an {@code android:scheme}
136 In addition to using intent filters to declare an association between your app and a website,
146 the app’s intent filters against the Digital Asset Links files ({@code assetlinks.json}) hosted
157 {@code true} on at least one of the web URI intent filters in your app manifest, as shown in the
177 to attempt to verify all hosts associated with the web URIs in all of your app's intent filters.
186 The system must be able to verify every host specified in the app’s web URI intent filters’ data
[all …]

12345678910>>...12