Home
last modified time | relevance | path

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

12345678910

/frameworks/support/samples/SupportLeanbackDemos/
Dgeneratev4.py25 def replace_xml_head(line, name): argument
32 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
33 line = line.replace('android.app.Activity', 'androidx.fragment.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', 'androidx.fragment.app.Fragment') variable
46 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
47 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment') variable
48 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity') variable
[all …]
/frameworks/support/leanback/src/androidTest/
Dgeneratev4.py42 line = line.replace('{}SupportFragment'.format(w), '{}Fragment'.format(w)) variable
43 line = line.replace('androidx.fragment.app.FragmentActivity', 'android.app.Activity') variable
44 line = line.replace('androidx.fragment.app.Fragment', 'android.app.Fragment') variable
45 line = line.replace('FragmentActivity getActivity()', 'Activity getActivity()') variable
65 line = line.replace('{}SupportFragment'.format(w), '{}Fragment'.format(w)) variable
67line = line.replace('{}SupportFragmentTestBase'.format(w), '{}FragmentTestBase'.format(w)) variable
68line = line.replace('{}SupportFragmentTestActivity'.format(w), '{}FragmentTestActivity'.format(w)) variable
69 line = line.replace('{}TestSupportFragment'.format(w), '{}TestFragment'.format(w)) variable
70 line = line.replace('androidx.fragment.app.FragmentActivity', 'android.app.Activity') variable
71 line = line.replace('androidx.fragment.app.Fragment', 'android.app.Fragment') variable
[all …]
/frameworks/support/leanback/
Dgeneratef.py35 line = line.replace('IS_FRAMEWORK_FRAGMENT = false', 'IS_FRAMEWORK_FRAGMENT = true'); variable
37 line = line.replace('{}SupportFragment'.format(w2), '{}Fragment'.format(w2)) variable
38 line = line.replace('androidx.fragment.app.FragmentActivity', 'android.app.Activity') variable
39 line = line.replace('androidx.fragment.app.Fragment', 'android.app.Fragment') variable
40 line = line.replace('activity.getSupportFragmentManager()', 'activity.getFragmentManager()') variable
41 line = line.replace('FragmentActivity activity', 'Activity activity') variable
42 line = line.replace('(FragmentActivity', '(Activity') variable
44line = re.sub(r'([^\.])getContext\(\)', r'\1FragmentUtil.getContext({}Fragment.this)'.format(w), l… variable
61 line = line.replace('androidx.fragment.app.Fragment', 'android.app.Fragment') variable
62 line = line.replace('VideoSupportFragment', 'VideoFragment') variable
[all …]
/frameworks/base/core/java/android/text/
DLayout.java688 private int getLineStartPos(int line, int left, int right) { in getLineStartPos()
840 public int getLineBounds(int line, Rect bounds) { in getLineBounds()
856 public abstract int getLineTop(int line); in getLineTop()
861 public abstract int getLineDescent(int line); in getLineDescent()
868 public abstract int getLineStart(int line); in getLineStart()
875 public abstract int getParagraphDirection(int line); in getParagraphDirection()
881 public abstract boolean getLineContainsTab(int line); in getLineContainsTab()
890 public abstract Directions getLineDirections(int line); in getLineDirections()
909 public int getHyphen(int line) { in getHyphen()
918 public int getIndentAdjust(int line, Alignment alignment) { in getIndentAdjust()
[all …]
DBoringLayout.java259 TextLine line = TextLine.obtain(); in init() local
347 TextLine line = TextLine.obtain(); in isBoring() local
367 public int getLineTop(int line) { in getLineTop()
375 public int getLineDescent(int line) { in getLineDescent()
380 public int getLineStart(int line) { in getLineStart()
388 public int getParagraphDirection(int line) { in getParagraphDirection()
393 public boolean getLineContainsTab(int line) { in getLineContainsTab()
398 public float getLineMax(int line) { in getLineMax()
403 public float getLineWidth(int line) { in getLineWidth()
408 public final Directions getLineDirections(int line) { in getLineDirections()
[all …]
DSelection.java213 int line = layout.getLineForOffset(end); in moveUp() local
231 private static void setSelectionAndMemory(Spannable text, Layout layout, int line, int end, in setSelectionAndMemory()
284 int line = layout.getLineForOffset(end); in moveDown() local
354 int line = layout.getLineForOffset(end); in extendUp() local
373 int line = layout.getLineForOffset(end); in extendDown() local
480 int line = layout.getLineForOffset(pt); in findEdge() local
528 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/ml/nn/tools/
Dsync_enums_to_hal.py61 def handle_line(self, line): argument
106 def handle_line(self, line): argument
139 def handle_line(self, line): argument
179 def handle_line(self, line): argument
215 line = line.replace("ANEURALNETWORKS_", "") variable
/frameworks/base/cmds/incident_helper/src/
Dih_util.cpp62 static void split(const std::string& line, std::vector<std::string>& words, in split()
81 header_t parseHeader(const std::string& line, const std::string& delimiters) { in parseHeader()
88 record_t parseRecord(const std::string& line, const std::string& delimiters) { in parseRecord()
95 bool getColumnIndices(std::vector<int>& indices, const char** headerNames, const std::string& line)… in getColumnIndices()
115 record_t parseRecordByColumns(const std::string& line, const std::vector<int>& indices, const std::… in parseRecordByColumns()
169 bool stripPrefix(std::string* line, const char* key, bool endAtDelimiter) { in stripPrefix()
190 bool stripSuffix(std::string* line, const char* key, bool endAtDelimiter) { in stripSuffix()
211 std::string behead(std::string* line, const char cut) { in behead()
248 bool Reader::readLine(std::string* line) { in readLine()
/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/cmds/incident_helper/tests/
Dih_util_test.cpp161 string line; in TEST() local
178 string line; in TEST() local
190 string line; in TEST() local
202 string line; in TEST() local
210 string line; in TEST() 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/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/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()
/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/native/services/vr/performanced/
Dtask.cpp93 for (std::string line; std::getline(file_stream, line);) { in GetStatusField() local
117 for (std::string line; std::getline(file_stream, line);) { in ReadStatusFields() local
156 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/av/media/libaudioclient/tests/
Dtest_create_utils.cpp26 int readLine(FILE *inputFile, char *line, int size) { in readLine()
47 char line[MAX_INPUT_FILE_LINE_LENGTH]; in checkVersion() local
/frameworks/base/tools/aapt/
DSourcePos.h13 int line; variable
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuSpeedReader.java70 String line; in readDelta() local
105 String line; in readAbsolute() local
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DPerfParser.java26 @Nullable String parseLine(String line); in parseLine()
/frameworks/base/cmds/incident_helper/src/parsers/
DCpuInfoParser.cpp27 const string& line, const string& delimiter, in writeSuffixLine()
47 string line; in Parse() local
/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

12345678910