Searched refs:id (Results 101 - 125 of 887) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java101 @Override public boolean onTextContextMenuItem(int id) { argument
102 if (mIME != null && mIME.onExtractTextContextMenuItem(id)) {
105 if (id == android.R.id.copy) stopSelectionActionMode();
108 return super.onTextContextMenuItem(id);
/frameworks/base/core/tests/coretests/src/android/view/
H A DPopupWindowVisibility.java46 mFrame = findViewById(R.id.frame);
48 mHide = (Button) findViewById(R.id.hide);
51 mShow = (Button) findViewById(R.id.show);
54 Spinner spinner = (Spinner) findViewById(R.id.spinner);
62 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.auto);
H A DViewStubTest.java42 final View stub = activity.findViewById(R.id.viewStub);
51 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStub);
62 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId);
66 assertTrue("The inflated view has no id", swapped.getId() != View.NO_ID);
67 assertTrue("The inflated view has the wrong id", swapped.getId() == R.id.stub_inflated);
75 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId);
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
H A DFrameLayoutMarginTest.java45 mParent = activity.findViewById(R.id.parent);
47 mLeftView = activity.findViewById(R.id.left);
48 mRightView = activity.findViewById(R.id.right);
49 mTopView = activity.findViewById(R.id.top);
50 mBottomView = activity.findViewById(R.id.bottom);
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DScriptC.java41 * @param id
44 protected ScriptC(int id, RenderScript rs) { argument
45 super(id, rs);
58 int id = internalCreate(rs, resources, resourceID);
59 if (id == 0) {
62 setID(id);
H A DType.java62 CubemapFace(int id) { argument
63 mID = id;
168 Type(int id, RenderScript rs) { argument
169 super(id, rs);
256 int id = mRS.nTypeCreate(mElement.getID(mRS),
258 Type t = new Type(id, mRS);
/frameworks/base/services/java/com/android/server/
H A DAppWidgetServiceImpl.java346 private void dumpAppWidgetId(AppWidgetId id, int index, PrintWriter pw) { argument
347 pw.print(" ["); pw.print(index); pw.print("] id=");
348 pw.println(id.appWidgetId);
350 pw.print(id.host.hostId); pw.print(' ');
351 pw.print(id.host.packageName); pw.print('/');
352 pw.println(id.host.uid);
353 if (id.provider != null) {
355 pw.println(id.provider.info.provider.flattenToShortString());
357 if (id.host != null) {
358 pw.print(" host.callbacks="); pw.println(id
496 deleteAppWidgetLocked(AppWidgetId id) argument
743 unbindAppWidgetRemoteViewsServicesLocked(AppWidgetId id) argument
765 destroyRemoteViewsService(final Intent intent, AppWidgetId id) argument
811 decrementAppWidgetServiceRefCount(AppWidgetId id) argument
991 updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views) argument
995 updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views, boolean isPartialUpdate) argument
1023 notifyAppWidgetViewDataChangedInstanceLocked(AppWidgetId id, int viewId) argument
1144 canAccessAppWidgetId(AppWidgetId id, int callingUid) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_storage.c131 u32 id; local
139 id = pSeqParamSet->seqParameterSetId;
141 /* seq parameter set with id not used before -> allocate memory */
142 if (pStorage->sps[id] == NULL)
144 ALLOCATE(pStorage->sps[id], 1, seqParamSet_t);
145 if (pStorage->sps[id] == NULL)
148 /* sequence parameter set with id equal to id of active sps */
149 else if (id == pStorage->activeSpsId)
159 FREE(pStorage->sps[id]
214 u32 id; local
[all...]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DVisualizerTest.java75 mSessionText = (EditText) findViewById(R.id.sessionEdit);
79 mReleaseButton = (ToggleButton)findViewById(R.id.visuReleaseButton);
80 mOnOffButton = (ToggleButton)findViewById(R.id.visualizerOnOff);
81 mCallbackButton = (ToggleButton)findViewById(R.id.visuCallbackOnOff);
126 displayVal(R.id.waveformMin, data[0]);
127 displayVal(R.id.waveformMax, data[len-1]);
128 displayVal(R.id.waveformCenter, data[len/2]);
132 displayVal(R.id.fftMin, data[0]);
133 displayVal(R.id.fftMax, data[len-1]);
134 displayVal(R.id
[all...]
H A DEnvReverbTest.java76 ImageView playPause = (ImageView) findViewById(R.id.playPause1);
77 ImageView stop = (ImageView) findViewById(R.id.stop1);
78 textView = (TextView) findViewById(R.id.sessionText);
80 sPlayerController = new SimplePlayer(this, R.id.playPause1, playPause,
81 R.id.stop1, stop, textView,
84 sPlayerController.set(this, R.id.playPause1, playPause,
85 R.id.stop1, stop, textView,
90 mSendLevelSeekBar = (SeekBar)findViewById(R.id.sendLevelSeekBar);
91 mSendLevelDisplay = (TextView)findViewById(R.id.sendLevelValue);
97 mOnOffButton = (ToggleButton)findViewById(R.id
[all...]
/frameworks/av/media/libstagefright/id3/
H A DID3.cpp77 char id[3]; member in struct:android::id3_header
90 if (memcmp(header.id, "ID3", 3)) {
345 ID3::Iterator::Iterator(const ID3 &parent, const char *id) argument
351 if (id) {
352 mID = strdup(id);
379 void ID3::Iterator::getID(String8 *id) const {
380 id->setTo("");
387 id->setTo((const char *)&mParent.mData[mOffset], 3);
389 id->setTo((const char *)&mParent.mData[mOffset], 4);
395 id
467 getString(String8 *id, String8 *comment) const argument
477 getstring(String8 *id, bool otherdata) const argument
619 char id[4]; local
675 char id[5]; local
722 String8 id; local
[all...]
H A Dtestid3.cpp83 String8 id; local
84 it.getID(&id);
86 CHECK(id.length() > 0);
87 if (id[0] == 'T') {
91 printf(" found text frame '%s': %s\n", id.string(), text.string());
93 printf(" found frame '%s'.\n", id.string());
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_rights_manager.c50 static int32_t drm_writeToUidTxt(uint8_t* Uid, int32_t* id) argument
63 if (*id < 1)
97 if (idMax < *id)
110 strcpy((char *)uidStr[*id - 1], (char *)Uid);
111 uidStr[*id - 1][length] = '\n';
112 uidStr[*id - 1][length + 1] = '\0';
113 if (idMax < (*id))
151 int32_t drm_readFromUidTxt(uint8_t* Uid, int32_t* id, int32_t option) argument
163 if (NULL == id || NULL == Uid)
200 if (*id <
241 drm_acquireId(uint8_t* uid, int32_t* id) argument
251 drm_writeOrReadInfo(int32_t id, T_DRM_Rights* Ro, int32_t* RoAmount, int32_t option) argument
356 int32_t id; local
417 drm_removeIdInfoFile(int32_t id) argument
443 drm_updateUidTxtWhenDelete(int32_t id) argument
535 int32_t id, roAmount; local
[all...]
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp129 const sp<SurfaceComposerClient>& client, SurfaceID id);
135 sp<IBinder> getBuiltInDisplay(int32_t id);
137 status_t setPosition(const sp<SurfaceComposerClient>& client, SurfaceID id,
139 status_t setSize(const sp<SurfaceComposerClient>& client, SurfaceID id,
141 status_t setLayer(const sp<SurfaceComposerClient>& client, SurfaceID id,
143 status_t setFlags(const sp<SurfaceComposerClient>& client, SurfaceID id,
146 const sp<SurfaceComposerClient>& client, SurfaceID id,
148 status_t setAlpha(const sp<SurfaceComposerClient>& client, SurfaceID id,
150 status_t setMatrix(const sp<SurfaceComposerClient>& client, SurfaceID id,
153 status_t setCrop(const sp<SurfaceComposerClient>& client, SurfaceID id,
183 getBuiltInDisplay(int32_t id) argument
221 getLayerStateLocked( const sp<SurfaceComposerClient>& client, SurfaceID id) argument
238 setPosition(const sp<SurfaceComposerClient>& client, SurfaceID id, float x, float y) argument
250 setSize(const sp<SurfaceComposerClient>& client, SurfaceID id, uint32_t w, uint32_t h) argument
266 setLayer(const sp<SurfaceComposerClient>& client, SurfaceID id, int32_t z) argument
277 setFlags(const sp<SurfaceComposerClient>& client, SurfaceID id, uint32_t flags, uint32_t mask) argument
291 setTransparentRegionHint( const sp<SurfaceComposerClient>& client, SurfaceID id, const Region& transparentRegion) argument
303 setAlpha(const sp<SurfaceComposerClient>& client, SurfaceID id, float alpha) argument
314 setLayerStack(const sp<SurfaceComposerClient>& client, SurfaceID id, uint32_t layerStack) argument
325 setMatrix(const sp<SurfaceComposerClient>& client, SurfaceID id, float dsdx, float dtdx, float dsdy, float dtdy) argument
342 setCrop(const sp<SurfaceComposerClient>& client, SurfaceID id, const Rect& crop) argument
468 getBuiltInDisplay(int32_t id) argument
499 setCrop(SurfaceID id, const Rect& crop) argument
503 setPosition(SurfaceID id, float x, float y) argument
507 setSize(SurfaceID id, uint32_t w, uint32_t h) argument
511 setLayer(SurfaceID id, int32_t z) argument
515 hide(SurfaceID id) argument
521 show(SurfaceID id) argument
527 setFlags(SurfaceID id, uint32_t flags, uint32_t mask) argument
532 setTransparentRegionHint(SurfaceID id, const Region& transparentRegion) argument
537 setAlpha(SurfaceID id, float alpha) argument
541 setLayerStack(SurfaceID id, uint32_t layerStack) argument
545 setMatrix(SurfaceID id, float dsdx, float dtdx, float dsdy, float dtdy) argument
[all...]
/frameworks/base/core/java/android/widget/
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...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DValueParser.java119 int id = rawValue[valueIndex] & 0xff;
122 item = new Item(id, text);
132 * Retrieves Item id information from the COMPREHENSION-TLV object.
135 * @return An Item id
139 int id = 0;
145 id = rawValue[valueIndex] & 0xff;
150 return id;
154 * Retrieves icon id from an Icon Identifier COMPREHENSION-TLV object
161 IconId id = new IconId();
166 id
[all...]
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBarService.aidl44 void onNotificationClick(String pkg, String tag, int id);
45 void onNotificationError(String pkg, String tag, int id,
48 void onNotificationClear(String pkg, String tag, int id);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusAfterRemovalTest.java50 mLeftLayout = (LinearLayout) a.findViewById(R.id.leftLayout);
51 mTopLeftButton = (Button) a.findViewById(R.id.topLeftButton);
52 mBottomLeftButton = (Button) a.findViewById(R.id.bottomLeftButton);
53 mTopRightButton = (Button) a.findViewById(R.id.topRightButton);
54 mBottomRightButton = (Button) a.findViewById(R.id.bottomRightButton);
94 getActivity().findViewById(R.id.leftLayout).getVisibility());
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineButtonsTest.java45 mCurrentTime = activity.findViewById(R.id.currenttime);
46 mTotalTime = activity.findViewById(R.id.totaltime);
47 mPrev = (ImageButton) activity.findViewById(R.id.prev);
48 mNext = (ImageButton) activity.findViewById(R.id.next);
49 mPause = (ImageButton) activity.findViewById(R.id.pause);
50 mLayout = activity.findViewById(R.id.layout);
/frameworks/base/graphics/java/android/renderscript/
H A DType.java68 CubemapFace(int id) { argument
69 mID = id;
174 Type(int id, RenderScript rs) { argument
175 super(id, rs);
283 int id = mRS.nTypeCreate(mElement.getID(mRS),
285 Type t = new Type(id, mRS);
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
H A DFountainFboRS.java82 public void newTouchPosition(float x, float y, float pressure, int id) { argument
83 if (id >= holdingColor.length) {
91 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]);
92 holdingColor[id] = true;
94 holdingColor[id] = false;
/frameworks/base/core/java/android/app/
H A DNotification.java121 * The resource id of a drawable to use as the icon in the status bar.
527 * @param icon The resource id of the icon to put in the status bar.
807 contentView.setImageViewResource(R.id.icon, this.icon);
810 contentView.setInt(R.id.icon,
812 contentView.setInt(R.id.status_bar_latest_event_content,
816 contentView.setTextViewText(R.id.title, contentTitle);
819 contentView.setTextViewText(R.id.text, contentText);
822 contentView.setViewVisibility(R.id.time, View.VISIBLE);
823 contentView.setLong(R.id.time, "setTime", when);
827 contentView.setTextViewText(R.id
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DSimPukUnlockScreen.java92 mHeaderText = (TextView) findViewById(R.id.headerText);
94 mPukText = (TextView) findViewById(R.id.pukDisplay);
95 mPinText = (TextView) findViewById(R.id.pinDisplay);
96 mDelPukButton = findViewById(R.id.pukDel);
97 mDelPinButton = findViewById(R.id.pinDel);
98 mOkButton = findViewById(R.id.ok);
342 mZero = (TextView) findViewById(R.id.zero);
343 mOne = (TextView) findViewById(R.id.one);
344 mTwo = (TextView) findViewById(R.id.two);
345 mThree = (TextView) findViewById(R.id
[all...]
/frameworks/av/media/mtp/
H A DMtpStorageInfo.cpp26 MtpStorageInfo::MtpStorageInfo(MtpStorageID id) argument
27 : mStorageID(id),
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothHealthCallback.aidl31 ParcelFileDescriptor fd, int id);

Completed in 644 milliseconds

1234567891011>>