/frameworks/base/core/java/com/android/internal/app/ |
H A D | HeavyWeightSwitcherActivity.java | 75 setIconAndText(R.id.old_app_icon, R.id.old_app_action, R.id.old_app_description, 77 setIconAndText(R.id.new_app_icon, R.id.new_app_action, R.id.new_app_description, 80 View button = findViewById((R.id.switch_old)); 82 button = findViewById((R.id.switch_new)); 84 button = findViewById((R.id.cancel)); 93 void setText(int id, CharSequenc argument 97 setDrawable(int id, Drawable dr) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ViewsStateBundle.java | 32 * Maintains a bundle of states for a group of views. Each view must have a unique id to identify 37 * Vertical list maintains id->bundle mapping of all it's children (even the children is offscreen 64 public void remove(int id) { argument 66 mChildStates.remove(getSaveStatesKey(id)); 147 * Load view from states, it's none operation if the there is no state associated with the id. 150 * @param id unique id for the view within this ViewsStateBundle 152 public final void loadView(View view, int id) { argument 154 String key = getSaveStatesKey(id); 166 * @param id uniqu 168 saveViewUnchecked(View view, int id) argument 183 saveOnScreenView(View view, int id) argument 195 saveOffscreenView(View view, int id) argument 209 getSaveStatesKey(int id) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | VelocityTracker.java | 29 * and {@link #getYVelocity(int)} to retrieve the velocity for each pointer id. 45 private static native float nativeGetXVelocity(long ptr, int id); argument 46 private static native float nativeGetYVelocity(long ptr, int id); argument 47 private static native boolean nativeGetEstimator(long ptr, int id, Estimator outEstimator); argument 180 * @param id Which pointer's velocity to return. 183 public float getXVelocity(int id) { argument 184 return nativeGetXVelocity(mPtr, id); 191 * @param id Which pointer's velocity to return. 194 public float getYVelocity(int id) { argument 195 return nativeGetYVelocity(mPtr, id); 212 getEstimator(int id, Estimator outEstimator) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.h | 60 void removeComponent(int id); 66 void markComponentIdle(int id, const sp<Fence>& componentFence); 69 void markComponentActive(int id); 82 void markComponent(int id, ComponentState state, 91 int id; member in struct:android::camera3::StatusTracker::StateChange
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | FocusAfterRemoval.java | 38 final LinearLayout left = (LinearLayout) findViewById(R.id.leftLayout); 41 Button topLeftButton = (Button) findViewById(R.id.topLeftButton); 51 Button bottomLeftButton = (Button) findViewById(R.id.bottomLeftButton); 60 final Button topRightButton = (Button) findViewById(R.id.topRightButton); 69 final Button bottomRightButton = (Button) findViewById(R.id.bottomRightButton);
|
H A D | DescendantFocusability.java | 43 beforeDescendants = (ViewGroup) findViewById(R.id.beforeDescendants); 46 afterDescendants = (ViewGroup) findViewById(R.id.afterDescendants); 49 blocksDescendants = (ViewGroup) findViewById(R.id.blocksDescendants);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewFlipperActivity.java | 39 ViewFlipper flipper = (ViewFlipper) widget.findViewById(R.id.flipper); 43 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset1); 44 ((TextView) view.findViewById(R.id.widget_text)).setText("This is a long line of text, " 49 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset3); 50 ((TextView) view.findViewById(R.id.widget_text)).setText("Another very long line of text, "
|
/frameworks/base/core/jni/ |
H A D | android_view_VelocityTracker.cpp | 52 void getVelocity(int32_t id, float* outVx, float* outVy); 53 bool getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator); 85 uint32_t id = idBits.clearFirstMarkedBit(); local 88 mVelocityTracker.getVelocity(id, &vx, &vy); 110 void VelocityTrackerState::getVelocity(int32_t id, float* outVx, float* outVy) { argument 111 if (id == ACTIVE_POINTER_ID) { 112 id = mVelocityTracker.getActivePointerId(); 116 if (id >= 0 && id <= MAX_POINTER_ID && mCalculatedIdBits.hasBit(id)) { 134 getEstimator(int32_t id, VelocityTracker::Estimator* outEstimator) argument 178 android_view_VelocityTracker_nativeGetXVelocity(JNIEnv* env, jclass clazz, jlong ptr, jint id) argument 186 android_view_VelocityTracker_nativeGetYVelocity(JNIEnv* env, jclass clazz, jlong ptr, jint id) argument 194 android_view_VelocityTracker_nativeGetEstimator(JNIEnv* env, jclass clazz, jlong ptr, jint id, jobject outEstimatorObj) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | UserInfo.java | 81 public int id; field in class:UserInfo 94 public UserInfo(int id, String name, int flags) { argument 95 this(id, name, null, flags); 98 public UserInfo(int id, String name, String iconPath, int flags) { argument 99 this.id = id; 144 id = orig.id; 155 return new UserHandle(id); 160 return "UserInfo{" + id [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | Disabled.java | 37 Button disabledButton = (Button) findViewById(R.id.disabledButton); 41 Button disabledButtonA = (Button) findViewById(R.id.disabledButtonA); 46 Button disabledButtonB = (Button) findViewById(R.id.disabledButtonB);
|
H A D | DrawableBgMinSize.java | 61 mChangeBackgroundsButton = (Button) findViewById(R.id.change_backgrounds); 64 mTextView = (TextView) findViewById(R.id.text_view); 65 mLinearLayout = (LinearLayout) findViewById(R.id.linear_layout); 66 mRelativeLayout = (RelativeLayout) findViewById(R.id.relative_layout); 67 mFrameLayout = (FrameLayout) findViewById(R.id.frame_layout); 68 mAbsoluteLayout = (AbsoluteLayout) findViewById(R.id.absolute_layout);
|
H A D | IncludeTest.java | 41 final View button1 = activity.findViewById(R.id.included_button); 44 final View button2 = activity.findViewById(R.id.included_button_overriden); 45 assertNotNull("The layout include_button was not included with overriden id", button2); 52 final View button1 = activity.findViewById(R.id.included_button); 53 final View button2 = activity.findViewById(R.id.included_button_overriden); 64 final View button1 = activity.findViewById(R.id.included_button_visibility); 73 final View button1 = activity.findViewById(R.id.included_button_with_size);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
H A D | LLEditTextThenButton.java | 39 mLayout = (LinearLayout) findViewById(R.id.layout); 40 mEditText = (EditText) findViewById(R.id.editText); 41 mButton = (Button) findViewById(R.id.button);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaRouterClientState.java | 38 * The id of the current globally selected route, or null if none. 53 public RouteInfo getRoute(String id) { argument 57 if (route.id.equals(id)) { 95 public String id; field in class:MediaRouterClientState.RouteInfo 108 public RouteInfo(String id) { argument 109 this.id = id; 119 id = other.id; [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardPinBasedInputView.java | 155 mOkButton = findViewById(R.id.key_enter); 169 mDeleteButton = findViewById(R.id.delete_button); 191 mButton0 = findViewById(R.id.key0); 192 mButton1 = findViewById(R.id.key1); 193 mButton2 = findViewById(R.id.key2); 194 mButton3 = findViewById(R.id.key3); 195 mButton4 = findViewById(R.id.key4); 196 mButton5 = findViewById(R.id.key5); 197 mButton6 = findViewById(R.id.key6); 198 mButton7 = findViewById(R.id [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | LLandActivity.java | 31 LLand world = (LLand) findViewById(R.id.world); 32 world.setScoreField((TextView) findViewById(R.id.score)); 33 world.setSplash(findViewById(R.id.welcome));
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | ContactsExpansion.java | 52 ViewGroup contactsContainer = (ViewGroup) findViewById(R.id.contactsContainer); 67 ImageView thumbnailView = (ImageView) contactItem.findViewById(R.id.contact_picture); 69 ((TextView)contactItem.findViewById(R.id.contact_name)).setText(contactsData[dataIndex++]); 70 ((TextView)contactItem.findViewById(R.id.contact_street)). 72 ((TextView)contactItem.findViewById(R.id.contact_city)).setText(contactsData[dataIndex++]); 73 ((TextView)contactItem.findViewById(R.id.contact_phone)).setText(contactsData[dataIndex++]); 74 ((TextView)contactItem.findViewById(R.id.contact_email)).setText(contactsData[dataIndex++]); 79 addTransition(new Rotate().addTarget(R.id.contact_arrow)). 82 addTransition(new Crossfade().addTarget(R.id.contact_picture)); 106 View expandedContainer = currentItem.findViewById(R.id [all...] |
H A D | FadingHierarchy.java | 37 mContainer = (ViewGroup) findViewById(R.id.container); 38 mRemovingContainer = (ViewGroup) findViewById(R.id.removingContainer); 41 mRemovingButton = (Button) findViewById(R.id.removingButton);
|
H A D | SequenceTestSimple.java | 45 View container = (View) findViewById(R.id.container); 48 mRemovingButton = (Button) findViewById(R.id.removingButton); 55 fader.addTransition(new Fade().addTarget(R.id.removingButton)); 56 fader.addTransition(new ChangeBounds().addTarget(R.id.sceneSwitchButton)); 61 sequencedFadeReverse.addTransition(new ChangeBounds().addTarget(R.id.sceneSwitchButton)); 62 sequencedFadeReverse.addTransition(new Fade().addTarget(R.id.removingButton));
|
/frameworks/base/core/java/android/app/ |
H A D | LocalActivityManager.java | 49 id = _id; 53 final String id; // Unique name of this record. field in class:LocalActivityManager.LocalActivityRecord 76 /** id -> record of all known activities. */ 122 instanceObj = lastNonConfigurationInstances.get(r.id); 131 if (localLOGV) Log.v(TAG, r.id + ": starting " + r.intent); 136 mParent, r.id, r.intent, r.activityInfo, r, r.instanceState, instance); 145 if (localLOGV) Log.v(TAG, r.id + ": resuming"); 162 if (localLOGV) Log.v(TAG, r.id + ": restarting"); 167 if (localLOGV) Log.v(TAG, r.id + ": restarting and resuming"); 177 if (localLOGV) Log.v(TAG, r.id 260 startActivity(String id, Intent intent) argument 385 destroyActivity(String id, boolean finish) argument 432 getActivity(String id) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
H A D | CellSpanTest.java | 47 mA = activity.findViewById(R.id.a); 48 mB = activity.findViewById(R.id.b); 49 mC = activity.findViewById(R.id.c); 50 mSpanThenCell = activity.findViewById(R.id.spanThenCell); 51 mCellThenSpan = activity.findViewById(R.id.cellThenSpan); 52 mSpan = activity.findViewById(R.id.span);
|
H A D | VerticalGravityTest.java | 49 mReference1 = activity.findViewById(R.id.reference1); 50 mReference2 = activity.findViewById(R.id.reference2); 51 mReference3 = activity.findViewById(R.id.reference3); 52 mTop = activity.findViewById(R.id.cell_top); 53 mCenter = activity.findViewById(R.id.cell_center); 54 mBottom = activity.findViewById(R.id.cell_bottom);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramRaster.java | 46 CullMode(int id) { argument 47 mID = id; 54 ProgramRaster(long id, RenderScript rs) { argument 55 super(id, rs); 154 long id = mRS.nProgramRasterCreate(mPointSprite, mCullMode.mID); 155 ProgramRaster programRaster = new ProgramRaster(id, mRS);
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | FusedLocationHardwareSecure.java | 70 public void startBatching(int id, FusedBatchOptions batchOptions) throws RemoteException { argument 72 mLocationHardware.startBatching(id, batchOptions); 76 public void stopBatching(int id) throws RemoteException { argument 78 mLocationHardware.stopBatching(id); 83 int id, 87 mLocationHardware.updateBatchingOptions(id, batchoOptions); 82 updateBatchingOptions( int id, FusedBatchOptions batchoOptions ) argument
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | AudioGroup.java | 152 long id = nativeAdd(stream.getMode(), stream.getSocket(), 155 mStreams.put(stream, id); 167 Long id = mStreams.remove(stream); 168 if (id != null) { 169 nativeRemove(id); 173 private native void nativeRemove(long id); argument
|