Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java196 Paint pt = new Paint(); in convertToAlphaMask() local
197 pt.setColorFilter(new ColorMatrixColorFilter(MASK)); in convertToAlphaMask()
198 c.drawBitmap(b, 0.0f, 0.0f, pt); in convertToAlphaMask()
284 Point pt = mFreeList.iterator().next(); in fillFreeList() local
285 mFreeList.remove(pt); in fillFreeList()
286 final int i=pt.x; in fillFreeList()
287 final int j=pt.y; in fillFreeList()
321 place(v, pt, false); in fillFreeList()
352 public synchronized void place(View v, Point pt, boolean animate) {
353 final int i = pt.x;
[all …]
/frameworks/native/libs/ui/include/ui/
DRegion.h110 inline const Region operator + (const Point& pt) const;
116 inline Region& operator += (const Point& pt);
196 const Region Region::operator + (const Point& pt) const {
197 return translate(pt.x, pt.y);
213 Region& Region::operator += (const Point& pt) {
214 return translateSelf(pt.x, pt.y);
/frameworks/native/libs/ui/include_vndk/ui/
DRegion.h110 inline const Region operator + (const Point& pt) const;
116 inline Region& operator += (const Point& pt);
196 const Region Region::operator + (const Point& pt) const {
197 return translate(pt.x, pt.y);
213 Region& Region::operator += (const Point& pt) {
214 return translateSelf(pt.x, pt.y);
/frameworks/av/include/media/
DInterpolator.h249 for (const auto &pt : *this) { in writeToParcel()
250 res = parcel->writeFloat(pt.first) in writeToParcel()
251 ?: parcel->writeFloat(pt.second); in writeToParcel()
302 for (const auto &pt : *this) { in toString()
309 ss << pt.first << ", " << pt.second << "}"; in toString()
DVolumeShaper.h220 for (const auto &pt : *this) { in checkCurve()
221 if (!(pt.second <= MAX_LOG_VOLUME) /* handle nan */) { in checkCurve()
227 for (const auto &pt : *this) { in checkCurve()
228 if (!(pt.second >= MIN_LINEAR_VOLUME) in checkCurve()
229 || !(pt.second <= MAX_LINEAR_VOLUME) /* handle nan */) { in checkCurve()
/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp297 sp<Thread> pt(new ProducerThread(mANW, testPixels)); in TEST_F() local
298 pt->run("ProducerThread"); in TEST_F()
336 pt->requestExitAndWait(); in TEST_F()
485 sp<Thread> pt(new ProducerThread(mANW)); in TEST_F() local
486 pt->run("ProducerThread"); in TEST_F()
682 sp<Thread> pt(new ProducerThread(mANW)); in TEST_F() local
683 pt->run("ProducerThread"); in TEST_F()
694 pt->requestExitAndWait(); in TEST_F()
696 reinterpret_cast<ProducerThread*>(pt.get())->getDequeueError()); in TEST_F()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.h128 const int32_t pt[2], const std::vector<GridQuad>& grid);
141 static float calculateUorV(const int32_t pt[2], const GridQuad& quad, bool calculateU);
DDistortionMapper.cpp454 const int32_t pt[2], const std::vector<GridQuad>& grid) { in findEnclosingQuad()
455 const float x = pt[0]; in findEnclosingQuad()
456 const float y = pt[1]; in findEnclosingQuad()
490 float DistortionMapper::calculateUorV(const int32_t pt[2], const GridQuad& quad, bool calculateU) { in calculateUorV()
491 const float x = pt[0]; in calculateUorV()
492 const float y = pt[1]; in calculateUorV()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dc2_9pf.cpp1008 const Word16 *pt; in build_code() local
1012 pt = trackTable + subNr + (subNr << 2); in build_code()
1032 first = *(pt + track); in build_code()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java958 final Paint pt = new Paint();
959 pt.setColor(0xFFFFFFFF);
966 c.drawCircle(x, y, 4, pt);
970 pt);
974 pt.setStyle(Paint.Style.STROKE);
975 pt.setStrokeWidth(getResources().getDisplayMetrics().density);
978 pt.setColor(0x8000FF00);
985 c.drawCircle(pop.cx, pop.cy, pop.r, pt);
989 c.drawRect(r, pt);
993 pt.setColor(Color.BLACK);
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt103 private val pt = Paint() constant in com.android.egg.paint.Painting
107 pt.colorFilter = in run()
115 c.drawBitmap(bitmap!!, 0f, 0f, pt) in run()
/frameworks/base/media/jni/
Dandroid_media_VolumeShaper.h160 for (const auto &pt : *configuration.get()) { in convertVolumeShaperToJobject()
161 *xptr++ = pt.first; in convertVolumeShaperToJobject()
162 *yptr++ = pt.second; in convertVolumeShaperToJobject()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dnumeric.h83 static inline vec2 MapPoint(const vec2& pt, const R1& from, const R2& to) { in MapPoint() argument
84 vec2 normalized((pt - vec2(from.p1)).array() / vec2(from.GetSize()).array()); in MapPoint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java468 Paint pt = new Paint(); in onDraw() local
469 pt.setColor(0x80FFFF00); in onDraw()
470 pt.setStrokeWidth(12.0f); in onDraw()
471 pt.setStyle(Paint.Style.STROKE); in onDraw()
472 canvas.drawRect(0, 0, canvas.getWidth(), canvas.getHeight(), pt); in onDraw()
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java559 final PrecomputedText pt = (PrecomputedText) text; in drawTextRun() local
560 final int paraIndex = pt.findParaIndex(start); in drawTextRun()
561 if (end <= pt.getParagraphEnd(paraIndex)) { in drawTextRun()
562 final int paraStart = pt.getParagraphStart(paraIndex); in drawTextRun()
563 final MeasuredParagraph mp = pt.getMeasuredParagraph(paraIndex); in drawTextRun()
DBaseRecordingCanvas.java524 final PrecomputedText pt = (PrecomputedText) text; in drawTextRun() local
525 final int paraIndex = pt.findParaIndex(start); in drawTextRun()
526 if (end <= pt.getParagraphEnd(paraIndex)) { in drawTextRun()
527 final int paraStart = pt.getParagraphStart(paraIndex); in drawTextRun()
528 final MeasuredParagraph mp = pt.getMeasuredParagraph(paraIndex); in drawTextRun()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java400 final float pt = mFrame.top + (mFrame.height() - pw) / 2; in draw() local
403 if (mPlusFrame.left != pl || mPlusFrame.top != pt in draw()
405 mPlusFrame.set(pl, pt, pr, pb); in draw()
/frameworks/base/core/java/android/text/
DSelection.java482 int pt = getSelectionEnd(text); in findEdge() local
483 int line = layout.getLineForOffset(pt); in findEdge()
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/wilhelm/doc/
DDoxyfile1485 # The default size is 10pt.
/frameworks/native/docs/
DDoxyfile1748 # The default size is 10pt.