Searched refs:id (Results 51 - 75 of 1021) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/view/
H A DVelocityTracker.java29 * and {@link #getYVelocity(int)} to retrieve the velocity for each pointer id.
45 private static native float nativeGetXVelocity(int ptr, int id); argument
46 private static native float nativeGetYVelocity(int ptr, int id); argument
47 private static native boolean nativeGetEstimator(int 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 DStatusTracker.h60 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/java/android/hardware/camera2/
H A DFace.java60 * <p>The id, leftEyePosition, rightEyePosition, and mouthPosition are considered optional.
64 * If the id is {@value #ID_UNSUPPORTED} then the leftEyePosition, rightEyePosition, and
70 * @param id A unique ID per face visible to the tracker.
79 * or if id is {@value #ID_UNSUPPORTED} and
81 * or else if id is negative.
85 public Face(Rect bounds, int score, int id, argument
90 } else if (id < 0 && id != ID_UNSUPPORTED) {
93 if (id == ID_UNSUPPORTED) {
101 mId = id;
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DInputBindResult.java44 public final String id; field in class:InputBindResult
55 id = _id;
66 id = source.readString();
72 return "InputBindResult{" + method + " " + id
91 dest.writeString(id);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusAfterRemoval.java38 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 DDescendantFocusability.java43 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 DViewFlipperActivity.java39 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 Dandroid_view_VelocityTracker.cpp52 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, jint ptr, jint id) argument
186 android_view_VelocityTracker_nativeGetYVelocity(JNIEnv* env, jclass clazz, jint ptr, jint id) argument
194 android_view_VelocityTracker_nativeGetEstimator(JNIEnv* env, jclass clazz, jint ptr, jint id, jobject outEstimatorObj) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DDisabled.java37 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 DDrawableBgMinSize.java61 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 DIncludeTest.java41 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);
H A DStubbedView.java34 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() {
36 final View view = findViewById(R.id.viewStub);
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DLLEditTextThenButton.java39 mLayout = (LinearLayout) findViewById(R.id.layout);
40 mEditText = (EditText) findViewById(R.id.editText);
41 mButton = (Button) findViewById(R.id.button);
H A DBaselineAlignmentZeroWidthAndWeight.java31 findViewById(R.id.show).setOnClickListener(new View.OnClickListener() {
33 findViewById(R.id.layout).setVisibility(View.VISIBLE);
/frameworks/base/media/java/android/media/
H A DMediaRouterClientState.java38 * 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/tests/TransitionTests/src/com/android/transitiontests/
H A DContactsExpansion.java52 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 DFadingHierarchy.java37 mContainer = (ViewGroup) findViewById(R.id.container);
38 mRemovingContainer = (ViewGroup) findViewById(R.id.removingContainer);
41 mRemovingButton = (Button) findViewById(R.id.removingButton);
H A DSequenceTestSimple.java45 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 DLocalActivityManager.java49 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 DCellSpanTest.java47 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 DVerticalGravityTest.java49 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/graphics/java/android/renderscript/
H A DProgramRaster.java49 CullMode(int id) { argument
50 mID = id;
57 ProgramRaster(int id, RenderScript rs) { argument
58 super(id, rs);
157 int id = mRS.nProgramRasterCreate(mPointSprite, mCullMode.mID);
158 ProgramRaster programRaster = new ProgramRaster(id, mRS);
/frameworks/base/services/java/com/android/server/location/
H A DFusedLocationHardwareSecure.java70 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 DAudioGroup.java152 int id = nativeAdd(stream.getMode(), stream.getSocket(),
155 mStreams.put(stream, id);
167 Integer id = mStreams.remove(stream);
168 if (id != null) {
169 nativeRemove(id);
173 private native void nativeRemove(int id); argument
/frameworks/base/include/storage/
H A DIMountService.h48 virtual int32_t createSecureContainer(const String16& id,
51 virtual int32_t finalizeSecureContainer(const String16& id) = 0;
52 virtual int32_t destroySecureContainer(const String16& id) = 0;
53 virtual int32_t mountSecureContainer(const String16& id,
56 unmountSecureContainer(const String16& id, const bool force) = 0;
57 virtual bool isSecureContainerMounted(const String16& id) = 0;
60 virtual bool getSecureContainerPath(const String16& id, String16& path) = 0;
61 virtual int32_t getSecureContainerList(const String16& id,

Completed in 651 milliseconds

1234567891011>>