/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Folder.java | 574 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/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
D | HTML.java | 54 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()
|
D | HTML4.java | 111 boolean empty = false; in addElement() 116 case 'E': empty = true; break; in addElement() 122 HTML.Element element = new HTML.Element(tag, type, empty, optionalEndTag, breaksFlow, flow); in addElement()
|
/packages/apps/Tag/src/com/android/apps/tag/ |
D | TagViewer.java | 85 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/native/jni/tests/utils/ |
D | int_array_view_test.cpp | 78 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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | CollectionUtilsTests.java | 70 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/Launcher3/src/com/android/launcher3/ |
D | FolderPagedView.java | 529 public void realTimeReorder(int empty, int target) { in realTimeReorder() argument 543 int pagePosE = empty % mMaxItemsPerPage; in realTimeReorder() 544 int pageE = empty / mMaxItemsPerPage; in realTimeReorder() 550 if (target == empty) { in realTimeReorder() 553 } else if (target > empty) { in realTimeReorder() 559 moveStart = empty; in realTimeReorder() 577 moveStart = empty; in realTimeReorder()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | MultiSelectGridFragment.java | 283 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/jni/tests/dictionary/header/ |
D | header_read_write_utils_test.cpp | 33 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/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApnSettingsActivity.java | 169 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/Settings/src/com/android/settings/ |
D | ApnSettings.java | 182 TextView empty = (TextView) getView().findViewById(android.R.id.empty); in onActivityCreated() local 183 if (empty != null) { in onActivityCreated() 184 empty.setText(R.string.apn_settings_not_available); in onActivityCreated() 185 getListView().setEmptyView(empty); in onActivityCreated()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/ |
D | utf8_utils_test.cpp | 59 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/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | trie_map_test.cpp | 214 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/Browser/src/com/android/browser/ |
D | BrowserSnapshotPage.java | 95 mEmpty = view.findViewById(android.R.id.empty); in onCreateView() 146 boolean empty = mAdapter.isEmpty(); in onLoadFinished() 147 mGrid.setVisibility(empty ? View.GONE : View.VISIBLE); in onLoadFinished() 148 mEmpty.setVisibility(empty ? View.VISIBLE : View.GONE); in onLoadFinished()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
D | suggestion_results.cpp | 28 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/ |
D | FlipperDreamSettings.java | 121 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/ |
D | int_array_view.h | 76 AK_FORCE_INLINE bool empty() const { in empty() function 119 if (empty()) { in firstOrDefault() 126 if (empty()) { in lastOrDefault()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | SearchActivityView.java | 396 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/ |
D | patricia_trie_policy.cpp | 307 if (!prevWordIds.empty()) { in getWordAttributesInContext() 352 if (!prevWordIds.empty()) { in getProbabilityOfWord() 370 if (prevWordIds.empty()) { in iterateNgramEntries()
|
/packages/apps/Nfc/nci/jni/ |
D | DataQueue.cpp | 55 while (mQueue.empty() == false) in ~DataQueue() 68 bool retval = mQueue.empty(); in isEmpty()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | arguments_and_options.h | 53 return it != mArguments.end() && !it->second.empty(); in hasArgument() 58 ASSERT(it != mArguments.end() && !it->second.empty()); in getSingleArgument()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 139 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/suggest/core/dicnode/ |
D | dic_node_priority_queue.h | 58 while (!mDicNodesQueue.empty()) { in clearAndResize() 83 if (mDicNodesQueue.empty()) { in copyPop()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 131 if (!prevWordIds.empty()) { in getWordAttributesInContext() 170 if (prevWordIds.empty()) { in getProbabilityOfWord() 370 if (prevWordIds.empty()) { in addNgramEntry()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainActivity.java | 227 boolean empty = adapter.mAliases.isEmpty(); in displayCertChooserDialog() 228 int negativeLabel = empty ? android.R.string.cancel : R.string.deny_button; in displayCertChooserDialog() 237 if (empty) { in displayCertChooserDialog()
|