Searched refs:id (Results 251 - 275 of 1331) sorted by relevance

<<11121314151617181920>>

/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
H A DSubActivity.java42 ViewGroup container = (ViewGroup) findViewById(R.id.my_container);
46 int dir = child.getId() == R.id.from_left ? 1 : -1;
50 View bg = findViewById(R.id.bg_container);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DCrossfadeImage.java44 ViewGroup container = (ViewGroup) findViewById(R.id.container);
47 mImageView = (ImageView) findViewById(R.id.contact_picture);
51 mCrossfade.addTarget(R.id.contact_picture);
H A DDelayedTransition.java39 final Button button1 = (Button) findViewById(R.id.button1);
40 final Button button2 = (Button) findViewById(R.id.button2);
41 final LinearLayout container = (LinearLayout) findViewById(R.id.container);
H A DLoginActivity.java43 View container = (View) findViewById(R.id.container);
57 slider.addTransition(new Slide().addTarget(R.id.retype).addTarget(R.id.retypeEdit));
58 slider.addTransition(new Recolor().addTarget(R.id.password).
59 addTarget(R.id.passwordEdit));
67 Transition colorizer = new Recolor().addTarget(R.id.password).
68 addTarget(R.id.passwordEdit);
/frameworks/base/services/core/java/com/android/server/pm/
H A DKeySetManagerService.java92 long id = getIdByKeySetLPr(ks);
93 if (id == KEYSET_NOT_FOUND) {
96 return pkg.keySetData.packageIsSignedBy(id);
118 long id = getIdByKeySetLPr(ks);
119 return pkg.keySetData.getProperSigningKeySet() == id;
139 long id = getIdByKeySetLPr(ks);
140 pkg.keySetData.addDefinedKeySet(id, alias);
172 long id = getIdByKeySetLPr(ks);
173 ArraySet<Long> publicKeyIds = mKeySetMapping.get(id);
175 throw new NullPointerException("Got invalid KeySet id");
214 getKeySetByIdLPr(long id) argument
242 getPublicKeysFromKeySetLPr(long id) argument
[all...]
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/
H A DKeyguardTestActivity.java145 R.id.on_screen_turned_off, R.id.on_screen_turned_on,
146 R.id.do_keyguard, R.id.verify_unlock
210 case R.id.none_menu_item:
213 case R.id.pin_menu_item:
216 case R.id.password_menu_item:
219 case R.id.pattern_menu_item:
222 case R.id.sim_pin_menu_item:
225 case R.id
[all...]
/frameworks/base/core/java/android/app/
H A DLoaderManager.java66 * @param id The ID whose loader is to be created.
70 public Loader<D> onCreateLoader(int id, Bundle args); argument
137 * @param id A unique identifier for this loader. Can be whatever you want.
145 public abstract <D> Loader<D> initLoader(int id, Bundle args, argument
152 * If a loader with the same id has previously been
157 * @param id A unique identifier for this loader. Can be whatever you want.
163 public abstract <D> Loader<D> restartLoader(int id, Bundle args, argument
172 public abstract void destroyLoader(int id); argument
175 * Return the Loader with the given id or null if no matching Loader
178 public abstract <D> Loader<D> getLoader(int id); argument
242 LoaderInfo(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callbacks) argument
543 createLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callback) argument
551 createAndInstallLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callback) argument
598 initLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument
648 restartLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument
715 destroyLoader(int id) argument
743 getLoader(int id) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserSwitcherController.java125 || r.info.id == forcePictureLoadForId || r.picture == null) {
128 bitmaps.put(r.info.id, r.picture);
148 boolean isCurrent = currentId == info.id;
154 Bitmap picture = bitmaps.get(info.id);
156 picture = mUserManager.getUserIcon(info.id);
228 int id;
238 id = guest.id;
243 id = record.info.id;
256 switchToUserId(int id) argument
264 showExitGuestDialog(int id) argument
280 exitGuest(int id) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DLoaderManager.java47 * @param id The ID whose loader is to be created.
51 public Loader<D> onCreateLoader(int id, Bundle args); argument
118 * @param id A unique identifier for this loader. Can be whatever you want.
126 public abstract <D> Loader<D> initLoader(int id, Bundle args, argument
133 * If a loader with the same id has previously been
138 * @param id A unique identifier for this loader. Can be whatever you want.
144 public abstract <D> Loader<D> restartLoader(int id, Bundle args, argument
153 public abstract void destroyLoader(int id); argument
156 * Return the Loader with the given id or null if no matching Loader
159 public abstract <D> Loader<D> getLoader(int id); argument
228 LoaderInfo(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callbacks) argument
487 createLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callback) argument
495 createAndInstallLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<Object> callback) argument
542 initLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument
592 restartLoader(int id, Bundle args, LoaderManager.LoaderCallbacks<D> callback) argument
657 destroyLoader(int id) argument
685 getLoader(int id) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java105 @Override public boolean onTextContextMenuItem(int id) { argument
106 if (mIME != null && mIME.onExtractTextContextMenuItem(id)) {
109 if (id == android.R.id.copy) stopSelectionActionMode();
112 return super.onTextContextMenuItem(id);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListViewHeight.java47 mButton1 = findViewById(R.id.button1);
48 mButton2 = findViewById(R.id.button2);
49 mButton3 = findViewById(R.id.button3);
51 mOuterLayout = findViewById(R.id.layout);
52 mInnerList = (ListView)findViewById(R.id.inner_list);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarTransitions.java46 mLeftSide = mView.findViewById(R.id.notification_icon_area);
47 mStatusIcons = mView.findViewById(R.id.statusIcons);
48 mSignalCluster = mView.findViewById(R.id.signal_cluster);
49 mBattery = mView.findViewById(R.id.battery);
50 mClock = mView.findViewById(R.id.clock);
/frameworks/base/tools/preload/
H A DProc.java35 final int id; field in class:Proc
60 Proc(Proc parent, int id) { argument
62 this.id = id;
158 System.out.println(prefix + "id=" + id + ", name=" + name);
/frameworks/wilhelm/src/itf/
H A DI3DGrouping.c39 unsigned id = thisObject->mInstanceID; local
40 assert(0 != id); // player object must be published by this point
41 --id;
42 assert(MAX_INSTANCE > id);
43 unsigned mask = 1 << id;
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java33 * of blocks, indexed by id. Each block has BYTES_PER_MINTHUMB bytes in the
146 // Get the magic number for the specified id in the mini-thumb file.
148 public synchronized long getMagic(long id) { argument
151 // reserved for this "id".
154 long pos = id * BYTES_PER_MINTHUMB;
173 Log.e(TAG, "Got exception when reading magic, id = " + id +
187 public synchronized void saveMiniThumbToFile(byte[] data, long id, long magic) argument
192 long pos = id * BYTES_PER_MINTHUMB;
212 + id
235 getMiniThumbFromFile(long id, byte [] data) argument
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java210 private static void readId(InputStream in, String id) throws IOException { argument
211 for (int i = 0; i < id.length(); i++) {
212 if (id.charAt(i) != in.read()) throw new IOException( id + " tag not present");
253 private static void writeId(OutputStream out, String id) throws IOException { argument
254 for (int i = 0; i < id.length(); i++) out.write(id.charAt(i));
/frameworks/base/core/tests/coretests/src/android/view/
H A DVisibilityCallbackTest.java50 mRefUp = (TextView) a.findViewById(R.id.refUp);
51 mRefDown = (TextView) a.findViewById(R.id.refDown);
52 mVictim = (VisibilityCallback.MonitoredTextView) a.findViewById(R.id.victim);
53 mParent = (ViewGroup) a.findViewById(R.id.parent);
54 mVisible = (Button) a.findViewById(R.id.vis);
55 mInvisible = (Button) a.findViewById(R.id.invis);
56 mGone = (Button) a.findViewById(R.id.gone);
/frameworks/base/rs/java/android/renderscript/
H A DFont.java151 Font(long id, RenderScript rs) { argument
152 super(id, rs);
198 static public Font createFromResource(RenderScript rs, Resources res, int id, float pointSize) { argument
199 String name = "R." + Integer.toString(id);
204 is = res.openRawResource(id);
206 throw new RSRuntimeException("Unable to open resource " + id);
220 throw new RSRuntimeException("Unable to create font from resource " + id);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayerInvalidationActivity.java52 container = (LinearLayout) findViewById(R.id.container);
53 final LinearLayout container1 = (LinearLayout) findViewById(R.id.container1);
54 final LinearLayout container2 = (LinearLayout) findViewById(R.id.container2);
55 final LinearLayout container3 = (LinearLayout) findViewById(R.id.container3);
56 nestedStatusTV = (TextView) findViewById(R.id.nestedStatus);
57 invalidateStatusTV = (TextView) findViewById(R.id.invalidateStatus);
58 final TextView tva = (TextView) findViewById(R.id.textviewa);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuWrapperICS.java101 public void removeItem(int id) { argument
102 internalRemoveItem(id);
103 mWrappedObject.removeItem(id);
139 public MenuItem findItem(int id) { argument
140 return getMenuItemWrapper(mWrappedObject.findItem(id));
169 public boolean performIdentifierAction(int id, int flags) { argument
170 return mWrappedObject.performIdentifierAction(id, flags);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h91 status_t freeDisplayId(int32_t id);
110 status_t createWorkList(int32_t id, size_t numLayers);
115 bool hasHwcComposition(int32_t id) const;
118 bool hasGlesComposition(int32_t id) const;
122 sp<Fence> getAndResetReleaseFence(int32_t id);
127 // return the visual id to be used to find a suitable EGLConfig for
132 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf);
137 // Returns INVALID_OPERATION if id is not a virtual display.
138 status_t setOutputBuffer(int32_t id, const sp<Fence>& acquireFence,
145 sp<Fence> getLastRetireFence(int32_t id) cons
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraManager.java144 * @param cameraId The id of the camera device to query
163 throw new IllegalArgumentException(String.format("Camera id %s does not match any" +
167 int id = Integer.valueOf(cameraId);
185 cameraService.getLegacyParameters(id, /*out*/outParameters);
189 cameraService.getCameraInfo(id, /*out*/info);
196 cameraService.getCameraCharacteristics(id, info);
251 int id = Integer.parseInt(cameraId);
261 cameraService.connectDevice(callbacks, id,
267 cameraUser = CameraDeviceUserShim.connectBinderShim(callbacks, id);
320 * devices. Note that even if an id i
704 postSingleUpdate(final AvailabilityCallback callback, final Handler handler, final String id, final int status) argument
737 onStatusChangedLocked(int status, String id) argument
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp76 WebmElement::WebmElement(uint64_t id, uint64_t size) argument
77 : mId(id), mSize(size) {
135 WebmUnsigned::WebmUnsigned(uint64_t id, uint64_t value) argument
136 : WebmElement(id, sizeOf(value)), mValue(value) {
145 WebmFloat::WebmFloat(uint64_t id, double value) argument
146 : WebmElement(id, sizeof(double)), mValue(value) {
149 WebmFloat::WebmFloat(uint64_t id, float value) argument
150 : WebmElement(id, sizeof(float)), mValue(value) {
169 WebmBinary::WebmBinary(uint64_t id, const sp<ABuffer> &ref) argument
170 : WebmElement(id, re
179 WebmString(uint64_t id, const char *str) argument
231 WebmMaster(uint64_t id, const List<sp<WebmElement> >& children) argument
235 WebmMaster(uint64_t id) argument
270 SeekEntry(uint64_t id, uint64_t off) argument
[all...]
/frameworks/av/media/libstagefright/
H A DTimedEventQueue.cpp150 TimedEventQueue::event_id *id = local
153 if (event->eventID() != *id) {
157 *id = 0;
162 bool TimedEventQueue::cancelEvent(event_id id) { argument
163 if (id == 0) {
167 cancelEvents(&MatchesEventID, &id, true /* stopAfterFirstMatch */);
169 // if MatchesEventID found a match, it will have set id to 0
172 return id == 0;
283 // The event w/ this id may have been cancelled while we're
303 event_id id, boo
302 removeEventFromQueue_l( event_id id, bool *wakeLocked) argument
[all...]
/frameworks/base/libs/hwui/
H A DLayer.cpp75 if (stencil || fbo || texture.id) {
200 if (texture.id) {
201 caches.bindTexture(renderTarget, texture.id);
212 if (!texture.id) {
213 glGenTextures(1, &texture.id);
218 if (texture.id) {
220 texture.id = 0;
225 caches.unbindTexture(texture.id);
226 texture.id = 0;
233 if (texture.id) {
[all...]

Completed in 399 milliseconds

<<11121314151617181920>>