Home
last modified time | relevance | path

Searched refs:mFilter (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterFunction.java27 private Filter mFilter; field in FilterFunction
40 mFilter = filter; in FilterFunction()
44 int filterOutCount = mFilter.getNumberOfOutputs(); in execute()
48 throw new RuntimeException("Calling execute on filter " + mFilter + " with multiple " in execute()
69 mFilter.pushInputFrame(entry.getKey(), (Frame)entry.getValue()); in execute()
71 mFilter.pushInputValue(entry.getKey(), entry.getValue()); in execute()
76 if (mFilter.getStatus() != Filter.STATUS_PROCESSING) { in execute()
77 mFilter.openOutputs(); in execute()
80 mFilter.performProcess(mFilterContext); in execute()
101 mFilter.performClose(mFilterContext); in close()
[all …]
DFilterPort.java29 protected Filter mFilter; field in FilterPort
40 mFilter = filter; in FilterPort()
45 return mFilter != null; in isAttached()
57 return mFilter; in getFilter()
109 return "port '" + mName + "' of " + mFilter; in toString()
DFieldPort.java55 return mField.get(mFilter); in getTarget()
65 mField.set(mFilter, mValue); in transfer()
72 mFilter.notifyFieldPortValueUpdated(mName, context); in transfer()
DFinalPort.java35 if (mFilter.getStatus() != Filter.STATUS_PREINIT) { in setFieldFrame()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DVelocityBasedConnectedScore.java35 private final KalmanFilter mFilter; field in VelocityBasedConnectedScore
41 mFilter = new KalmanFilter(); in VelocityBasedConnectedScore()
42 mFilter.mH = new Matrix(2, new double[]{1.0, 0.0}); in VelocityBasedConnectedScore()
43 mFilter.mR = new Matrix(1, new double[]{1.0}); in VelocityBasedConnectedScore()
53 mFilter.mF = new Matrix(2, new double[]{1.0, dt, 0.0, 1.0}); in setDeltaTimeSeconds()
56 mFilter.mQ = tG.dotTranspose(tG).dot(new Matrix(2, new double[]{ in setDeltaTimeSeconds()
67 mFilter.mx = null; in reset()
83 if (mLastMillis <= 0 || millis < mLastMillis || mFilter.mx == null) { in updateUsingRssi()
85 mFilter.mx = new Matrix(1, new double[]{rssi, 0.0}); in updateUsingRssi()
86 mFilter.mP = new Matrix(2, new double[]{initialVariance, 0.0, 0.0, 0.0}); in updateUsingRssi()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DInputPort.java38 private Filter mFilter; field in InputPort
63 mField.set(mFilter, frameValues.getValues()); in onFrameReceived()
66 mField.set(mFilter, frameValue.getValue()); in onFrameReceived()
70 + mField + " of filter " + mFilter + " caused exception!", e); in onFrameReceived()
86 mFilter.openOutputPort(outputPort); in attachToOutputPort()
142 Field field = findFieldNamed(fieldName, mFilter.getClass()); in bindToFieldNamed()
187 mFilter.addAutoReleaseFrame(frame); in pullFrame()
190 mFilter.onPulledFrameWithTimestamp(frame.getTimestamp()); in pullFrame()
266 return mFilter; in getFilter()
271 return mFilter.getName() + ":" + mName; in toString()
[all …]
DOutputPort.java35 private Filter mFilter; field in OutputPort
74 mFilter.addAutoReleaseFrame(frame); in fetchAvailableFrame()
96 frame.setTimestamp(mFilter.getCurrentTimestamp()); in pushFrame()
137 return mFilter; in getFilter()
142 return mFilter.getName() + ":" + mName; in toString()
146 mFilter = filter; in OutputPort()
176 mFilter.onOutputPortOpen(this); in onOpen()
/frameworks/base/media/java/android/media/tv/tuner/filter/
DSectionSettingsWithSectionBits.java29 private final byte[] mFilter; field in SectionSettingsWithSectionBits
37 mFilter = filter; in SectionSettingsWithSectionBits()
47 return mFilter; in getFilterBytes()
85 private byte[] mFilter = {}; field in SectionSettingsWithSectionBits.Builder
100 mFilter = filter; in setFilter()
130 mMainType, mCrcEnabled, mIsRepeat, mIsRaw, mFilter, mMask, mMode); in build()
/frameworks/base/core/java/android/text/style/
DMaskFilterSpan.java35 private MaskFilter mFilter; field in MaskFilterSpan
43 mFilter = filter; in MaskFilterSpan()
52 return mFilter; in getMaskFilter()
57 ds.setMaskFilter(mFilter); in updateDrawState()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DProgramInfoCache.java57 private final ProgramList.Filter mFilter; field in ProgramInfoCache
60 mFilter = filter; in ProgramInfoCache()
67 mFilter = filter; in ProgramInfoCache()
88 sb.append(mFilter); in toString()
103 return mFilter; in getFilter()
201 if (mFilter == null) { in passesFilter()
204 if (!mFilter.getIdentifierTypes().isEmpty() in passesFilter()
205 && !mFilter.getIdentifierTypes().contains(id.getType())) { in passesFilter()
208 if (!mFilter.getIdentifiers().isEmpty() && !mFilter.getIdentifiers().contains(id)) { in passesFilter()
211 if (!mFilter.areCategoriesIncluded() && id.isCategoryType()) { in passesFilter()
[all …]
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java41 IntentFilter mFilter; field in BatteryWaster
61 mFilter = new IntentFilter(); in onCreate()
62 mFilter.addAction(Intent.ACTION_BATTERY_CHANGED); in onCreate()
63 mFilter.addAction(Intent.ACTION_BATTERY_LOW); in onCreate()
64 mFilter.addAction(Intent.ACTION_BATTERY_OKAY); in onCreate()
65 mFilter.addAction(Intent.ACTION_POWER_CONNECTED); in onCreate()
120 registerReceiver(mReceiver, mFilter); in startRunning()
/frameworks/base/core/java/android/bluetooth/le/
DTruncatedFilter.java30 private final ScanFilter mFilter; field in TruncatedFilter
40 mFilter = filter; in TruncatedFilter()
48 return mFilter; in getFilter()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DTestCaseCollector.java35 private TestCaseFilter mFilter; field in TestCaseCollector
40 mFilter = filter; in TestCaseCollector()
90 if (mFilter.accept(method)) { in addTestClass()
106 if (!(mFilter.accept(clazz))) { in addSingleTestMethod()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DCallbackFilter.java47 private Filter mFilter; field in CallbackFilter.CallbackRunnable
54 mFilter = filter; in CallbackRunnable()
60 mListener.onFrameReceived(mFilter, mFrame, mUserData); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHideNotifsForOtherUsersCoordinator.java54 pipeline.addPreGroupFilter(mFilter); in attach()
58 private final NotifFilter mFilter = new NotifFilter("NotCurrentUserFilter") { field in HideNotifsForOtherUsersCoordinator
74 mFilter.invalidateList();
DHideLocallyDismissedNotifsCoordinator.java32 pipeline.addPreGroupFilter(mFilter); in attach()
35 private final NotifFilter mFilter = new NotifFilter("HideLocallyDismissedNotifsFilter") { field in HideLocallyDismissedNotifsCoordinator
/frameworks/base/tools/aapt/
DApkBuilder.h83 return mFilter->match(file->getGroupEntry().toParams()); in matches()
87 return mFilter; in getResourceFilter()
114 const sp<ResourceFilter> mFilter; variable
DResourceFilter.h110 : mFilter(filter) {} in InverseResourceFilter()
113 return !mFilter->match(config); in match()
117 const android::sp<ResourceFilter> mFilter;
/frameworks/base/packages/Tethering/src/android/net/util/
DVersionedBroadcastListener.java45 private final IntentFilter mFilter; field in VersionedBroadcastListener
55 mFilter = filter; in VersionedBroadcastListener()
66 mContext.registerReceiver(mReceiver, mFilter, null, mHandler); in startListening()
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java121 private Filter mFilter; field in AutoCompleteTextView
780 mFilter = ((Filterable) mAdapter).getFilter(); in setAdapter()
783 mFilter = null; in setAdapter()
947 if (mFilter != null) { in refreshAutoCompleteResults()
957 if (mFilter != null) { in refreshAutoCompleteResults()
958 mFilter.filter(null); in refreshAutoCompleteResults()
981 return mFilter.convertResultToString(selectedItem); in convertSelectionToString()
1027 mFilter.filter(text, this); in performFiltering()
1250 if (mPopup.isDropDownAlwaysVisible() || (mFilter != null && enoughToFilter())) { in ensureImeVisible()
1409 return mFilter; in getFilter()
DSimpleAdapter.java72 private SimpleFilter mFilter; field in SimpleAdapter
320 if (mFilter == null) { in getFilter()
321 mFilter = new SimpleFilter(); in getFilter()
323 return mFilter; in getFilter()
DArrayAdapter.java126 private ArrayFilter mFilter; field in ArrayAdapter
523 if (mFilter == null) { in getFilter()
524 mFilter = new ArrayFilter(); in getFilter()
526 return mFilter; in getFilter()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java64 private final IntentFilter mFilter; field in BroadcastInterceptingContext.BroadcastInterceptor
68 mFilter = filter; in BroadcastInterceptor()
72 if (mFilter.match(getContentResolver(), intent, false, TAG) > 0) { in dispatchBroadcast()
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp454 err = mFilter->processBuffers(inputInfo->mData, outputInfo->mData); in processBuffers()
493 mFilter = new ZeroFilter; in onAllocateComponent()
495 mFilter = new SaturationFilter; in onAllocateComponent()
497 mFilter = new IntrinsicBlurFilter; in onAllocateComponent()
499 mFilter = new RSFilter; in onAllocateComponent()
558 err = mFilter->configure(msg); in onConfigureComponent()
598 status_t err = mFilter->start(); in onStart()
701 mFilter->reset(); in onShutdown()
748 status_t err = mFilter->setParameters(msg); in onSetParameters()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneFilterTypeAdapter.java82 private ArrayFilter mFilter; field in TimeZoneFilterTypeAdapter
160 if (mFilter == null) { in getFilter()
161 mFilter = new ArrayFilter(); in getFilter()
163 return mFilter; in getFilter()

12