Searched refs:empty (Results 1 - 25 of 269) sorted by last modified time

1234567891011

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DAdapterViewCompat.java196 * Represents an empty or invalid row id
213 * determining the focusable state (such as whether its empty or the text
385 * or when the adapter becomes empty.
658 * Sets the view to show if the adapter is empty
664 final boolean empty = ((adapter == null) || adapter.isEmpty());
665 updateEmptyStatus(empty);
669 * When the current adapter is empty, the AdapterView can display a special view
670 * call the empty view. The empty view is used to provide feedback to the user
673 * @return The view to show if the adapter is empty
734 updateEmptyStatus(boolean empty) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java580 // If the query is not empty and submit is requested, submit the query
669 * Enables showing a submit button when the query is non-empty. In cases where the SearchView
1092 * @param empty whether the search query text field is empty. If it is, then the other
1095 private void updateVoiceButton(boolean empty) { argument
1097 if (mVoiceButtonEnabled && !isIconified() && empty) {
1475 // when it's time to do the search. We always build it here (even if empty)
1590 * Callback to watch the text field for empty/non-empty
1638 * Returns true if the text field is empty, o
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialog.java156 mListView.setEmptyView(findViewById(android.R.id.empty));
/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DDiskBasedCacheTest.java103 Map<String, String> empty = new HashMap<String, String>();
104 DiskBasedCache.writeStringStringMap(empty, baos);
117 assertEquals(DiskBasedCache.readStringStringMap(bais), empty);
118 assertEquals(DiskBasedCache.readStringStringMap(bais), empty); // null reads back empty
/frameworks/wilhelm/src/android/
H A DVideoCodec_to_android.cpp79 if (VideoDecoderCapabilities[m].empty()) {
136 if (!VideoDecoderCapabilities[m].empty()) {
H A Dandroid_StreamPlayer.cpp198 if (!mAvailableBuffers.empty()) {
262 if (!mAvailableBuffers.empty()) {
272 } else { // empty queue
273 SL_LOGD("ABQ empty, starving!");
/frameworks/wilhelm/src/desktop/
H A DSndFile.c194 SLboolean empty = 0 == audioPlayer->mBufferQueue.mState.count; local
215 empty = SL_BOOLEAN_TRUE;
228 if (empty) {
/frameworks/rs/api/
H A Dgen_runtime.cpp111 // If non empty, the mininum and maximum values to be used when generating the test data.
114 /* If non empty, contains the name of another parameter that should be smaller or equal to this
617 if (!specName.empty()) {
625 if (!specName.empty()) {
639 if (!option.empty()) {
1042 // eat empty line
1137 if (!s.empty() && s != "void") {
1193 if (!mComment[ct].empty()) {
1236 if (!p.specName.empty()) {
1449 if (!p.isOutParameter && !p.smallerParameter.empty()) {
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DListFragment.java79 * have a sibling view id {@link android.R.id#empty android.R.id.empty}
80 * that is to be shown when the list is empty.
228 * be shown when the list is empty. If you would like to have it
335 mEmptyView = root.findViewById(android.R.id.empty);
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DInputStreamBuffer.java202 boolean empty = false;
214 empty = true;
219 empty = true;
222 if (empty) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedGsmCallState.java180 int empty = -1;
187 if (call == null && empty < 0) {
188 empty = i;
201 if (empty < 0 ) {
206 mCalls[empty] = CallInfo.createIncomingCall(
210 mCalls[empty].mState = CallInfo.State.WAITING;
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java595 boolean empty = true;
604 if (!empty) {
607 empty = false;
616 if (!empty) {
619 empty = false;
1874 * last one which does not have valid values (not including empty but only
1920 // Not use TextUtils.isEmpty() since ORG was set but the elements might be empty.
1921 // e.g. "ORG;PREF:;" -> Both companyName and departmentName become empty but not null.
1940 * does not have valid title value (not including empty but only null). If
2508 * does not mean an original vCard is really empty
[all...]
/frameworks/native/include/input/
H A DKeyCharacterMap.h82 /* Returns an empty key character map. */
83 static sp<KeyCharacterMap> empty();
/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp59 // Check if the queue is empty.
62 if (mCore->mQueue.empty()) {
H A DBufferQueueProducer.cpp218 // our slots are empty but we have many buffers in the queue. This can
619 if (mCore->mQueue.empty()) {
620 // When the queue is empty, we can ignore mDequeueBufferCannotBlock
625 // When the queue is not empty, we need to look at the front buffer
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp199 sp<KeyCharacterMap> KeyCharacterMap::empty() { function in class:android::KeyCharacterMap
H A DKeyboard.cpp73 if (probeKeyMap(deviceIdenfifier, String8::empty())) {
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp178 dump.append("<empty>");
282 // The inbound queue is empty so the app switch key we were waiting
1139 // for the specified display then our initial state will be empty.
1697 return String8::empty();
1825 // If the outbound queue was previously empty, start the dispatch cycle going.
2004 "This is unexpected because the wait queue is empty, so the pipe "
2005 "should be empty and we shouldn't have any problems writing an "
3187 dump.append(INDENT "RecentQueue: <empty>\n");
3211 dump.append(INDENT "InboundQueue: <empty>\n");
3223 dump.append(INDENT "ReplacedKeys: <empty>\
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp204 return String8::empty();
228 ASSERT_FALSE(mNotifyConfigurationChangedArgsQueue.empty())
238 ASSERT_FALSE(mNotifyDeviceResetArgsQueue.empty())
247 ASSERT_FALSE(mNotifyKeyArgsQueue.empty())
256 ASSERT_TRUE(mNotifyKeyArgsQueue.empty())
261 ASSERT_FALSE(mNotifyMotionArgsQueue.empty())
270 ASSERT_TRUE(mNotifyMotionArgsQueue.empty())
275 ASSERT_FALSE(mNotifySwitchArgsQueue.empty())
466 << "Expected the event queue to be empty (fully consumed).";
566 if (mEvents.empty()) {
[all...]
/frameworks/native/services/surfaceflinger/
H A DDispSync.cpp191 return !mEventListeners.empty();
H A DLayer.cpp176 if (mQueueItems.empty()) {
177 ALOGE("Can't replace a frame on an empty queue");
279 // if we don't have a buffer yet, we use an empty/invalid crop
1048 return mQueueItems.empty() ?
H A DSurfaceFlinger.cpp1019 bool empty = mDisplays[dpy]->getVisibleLayersSortedByZ().size() == 0; local
1030 bool mustRecompose = dirty && !(empty && wasEmpty);
1036 empty ? "+" : "-",
1042 mDisplays[dpy]->lastCompositionHadVisibleLayers = !empty;
1603 // handle hidden surfaces by setting the visible region to empty
1738 if (frameQueued && layersWithQueuedFrames.empty()) {
1743 return !layersWithQueuedFrames.empty();
1758 // 2) There is work to be done (the dirty region isn't empty)
1844 // (common case is that letterbox ends-up being empty)
2803 case 1006:{ // send empty updat
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DInputStreamBuffer.java202 boolean empty = false;
214 empty = true;
219 empty = true;
222 if (empty) {
/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h46 if (m_Stack.empty()) { // reach the end
81 if (m_Queue.empty()) { // reach the end
341 bool empty() const { function in class:mcld::BinaryTreeBase
342 return m_Root.empty();
461 if (!pTree.empty()) {
H A DHashBase.h85 bool empty() const;

Completed in 3541 milliseconds

1234567891011