/frameworks/base/core/java/android/widget/ |
D | Filter.java | 85 public final void filter(CharSequence constraint) { in filter() argument 86 filter(constraint, null); in filter() 103 public final void filter(CharSequence constraint, FilterListener listener) { in filter() argument 112 final long delay = (mDelayer == null) ? 0 : mDelayer.getPostingDelay(constraint); in filter() 119 args.constraint = constraint != null ? constraint.toString() : null; in filter() 148 protected abstract FilterResults performFiltering(CharSequence constraint); in performFiltering() argument 162 protected abstract void publishResults(CharSequence constraint, in publishResults() argument 236 args.results = performFiltering(args.constraint); in handleMessage() 284 publishResults(args.constraint, args.results); in handleMessage() 300 CharSequence constraint; field in Filter.RequestArguments [all …]
|
D | CursorFilter.java | 33 Cursor runQueryOnBackgroundThread(CharSequence constraint); in runQueryOnBackgroundThread() argument 48 protected FilterResults performFiltering(CharSequence constraint) { in performFiltering() argument 49 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint); in performFiltering() 63 protected void publishResults(CharSequence constraint, FilterResults results) { in publishResults() argument
|
D | SuggestionsAdapter.java | 132 public long getPostingDelay(CharSequence constraint) { in SuggestionsAdapter() 133 if (constraint == null) return 0; in SuggestionsAdapter() 135 long delay = constraint.length() < mPreviousLength ? DELETE_KEY_POST_DELAY : 0; in SuggestionsAdapter() 136 mPreviousLength = constraint.length(); in SuggestionsAdapter() 179 public Cursor runQueryOnBackgroundThread(CharSequence constraint) { in runQueryOnBackgroundThread() argument 180 if (DBG) Log.d(LOG_TAG, "runQueryOnBackgroundThread(" + constraint + ")"); in runQueryOnBackgroundThread() 181 String query = (constraint == null) ? "" : constraint.toString(); in runQueryOnBackgroundThread()
|
D | FilterQueryProvider.java | 41 Cursor runQuery(CharSequence constraint); in runQuery() argument
|
D | CursorAdapter.java | 437 public Cursor runQueryOnBackgroundThread(CharSequence constraint) { in runQueryOnBackgroundThread() argument 439 return mFilterQueryProvider.runQuery(constraint); in runQueryOnBackgroundThread()
|
D | CursorTreeAdapter.java | 350 public Cursor runQueryOnBackgroundThread(CharSequence constraint) { in runQueryOnBackgroundThread() argument 352 return mFilterQueryProvider.runQuery(constraint); in runQueryOnBackgroundThread()
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | BaseEmailAddressAdapter.java | 105 public CharSequence constraint; field in BaseEmailAddressAdapter.DirectoryPartition 165 protected FilterResults performFiltering(CharSequence constraint) { in performFiltering() argument 175 if (!TextUtils.isEmpty(constraint)) { in performFiltering() 177 .appendPath(constraint.toString()) in performFiltering() 193 protected void publishResults(CharSequence constraint, FilterResults results) { in publishResults() argument 196 onDirectoryLoadFinished(constraint, cursors[0], cursors[1]); in publishResults() 229 protected FilterResults performFiltering(CharSequence constraint) { in performFiltering() argument 231 if (!TextUtils.isEmpty(constraint)) { in performFiltering() 233 .appendPath(constraint.toString()) in performFiltering() 246 protected void publishResults(CharSequence constraint, FilterResults results) { in publishResults() argument [all …]
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | BaseRecipientAdapter.java | 113 public CharSequence constraint; field in BaseRecipientAdapter.DirectorySearchParams 229 protected FilterResults performFiltering(CharSequence constraint) { in performFiltering() argument 231 Log.d(TAG, "start filtering. constraint: " + constraint + ", thread:" in performFiltering() 237 if (TextUtils.isEmpty(constraint)) { in performFiltering() 264 defaultDirectoryCursor = doQuery(constraint, mPreferredMaxResultCount, in performFiltering() 310 protected void publishResults(final CharSequence constraint, FilterResults results) { in publishResults() argument 311 mCurrentConstraint = constraint; in publishResults() 331 startSearchOtherDirectories(constraint, defaultFilterResult.paramsList, limit); in publishResults() 411 protected FilterResults performFiltering(CharSequence constraint) { in performFiltering() argument 414 + ", constraint: " + constraint + ", thread: " + Thread.currentThread()); in performFiltering() [all …]
|
D | DropdownChipLayouter.java | 107 AdapterType type, String constraint) { in bindView() argument 108 return bindView(convertView, parent, entry, position, type, constraint, null); in bindView() 118 AdapterType type, String constraint, StateListDrawable deleteDrawable) { in bindView() argument 120 CharSequence[] styledResults = getStyledResults(constraint, entry); in bindView() 469 protected CharSequence[] getStyledResults(@Nullable String constraint, RecipientEntry entry) { in getStyledResults() argument 470 return getStyledResults(constraint, entry.getDisplayName(), entry.getDestination()); in getStyledResults() 485 protected CharSequence[] getStyledResults(@Nullable String constraint, String... results) { in getStyledResults() argument 486 if (isAllWhitespace(constraint)) { in getStyledResults() 499 int index = result.toLowerCase().indexOf(constraint.toLowerCase()); in getStyledResults() 506 index, index + constraint.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in getStyledResults()
|
/frameworks/base/startop/view_compiler/ |
D | layout_validation_test.cc | 44 <android.support.constraint.ConstraintLayout 80 </android.support.constraint.ConstraintLayout>)"; 105 <android.support.constraint.ConstraintLayout 119 </android.support.constraint.ConstraintLayout>)"; 125 <android.support.constraint.ConstraintLayout 140 </android.support.constraint.ConstraintLayout>)";
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneFilterTypeAdapter.java | 64 String constraint; field in TimeZoneFilterTypeAdapter.FilterTypeResult 67 public FilterTypeResult(int type, String constraint, int time) { in FilterTypeResult() argument 69 this.constraint = constraint; in FilterTypeResult() 75 return constraint; in toString() 130 vh.str = filter.constraint; in getView() 132 vh.strTextView.setText(filter.constraint); in getView() 400 protected void publishResults(CharSequence constraint, FilterResults in publishResults() argument 405 if (TextUtils.isEmpty(constraint)) { in publishResults() 413 Log.d(TAG, "publishResults: " + results.count + " of null [" + constraint); in publishResults() 419 + " [" + constraint); in publishResults()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/ |
D | BluetoothConstraintTest.java | 117 BluetoothConstraint constraint = mConstraint; in testStartMonitoring_updatesActiveAtCorrectTimes() local 119 verify(mContext, never()).registerReceiver(eq(constraint.mReceiver), any()); in testStartMonitoring_updatesActiveAtCorrectTimes() 125 constraint.startMonitoring(); in testStartMonitoring_updatesActiveAtCorrectTimes() 130 constraint.mReceiver.onReceive( in testStartMonitoring_updatesActiveAtCorrectTimes() 132 constraint.startMonitoring(); in testStartMonitoring_updatesActiveAtCorrectTimes() 136 constraint.stopMonitoring(); in testStartMonitoring_updatesActiveAtCorrectTimes() 137 verify(mContext, times(1)).unregisterReceiver(eq(constraint.mReceiver)); in testStartMonitoring_updatesActiveAtCorrectTimes()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonEmulation.cpp | 27 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateHexagonELF() 28 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateHexagonELF() 29 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateHexagonELF()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64Emulation.cpp | 27 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateAArch64ELF() 28 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateAArch64ELF() 29 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateAArch64ELF()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMEmulation.cpp | 26 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateARMELF() 27 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateARMELF() 28 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateARMELF()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsEmulation.cpp | 30 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateMipsELF() 31 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateMipsELF() 32 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateMipsELF()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86Emulation.cpp | 35 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateX86ELF() 36 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateX86ELF() 37 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateX86ELF()
|
/frameworks/compile/mclinker/include/mcld/ |
D | AttributeOption.h | 23 const AttrConstraint& constraint() const { return m_Constraint; } in constraint() function 24 AttrConstraint& constraint() { return m_Constraint; } in constraint() function
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | StateController.java | 115 protected boolean wouldBeReadyWithConstraintLocked(JobStatus jobStatus, int constraint) { in wouldBeReadyWithConstraintLocked() argument 117 final boolean jobWouldBeReady = jobStatus.wouldBeReadyWithConstraint(constraint); in wouldBeReadyWithConstraintLocked() 120 + " constraint=" + constraint in wouldBeReadyWithConstraintLocked()
|
D | JobStatus.java | 1019 boolean setConstraintSatisfied(int constraint, boolean state) { in setConstraintSatisfied() argument 1020 boolean old = (satisfiedConstraints&constraint) != 0; in setConstraintSatisfied() 1024 satisfiedConstraints = (satisfiedConstraints&~constraint) | (state ? constraint : 0); in setConstraintSatisfied() 1026 if (STATS_LOG_ENABLED && (STATSD_CONSTRAINTS_TO_LOG & constraint) != 0) { in setConstraintSatisfied() 1028 sourceUid, null, getBatteryName(), getProtoConstraint(constraint), in setConstraintSatisfied() 1035 boolean isConstraintSatisfied(int constraint) { in isConstraintSatisfied() argument 1036 return (satisfiedConstraints&constraint) != 0; in isConstraintSatisfied() 1070 boolean wouldBeReadyWithConstraint(int constraint) { in wouldBeReadyWithConstraint() argument 1073 switch (constraint) { in wouldBeReadyWithConstraint() 1091 satisfied |= constraint; in wouldBeReadyWithConstraint() [all …]
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.cpp | 335 const SkPaint* paint, SkCanvas::SrcRectConstraint constraint, in DrawImageRect() 337 : image(std::move(image)), dst(dst), constraint(constraint), palette(palette) { in DrawImageRect() 346 SkCanvas::SrcRectConstraint constraint; member 349 c->drawImageRect(image.get(), src, dst, &paint, constraint); in draw() 623 SkCanvas::SrcRectConstraint constraint, BitmapPalette palette) { in drawImageRect() argument 624 this->push<DrawImageRect>(0, std::move(image), src, dst, paint, constraint, palette); in drawImageRect() 898 const SkPaint* paint, SrcRectConstraint constraint) { in onDrawBitmapRect() argument 899 fDL->drawImageRect(SkImage::MakeFromBitmap(bm), src, dst, paint, constraint, in onDrawBitmapRect() 914 SrcRectConstraint constraint, BitmapPalette palette) { in drawImageRect() argument 915 fDL->drawImageRect(image, &src, dst, paint, constraint, palette); in drawImageRect() [all …]
|
/frameworks/base/tools/aapt2/cmd/ |
D | Util.cpp | 123 SplitConstraints constraint; in AdjustSplitConstraintsForMinSdk() local 130 constraint.configs.insert(configToInsert); in AdjustSplitConstraintsForMinSdk() 133 constraint.name = constraints.name; in AdjustSplitConstraintsForMinSdk() 134 adjusted_constraints.push_back(std::move(constraint)); in AdjustSplitConstraintsForMinSdk()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 1524 final IDeviceIdleConstraint constraint = (IDeviceIdleConstraint) msg.obj; in handleMessage() local 1527 constraint.startMonitoring(); in handleMessage() 1529 constraint.stopMonitoring(); in handleMessage() 1762 public void onConstraintStateChanged(IDeviceIdleConstraint constraint, boolean active) { in onConstraintStateChanged() argument 1764 onConstraintStateChangedLocked(constraint, active); in onConstraintStateChanged() 1768 public void registerDeviceIdleConstraint(IDeviceIdleConstraint constraint, String name, in registerDeviceIdleConstraint() argument 1770 registerDeviceIdleConstraintInternal(constraint, name, minState); in registerDeviceIdleConstraint() 1773 public void unregisterDeviceIdleConstraint(IDeviceIdleConstraint constraint) { in unregisterDeviceIdleConstraint() argument 1774 unregisterDeviceIdleConstraintInternal(constraint); in unregisterDeviceIdleConstraint() 2151 private void registerDeviceIdleConstraintInternal(IDeviceIdleConstraint constraint, in registerDeviceIdleConstraintInternal() argument [all …]
|
/frameworks/compile/mclinker/lib/MC/ |
D | InputFactory.cpp | 25 pConfig.attribute().constraint()); in InputFactory()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | SelectPrinterActivity.java | 542 protected FilterResults performFiltering(CharSequence constraint) { in getFilter() 544 if (TextUtils.isEmpty(constraint)) { in getFilter() 549 String constraintLowerCase = constraint.toString().toLowerCase(); in getFilter() 568 protected void publishResults(CharSequence constraint, FilterResults results) { in getFilter() argument 572 mLastSearchString = constraint; in getFilter()
|