Home
last modified time | relevance | path

Searched refs:mFilters (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImagePreset.java57 private Vector<FilterRepresentation> mFilters = new Vector<FilterRepresentation>(); field in ImagePreset
70 for (int i = 0; i < source.mFilters.size(); i++) { in ImagePreset()
71 FilterRepresentation sourceRepresentation = source.mFilters.elementAt(i); in ImagePreset()
72 mFilters.add(sourceRepresentation.copy()); in ImagePreset()
77 return mFilters; in getFilters()
83 representation = mFilters.elementAt(position).copy(); in getFilterRepresentation()
104 for (int i = 0; i < mFilters.size(); i++) { in getPositionForRepresentation()
105 if (sameSerializationName(mFilters.elementAt(i), representation)) { in getPositionForRepresentation()
113 for (int i = 0; i < mFilters.size(); i++) { in getFilterRepresentationForType()
114 if (mFilters.elementAt(i).getFilterType() == type) { in getFilterRepresentationForType()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DAppFilterRegistry.java86 private final AppFilterItem[] mFilters; field in AppFilterRegistry
89 mFilters = new AppFilterItem[20]; in AppFilterRegistry()
92 mFilters[FILTER_APPS_POWER_ALLOWLIST] = new AppFilterItem( in AppFilterRegistry()
100 mFilters[FILTER_APPS_POWER_ALLOWLIST_ALL] = new AppFilterItem( in AppFilterRegistry()
108 mFilters[FILTER_APPS_ALL] = new AppFilterItem( in AppFilterRegistry()
114 mFilters[FILTER_APPS_ENABLED] = new AppFilterItem( in AppFilterRegistry()
120 mFilters[FILTER_APPS_DISABLED] = new AppFilterItem( in AppFilterRegistry()
126 mFilters[FILTER_APPS_INSTANT] = new AppFilterItem( in AppFilterRegistry()
132 mFilters[FILTER_APPS_RECENT] = new AppFilterItem( in AppFilterRegistry()
138 mFilters[FILTER_APPS_FREQUENT] = new AppFilterItem( in AppFilterRegistry()
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DAccountFilterActivity.java138 private final List<ContactListFilter> mFilters; field in AccountFilterActivity.FilterListAdapter
147 mFilters = filters; in FilterListAdapter()
154 return mFilters.size(); in getCount()
164 return mFilters.get(position); in getItem()
175 view.setSingleAccount(mFilters.size() == 1); in getView()
176 final ContactListFilter filter = mFilters.get(position); in getView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DBaseFiltersManager.java31 protected HashMap<Class, ImageFilter> mFilters = null; field in BaseFiltersManager
42 mFilters = new HashMap<Class, ImageFilter>(); in init()
50 mFilters.put(filterClass, (ImageFilter) filterInstance); in init()
81 return mFilters.get(c); in getFilter()
86 return mFilters.get(representation.getFilterClass()); in getFilterForRepresentation()
90 ImageFilter filter = mFilters.get(c); in getRepresentation()
102 for (Class c : mFilters.keySet()) { in freeFilterResources()
103 ImageFilter filter = mFilters.get(c); in freeFilterResources()