Searched refs:id (Results 276 - 300 of 890) sorted by relevance

<<11121314151617181920>>

/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
H A DBatteryWaster.java55 findViewById(R.id.checkbox).setOnClickListener(mClickListener);
56 findViewById(R.id.checkbox_wake).setOnClickListener(mWakeClickListener);
57 mLog = (TextView)findViewById(R.id.log);
75 if (((CheckBox)findViewById(R.id.checkbox)).isChecked()) {
78 if (((CheckBox)findViewById(R.id.checkbox_wake)).isChecked()) {
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPlaybackActivity.java147 mPlaybackView = (PlaybackView) findViewById(R.id.playback);
148 mSeekBar = (SeekBar) findViewById(R.id.seek_bar);
149 mForward = (Button) findViewById(R.id.forward);
150 mBackward = (Button) findViewById(R.id.backward);
151 mFrameDisplay = (TextView) findViewById(R.id.frame_display);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DApnSetting.java37 public final int id; field in class:ApnSetting
54 public ApnSetting(int id, String numeric, String carrier, String apn, argument
59 this.id = id;
159 .append(", ").append(id)
H A DSmsHeader.java92 public int id; field in class:SmsHeader.MiscElt
126 int id = inStream.read();
130 switch (id) {
175 miscElt.id = id;
242 outStream.write(miscElt.id);
280 builder.append("{ id=" + miscElt.id);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java103 public View findViewById(int id) {
104 return FragmentActivity.this.findViewById(id);
246 int id = a.getResourceId(FragmentTag.Fragment_id, View.NO_ID);
252 if (containerId == View.NO_ID && id == View.NO_ID && tag == null) {
254 + ": Must specify unique android:id, android:tag, or have a parent with an id for " + fname);
260 Fragment fragment = id != View.NO_ID ? mFragments.findFragmentById(id) : null;
268 if (FragmentManagerImpl.DEBUG) Log.v(TAG, "onCreateView: id=0x"
269 + Integer.toHexString(id)
[all...]
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java174 mStatusView = (TextView) findViewById(R.id.package_name);
175 mAllowButton = (Button) findViewById(R.id.button_allow);
176 mDenyButton = (Button) findViewById(R.id.button_deny);
178 mCurPassword = (TextView) findViewById(R.id.password);
179 mEncPassword = (TextView) findViewById(R.id.enc_password);
180 TextView curPwDesc = (TextView) findViewById(R.id.password_desc);
187 TextView pwPrompt = (TextView) findViewById(R.id.password_desc);
191 TextView tv = (TextView) findViewById(R.id.enc_password);
193 tv = (TextView) findViewById(R.id.enc_password_desc);
202 TextView encPwDesc = (TextView) findViewById(R.id
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java140 long id = intent.getExtras().getLong(DownloadManager.EXTRA_DOWNLOAD_ID);
141 Log.i(LOG_TAG, "Received Notification for download: " + id);
142 if (!downloadIds.contains(id)) {
146 downloadIds.add(id);
151 Cursor cursor = dm.query(new Query().setFilterById(id));
164 Log.i(LOG_TAG, "Notification for id: " + id + " has already been made.");
479 * @param requestId The id of the download to remove
646 * @param id The download id t
648 waitForDownloadOrTimeout_skipNotification(long id) argument
660 waitForDownloadOrTimeout(long id) argument
675 waitForDownloadOrTimeout(long id, long poll, long timeoutMillis) argument
704 waitForDownloadOrTimeoutNoThrow(long id, long poll, long timeoutMillis) argument
996 getCursor(long id) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTimePicker.java147 mHourSpinner = (NumberPicker) findViewById(R.id.hour);
161 mHourSpinnerInput = (EditText) mHourSpinner.findViewById(R.id.numberpicker_input);
165 mDivider = (TextView) findViewById(R.id.divider);
171 mMinuteSpinner = (NumberPicker) findViewById(R.id.minute);
199 mMinuteSpinnerInput = (EditText) mMinuteSpinner.findViewById(R.id.numberpicker_input);
206 View amPmView = findViewById(R.id.amPm);
234 mAmPmSpinnerInput = (EditText) mAmPmSpinner.findViewById(R.id.numberpicker_input);
540 trySetContentDescription(mMinuteSpinner, R.id.increment,
542 trySetContentDescription(mMinuteSpinner, R.id.decrement,
545 trySetContentDescription(mHourSpinner, R.id
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp58 (new AMessage(kWhatStart, id()))->post();
62 (new AMessage(kWhatPause, id()))->post();
66 (new AMessage(kWhatResume, id()))->post();
70 sp<AMessage> msg = new AMessage(kWhatSeek, id());
76 sp<AMessage> msg = new AMessage(kWhatSetSource, id());
233 sp<AMessage> msg = new AMessage(kWhatRetryRead, id());
261 sp<AMessage> msg = new AMessage(kWhatSendSubtitle, id());
/frameworks/base/core/java/android/webkit/
H A DL10nUtils.java99 private static String loadString(int id) { argument
104 String localisedString = mApplicationContext.getResources().getString(mIdsArray[id]);
105 mStrings.put(id, new SoftReference<String>(localisedString));
109 public static String getLocalisedString(int id) { argument
113 return loadString(id);
116 SoftReference<String> ref = mStrings.get(id);
118 return needToLoad ? loadString(id) : ref.get();
/frameworks/base/include/androidfw/
H A DInputTransport.h98 return pointers[index].properties.id;
361 uint32_t id = msg->body.motion.pointers[i].properties.id; local
362 idBits.markBit(id);
363 idToIndex[id] = i;
368 const PointerCoords& getPointerById(uint32_t id) const {
369 return pointers[idToIndex[id]];
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectsTest.java52 Button button = (Button) findViewById(R.id.env_reverb_actvity);
59 button = (Button) findViewById(R.id.preset_reverb_actvity);
66 button = (Button) findViewById(R.id.equalizer_actvity);
73 button = (Button) findViewById(R.id.virtualizer_actvity);
80 button = (Button) findViewById(R.id.bassboost_actvity);
87 button = (Button) findViewById(R.id.visualizer_actvity);
96 ListView list = (ListView) findViewById(R.id.effect_list);
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/
H A DCameraPreviewActivity.java99 mPreviewView = (TextureView) findViewById(R.id.preview_view);
100 mFormatView = (ImageView) findViewById(R.id.format_view);
109 mCameraSpinner = (Spinner) findViewById(R.id.cameras_selection);
115 mResolutionSpinner = (Spinner) findViewById(R.id.resolution_selection);
161 View view, int pos, long id) {
176 View view, int position, long id) {
190 private void setUpCamera(int id) { argument
193 mCurrentCameraId = id;
194 mCamera = Camera.open(id);
/frameworks/av/include/media/
H A DIAudioPolicyService.h87 int id) = 0;
88 virtual status_t unregisterEffect(int id) = 0;
89 virtual status_t setEffectEnabled(int id, bool enabled) = 0;
/frameworks/base/core/java/android/app/
H A DExpandableListActivity.java52 * ExpandableListView object with the id "@android:id/list" (or
53 * {@link android.R.id#list} if it's in code)
57 * id "android:empty". Note that when an empty view is present, the expandable
73 * &lt;ExpandableListView android:id=&quot;@id/android:list&quot;
80 * &lt;TextView android:id=&quot;@id/android:empty&quot;
121 * &lt;TextView android:id=&quot;@+id/text
181 onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) argument
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDevice.java218 public static String getDeviceName(int id) { argument
219 return native_get_device_name(id);
223 private static native String native_get_device_name(int id); argument
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java276 final int id = presenter.getId();
277 if (id > 0) {
280 presenterStates.put(id, state);
299 final int id = presenter.getId();
300 if (id > 0) {
301 Parcelable parcel = presenterStates.get(id);
386 private MenuItem addInternal(int group, int id, int categoryOrder, CharSequence title) { argument
389 final MenuItemImpl item = new MenuItemImpl(this, group, id, categoryOrder,
411 public MenuItem add(int group, int id, int categoryOrder, CharSequence title) { argument
412 return addInternal(group, id, categoryOrde
415 add(int group, int id, int categoryOrder, int title) argument
427 addSubMenu(int group, int id, int categoryOrder, CharSequence title) argument
435 addSubMenu(int group, int id, int categoryOrder, int title) argument
439 addIntentOptions(int group, int id, int categoryOrder, ComponentName caller, Intent[] specifics, Intent intent, int flags, MenuItem[] outSpecificItems) argument
468 removeItem(int id) argument
597 findItem(int id) argument
615 findItemIndex(int id) argument
862 performIdentifierAction(int id, int flags) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridThrasher.java118 mText = (TextView) findViewById(R.id.text);
120 GridView g = (GridView) findViewById(R.id.grid);
128 public void onItemSelected(AdapterView parent, View v, int position, long id) { argument
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp91 glDeleteTextures(1, &texture->id);
133 glGenTextures(1, &texture->id);
135 glBindTexture(GL_TEXTURE_2D, texture->id);
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java64 ((ImageView) view.findViewById(R.id.icon)).setImageDrawable(app.loadIcon(pm));
65 ((TextView) view.findViewById(R.id.prompt)).setText(
67 ((CompoundButton) view.findViewById(R.id.check)).setOnCheckedChangeListener(this);
/frameworks/base/services/java/com/android/server/am/
H A DCompatModeDialog.java51 mCompatEnabled = (Switch)findViewById(com.android.internal.R.id.compat_checkbox);
64 mAlwaysShow = (CheckBox)findViewById(com.android.internal.R.id.ask_checkbox);
75 mHint = findViewById(com.android.internal.R.id.reask_hint);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DEventSenderImpl.java88 public TouchPoint(int id, Point point) { argument
89 mId = id;
215 int id;
217 id = 0;
219 id = getTouchPoints().get(numPoints - 1).getId() + 1;
222 new TouchPoint(id, createViewPointFromContentCoordinates(msg.arg1, msg.arg2)));
238 int index = bundle.getInt("id");
403 public void updateTouchPoint(int id, int x, int y) { argument
405 bundle.putInt("id", id);
415 cancelTouchPoint(int id) argument
425 releaseTouchPoint(int id) argument
[all...]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DFrameworkPerfActivity.java164 mFgSpinner = (Spinner) findViewById(R.id.fgspinner);
170 mBgSpinner = (Spinner) findViewById(R.id.bgspinner);
176 mLimitSpinner = (Spinner) findViewById(R.id.limitspinner);
183 mTestTime = (TextView)findViewById(R.id.testtime);
184 mLimitLabel = (TextView)findViewById(R.id.limitlabel);
186 mStartButton = (Button)findViewById(R.id.start);
192 mStopButton = (Button)findViewById(R.id.stop);
199 mLocalCheckBox = (CheckBox)findViewById(R.id.local);
201 mLog = (TextView)findViewById(R.id.log);
209 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
[all...]
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DEditTextActivityDialog.java77 protected Dialog onCreateDialog(int id) { argument
78 switch (id) {
85 return super.onCreateDialog(id);
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
H A DBallsView.java91 int id = ev.getPointerId(p);
95 id);
101 id);

Completed in 886 milliseconds

<<11121314151617181920>>