Home
last modified time | relevance | path

Searched refs:mCurrent (Results 1 – 12 of 12) 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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DSoundSettings.java199 private SeekBarVolumizer mCurrent; field in SoundSettings.VolumePreferenceCallback
203 if (mCurrent != null && mCurrent != sbv) { in onSampleStarting()
204 mCurrent.stopSample(); in onSampleStarting()
206 mCurrent = sbv; in onSampleStarting()
207 if (mCurrent != null) { in onSampleStarting()
215 if (mCurrent != null) { in onStreamValueChanged()
222 if (mCurrent != null) { in stopSample()
223 mCurrent.stopSample(); in stopSample()
/packages/apps/Settings/src/com/android/settings/notification/
DSoundSettings.java199 private SeekBarVolumizer mCurrent; field in SoundSettings.VolumePreferenceCallback
203 if (mCurrent != null && mCurrent != sbv) { in onSampleStarting()
204 mCurrent.stopSample(); in onSampleStarting()
206 mCurrent = sbv; in onSampleStarting()
207 if (mCurrent != null) { in onSampleStarting()
215 if (mCurrent != null) { in onStreamValueChanged()
222 if (mCurrent != null) { in stopSample()
223 mCurrent.stopSample(); in stopSample()
/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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DVolumeTestFragment.java111 public String mCurrent; field in VolumeTestFragment.VolumeInfo
191 mVolumeInfos[0].mCurrent = "Current"; in initVolumeInfo()
204 mVolumeInfos[i].mCurrent = String.valueOf(current); in initVolumeInfo()
208 + mVolumeInfos[i].mCurrent); in initVolumeInfo()
DVolumeAdapter.java67 vh.currentVolume.setText(String.valueOf(mVolumeList[position].mCurrent)); in getView()
/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/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/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()