Searched defs:pos (Results 101 - 115 of 115) sorted by relevance

12345

/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp636 jfloatArray pos, SkPaint* paint) {
638 jfloat* positions = env->GetFloatArrayElements(pos, NULL);
642 env->ReleaseFloatArrayElements(pos, positions, JNI_ABORT);
648 jfloatArray pos, SkPaint* paint) {
650 jfloat* positions = env->GetFloatArrayElements(pos, NULL);
654 env->ReleaseFloatArrayElements(pos, positions, JNI_ABORT);
634 android_view_GLES20Canvas_drawPosTextArray(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jcharArray text, jint index, jint count, jfloatArray pos, SkPaint* paint) argument
646 android_view_GLES20Canvas_drawPosText(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jstring text, jint start, jint end, jfloatArray pos, SkPaint* paint) argument
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1491 * the pos array.
1499 * @param pos Array of [x,y] positions, used to position each
1504 public void drawPosText(char[] text, int index, int count, float[] pos, Paint paint) { argument
1505 if (index < 0 || index + count > text.length || count*2 > pos.length) {
1508 native_drawPosText(mNativeCanvas, text, index, count, pos,
1514 * the pos array.
1520 * @param pos Array of [x,y] positions, used to position each character
1524 public void drawPosText(String text, float[] pos, Paint paint) { argument
1525 if (text.length()*2 > pos.length) {
1528 native_drawPosText(mNativeCanvas, text, pos, pain
1744 native_drawPosText(int nativeCanvas, char[] text, int index, int count, float[] pos, int paint) argument
1748 native_drawPosText(int nativeCanvas, String text, float[] pos, int paint) argument
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp100 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) {
122 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) {
141 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) {
99 measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) argument
121 drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) argument
140 drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) argument
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp1885 ssize_t pos = mSymbols.indexOfKey(name); local
1886 if (pos < 0) {
1893 mSymbols.editValueAt(pos).isJavaSymbol = entry.isJavaSymbol;
1900 ssize_t pos = mNestedSymbols.indexOfKey(name); local
1901 if (pos < 0) {
1902 SourcePos pos; local
1903 pos.error("Java symbol dir %s not defined\n", name.string());
1908 status_t myerr = mNestedSymbols.valueAt(pos)->applyJavaSymbols(symbols);
2504 ssize_t pos = mSymbols.indexOfKey(name); local
2505 if (pos <
2506 SourcePos pos; local
[all...]
H A DAaptAssets.h380 status_t addSymbol(const String8& name, int32_t value, const SourcePos& pos) { argument
381 if (!check_valid_symbol_name(name, pos, "symbol")) {
384 AaptSymbolEntry& sym = edit_symbol(name, &pos);
391 const SourcePos& pos) {
392 if (!check_valid_symbol_name(name, pos, "symbol")) {
395 AaptSymbolEntry& sym = edit_symbol(name, &pos);
401 status_t makeSymbolPublic(const String8& name, const SourcePos& pos) { argument
402 if (!check_valid_symbol_name(name, pos, "symbol")) {
405 AaptSymbolEntry& sym = edit_symbol(name, &pos);
410 status_t makeSymbolJavaSymbol(const String8& name, const SourcePos& pos) { argument
390 addStringSymbol(const String8& name, const String8& value, const SourcePos& pos) argument
419 appendComment(const String8& name, const String16& comment, const SourcePos& pos) argument
445 addNestedSymbol(const String8& name, const SourcePos& pos) argument
472 check_valid_symbol_name(const String8& symbol, const SourcePos& pos, const char* label) argument
479 edit_symbol(const String8& symbol, const SourcePos* pos) argument
[all...]
H A DResource.cpp1642 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
1643 if (pos >= 0) {
1697 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
1698 if (pos >= 0) {
1736 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
1737 if (pos >= 0) {
1814 String8(name).string(), (int)pos);
H A DResourceTable.cpp1961 void ResourceTable::canAddEntry(const SourcePos& pos, argument
1964 sp<Type> t = getType(package, type, pos);
2306 const char16_t* pos = name; local
2307 while (pos < end) {
2308 const char16_t* start = pos;
2309 while (pos < end && *pos != '|') {
2310 pos++;
2313 String16 nameStr(start, pos-start);
2334 pos
3024 const SourcePos& pos = c->getEntries().valueAt(k)->getPos(); local
3451 int pos = -1; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java1114 int count, float[] pos,
1123 String text, float[] pos,
1112 native_drawPosText(int nativeCanvas, char[] text, int index, int count, float[] pos, int paint) argument
1122 native_drawPosText(int nativeCanvas, String text, float[] pos, int paint) argument
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java1072 public void drawPosText(char[] text, int index, int count, float[] pos, Paint paint) { argument
1073 if (index < 0 || index + count > text.length || count * 2 > pos.length) {
1079 nDrawPosText(mRenderer, text, index, count, pos, paint.mNativePaint);
1086 float[] pos, int paint);
1090 public void drawPosText(String text, float[] pos, Paint paint) { argument
1091 if (text.length() * 2 > pos.length) {
1097 nDrawPosText(mRenderer, text, 0, text.length(), pos, paint.mNativePaint);
1104 float[] pos, int paint);
1085 nDrawPosText(int renderer, char[] text, int index, int count, float[] pos, int paint) argument
1103 nDrawPosText(int renderer, String text, int start, int end, float[] pos, int paint) argument
H A DMotionEvent.java1285 // Private value for history pos that obtains the current sample.
2256 * @param pos Which historical value to return; must be less than
2265 public final long getHistoricalEventTime(int pos) { argument
2266 return nativeGetEventTimeNanos(mNativePtr, pos) / NS_PER_MS;
2279 * @param pos Which historical value to return; must be less than
2291 public final long getHistoricalEventTimeNano(int pos) { argument
2292 return nativeGetEventTimeNanos(mNativePtr, pos);
2299 * @param pos Which historical value to return; must be less than
2306 public final float getHistoricalX(int pos) { argument
2307 return nativeGetAxisValue(mNativePtr, AXIS_X, 0, pos);
2321 getHistoricalY(int pos) argument
2336 getHistoricalPressure(int pos) argument
2351 getHistoricalSize(int pos) argument
2366 getHistoricalTouchMajor(int pos) argument
2381 getHistoricalTouchMinor(int pos) argument
2396 getHistoricalToolMajor(int pos) argument
2411 getHistoricalToolMinor(int pos) argument
2426 getHistoricalOrientation(int pos) argument
2443 getHistoricalAxisValue(int axis, int pos) argument
2461 getHistoricalX(int pointerIndex, int pos) argument
2479 getHistoricalY(int pointerIndex, int pos) argument
2497 getHistoricalPressure(int pointerIndex, int pos) argument
2515 getHistoricalSize(int pointerIndex, int pos) argument
2533 getHistoricalTouchMajor(int pointerIndex, int pos) argument
2551 getHistoricalTouchMinor(int pointerIndex, int pos) argument
2569 getHistoricalToolMajor(int pointerIndex, int pos) argument
2587 getHistoricalToolMinor(int pointerIndex, int pos) argument
2605 getHistoricalOrientation(int pointerIndex, int pos) argument
2624 getHistoricalAxisValue(int axis, int pointerIndex, int pos) argument
2644 getHistoricalPointerCoords(int pointerIndex, int pos, PointerCoords outPointerCoords) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h829 void setPosition(uint32_t pos) { mPosition = pos; } argument
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1166 void ResXMLParser::getPosition(ResXMLParser::ResXMLPosition* pos) const
1168 pos->eventCode = mEventCode;
1169 pos->curNode = mCurNode;
1170 pos->curExt = mCurExt;
1173 void ResXMLParser::setPosition(const ResXMLParser::ResXMLPosition& pos) argument
1175 mEventCode = pos.eventCode;
1176 mCurNode = pos.curNode;
1177 mCurExt = pos.curExt;
2813 TABLE_NOISY(ALOGV("Chunk: type=0x%x, headerSize=0x%x, size=0x%x, pos=%p\n",
3396 uint32_t pos local
4484 const char16_t* pos = s; local
[all...]
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java874 public int getForegroundColor(int pos) { argument
875 if (pos < 0 || pos > getText().length()) {
879 getText().getSpans(pos, pos, ForegroundColorSpan.class);
1619 public void setEndPos(int pos) { argument
1621 Log.d(LOG_TAG, "--- setSelectedEndPos:" + pos);
1623 mCurEnd = pos;
1744 int pos = current;
1745 for (; pos >
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java957 private void placeWindowAfter(WindowState pos, WindowState window) { argument
958 final int i = mWindows.indexOf(pos);
961 + (i+1) + " of " + mWindows.size() + " (after " + pos + ")");
966 private void placeWindowBefore(WindowState pos, WindowState window) { argument
967 final int i = mWindows.indexOf(pos);
970 + i + " of " + mWindows.size() + " (before " + pos + ")");
1042 WindowState pos = null;
1054 pos = t.windows.get(0);
1060 if (pos != null) {
1062 WindowToken atoken = mTokenMap.get(pos
1466 moveInputMethodDialogsLocked(int pos) argument
[all...]
/frameworks/compile/mclinker/utils/gtest/src/
H A Dgtest-all.cpp5321 const size_t pos = target.find(':'); local
5322 if (pos != string::npos) {
5323 listeners()->Append(new StreamingListener(target.substr(0, pos),
5324 target.substr(pos+1)));
7298 ::std::string::size_type pos = 0;
7300 const ::std::string::size_type colon = str.find(delimiter, pos);
7302 parsed.push_back(str.substr(pos));
7305 parsed.push_back(str.substr(pos, colon - pos));
7306 pos
[all...]

Completed in 987 milliseconds

12345