Searched defs:id (Results 101 - 125 of 399) sorted by path

1234567891011>>

/frameworks/base/core/java/android/view/animation/
H A DAnimationUtils.java62 * @param id The resource id of the animation to load
63 * @return The animation object reference by the specified id
66 public static Animation loadAnimation(Context context, int id) argument
71 parser = context.getResources().getAnimation(id);
75 Integer.toHexString(id));
80 Integer.toHexString(id));
140 * @param id The resource id of the animation to load
141 * @return The animation object reference by the specified id
144 loadLayoutAnimation(Context context, int id) argument
267 loadInterpolator(Context context, int id) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java417 public boolean performContextMenuAction(int id) { argument
H A DCompletionInfo.java36 public CompletionInfo(long id, int index, CharSequence text) { argument
37 mId = id;
46 public CompletionInfo(long id, int index, CharSequence text, CharSequence label) { argument
47 mId = id;
62 * corresponding to the id associated with it in the original adapter.
96 + "\" id=" + mId + " label=" + mLabel + "}";
H A DInputConnection.java268 * Perform a context menu action on the field. The given id may be one of:
269 * {@link android.R.id#selectAll},
270 * {@link android.R.id#startSelectingText}, {@link android.R.id#stopSelectingText},
271 * {@link android.R.id#cut}, {@link android.R.id#copy},
272 * {@link android.R.id#paste}, {@link android.R.id#copyUrl},
273 * or {@link android.R.id#switchInputMethod}
275 public boolean performContextMenuAction(int id); argument
[all...]
H A DInputConnectionWrapper.java101 public boolean performContextMenuAction(int id) { argument
102 return mTarget.performContextMenuAction(id);
H A DInputMethodManager.java360 Log.i(TAG, "handleMessage: MSG_BIND " + res.sequence + "," + res.id);
370 mCurId = res.id;
1163 if (res.id != null) {
1166 mCurId = res.id;
1497 * @param id The unique identifier for the new input method to be switched to.
1499 public void setInputMethod(IBinder token, String id) { argument
1501 mService.setInputMethod(token, id);
1513 * @param id The unique identifier for the new input method to be switched to.
1516 public void setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) { argument
1518 mService.setInputMethodAndSubtype(token, id, subtyp
[all...]
H A DInputMethodSubtype.java143 * @param id The unique ID for the subtype. The input method framework keeps track of enabled
150 boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, int id) {
158 // If hashCode() of this subtype is 0 and you want to specify it as an id of this subtype,
159 // just specify 0 as this subtype's id. Then, this subtype's id is treated as 0.
160 mSubtypeHashCode = id != 0 ? id : hashCodeInternal(mSubtypeLocale, mSubtypeMode,
162 mSubtypeId = id;
149 InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, int id) argument
/frameworks/base/core/java/android/webkit/
H A DAccessibilityInjector.java836 * @param resultId The result id to match the result with the request.
859 * @param resultId The result id to match the result with the request.
918 * @param id The result id of the request as a {@link String}.
923 public void onResult(String id, String result) { argument
925 Log.w(TAG, "Saw CVOX result of '" + result + "' for ID " + id);
930 resultId = Integer.parseInt(id);
H A DAutoCompletePopup.java169 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
173 if (id == 0 && position == 0 && mInputConnection.getIsAutoFillable()) {
H A DBrowserFrame.java744 final int id = field.getInt(null);
746 mContext.getResources().getValue(id, value, true);
974 private String getRawResFilename(int id) { argument
975 return getRawResFilename(id, mContext);
977 /* package */ static String getRawResFilename(int id, Context context) { argument
979 switch (id) {
1015 if (id == DRAWABLEDIR) {
H A DHTML5VideoViewProxy.java96 // http://b/issue?id=1973663 is fixed.
551 public void error(int id, String description) { argument
H A DL10nUtils.java99 private static String loadString(int id) { argument
104 String localisedString = mApplicationContext.getResources().getString(mIdsArray[id]);
105 mStrings.put(id, new SoftReference<String>(localisedString));
109 public static String getLocalisedString(int id) { argument
113 return loadString(id);
116 SoftReference<String> ref = mStrings.get(id);
118 return needToLoad ? loadString(id) : ref.get();
H A DWebViewClassic.java826 // The id of the native layer being scrolled.
4786 // see http://b/issue?id=2457459
8261 * @param id The ID of the item to keep checked.
8265 public SingleDataSetObserver(long id, ListView l, Adapter a) { argument
8266 mCheckedId = id;
8276 long id = mAdapter.getItemId(position);
8277 if (mCheckedId != id) {
8346 int position, long id) {
8350 EventHub.SINGLE_LISTBOX_CHOICE, (int) id, 0);
/frameworks/base/core/java/android/widget/
H A DAbsListView.java250 * and the value holds the last known position in the adapter for that id.
938 * @return A new array which contains the id of each checked item in the
1012 final long id = mAdapter.getItemId(position);
1014 position, id, value);
1048 public boolean performItemClick(View view, int position, long id) { argument
1074 position, id, checked);
1100 handled |= super.performItemClick(view, position, id);
2250 final long id = getItemIdAtPosition(position);
2267 return performItemClick(host, position, id);
2272 return performLongPress(host, position, id);
2711 createContextMenuInfo(View view, int position, long id) argument
5989 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
6035 onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) argument
[all...]
H A DActivityChooserView.java222 mActivityChooserContent = (LinearLayout) findViewById(R.id.activity_chooser_view_content);
225 mDefaultActivityButton = (FrameLayout) findViewById(R.id.default_activity_button);
228 mDefaultActivityButtonImage = (ImageView) mDefaultActivityButton.findViewById(R.id.image);
230 mExpandActivityOverflowButton = (FrameLayout) findViewById(R.id.expand_activities_button);
233 (ImageView) mExpandActivityOverflowButton.findViewById(R.id.image);
284 * @param resourceId The content description resource id.
464 * @param resourceId The resource id.
529 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
698 TextView titleView = (TextView) convertView.findViewById(R.id.title);
704 if (convertView == null || convertView.getId() != R.id
[all...]
H A DAdapterView.java81 * Row id to look for when data has changed
155 * The item id of the item to select during the next layout.
166 * The item id of the currently selected item.
193 * Represents an empty or invalid row id
203 * The id of the last selected position we used when notifying
260 * @param id The row id of the item that was clicked.
262 void onItemClick(AdapterView<?> parent, View view, int position, long id); argument
277 * been clicked, or null id no callback has been set.
288 * @param id Th
292 performItemClick(View view, int position, long id) argument
324 onItemLongClick(AdapterView<?> parent, View view, int position, long id) argument
368 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument
403 AdapterContextMenuInfo(View targetView, int position, long id) argument
424 public long id; field in class:AdapterView.AdapterContextMenuInfo
[all...]
H A DAutoCompleteTextView.java68 * findViewById(R.id.countries_list);
157 // Get the anchor's id now, but the view won't be ready, so wait to actually get the
230 mHintResource, null).findViewById(com.android.internal.R.id.text1);
311 * <p>Returns the id for the view that the auto-complete drop down list is anchored to.</p>
313 * @return the view's id, or {@link View#NO_ID} if none specified
323 * corresponding to this id will not be loaded until the next time it is needed to avoid
326 * @param id the id to anchor the drop down list view to
330 public void setDropDownAnchor(int id) { argument
331 mDropDownAnchorId = id;
364 setDropDownBackgroundResource(int id) argument
877 performCompletion(View selectedView, int position, long id) argument
1191 onItemClick(AdapterView parent, View v, int position, long id) argument
[all...]
H A DEditor.java2574 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
H A DExpandableListView.java513 public boolean performItemClick(View v, int position, long id) { argument
517 return super.performItemClick(v, position, id);
522 return handleItemClick(v, adjustedPosition, id);
531 * @param id The ListAdapter ID, not the group or child ID.
533 boolean handleItemClick(View v, int position, long id) { argument
536 id = getChildOrGroupId(posMetadata.position);
545 posMetadata.position.groupPos, id)) {
584 posMetadata.position.childPos, id);
702 * @param id The row id o
705 onGroupClick(ExpandableListView parent, View v, int groupPosition, long id) argument
732 onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) argument
985 createContextMenuInfo(View view, int flatListPosition, long id) argument
1085 ExpandableListContextMenuInfo(View targetView, long packedPosition, long id) argument
1110 public long id; field in class:ExpandableListView.ExpandableListContextMenuInfo
[all...]
H A DGallery.java1097 long id = getItemIdAtPosition(mDownTouchPosition);
1098 dispatchLongPress(mDownTouchView, mDownTouchPosition, id);
1174 private boolean dispatchLongPress(View view, int position, long id) { argument
1179 mDownTouchPosition, id);
1183 mContextMenuInfo = new AdapterContextMenuInfo(view, position, id);
H A DListView.java3498 protected View findViewTraversal(int id) { argument
3500 v = super.findViewTraversal(id);
3502 v = findViewInHeadersOrFooters(mHeaderViewInfos, id);
3506 v = findViewInHeadersOrFooters(mFooterViewInfos, id);
3518 View findViewInHeadersOrFooters(ArrayList<FixedViewInfo> where, int id) { argument
3527 v = v.findViewById(id);
3637 * @return A new array which contains the id of each checked item in the
H A DProgressBar.java98 * mProgress = (ProgressBar) findViewById(R.id.progress_bar);
323 int id = background.getId(i);
325 (id == R.id.progress || id == R.id.secondaryProgress));
543 doRefreshProgress(R.id.progress, mProgress, false, false);
544 doRefreshProgress(R.id.secondaryProgress, mSecondaryProgress, false, false);
598 doRefreshProgress(rd.id, rd.progress, rd.fromUser, true);
608 public int id; field in class:ProgressBar.RefreshData
632 obtain(int id, int progress, boolean fromUser) argument
665 doRefreshProgress(int id, int progress, boolean fromUser, boolean callBackToApp) argument
696 refreshProgress(int id, int progress, boolean fromUser) argument
[all...]
H A DRadioGroup.java39 * <p>The selection is identified by the unique id of the radio button as defined
55 // holds the checked id; the selection is empty by default
149 * @param id the unique id of the radio button to select in this group
154 public void check(int id) { argument
156 if (id != -1 && (id == mCheckedId)) {
164 if (id != -1) {
165 setCheckedStateForView(id, true);
168 setCheckedId(id);
171 setCheckedId(int id) argument
[all...]
H A DRemoteViews.java321 public SetOnClickFillInIntent(int id, Intent fillInIntent) { argument
322 this.viewId = id;
348 target.setTagInternal(com.android.internal.R.id.fillInIntent, fillInIntent);
405 public SetPendingIntentTemplate(int id, PendingIntent pendingIntentTemplate) { argument
406 this.viewId = id;
432 int position, long id) {
447 Object tag = vg.getChildAt(i).getTag(com.android.internal.R.id.fillInIntent);
476 "an AdapterView (id: " + viewId + ")");
491 public SetRemoteViewsAdapterIntent(int id, Intent intent) { argument
492 this.viewId = id;
555 SetOnClickPendingIntent(int id, PendingIntent pendingIntent) argument
651 SetDrawableParameters(int id, boolean targetBackground, int alpha, int colorFilter, PorterDuff.Mode mode, int level) argument
827 getBitmapForId(int id) argument
[all...]
H A DRemoteViewsAdapter.java106 // If a new RemoteViewsAdapter with the same intent / widget id isn't constructed within this
409 // A mapping from type id to a set of unique type ids
449 // We +1 because the loading view always has view type id of 0
481 loadingView.setTagInternal(com.android.internal.R.id.rowTypeId,
536 public void set(RemoteViews v, long id) { argument
537 itemId = id;
836 // Strip the previously injected app widget id from service intent
1123 * Returns the item type id for the specified convert view. Returns -1 if the convert view
1129 Object tag = convertView.getTag(com.android.internal.R.id.rowTypeId);
1200 newView.setTagInternal(com.android.internal.R.id
[all...]

Completed in 301 milliseconds

1234567891011>>