Home
last modified time | relevance | path

Searched refs:constraint (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/widget/
DFilter.java83 public final void filter(CharSequence constraint) { in filter() argument
84 filter(constraint, null); in filter()
101 public final void filter(CharSequence constraint, FilterListener listener) { in filter() argument
110 final long delay = (mDelayer == null) ? 0 : mDelayer.getPostingDelay(constraint); in filter()
117 args.constraint = constraint != null ? constraint.toString() : null; in filter()
146 protected abstract FilterResults performFiltering(CharSequence constraint); in performFiltering() argument
160 protected abstract void publishResults(CharSequence constraint, in publishResults() argument
234 args.results = performFiltering(args.constraint); in handleMessage()
282 publishResults(args.constraint, args.results); in handleMessage()
298 CharSequence constraint; field in Filter.RequestArguments
[all …]
DCursorFilter.java33 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
DSuggestionsAdapter.java130 public long getPostingDelay(CharSequence constraint) { in SuggestionsAdapter()
131 if (constraint == null) return 0; in SuggestionsAdapter()
133 long delay = constraint.length() < mPreviousLength ? DELETE_KEY_POST_DELAY : 0; in SuggestionsAdapter()
134 mPreviousLength = constraint.length(); in SuggestionsAdapter()
176 public Cursor runQueryOnBackgroundThread(CharSequence constraint) { in runQueryOnBackgroundThread() argument
177 if (DBG) Log.d(LOG_TAG, "runQueryOnBackgroundThread(" + constraint + ")"); in runQueryOnBackgroundThread()
178 String query = (constraint == null) ? "" : constraint.toString(); in runQueryOnBackgroundThread()
DFilterQueryProvider.java41 Cursor runQuery(CharSequence constraint); in runQuery() argument
DCursorAdapter.java389 public Cursor runQueryOnBackgroundThread(CharSequence constraint) { in runQueryOnBackgroundThread() argument
391 return mFilterQueryProvider.runQuery(constraint); in runQueryOnBackgroundThread()
DCursorTreeAdapter.java350 public Cursor runQueryOnBackgroundThread(CharSequence constraint) { in runQueryOnBackgroundThread() argument
352 return mFilterQueryProvider.runQuery(constraint); in runQueryOnBackgroundThread()
DSimpleAdapter.java377 protected void publishResults(CharSequence constraint, FilterResults results) { in publishResults() argument
DArrayAdapter.java507 protected void publishResults(CharSequence constraint, FilterResults results) { in publishResults() argument
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java105 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/support/v4/java/android/support/v4/widget/
DCursorFilter.java34 Cursor runQueryOnBackgroundThread(CharSequence constraint); in runQueryOnBackgroundThread() argument
49 protected FilterResults performFiltering(CharSequence constraint) { in performFiltering() argument
50 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint); in performFiltering()
64 protected void publishResults(CharSequence constraint, FilterResults results) { in publishResults() argument
DCursorAdapter.java395 public Cursor runQueryOnBackgroundThread(CharSequence constraint) { in runQueryOnBackgroundThread() argument
397 return mFilterQueryProvider.runQuery(constraint); in runQueryOnBackgroundThread()
/frameworks/ex/chips/src/com/android/ex/chips/
DBaseRecipientAdapter.java109 public CharSequence constraint; field in BaseRecipientAdapter.DirectorySearchParams
196 protected FilterResults performFiltering(CharSequence constraint) { in performFiltering() argument
198 Log.d(TAG, "start filtering. constraint: " + constraint + ", thread:" in performFiltering()
206 if (TextUtils.isEmpty(constraint)) { in performFiltering()
212 defaultDirectoryCursor = doQuery(constraint, mPreferredMaxResultCount, null); in performFiltering()
275 protected void publishResults(final CharSequence constraint, FilterResults results) { in publishResults() argument
279 mCurrentConstraint = constraint; in publishResults()
293 startSearchOtherDirectories(constraint, defaultFilterResult.paramsList, limit); in publishResults()
332 protected FilterResults performFiltering(CharSequence constraint) { in performFiltering() argument
335 + ", constraint: " + constraint + ", thread: " + Thread.currentThread()); in performFiltering()
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMAndroidSectLinker.cpp22 info.attrFactory().constraint().disableWholeArchive(); in ARMAndroidSectLinker()
23 info.attrFactory().constraint().disableAsNeeded(); in ARMAndroidSectLinker()
24 info.attrFactory().constraint().setSharedSystem(); in ARMAndroidSectLinker()
DARMELFSectLinker.cpp21 info.attrFactory().constraint().enableWholeArchive(); in ARMELFSectLinker()
22 info.attrFactory().constraint().disableAsNeeded(); in ARMELFSectLinker()
23 info.attrFactory().constraint().setSharedSystem(); in ARMELFSectLinker()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsELFSectLinker.cpp22 info.attrFactory().constraint().enableWholeArchive(); in MipsELFSectLinker()
23 info.attrFactory().constraint().disableAsNeeded(); in MipsELFSectLinker()
24 info.attrFactory().constraint().setSharedSystem(); in MipsELFSectLinker()
DMipsAndroidSectLinker.cpp22 info.attrFactory().constraint().disableWholeArchive(); in MipsAndroidSectLinker()
23 info.attrFactory().constraint().disableAsNeeded(); in MipsAndroidSectLinker()
24 info.attrFactory().constraint().setSharedSystem(); in MipsAndroidSectLinker()
/frameworks/compile/mclinker/lib/Target/X86/
DX86AndroidSectLinker.cpp22 info.attrFactory().constraint().disableWholeArchive(); in X86AndroidSectLinker()
23 info.attrFactory().constraint().disableAsNeeded(); in X86AndroidSectLinker()
24 info.attrFactory().constraint().setSharedSystem(); in X86AndroidSectLinker()
DX86ELFSectLinker.cpp21 info.attrFactory().constraint().enableWholeArchive(); in X86ELFSectLinker()
22 info.attrFactory().constraint().disableAsNeeded(); in X86ELFSectLinker()
23 info.attrFactory().constraint().setSharedSystem(); in X86ELFSectLinker()
/frameworks/compile/mclinker/lib/MC/
DMCLDAttribute.cpp59 if (m_AttrPool.constraint().isWholeArchive()) in isWholeArchive()
67 if (m_AttrPool.constraint().isAsNeeded()) in isAsNeeded()
75 if (m_AttrPool.constraint().isAddNeeded()) in isAddNeeded()
83 if (m_AttrPool.constraint().isSharedSystem()) in isStatic()
91 if (m_AttrPool.constraint().isSharedSystem()) in isDynamic()
DMCLDDriver.cpp99 if (!m_LDInfo.attrFactory().constraint().isLegal((**attr), error_code)) { in linkable()
/frameworks/compile/mclinker/include/mcld/MC/
DAttributeFactory.h49 AttrConstraint& constraint() in constraint() function
52 const AttrConstraint& constraint() const in constraint() function
/frameworks/base/media/libdrm/mobile1/src/jni/
Ddrm1_jni.c482 static jint setConstraintFields(JNIEnv * env, jobject constraint, T_DRM_Constraint_Info * pConstrai… in setConstraintFields() argument
486 if (JNI_DRM_FAILURE == setObjectIntField(env, constraint, "count", 0)) in setConstraintFields()
494 if (JNI_DRM_FAILURE == setObjectIntField(env, constraint, "count", pConstraint->count)) in setConstraintFields()
504 if (JNI_DRM_FAILURE == setObjectLongField(env, constraint, "startDate", startTime)) in setConstraintFields()
514 if (JNI_DRM_FAILURE == setObjectLongField(env, constraint, "endDate", endTime)) in setConstraintFields()
524 if (JNI_DRM_FAILURE == setObjectLongField(env, constraint, "interval", interval)) in setConstraintFields()
769 (JNIEnv * env, jobject rights, jint permission, jobject constraint) in Java_android_drm_mobile1_DrmRights_nativeGetConstraintInfo() argument
833 if (JNI_DRM_FAILURE == setConstraintFields(env, constraint, pConstraint)) { in Java_android_drm_mobile1_DrmRights_nativeGetConstraintInfo()
/frameworks/base/media/java/android/drm/mobile1/
DDrmRights.java112 private native int nativeGetConstraintInfo(int permission, DrmConstraintInfo constraint); in nativeGetConstraintInfo() argument
/frameworks/compile/mclinker/
DChangeLog7 Support setting alignment constraint in section header.
/frameworks/native/libs/utils/
DREADME94 (portrait). During lookup, every constraint set is matched against the
96 constraint set is returned (ResourceTypes.{h,cpp}).

12