Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 77) sorted by relevance

1234

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHTML.java54 private final boolean empty; field in HTML.Element
68 public Element(String name, int type, boolean empty, in Element() argument
74 this.empty = empty; in Element()
83 public Element(String name, int type, boolean empty, in Element() argument
85 this(name, type, empty, optionalEndTag, breaksFlow, Flow.NONE); in Element()
100 return empty; in isEmpty()
/packages/apps/Tag/src/com/android/apps/tag/
DTagViewer.java85 TextView empty = (TextView) inflater.inflate(R.layout.tag_text, content, false); in buildTagViews() local
86 empty.setText(R.string.tag_empty); in buildTagViews()
87 content.addView(empty); in buildTagViews()
96 TextView empty = (TextView) inflater.inflate(R.layout.tag_text, content, false); in buildTagViews() local
97 empty.setText(R.string.tag_empty); in buildTagViews()
98 content.addView(empty); in buildTagViews()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DCollectionUtilsTests.java70 final ArrayList<String> empty = new ArrayList<>(); in testArrayAsList() local
71 assertEquals(empty, CollectionUtils.arrayAsList(new String[] {}, 0, 0)); in testArrayAsList()
73 assertEquals(empty, CollectionUtils.arrayAsList(array, 0, 0)); in testArrayAsList()
74 assertEquals(empty, CollectionUtils.arrayAsList(array, 1, 1)); in testArrayAsList()
75 assertEquals(empty, CollectionUtils.arrayAsList(array, array.length, array.length)); in testArrayAsList()
/packages/apps/Launcher2/src/com/android/launcher2/
DFolder.java574 private void realTimeReorder(int[] empty, int[] target) { in realTimeReorder() argument
581 if (readingOrderGreaterThan(target, empty)) { in realTimeReorder()
582 wrap = empty[0] >= mContent.getCountX() - 1; in realTimeReorder()
583 startY = wrap ? empty[1] + 1 : empty[1]; in realTimeReorder()
585 startX = y == empty[1] ? empty[0] + 1 : 0; in realTimeReorder()
589 if (mContent.animateChildToPosition(v, empty[0], empty[1], in realTimeReorder()
591 empty[0] = x; in realTimeReorder()
592 empty[1] = y; in realTimeReorder()
599 wrap = empty[0] == 0; in realTimeReorder()
600 startY = wrap ? empty[1] - 1 : empty[1]; in realTimeReorder()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md263 values -> non-empty-values | ε
264 non-empty-values -> value addition-values
265 addition-values -> ε | , non-empty-values
266 members -> non-empty-members | ε
267 non-empty-members -> member addition-members
268 addition-members -> ε | , non-empty-members
293 | non-empty-members | STRING |
294 | non-empty-values | STRING NUMBER NULL BOOLEAN { [ |
304 | non-empty-values | ] |
307 | non-empty-members | } |
[all …]
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/header/
Dheader_read_write_utils_test.cpp33 EXPECT_TRUE(vector.empty()); in TEST()
63 EXPECT_TRUE(HeaderReadWriteUtils::readCodePointVectorAttributeValue(&attributeMap, "").empty()); in TEST()
65 &attributeMap, "abc").empty()); in TEST()
69 &attributeMap, "abc").empty()); in TEST()
/packages/inputmethods/LatinIME/native/jni/tests/utils/
Dint_array_view_test.cpp78 EXPECT_TRUE(intArrayView.limit(0).empty()); in TEST()
93 EXPECT_TRUE(intArrayView.skip(intVector.size()).empty()); in TEST()
94 EXPECT_TRUE(intArrayView.skip(intVector.size() + 1).empty()); in TEST()
155 EXPECT_TRUE(IntArrayView().split(0, 0).empty()); in TEST()
159 EXPECT_TRUE(intArrayViews[0].empty()); in TEST()
164 EXPECT_TRUE(intArrayViews[0].empty()); in TEST()
/packages/apps/Gallery2/src/com/android/photos/
DMultiSelectGridFragment.java283 View empty = root.findViewById(android.R.id.empty); in ensureGrid() local
284 if (empty != null && empty instanceof TextView) { in ensureGrid()
285 mEmptyView = (TextView) empty; in ensureGrid()
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
Dutf8_utils_test.cpp59 EXPECT_TRUE(Utf8Utils::getCodePoints("\xC0\xAF").empty()); in TEST()
60 EXPECT_TRUE(Utf8Utils::getCodePoints("\xE0\x80\xAF").empty()); in TEST()
61 EXPECT_TRUE(Utf8Utils::getCodePoints("\xF0\x80\x80\xAF").empty()); in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dprettywriter.h97 bool empty = Base::level_stack_.template Pop<typename Base::Level>(1)->valueCount == 0; variable
99 if (!empty) {
121 bool empty = Base::level_stack_.template Pop<typename Base::Level>(1)->valueCount == 0; variable
123 if (!empty) {
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
Dsuggestion_results.cpp28 while (!mSuggestedWords.empty()) { in outputSuggestions()
85 while (!copyOfSuggestedWords.empty()) { in getSortedScores()
96 while (!copyOfSuggestedWords.empty()) { in dumpSuggestions()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DFlipperDreamSettings.java121 View empty = findViewById(R.id.spinner); in showApology() local
123 if (empty != null && sorry != null) { in showApology()
124 empty.setVisibility(apologize ? View.GONE : View.VISIBLE); in showApology()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dint_array_view.h76 AK_FORCE_INLINE bool empty() const { in empty() function
119 if (empty()) { in firstOrDefault()
126 if (empty()) { in lastOrDefault()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnSettingsActivity.java169 TextView empty = (TextView) getView().findViewById(android.R.id.empty); in onActivityCreated() local
170 if (empty != null) { in onActivityCreated()
171 empty.setText(R.string.apn_settings_not_available); in onActivityCreated()
172 lv.setEmptyView(empty); in onActivityCreated()
/packages/apps/Launcher3/src/com/android/launcher3/
DFolderPagedView.java541 public void realTimeReorder(int empty, int target) { in realTimeReorder() argument
555 int pagePosE = empty % mMaxItemsPerPage; in realTimeReorder()
556 int pageE = empty / mMaxItemsPerPage; in realTimeReorder()
562 if (target == empty) { in realTimeReorder()
565 } else if (target > empty) { in realTimeReorder()
571 moveStart = empty; in realTimeReorder()
589 moveStart = empty; in realTimeReorder()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dtrie_map_test.cpp214 EXPECT_TRUE(firstLevelEntries.empty()); in TEST()
216 EXPECT_TRUE(secondLevelEntry.second.empty()); in TEST()
220 EXPECT_TRUE(thirdLevelEntry.second.empty()); in TEST()
248 EXPECT_TRUE(testKeyValuePairs.empty()); in TEST()
/packages/apps/Nfc/nci/jni/
DDataQueue.cpp55 while (mQueue.empty() == false) in ~DataQueue()
68 bool retval = mQueue.empty(); in isEmpty()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_and_options.h53 return it != mArguments.end() && !it->second.empty(); in hasArgument()
58 ASSERT(it != mArguments.end() && !it->second.empty()); in getSingleArgument()
Darguments_parser.cpp81 if (spec.needsValue() && !spec.getDefaultValue().empty()) { in printUsage()
103 if (optionSpec.needsValue() && !optionSpec.getDefaultValue().empty()) { in parseArguments()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_priority_queue.h58 while (!mDicNodesQueue.empty()) { in clearAndResize()
83 if (mDicNodesQueue.empty()) { in copyPop()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSearchActivityView.java396 boolean empty = s.length() == 0; in afterTextChanged()
397 if (empty != mQueryWasEmpty) { in afterTextChanged()
398 mQueryWasEmpty = empty; in afterTextChanged()
399 updateUi(empty); in afterTextChanged()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp307 if (!prevWordIds.empty()) { in getWordAttributesInContext()
352 if (!prevWordIds.empty()) { in getProbabilityOfWord()
370 if (prevWordIds.empty()) { in iterateNgramEntries()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp143 if (it->first.empty() || it->second.empty()) { in writeHeaderAttributes()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp139 if (prevWordIds.empty()) { in iterateNgramEntries()
295 if (prevWordIds.empty()) { in addNgramEntry()
356 if (prevWordIds.empty() || prevWordIds.contains(NOT_A_WORD_ID)) { in removeNgramEntry()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_updating_helper.cpp87 if (prevWordsPtNodePos.empty()) { in addNgramEntry()
104 if (prevWordsPtNodePos.empty()) { in removeNgramEntry()

1234