Home
last modified time | relevance | path

Searched refs:startLine (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/telephony/java/android/telephony/ims/
DSipMessage.java62 public SipMessage(@NonNull String startLine, @NonNull String headerSection, in SipMessage() argument
64 Objects.requireNonNull(startLine, "Required parameter is null: startLine"); in SipMessage()
68 mStartLine = startLine; in SipMessage()
182 private String sanitizeStartLineRequest(String startLine) { in sanitizeStartLineRequest() argument
183 if (!SipMessageParsingUtils.isSipRequest(startLine)) return startLine; in sanitizeStartLineRequest()
184 String[] splitLine = startLine.split(" "); in sanitizeStartLineRequest()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSipMessageParsingUtils.java98 public static boolean isSipRequest(String startLine) { in isSipRequest() argument
99 String[] splitLine = splitStartLineAndVerify(startLine); in isSipRequest()
107 public static boolean isSipResponse(String startLine) { in isSipResponse() argument
108 String[] splitLine = splitStartLineAndVerify(startLine); in isSipResponse()
213 public static String[] splitStartLineAndVerify(String startLine) { in splitStartLineAndVerify() argument
214 String[] splitLine = startLine.split(" ", 3); in splitStartLineAndVerify()
273 private static boolean isStartLineMalformed(String[] startLine) { in isStartLineMalformed() argument
274 if (startLine == null || startLine.length == 0) { in isStartLineMalformed()
280 return (startLine.length != 3); in isStartLineMalformed()
/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutBlocksTest.java72 private void update(int startLine, int endLine, int newLineCount) { in update() argument
74 + newLineCount - endLine + startLine; in update()
78 dl.updateBlocks(startLine, endLine, newLineCount); in update()
/frameworks/base/core/java/android/text/
DDynamicLayout.java756 int startLine = blockIndex == 0 ? 0 : (mBlockEndLines[blockIndex - 1] + 1); in updateAlwaysNeedsToBeRedrawn() local
758 for (int i = startLine; i <= endLine; i++) { in updateAlwaysNeedsToBeRedrawn()
814 public void updateBlocks(int startLine, int endLine, int newLineCount) { in updateBlocks() argument
823 if (mBlockEndLines[i] >= startLine) { in updateBlocks()
836 final boolean createBlockBefore = startLine > (firstBlock == 0 ? 0 : in updateBlocks()
896 final int deltaLines = newLineCount - (endLine - startLine + 1); in updateBlocks()
911 mBlockEndLines[blockIndex] = startLine - 1; in updateBlocks()
918 mBlockEndLines[blockIndex] = startLine + newLineCount - 1; in updateBlocks()
DLayout.java367 int startLine = getLineForOffset(sp.getSpanStart(spans[n])); in getJustifyWidth() local
368 if (lineNum < startLine + count) { in getJustifyWidth()
491 int startLine = getLineForOffset(sp.getSpanStart(spans[n])); in drawText() local
494 if (lineNum < startLine + count) { in drawText()
/frameworks/base/tools/codegen/src/com/android/codegen/
DUtils.kt110 val TypeDeclaration<*>.startLine get() = range.get()!!.begin.line constant
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java662 final int startLine = tv.getLayout().getLineForOffset(startOffset); in dragDownUntilLineChange() local
676 if (tv.getLayout().getLineForOffset(tv.getSelectionStart()) > startLine) { in dragDownUntilLineChange()
682 tv.getLayout().getLineForOffset(tv.getSelectionStart())).isGreaterThan(startLine); in dragDownUntilLineChange()