Home
last modified time | relevance | path

Searched refs:mCurrent (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java158 private StrokeData mCurrent; // used in the currently drawing style field in FilterDrawRepresentation
174 + ((mCurrent == null) ? " no current " in toString()
175 : ("draw=" + mCurrent.mType + " " + mCurrent.noPoints)); in toString()
183 return mCurrent; in getCurrentDrawing()
210 if (representation.mCurrent != null) { in useParametersFrom()
211 mCurrent = (StrokeData) representation.mCurrent.clone(); in useParametersFrom()
213 mCurrent = null; in useParametersFrom()
242 if (fdRep.mCurrent == null ^ (mCurrent == null || mCurrent.mPath == null)) { in equals()
247 if (fdRep.mCurrent != null && mCurrent != null && mCurrent.mPath != null) { in equals()
248 if (fdRep.mCurrent.noPoints == mCurrent.noPoints) { in equals()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterDeleteSet.java65 private ArrayList<Deletion> mCurrent = new ArrayList<Deletion>(); field in FilterDeleteSet
85 return mBaseSet.getMediaItemCount() - mCurrent.size(); in getMediaItemCount()
117 int n = mCurrent.size(); in getMediaItem()
122 Deletion d = mCurrent.get(i); in getMediaItem()
128 Deletion d = mCurrent.get(j); in getMediaItem()
137 Deletion d = mCurrent.get(m); in getMediaItem()
157 int n = mCurrent.size(); in reload()
160 if (mCurrent.get(j).path == r.path) break; in reload()
163 mCurrent.add(new Deletion(r.path, r.indexHint)); in reload()
169 int n = mCurrent.size(); in reload()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/
DJobQueue.java31 private LocalPrintJob mCurrent; field in JobQueue
47 if (mCurrent != null && printerId.equals(mCurrent.getPrintJob().getInfo().getPrinterId())) { in cancel()
48 cancel(mCurrent.getPrintJobId()); in cancel()
54 if (mCurrent != null && printerId.equals(mCurrent.getPrintJob().getInfo().getPrinterId())) { in restart()
55 mCurrent.restart(); in restart()
70 if (mCurrent != null && mCurrent.getPrintJobId().equals(id)) { in cancel()
71 mCurrent.cancel(); in cancel()
77 if (mJobs.isEmpty() || mCurrent != null) { in startNextJob()
81 mCurrent = mJobs.remove(0); in startNextJob()
82 mCurrent.start(job -> { in startNextJob()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/
DXMLParser.java57 private XMLNode mCurrent = null; field in XMLParser
66 mCurrent = null; in parse()
80 XMLNode parent = mCurrent; in startElement()
82 mCurrent = new XMLNode(parent, qName); in startElement()
85 mRoot = mCurrent; in startElement()
89 parent.addChild(mCurrent); in startElement()
95 if (!qName.equals(mCurrent.getTag())) { in endElement()
97 mCurrent); in endElement()
100 mCurrent.close(); in endElement()
101 mCurrent = mCurrent.getParent(); in endElement()
[all …]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DDragGestureDetector.java33 private float[] mCurrent; field in DragGestureDetector
41 mCurrent = new float[2]; in DragGestureDetector()
82 computeAveragePosition(event, mCurrent); in onTouchEvent()
106 mTouchGain * (mCurrent[0] - mLast[0]), in move()
107 mTouchGain * (mCurrent[1] - mLast[1]), in move()
109 mLast[0] = mCurrent[0]; in move()
110 mLast[1] = mCurrent[1]; in move()
/packages/apps/Gallery2/src/com/android/gallery3d/anim/
DFloatAnimation.java23 private float mCurrent; field in FloatAnimation
28 mCurrent = from; in FloatAnimation()
34 mCurrent = mFrom + (mTo - mFrom) * progress; in onCalculate()
38 return mCurrent; in get()
/packages/apps/Settings/src/com/android/settings/notification/
DSoundSettings.java217 private SeekBarVolumizer mCurrent; field in SoundSettings.VolumePreferenceCallback
221 if (mCurrent != null) { in onSampleStarting()
229 if (mCurrent != null) { in onStreamValueChanged()
238 if (mCurrent != null && mCurrent != sbv) { in onStartTrackingTouch()
239 mCurrent.stopSample(); in onStartTrackingTouch()
241 mCurrent = sbv; in onStartTrackingTouch()
245 if (mCurrent != null) { in stopSample()
246 mCurrent.stopSample(); in stopSample()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsTetheringUtils.java192 private final ArrayTrackRecord<CallbackValue>.ReadHead mCurrent =
282 assertNotNull("No expected tetherable ifaces callback", mCurrent.poll(TIMEOUT_MS, in expectTetherableInterfacesChanged()
293 mCurrent.poll(TIMEOUT_MS, (cv) -> { in expectNoTetheringActive()
304 final CallbackValue cv = mCurrent.poll(timeOutMs, c -> true); in pollTetheredInterfacesChanged()
358 assertNotNull("No offload status changed", mCurrent.poll(TIMEOUT_MS, (cv) -> { in expectOneOfOffloadStatusChanged()
371 assertNotNull("No expected callback", mCurrent.poll(TIMEOUT_MS, (cv) -> { in expectErrorOrTethered()
386 final CallbackValue result = mCurrent.poll(TIMEOUT_MS, (cv) -> { in getCurrentValidUpstream()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceParameterizedTest.java301 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseSecurityParameterIndex()
336 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testSecurityParameterIndexBinderDeath()
550 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi()
562 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi()
587 assertEquals(0, userRecord.mTransformQuotaTracker.mCurrent); in testDeleteTransform()
588 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testDeleteTransform()
602 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testDeleteTransform()
640 assertEquals(0, userRecord.mTransformQuotaTracker.mCurrent); in testTransportModeTransformBinderDeath()
769 assertEquals(1, userRecord.mTunnelQuotaTracker.mCurrent); in testCreateTunnelInterface()
792 assertEquals(0, userRecord.mTunnelQuotaTracker.mCurrent); in testDeleteTunnelInterface()
[all …]
DIpSecServiceTest.java189 assertEquals(0, userRecord.mSocketQuotaTracker.mCurrent); in testOpenAndCloseUdpEncapsulationSocket()
212 assertEquals(0, userRecord.mSocketQuotaTracker.mCurrent); in testUdpEncapsulationSocketBinderDeath()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DPumpActivity.java262 private int mCurrent; field in PumpActivity.Pages
278 mCurrent = current; in setCurrent()
282 return mCurrent; in getCurrent()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java753 private int mCurrent = 0; field in SlotView.IntegerAnimation
763 mTarget = mCurrent = target; in startAnimateTo()
768 mFrom = mCurrent; in startAnimateTo()
775 return mCurrent; in get()
784 mCurrent = Math.round(mFrom + progress * (mTarget - mFrom)); in onCalculate()
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java183 private int mCurrent; field in BugleApnSettingsLoader.DatabaseApn
190 mCurrent = current; in DatabaseApn()
241 if (mCurrent > 0) { in setCurrentInDatabase()
245 mCurrent = 1; in setCurrentInDatabase()
/packages/modules/Connectivity/service-t/src/com/android/server/
DIpSecService.java344 int mCurrent; field in IpSecService.ResourceTracker
348 mCurrent = 0; in ResourceTracker()
352 return (mCurrent < mMax); in isAvailable()
359 mCurrent++; in take()
363 if (mCurrent <= 0) { in give()
366 mCurrent--; in give()
373 .append(mCurrent) in toString()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt592 Landroid/net/wifi/hotspot2/omadm/XMLParser;->mCurrent:Landroid/net/wifi/hotspot2/omadm/XMLNode;