Home
last modified time | relevance | path

Searched defs:line (Results 1 – 25 of 198) sorted by relevance

12345678

/frameworks/support/samples/SupportLeanbackDemos/
Dgeneratev4.py25 def replace_xml_head(line, name): argument
32 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable
33 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable
34 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment') variable
35 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity') variable
36 line = line.replace('extends Activity', 'extends FragmentActivity') variable
45 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable
46 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable
47 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment') variable
48 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity') variable
[all …]
/frameworks/support/v17/leanback/tests/
Dgeneratev4.py42 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) variable
43 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable
44 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable
45 line = line.replace('Activity getActivity()', 'FragmentActivity getActivity()') variable
65 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) variable
67line = line.replace('{}FragmentTestBase'.format(w), '{}SupportFragmentTestBase'.format(w)) variable
68line = line.replace('{}FragmentTestActivity'.format(w), '{}SupportFragmentTestActivity'.format(w)) variable
69 line = line.replace('{}TestFragment'.format(w), '{}TestSupportFragment'.format(w)) variable
70 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable
71 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable
[all …]
/frameworks/support/v17/leanback/
Dgeneratev4.py37 line = line.replace('IS_FRAMEWORK_FRAGMENT = true', 'IS_FRAMEWORK_FRAGMENT = false'); variable
39 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) variable
40 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable
41 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable
42 line = line.replace('activity.getFragmentManager()', 'activity.getSupportFragmentManager()') variable
43 line = line.replace('Activity activity', 'FragmentActivity activity') variable
44 line = line.replace('(Activity', '(FragmentActivity') variable
45 line = re.sub(r'FragmentUtil.getContext\(.*this\)', 'getContext()', line); variable
58 line = line.replace('IS_FRAMEWORK_FRAGMENT = true', 'IS_FRAMEWORK_FRAGMENT = false'); variable
59line = line.replace('VideoSupportFragmentGlueHost'.format(w), 'VideoSupportFragmentGlueHost'.forma… variable
[all …]
/frameworks/base/core/java/android/text/
DLayout.java659 private int getLineStartPos(int line, int left, int right) { in getLineStartPos()
811 public int getLineBounds(int line, Rect bounds) { in getLineBounds()
827 public abstract int getLineTop(int line); in getLineTop()
832 public abstract int getLineDescent(int line); in getLineDescent()
839 public abstract int getLineStart(int line); in getLineStart()
846 public abstract int getParagraphDirection(int line); in getParagraphDirection()
852 public abstract boolean getLineContainsTab(int line); in getLineContainsTab()
861 public abstract Directions getLineDirections(int line); in getLineDirections()
880 public int getHyphen(int line) { in getHyphen()
889 public int getIndentAdjust(int line, Alignment alignment) { in getIndentAdjust()
[all …]
DBoringLayout.java202 TextLine line = TextLine.obtain(); in init() local
291 TextLine line = TextLine.obtain(); in isBoring() local
311 public int getLineTop(int line) { in getLineTop()
319 public int getLineDescent(int line) { in getLineDescent()
324 public int getLineStart(int line) { in getLineStart()
332 public int getParagraphDirection(int line) { in getParagraphDirection()
337 public boolean getLineContainsTab(int line) { in getLineContainsTab()
342 public float getLineMax(int line) { in getLineMax()
347 public float getLineWidth(int line) { in getLineWidth()
352 public final Directions getLineDirections(int line) { in getLineDirections()
[all …]
DDynamicLayout.java466 final int line = getLineForOffset(offset); in addBlockAtOffset() local
684 public int getLineTop(int line) { in getLineTop()
689 public int getLineDescent(int line) { in getLineDescent()
694 public int getLineStart(int line) { in getLineStart()
699 public boolean getLineContainsTab(int line) { in getLineContainsTab()
704 public int getParagraphDirection(int line) { in getParagraphDirection()
709 public final Directions getLineDirections(int line) { in getLineDirections()
727 public int getHyphen(int line) { in getHyphen()
731 private boolean getContentMayProtrudeFromTopOrBottom(int line) { in getContentMayProtrudeFromTopOrBottom()
788 public int getEllipsisStart(int line) { in getEllipsisStart()
[all …]
DSelection.java138 int line = layout.getLineForOffset(end); in moveUp() local
184 int line = layout.getLineForOffset(end); in moveDown() local
263 int line = layout.getLineForOffset(end); in extendUp() local
292 int line = layout.getLineForOffset(end); in extendDown() local
409 int line = layout.getLineForOffset(pt); in findEdge() local
457 int line = layout.getLineForOffset(off1); in chooseHorizontal() local
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V21.java71 final String line = super.readLine(); in readLine() local
83 final String line = super.readLine(); in peekLine() local
195 String line; in getNonEmptyLine() local
241 String line; in readBeginVCard() local
307 final String line = getNonEmptyLine(); in parseItem() local
364 protected VCardProperty constructPropertyData(String line) throws VCardException { in constructPropertyData()
/frameworks/wilhelm/src/
Dassert.cpp24 void __assert(const char *file, int line, const char *failedexpr) in __assert()
30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) in __assert2()
Dlocks.cpp44 void object_lock_exclusive_(IObject *thiz, const char *file, int line) in object_lock_exclusive_()
135 void object_unlock_exclusive_(IObject *thiz, const char *file, int line) in object_unlock_exclusive_()
163 const char *file, int line) in object_unlock_exclusive_attributes_()
288 void object_cond_wait_(IObject *thiz, const char *file, int line) in object_cond_wait_()
/frameworks/native/cmds/bugreportz/
Dbugreportz.cpp33 static void write_line(const std::string& line, bool show_progress) { in write_line()
46 std::string line; in bugreportz() local
/frameworks/base/tests/net/java/android/net/apf/
DBpf2Apf.java39 private static int parseImm(String line, String arg) { in parseImm()
55 private static void convertLine(String line, ApfGenerator gen) in convertLine()
321 String line = null; in main() local
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DXmlEditor.java140 String line = lines.get(endTagPosition.line); in strip() local
250 String line = lines.get(i); in replace() local
258 String line = lines.get(start.line); in replace() local
265 String line = lines.get(start.line); in replace() local
272 private static String replaceRange(String line, int start, int end, String newText) { in replaceRange()
397 private static String replaceWithSpaces(String line, int start, int end) { in replaceWithSpaces()
406 String line = lines.get(pos.line); in fixPosition() local
414 int line; field in XmlEditor.Position
417 public Position(int line, int charIndex) { in Position()
/frameworks/base/core/java/com/android/internal/alsa/
DLineTokenizer.java32 int nextToken(String line, int startIndex) { in nextToken()
45 int nextDelimiter(String line, int startIndex) { in nextDelimiter()
DAlsaDevicesParser.java66 public boolean parse(String line) { in parse()
255 private boolean isLineDeviceRecord(String line) { in isLineDeviceRecord()
266 String line = ""; in scan() local
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DLineVerifierElem.java36 public LineVerifierElem addExpected(final String line) { in addExpected()
51 final String line = lineArray[i]; in verify() local
/frameworks/base/tools/aapt2/java/
DAnnotationProcessor.cpp56 for (StringPiece line : util::Tokenize(comment, '\n')) { in AppendComment() local
71 for (StringPiece line : util::Tokenize(result, '\n')) { in WriteToStream() local
/frameworks/base/core/java/com/android/internal/os/
DKernelUidCpuFreqTimeReader.java81 String line = reader.readLine(); in readDelta() local
93 private void readTimesForUid(int uid, String line, Callback callback) { in readTimesForUid()
118 private void readCpuFreqs(String line, Callback callback) { in readCpuFreqs()
/frameworks/native/services/vr/performanced/
Dtask.cpp90 for (std::string line; std::getline(file_stream, line);) { in GetStatusField() local
114 for (std::string line; std::getline(file_stream, line);) { in ReadStatusFields() local
153 std::string line = ""; in GetCpuSetPath() local
/frameworks/base/tools/orientationplot/
Dorientationplot.py392 def _get_following_word(self, line, prefix): argument
404 def _get_following_number(self, line, prefix): argument
411 def _get_following_array_of_numbers(self, line, prefix): argument
437 def _parse_timestamp(self, line): argument
/frameworks/base/tools/aapt/
DSourcePos.h13 int line; variable
/frameworks/base/tools/velocityplot/
Dvelocityplot.py244 def _get_following_word(self, line, prefix): argument
256 def _get_following_number(self, line, prefix): argument
269 def _parse_timestamp(self, line): argument
/frameworks/av/media/libstagefright/foundation/
DParsedMessage.cpp106 AString line(&data[offset], lineEndOffset - offset); in parse() local
181 AString line; in getRequestField() local
226 AString line; in debugString() local
/frameworks/native/cmds/installd/
Dfile_parsing.h36 std::string line; in ParseFile() local
/frameworks/rs/tests/lldb/tests/harness/
DRS_funs.py1374 def build_expr(line): argument

12345678