/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewStubTest.java | 42 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 D | FrameLayoutMarginTest.java | 45 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/base/libs/hwui/ |
H A D | Texture.cpp | 27 Texture::Texture(): id(0), generation(0), blend(false), width(0), height(0), 34 Texture::Texture(Caches& caches): id(0), generation(0), blend(false), width(0), height(0), 51 mCaches.bindTexture(renderTarget, id); 69 mCaches.bindTexture(renderTarget, id); 80 mCaches.deleteTexture(id);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | Demo2.java | 41 View container = (View) findViewById(R.id.container); 60 transition.addTransition(new Fade().addTarget(R.id.resultsText). 61 addTarget(R.id.resultsList)). 62 addTransition(new ChangeBounds().addTarget(R.id.searchContainer)). 63 addTransition(new Recolor().addTarget(R.id.container));
|
/frameworks/base/tools/aapt/ |
H A D | Symbol.h | 38 uint32_t id; member in struct:Symbol 66 , id(i) { 74 (int) id); 78 return (package < rhs.package) || (type < rhs.type) || (name < rhs.name) || (id < rhs.id);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptC.java | 42 * @param id 45 protected ScriptC(int id, RenderScript rs) { argument 46 super(id, rs); 67 int id = internalCreate(rs, resources, resourceID); 68 if (id == 0) { 71 setID(id);
|
/frameworks/av/media/libstagefright/id3/ |
H A D | ID3.cpp | 120 char id[3]; member in struct:android::id3_header 133 if (memcmp(header.id, "ID3", 3)) { 394 ID3::Iterator::Iterator(const ID3 &parent, const char *id) argument 400 if (id) { 401 mID = strdup(id); 428 void ID3::Iterator::getID(String8 *id) const { 429 id->setTo(""); 436 id->setTo((const char *)&mParent.mData[mOffset], 3); 438 id->setTo((const char *)&mParent.mData[mOffset], 4); 444 id 473 getString(String8 *id, String8 *comment) const argument 483 getstring(String8 *id, bool otherdata) const argument 647 char id[4]; local 703 char id[5]; local 750 String8 id; local [all...] |
H A D | testid3.cpp | 83 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/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 132 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id); 139 sp<IBinder> getBuiltInDisplay(int32_t id); 141 status_t setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 143 status_t setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 145 status_t setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 147 status_t setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 150 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 152 status_t setAlpha(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 154 status_t setMatrix(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 157 status_t setCrop(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 197 getBuiltInDisplay(int32_t id) argument 250 getLayerStateLocked( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id) argument 267 setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float x, float y) argument 279 setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t w, uint32_t h) argument 295 setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, int32_t z) argument 306 setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t flags, uint32_t mask) argument 325 setTransparentRegionHint( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Region& transparentRegion) argument 337 setAlpha(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float alpha) argument 348 setLayerStack(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t layerStack) argument 359 setMatrix(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float dsdx, float dtdx, float dsdy, float dtdy) argument 376 setCrop(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Rect& crop) argument 516 getBuiltInDisplay(int32_t id) argument 562 setCrop(const sp<IBinder>& id, const Rect& crop) argument 566 setPosition(const sp<IBinder>& id, float x, float y) argument 570 setSize(const sp<IBinder>& id, uint32_t w, uint32_t h) argument 574 setLayer(const sp<IBinder>& id, int32_t z) argument 578 hide(const sp<IBinder>& id) argument 584 show(const sp<IBinder>& id) argument 590 setFlags(const sp<IBinder>& id, uint32_t flags, uint32_t mask) argument 595 setTransparentRegionHint(const sp<IBinder>& id, const Region& transparentRegion) argument 600 setAlpha(const sp<IBinder>& id, float alpha) argument 604 setLayerStack(const sp<IBinder>& id, uint32_t layerStack) argument 608 setMatrix(const sp<IBinder>& id, float dsdx, float dtdx, float dsdy, float dtdy) argument 668 setActiveConfig(const sp<IBinder>& display, int id) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_storage.c | 131 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 D | VisualizerTest.java | 75 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 D | EnvReverbTest.java | 76 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/webm/ |
H A D | WebmElement.h | 30 WebmElement(uint64_t id, uint64_t size); 66 static sp<WebmElement> SeekEntry(uint64_t id, uint64_t off); 77 WebmUnsigned(uint64_t id, uint64_t value); 84 WebmFloat(uint64_t id, float value); 85 WebmFloat(uint64_t id, double value); 91 WebmBinary(uint64_t id, const sp<ABuffer> &ref); 97 WebmString(uint64_t id, const char *str); 120 WebmMaster(uint64_t id); 121 WebmMaster(uint64_t id, const List<sp<WebmElement> > &children);
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraDeviceBase.h | 96 * immediately if the latest request received by the HAL has this id. 112 uint32_t width, uint32_t height, int format, int *id) = 0; 118 virtual status_t createReprocessStreamFromStream(int outputId, int *id) = 0; 123 virtual status_t getStreamInfo(int id, 129 virtual status_t setStreamTransform(int id, int transform) = 0; 135 virtual status_t deleteStream(int id) = 0; 141 virtual status_t deleteReprocessStream(int id) = 0; 234 virtual status_t triggerAutofocus(uint32_t id) = 0; 241 virtual status_t triggerCancelAutofocus(uint32_t id) = 0; 248 virtual status_t triggerPrecaptureMetering(uint32_t id) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | Task.java | 70 public final int id; field in class:Task.TaskKey 76 public TaskKey(int id, Intent intent, int userId, long firstActiveTime, long lastActiveTime) { argument 78 this.id = id; 95 return id == ((TaskKey) o).id 101 return (id << 5) + userId; 106 return "Task.Key: " + id + ", " 139 boolean isInAffiliationGroup = (taskAffiliation != key.id); 203 // Check that the id matche [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewLayersActivity5.java | 48 setupList(R.id.list1); 90 ((ClipFrameLayout) findViewById(R.id.container)).setClipEnabled(true); 94 ((ClipFrameLayout) findViewById(R.id.container)).setClipEnabled(false); 98 findViewById(R.id.container).setLayerType(View.LAYER_TYPE_HARDWARE, mPaint); 102 findViewById(R.id.container).setLayerType(View.LAYER_TYPE_NONE, null); 106 findViewById(R.id.container).getLayoutParams().height = ViewGroup.LayoutParams.MATCH_PARENT; 107 findViewById(R.id.container).requestLayout(); 111 findViewById(R.id.container).getLayoutParams().height = 300; 112 findViewById(R.id.container).requestLayout();
|
/frameworks/base/core/java/android/widget/ |
H A D | RadioGroup.java | 39 * <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/native/include/gui/ |
H A D | SurfaceComposerClient.h | 83 static status_t setActiveConfig(const sp<IBinder>& display, int id); 107 //! Possible values for id are eDisplayIdMain and eDisplayIdHdmi. 108 static sp<IBinder> getBuiltInDisplay(int32_t id); 126 status_t hide(const sp<IBinder>& id); 127 status_t show(const sp<IBinder>& id); 128 status_t setFlags(const sp<IBinder>& id, uint32_t flags, uint32_t mask); 129 status_t setTransparentRegionHint(const sp<IBinder>& id, const Region& transparent); 130 status_t setLayer(const sp<IBinder>& id, int32_t layer); 131 status_t setAlpha(const sp<IBinder>& id, float alpha=1.0f); 132 status_t setMatrix(const sp<IBinder>& id, floa [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ValueParser.java | 121 int id = rawValue[valueIndex] & 0xff; 124 item = new Item(id, text); 134 * Retrieves Item id information from the COMPREHENSION-TLV object. 137 * @return An Item id 141 int id = 0; 147 id = rawValue[valueIndex] & 0xff; 152 return id; 156 * Retrieves icon id from an Icon Identifier COMPREHENSION-TLV object 163 IconId id = new IconId(); 168 id [all...] |
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareService.java | 99 public boolean removeGeofence(int id, int monitoringType) { 104 return mGeofenceHardwareImpl.removeGeofence(id, monitoringType); 107 public boolean pauseGeofence(int id, int monitoringType) { 112 return mGeofenceHardwareImpl.pauseGeofence(id, monitoringType); 115 public boolean resumeGeofence(int id, int monitoringType, int monitorTransitions) { 120 return mGeofenceHardwareImpl.resumeGeofence(id, monitoringType, monitorTransitions);
|
/frameworks/base/core/java/android/view/ |
H A D | InputQueue.java | 94 long id; 96 id = nativeSendKeyEvent(mPtr, (KeyEvent) e, predispatch); 98 id = nativeSendMotionEvent(mPtr, (MotionEvent) e); 100 mActiveEventArray.put(id, event); 103 private void finishInputEvent(long id, boolean handled) { argument 104 int index = mActiveEventArray.indexOfKey(id);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | FocusAfterRemovalTest.java | 50 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 D | BaselineButtonsTest.java | 45 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/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
H A D | FountainFboRS.java | 82 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/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/ |
H A D | AnimatedGifTest.java | 63 findViewById(R.id.start).setOnClickListener(new View.OnClickListener() { 69 findViewById(R.id.stop).setOnClickListener(new View.OnClickListener() { 75 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() { 81 findViewById(R.id.invis).setOnClickListener(new View.OnClickListener() { 93 ImageView imageView = (ImageView) findViewById(R.id.imageview); 111 ImageView imageView = (ImageView) findViewById(R.id.imageview);
|