/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 155 IntentFilter filter; field in class:PackageManagerTests.GenericReceiver 175 public void setFilter(IntentFilter filter) { argument 176 this.filter = filter; 185 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); 186 filter.addDataScheme("package"); 187 super.setFilter(filter); 217 mContext.registerReceiver(receiver, receiver.filter); 806 filter = new IntentFilter(Intent.ACTION_PACKAGE_REMOVED); 807 filter [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 437 * to apply an xfermode, color filter, or alpha, as it will perform much 498 * to apply an xfermode, color filter, or alpha, as it will perform much 862 public void setDrawFilter(@Nullable DrawFilter filter) { argument 864 if (filter != null) { 865 nativeFilter = filter.mNativeInt; 867 mDrawFilter = filter;
|
H A D | Paint.java | 716 * Whether or not the bitmap filter is activated. 733 * @param filter true to set the FILTER_BITMAP_FLAG bit in the paint's 736 public native void setFilterBitmap(boolean filter); argument 943 * @param filter May be null. The new filter to be installed in the paint 944 * @return filter 946 public ColorFilter setColorFilter(ColorFilter filter) { argument 948 if (filter != null) 949 filterNative = filter.native_instance; 951 mColorFilter = filter; 2241 native_setColorFilter(long native_object, long filter) argument [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 151 // State for the currently installed input filter. 313 IntentFilter filter = new IntentFilter(Intent.ACTION_PACKAGE_ADDED); 314 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); 315 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); 316 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); 317 filter.addDataScheme("package"); 323 }, filter, null, mHandler); 325 filter = new IntentFilter(BluetoothDevice.ACTION_ALIAS_CHANGED); 331 }, filter, null, mHandler); 486 * Sets an input filter tha 496 setInputFilter(IInputFilter filter) argument [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 308 public Iterator<StatusBarNotification> filter( method in class:NotificationManagerService.Archive 362 Iterator<StatusBarNotification> iter = filter(descendingIterator(), pkg, userId); 486 void dump(PrintWriter pw, String prefix, DumpFilter filter) { argument 487 if (filter != null && !filter.matches(pkg)) return; 940 IntentFilter filter = new IntentFilter(); 941 filter.addAction(Intent.ACTION_SCREEN_ON); 942 filter.addAction(Intent.ACTION_SCREEN_OFF); 943 filter.addAction(TelephonyManager.ACTION_PHONE_STATE_CHANGED); 944 filter 1597 dumpImpl(PrintWriter pw, DumpFilter filter) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 395 IntentFilter filter = IntentFilter.CREATOR.createFromParcel(data); 398 Intent intent = registerReceiver(app, packageName, rec, filter, perm, userId); 2770 IntentFilter filter, String perm, int userId) throws RemoteException 2778 filter.writeToParcel(data, 0); 2768 registerReceiver(IApplicationThread caller, String packageName, IIntentReceiver receiver, IntentFilter filter, String perm, int userId) argument
|
H A D | IActivityManager.java | 101 IIntentReceiver receiver, IntentFilter filter, 100 registerReceiver(IApplicationThread caller, String callerPackage, IIntentReceiver receiver, IntentFilter filter, String requiredPermission, int userId) argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageManager.java | 118 * {@link ResolveInfo#filter}. 3612 * multiple matching activities and also matches the given filter. 3614 * @param filter The set of intents under which this activity will be 3624 public abstract void addPreferredActivity(IntentFilter filter, int match, argument 3633 public void addPreferredActivity(IntentFilter filter, int match, argument 3647 * multiple matching activities and also matches the given filter. 3649 * @param filter The set of intents under which this activity will be 3660 public abstract void replacePreferredActivity(IntentFilter filter, int match, argument 3667 public void replacePreferredActivityAsUser(IntentFilter filter, int match, argument 3898 * targetUserId if they match the specified intent filter 3905 addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, int flags) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES30.cpp | 1398 /* void glBlitFramebuffer ( GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter ) */ 1401 (JNIEnv *_env, jobject _this, jint srcX0, jint srcY0, jint srcX1, jint srcY1, jint dstX0, jint dstY0, jint dstX1, jint dstY1, jint mask, jint filter) { 1412 (GLenum)filter 1400 android_glBlitFramebuffer__IIIIIIIIII(JNIEnv *_env, jobject _this, jint srcX0, jint srcY0, jint srcX1, jint srcY1, jint dstX0, jint dstY0, jint dstX1, jint dstY1, jint mask, jint filter) argument
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 1647 void OpenGLRenderer::setupDrawColorFilter(const SkColorFilter* filter) { argument 1648 if (filter == NULL) { 1653 if (filter->asColorMode(NULL, &mode)) { 1656 } else if (filter->asColorMatrix(NULL)) { 1763 void OpenGLRenderer::setupDrawColorFilterUniforms(const SkColorFilter* filter) { argument 1764 if (NULL == filter) { 1770 if (filter->asColorMode(&color, &mode)) { 1781 if (filter->asColorMatrix(srcColorMatrix)) { 3025 // check if paint filter trying to override bitmap filter [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationStackScrollLayout.java | 2635 final AnimationFilter filter; field in class:NotificationStackScrollLayout.AnimationEvent 2648 filter = FILTERS[type];
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 957 IntentFilter filter = new IntentFilter(); 958 filter.addAction(Intent.ACTION_BOOT_COMPLETED); 959 filter.addAction(ACTION_EXPIRED_PASSWORD_NOTIFICATION); 960 filter.addAction(Intent.ACTION_USER_REMOVED); 961 filter.addAction(Intent.ACTION_USER_STARTED); 962 filter.addAction(KeyChain.ACTION_STORAGE_CHANGED); 963 filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); 964 context.registerReceiverAsUser(mReceiver, UserHandle.ALL, filter, null, mHandler); 965 filter = new IntentFilter(); 966 filter 4159 addPersistentPreferredActivity(ComponentName who, IntentFilter filter, ComponentName activity) argument 4329 addCrossProfileIntentFilter(ComponentName who, IntentFilter filter, int flags) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 2093 sp<AaptFile> ResourceTable::flatten(Bundle* bundle, const sp<const ResourceFilter>& filter, argument 2097 status_t err = flatten(bundle, filter, data, isBase); 2754 status_t ResourceTable::flatten(Bundle* bundle, const sp<const ResourceFilter>& filter, argument 2843 if (filterable && !filter->match(config)) { 3005 if (filterable && !filter->match(cl->getEntries().keyAt(ci))) { 3009 if (filterable && !filter->match(cl->getEntries().keyAt(cj))) { 3056 if (filterable && !filter->match(config)) {
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 465 * Used with type filter window 1600 * Enables or disables the type filter window. If enabled, typing when 1601 * this view has focus will filter the children to match the users input. 1684 String filter; field in class:AbsListView.SavedState 1707 filter = in.readString(); 1730 out.writeString(filter); 1751 + " filter=" + filter 1790 ss.filter = mPendingSync.filter; [all...] |
H A D | Editor.java | 3222 // Touch-up filter: number of previous positions remembered 4168 public CharSequence filter(CharSequence source, int start, int end, method in class:Editor.UndoInputFilter 4171 Log.d(TAG, "filter: source=" + source + " (" + start + "-" + end + ")"); 4172 Log.d(TAG, "filter: dest=" + dest + " (" + dstart + "-" + dend + ")");
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 3975 // most recent touch within the screen area. The idea is to filter out stray 6344 // To eliminate noise while the joystick is at rest, filter out small variations 6346 axis.filter = axis.fuzz ? axis.fuzz : axis.flat * 0.25f; 6546 if (force || hasValueChangedSignificantly(axis.filter, 6552 if (force || hasValueChangedSignificantly(axis.filter, 6563 float filter, float newValue, float currentValue, float min, float max) { 6568 if (fabs(newValue - currentValue) > filter 6569 || hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, min) 6570 || hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, max) 6571 || hasMovedNearerToValueWithinFilteredRange(filter, newValu 6562 hasValueChangedSignificantly( float filter, float newValue, float currentValue, float min, float max) argument 6578 hasMovedNearerToValueWithinFilteredRange( float filter, float newValue, float currentValue, float thresholdValue) argument [all...] |
H A D | InputReader.h | 149 // in order to filter out accidental virtual key presses due to swiping gestures 1800 float filter; // filter out small variations of this size member in struct:android::JoystickInputMapper::Axis 1822 this->filter = 0; 1843 static bool hasValueChangedSignificantly(float filter, 1845 static bool hasMovedNearerToValueWithinFilteredRange(float filter,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 3037 IntentFilter filter, int match, ComponentName activity) { 3043 + " filter=" + filter 3046 filter.dump(new PrintStreamPrinter(System.out), " "); 3053 // Add the new activity as the last chosen for this filter 3054 addPreferredActivityInternal(filter, match, null, activity, false, userId, 3293 // Re-add the filter as a "last chosen" entry (!always) 3415 CrossProfileIntentFilter filter = matchingFilters.get(i); 3416 if ((filter.getFlags() & PackageManager.SKIP_CURRENT_PROFILE) != 0) { 3419 ResolveInfo resolveInfo = checkTargetCanHandle(filter, inten 3036 setLastChosenActivity(Intent intent, String resolvedType, int flags, IntentFilter filter, int match, ComponentName activity) argument 3457 checkTargetCanHandle(CrossProfileIntentFilter filter, Intent intent, String resolvedType, int flags, int sourceUserId) argument 3467 createForwardingResolveInfo(IntentFilter filter, int sourceUserId, int targetUserId) argument 7364 allowFilterResult( PackageParser.ActivityIntentInfo filter, List<ResolveInfo> dest) argument 7383 isFilterStopped(PackageParser.ActivityIntentInfo filter, int userId) argument 7454 dumpFilter(PrintWriter out, String prefix, PackageParser.ActivityIntentInfo filter) argument 7465 filterToLabel(PackageParser.ActivityIntentInfo filter) argument 7583 allowFilterResult( PackageParser.ServiceIntentInfo filter, List<ResolveInfo> dest) argument 7602 isFilterStopped(PackageParser.ServiceIntentInfo filter, int userId) argument 7625 newResult(PackageParser.ServiceIntentInfo filter, int match, int userId) argument 7670 dumpFilter(PrintWriter out, String prefix, PackageParser.ServiceIntentInfo filter) argument 7681 filterToLabel(PackageParser.ServiceIntentInfo filter) argument 7806 allowFilterResult( PackageParser.ProviderIntentInfo filter, List<ResolveInfo> dest) argument 7825 isFilterStopped(PackageParser.ProviderIntentInfo filter, int userId) argument 7849 newResult(PackageParser.ProviderIntentInfo filter, int match, int userId) argument 7893 dumpFilter(PrintWriter out, String prefix, PackageParser.ProviderIntentInfo filter) argument 7905 filterToLabel(PackageParser.ProviderIntentInfo filter) argument 11716 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument 11722 addPreferredActivityInternal(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, boolean always, int userId, String opname) argument 11756 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument 11952 addPersistentPreferredActivity(IntentFilter filter, ComponentName activity, int userId) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 890 IntentFilter filter = new IntentFilter(); 891 filter.addAction(DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED); 892 mContext.registerReceiver(mBroadcastReceiver, filter); 11707 public void setInputFilter(IInputFilter filter) { argument 11708 mInputManager.setInputFilter(filter);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 711 BroadcastFilter filter, List<BroadcastFilter> dest) { 712 IBinder target = filter.receiverList.receiver.asBinder(); 722 protected BroadcastFilter newResult(BroadcastFilter filter, int match, int userId) { 723 if (userId == UserHandle.USER_ALL || filter.owningUserId == UserHandle.USER_ALL 724 || userId == filter.owningUserId) { 725 return super.newResult(filter, match, userId); 736 protected boolean isPackageForFilter(String packageName, BroadcastFilter filter) { 737 return packageName.equals(filter.packageName); 8168 // foreground app. We may filter others if the caller has 15519 private final List getStickiesLocked(String action, IntentFilter filter, argument 15564 registerReceiver(IApplicationThread caller, String callerPackage, IIntentReceiver receiver, IntentFilter filter, String permission, int userId) argument [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.cpp | 6870 void GLTrace_glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { argument 6930 // copy argument filter 6934 arg_filter->add_intvalue((int)filter); 6939 glContext->hooks->gl.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 15479 void GLTrace_glBlitFramebufferANGLE(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { argument 15539 // copy argument filter 15543 arg_filter->add_intvalue((int)filter); 15548 glContext->hooks->gl.glBlitFramebufferANGLE(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 22174 void GLTrace_glBlitFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { argument 22234 // copy argument filter [all...] |