Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 6 of 6) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DWindowSurface.java109 float adjDelta(float cur, float minStep, float maxStep) { in adjDelta() argument
110 cur += (Math.random()*minStep) - (minStep/2); in adjDelta()
111 if (cur < 0 && cur > -minStep) cur = -minStep; in adjDelta()
112 if (cur >= 0 && cur < minStep) cur = minStep; in adjDelta()
113 if (cur > maxStep) cur = maxStep; in adjDelta()
114 if (cur < -maxStep) cur = -maxStep; in adjDelta()
115 return cur; in adjDelta()
/development/vndk/tools/sourcedr/ninja/
Dlist_source_file.py54 cur = stack.pop()
56 if not out_dir_pattern.match(cur):
57 source_files.append(cur)
59 build = graph.get(cur)
/development/vndk/tools/header-checker/tests/input/
Dexample1.h77 StackNode<T>* cur = head_; in pop() local
78 head_ = cur->next_; in pop()
79 T res = static_cast<T&&>(cur->value_); in pop()
80 delete cur; in pop() local
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetwork.java627 String cur = tok.nextToken(); in commandLineSplit() local
628 if (!insideQuote && cur.startsWith("\"")) { in commandLineSplit()
630 quotedWord.append(replaceQuotedChars(cur)); in commandLineSplit()
634 if (cur.endsWith("\"")) { in commandLineSplit()
636 quotedWord.append(" ").append(replaceQuotedChars(cur)); in commandLineSplit()
642 quotedWord.append(" ").append(replaceQuotedChars(cur)); in commandLineSplit()
645 result.add(replaceQuotedChars(cur)); in commandLineSplit()
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DPduParser.java1539 int cur = (temp & 0xFF); in parseContentType() local
1541 if (cur < TEXT_MIN) { in parseContentType()
1576 } else if (cur <= TEXT_MAX) { in parseContentType()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv32043 …xternal/libxml2,fake_FwcE4Ii6SVaHOKH9KINc-A@fakeemail.com,error.c: *input->cur == 0 does not mean …
58239 …m/external/mesa3d,fake_j7Gvmzz5R9enluN8uGOkJg@fakeemail.com,i965/cfg: Remove ip & cur from brw_cfg.