/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationStatsAggregator.java | 94 IntentFilter filter = new IntentFilter(LocationUpdater.LOCATION_UPDATE); 96 context.registerReceiver(mLocationUpdater, filter);
|
/frameworks/support/compat/gingerbread/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapperGingerbread.java | 116 public void setFilterBitmap(boolean filter) { argument 117 mDrawable.setFilterBitmap(filter);
|
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable.java | 205 public void setFilterBitmap(boolean filter) { argument 206 mPaint.setFilterBitmap(filter);
|
/frameworks/volley/src/main/java/com/android/volley/ |
H A D | RequestQueue.java | 185 * A simple predicate or filter interface for Requests, for use by 193 * Cancels all requests in this queue for which the given filter applies. 194 * @param filter The filtering function to use 196 public void cancelAll(RequestFilter filter) { argument 199 if (filter.apply(request)) {
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Tethering.java | 201 IntentFilter filter = new IntentFilter(); 202 filter.addAction(UsbManager.ACTION_USB_STATE); 203 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); 204 filter.addAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION); 205 filter.addAction(Intent.ACTION_CONFIGURATION_CHANGED); 206 mContext.registerReceiver(mStateReceiver, filter); 208 filter = new IntentFilter(); 209 filter.addAction(Intent.ACTION_MEDIA_SHARED); 210 filter.addAction(Intent.ACTION_MEDIA_UNSHARED); 211 filter [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadActivity.java | 305 IntentFilter filter = new IntentFilter(BROADCAST_STICKY1); 306 filter.addAction(BROADCAST_STICKY2); 307 registerMyReceiver(filter); 466 private void registerMyReceiver(IntentFilter filter) { argument 469 registerReceiver(mReceiver, filter);
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | IntentFirewall.java | 151 // For the first pass, find all the rules that have at least one intent-filter or 152 // component-filter that matches this intent 390 throw new XmlPullParserException("Unknown element in filter list: " + elementName); 403 * component filters, only a single filter must match for the rule to be passed on to the 414 private static final String TAG_INTENT_FILTER = "intent-filter"; 415 private static final String TAG_COMPONENT_FILTER = "component-filter"; 497 protected boolean allowFilterResult(FirewallIntentFilter filter, List<Rule> dest) { argument 498 return !dest.contains(filter.rule); 502 protected boolean isPackageForFilter(String packageName, FirewallIntentFilter filter) { argument 512 protected Rule newResult(FirewallIntentFilter filter, in argument [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ConditionProviders.java | 94 public void dump(PrintWriter pw, DumpFilter filter) { argument 95 super.dump(pw, filter); 100 if (filter != null && !filter.matches(r.component)) continue; 110 mSystemConditionProviders.valueAt(i).dump(pw, filter);
|
H A D | ManagedServices.java | 70 * - A well-known action for services to use in their intent-filter. 121 IntentFilter filter = new IntentFilter(Intent.ACTION_SETTING_RESTORED); 122 context.registerReceiver(mRestoreReceiver, filter); 166 public void dump(PrintWriter pw, DumpFilter filter) { argument 170 if (filter != null && !filter.matches(cmpt)) continue; 176 if (filter != null && !filter.matches(info.component)) continue;
|
H A D | CountdownConditionProvider.java | 86 public void dump(PrintWriter pw, DumpFilter filter) { argument
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 413 * Ensures the tint filter is consistent with the current tint color and 988 public void drawCachedBitmapWithRootAlpha(Canvas canvas, ColorFilter filter, argument 991 final Paint p = getPaint(filter); 1002 public Paint getPaint(ColorFilter filter) { argument 1003 if (!hasTranslucentRoot() && filter == null) { 1012 mTempPaint.setColorFilter(filter); 1159 Canvas canvas, int w, int h, ColorFilter filter) { 1177 canvas, w, h, filter); 1180 drawPath(currentGroup, childPath, canvas, w, h, filter); 1187 public void draw(Canvas canvas, int w, int h, ColorFilter filter) { argument 1158 drawGroupTree(VGroup currentGroup, Matrix currentMatrix, Canvas canvas, int w, int h, ColorFilter filter) argument 1192 drawPath(VGroup vGroup, VPath vPath, Canvas canvas, int w, int h, ColorFilter filter) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatDrawableManager.java | 107 * using the default mode using a raw color filter. 131 * using a color filter. 148 * using the {@link android.graphics.PorterDuff.Mode#MULTIPLY} mode and a color filter. 651 PorterDuffColorFilter put(int color, PorterDuff.Mode mode, PorterDuffColorFilter filter) { argument 652 return put(generateCacheKey(color, mode), filter); 696 // First, lets see if the cache already contains the color filter 697 PorterDuffColorFilter filter = COLOR_FILTER_CACHE.get(color, mode); 699 if (filter == null) { 700 // Cache miss, so create a color filter and add it to the cache 701 filter [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 802 * Whether or not the bitmap filter is activated. 819 * @param filter true to set the FILTER_BITMAP_FLAG bit in the paint's 822 public void setFilterBitmap(boolean filter) { argument 823 nSetFilterBitmap(mNativePaint, filter); 826 private native void nSetFilterBitmap(long paintPtr, boolean filter); argument 1068 * @param filter May be null. The new filter to be installed in the paint 1069 * @return filter 1071 public ColorFilter setColorFilter(ColorFilter filter) { argument 1073 if (filter ! 2659 nSetColorFilter(long paintPtr, long filter) argument [all...] |
/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 345 * @param matchFilter The filter that is used to allow the client code 368 * @param matchFilter The filter that is used to allow the client code additional control 407 * @param matchFilter The filter that is used to allow the client code 431 * @param matchFilter The filter that is used to allow the client code additional control 483 Matcher matcher, @Nullable TransformFilter filter) { 484 if (filter != null) { 485 url = filter.transformUrl(matcher, url); 482 makeUrl(@onNull String url, @NonNull String[] prefixes, Matcher matcher, @Nullable TransformFilter filter) argument
|
/frameworks/base/libs/hwui/ |
H A D | RecordingCanvas.h | 140 virtual void setDrawFilter(SkDrawFilter* filter) override { 141 mDrawFilter.reset(SkSafeRef(filter)); 245 // If there is a draw filter apply it here and store the modified paint 250 mDrawFilter->filter(filteredPaint.get(), SkDrawFilter::kPaint_Type);
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 145 IntentFilter filter = new IntentFilter(); 146 filter.addAction(Intent.ACTION_CLOSE_SYSTEM_DIALOGS); 147 mContext.registerReceiver(mBroadcastReceiver, filter, null, handler);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphReader.java | 37 * A GraphReader allows obtaining filter graphs from XML graph files or strings. 121 Filter filter = null; 123 filter = stack.getFactory().createFilterByClassName(mClassName, 127 throw new RuntimeException("Error creating filter " + mFilterName + "!", e); 129 stack.getBuilder().addFilter(filter); 259 } else if (localName.equals("filter")) { 273 } else if (localName.equals("filter")) { 294 // check for shorthand: <connect source="filter:port" target="filter:port"/> 303 "'source' tag needs to have format \"filter [all...] |
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | TextViewBindingAdapter.java | 248 InputFilter filter = filters[i]; 249 if (filter instanceof InputFilter.LengthFilter) { 253 replace = ((InputFilter.LengthFilter) filter).getMax() != value;
|
/frameworks/support/compat/java/android/support/v4/text/util/ |
H A D | LinkifyCompat.java | 208 * @param matchFilter The filter that is used to allow the client code 231 * @param matchFilter The filter that is used to allow the client code additional control 270 * @param matchFilter The filter that is used to allow the client code 294 * @param matchFilter The filter that is used to allow the client code additional control 350 Matcher matcher, @Nullable Linkify.TransformFilter filter) { 351 if (filter != null) { 352 url = filter.transformUrl(matcher, url); 349 makeUrl(@onNull String url, @NonNull String[] prefixes, Matcher matcher, @Nullable Linkify.TransformFilter filter) argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 493 * intent filter is disallowed]. 599 * filter actions are protected and should never be allowed to have a high priority 600 * intent filter for them. However, there is one, and only one exception -- the 601 * setup wizard. It must be able to define a high priority intent filter for these 774 T filter, String packageName); 808 PackageParser.ActivityIntentInfo filter = filters.get(m); 809 domainsSet.addAll(filter.getHostsList()); 860 PackageParser.ActivityIntentInfo filter = filters.get(n); 861 filter.setVerified(verified); 863 if (DEBUG_DOMAIN_VERIFICATION) Slog.d(TAG, "IntentFilter " + filter 773 addOneIntentFilterVerification(int verifierId, int userId, int verificationId, T filter, String packageName) argument 934 addOneIntentFilterVerification(int verifierUid, int userId, int verificationId, ActivityIntentInfo filter, String packageName) argument 964 hasValidDomains(ActivityIntentInfo filter) argument 4794 setLastChosenActivity(Intent intent, String resolvedType, int flags, IntentFilter filter, int match, ComponentName activity) argument 5782 createForwardingResolveInfo(CrossProfileIntentFilter filter, Intent intent, String resolvedType, int flags, int sourceUserId) argument 5800 createForwardingResolveInfoUnchecked(IntentFilter filter, int sourceUserId, int targetUserId) argument 10501 isProtectedAction(ActivityIntentInfo filter) argument 10758 allowFilterResult( PackageParser.ActivityIntentInfo filter, List<ResolveInfo> dest) argument 10777 isFilterStopped(PackageParser.ActivityIntentInfo filter, int userId) argument 10848 dumpFilter(PrintWriter out, String prefix, PackageParser.ActivityIntentInfo filter) argument 10859 filterToLabel(PackageParser.ActivityIntentInfo filter) argument 10965 allowFilterResult( PackageParser.ServiceIntentInfo filter, List<ResolveInfo> dest) argument 10984 isFilterStopped(PackageParser.ServiceIntentInfo filter, int userId) argument 11007 newResult(PackageParser.ServiceIntentInfo filter, int match, int userId) argument 11046 dumpFilter(PrintWriter out, String prefix, PackageParser.ServiceIntentInfo filter) argument 11057 filterToLabel(PackageParser.ServiceIntentInfo filter) argument 11182 allowFilterResult( PackageParser.ProviderIntentInfo filter, List<ResolveInfo> dest) argument 11201 isFilterStopped(PackageParser.ProviderIntentInfo filter, int userId) argument 11225 newResult(PackageParser.ProviderIntentInfo filter, int match, int userId) argument 11265 dumpFilter(PrintWriter out, String prefix, PackageParser.ProviderIntentInfo filter) argument 11277 filterToLabel(PackageParser.ProviderIntentInfo filter) argument 15381 needsNetworkVerificationLPr(ActivityIntentInfo filter) argument 16901 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument 16907 addPreferredActivityInternal(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, boolean always, int userId, String opname) argument 16961 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument 17209 addPersistentPreferredActivity(IntentFilter filter, ComponentName activity, int userId) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 156 IntentFilter filter; field in class:PackageManagerTests.GenericReceiver 176 public void setFilter(IntentFilter filter) { argument 177 this.filter = filter; 186 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); 187 filter.addDataScheme("package"); 188 super.setFilter(filter); 218 mContext.registerReceiver(receiver, receiver.filter); 792 filter = new IntentFilter(Intent.ACTION_PACKAGE_REMOVED); 793 filter [all...] |
/frameworks/base/cmds/uiautomator/library/ |
H A D | Android.mk | 76 $(filter-out current, \
|
/frameworks/base/core/java/android/widget/ |
H A D | AutoCompleteTextView.java | 846 if (DEBUG) Log.v(TAG, "Enough to filter: len=" + getText().length() 880 // then something in the keystroke processing (an input filter perhaps) 902 mFilter.filter(null); 962 * method to filter with a different pattern, for instance a substring of 971 mFilter.filter(text, this); 1035 * @param filter If <code>false</code>, no filtering will be performed 1038 public void setText(CharSequence text, boolean filter) { argument 1039 if (filter) { 1077 * to filter. 1088 // When the filter tex [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
H A D | DozeService.java | 334 final IntentFilter filter = new IntentFilter(PULSE_ACTION); 335 filter.addAction(UiModeManager.ACTION_ENTER_CAR_MODE); 336 filter.addAction(Intent.ACTION_USER_SWITCHED); 337 mContext.registerReceiver(mBroadcastReceiver, filter);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSTile.java | 655 public boolean filter; field in class:QSTile.SignalState 669 o.filter = filter; 681 rt.insert(rt.length() - 1, ",filter=" + filter);
|