/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
D | GLClientState.h | 85 void enable(int location, int state); 269 … const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter() local 270 *ptr = state->size; in getClientStateParameter() 275 … const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter() local 276 *ptr = state->type; in getClientStateParameter() 281 … const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter() local 282 *ptr = state->stride; in getClientStateParameter() 287 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); in getClientStateParameter() local 288 *ptr = state->size; in getClientStateParameter() 293 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); in getClientStateParameter() local [all …]
|
D | GLClientState.cpp | 74 void GLClientState::enable(int location, int state) in enable() argument 80 m_states[location].enableDirty |= (state != m_states[location].enabled); in enable() 81 m_states[location].enabled = state; in enable() 163 const GLClientState::VertexAttribState *state = NULL; in getClientStatePointer() local 166 state = getState(GLClientState::VERTEX_LOCATION); in getClientStatePointer() 170 state = getState(GLClientState::NORMAL_LOCATION); in getClientStatePointer() 174 state = getState(GLClientState::COLOR_LOCATION); in getClientStatePointer() 178 state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); in getClientStatePointer() 182 state = getState(GLClientState::POINTSIZE_LOCATION); in getClientStatePointer() 186 state = getState(GLClientState::MATRIXINDEX_LOCATION); in getClientStatePointer() [all …]
|
/development/tools/emulator/system/lights/ |
D | lights_qemu.c | 56 rgb_to_brightness( struct light_state_t const* state ) in rgb_to_brightness() argument 58 int color = state->color & 0x00ffffff; in rgb_to_brightness() 65 set_light_backlight( struct light_device_t* dev, struct light_state_t const* state ) in set_light_backlight() argument 77 state->flashOnMS, in set_light_backlight() 78 state->flashOffMS, in set_light_backlight() 79 state->flashMode, in set_light_backlight() 80 state->brightnessMode, in set_light_backlight() 81 state->color ); in set_light_backlight() 83 int brightness = rgb_to_brightness( state ); in set_light_backlight() 101 set_light_buttons( struct light_device_t* dev, struct light_state_t const* state ) in set_light_buttons() argument [all …]
|
/development/tools/emulator/opengl/system/GLESv1_enc/ |
D | GLEncoder.cpp | 75 GLClientState* state = ctx->m_state; in s_glGetIntegerv() local 94 *ptr = state->getBoundTexture(GL_TEXTURE_2D); in s_glGetIntegerv() 98 *ptr = state->getBoundTexture(GL_TEXTURE_EXTERNAL_OES); in s_glGetIntegerv() 102 if (!state->getClientStateParameter<GLint>(param,ptr)) { in s_glGetIntegerv() 113 GLClientState* state = ctx->m_state; in s_glGetFloatv() local 133 *ptr = (GLfloat)state->getBoundTexture(GL_TEXTURE_2D); in s_glGetFloatv() 137 *ptr = (GLfloat)state->getBoundTexture(GL_TEXTURE_EXTERNAL_OES); in s_glGetFloatv() 141 if (!state->getClientStateParameter<GLfloat>(param,ptr)) { in s_glGetFloatv() 152 GLClientState* state = ctx->m_state; in s_glGetFixedv() local 172 *ptr = state->getBoundTexture(GL_TEXTURE_2D) << 16; in s_glGetFixedv() [all …]
|
/development/ndk/platforms/android-3/include/linux/mmc/ |
D | card.h | 58 unsigned int state; member 72 #define mmc_card_present(c) ((c)->state & MMC_STATE_PRESENT) 73 #define mmc_card_dead(c) ((c)->state & MMC_STATE_DEAD) 74 #define mmc_card_bad(c) ((c)->state & MMC_STATE_BAD) 75 #define mmc_card_sd(c) ((c)->state & MMC_STATE_SDCARD) 76 #define mmc_card_readonly(c) ((c)->state & MMC_STATE_READONLY) 78 #define mmc_card_set_present(c) ((c)->state |= MMC_STATE_PRESENT) 79 #define mmc_card_set_dead(c) ((c)->state |= MMC_STATE_DEAD) 80 #define mmc_card_set_bad(c) ((c)->state |= MMC_STATE_BAD) 81 #define mmc_card_set_sd(c) ((c)->state |= MMC_STATE_SDCARD) [all …]
|
/development/ndk/platforms/android-9/samples/native-activity/jni/ |
D | main.c | 57 struct saved_state state; member 117 engine->state.angle = 0; in engine_init_display() 138 glClearColor(((float)engine->state.x)/engine->width, engine->state.angle, in engine_draw_frame() 139 ((float)engine->state.y)/engine->height, 1); in engine_draw_frame() 172 engine->state.x = AMotionEvent_getX(event, 0); in engine_handle_input() 173 engine->state.y = AMotionEvent_getY(event, 0); in engine_handle_input() 188 *((struct saved_state*)engine->app->savedState) = engine->state; in engine_handle_cmd() 231 void android_main(struct android_app* state) { in android_main() argument 238 state->userData = &engine; in android_main() 239 state->onAppCmd = engine_handle_cmd; in android_main() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | GameControllerInput.java | 123 InputDeviceState state = getInputDeviceState(event.getDeviceId()); in dispatchKeyEvent() local 124 if (state != null) { in dispatchKeyEvent() 127 if (state.onKeyDown(event)) { in dispatchKeyEvent() 128 mSummaryAdapter.show(state); in dispatchKeyEvent() 132 if (state.onKeyUp(event)) { in dispatchKeyEvent() 133 mSummaryAdapter.show(state); in dispatchKeyEvent() 148 InputDeviceState state = getInputDeviceState(event.getDeviceId()); in dispatchGenericMotionEvent() local 149 if (state != null && state.onJoystickMotion(event)) { in dispatchGenericMotionEvent() 150 mSummaryAdapter.show(state); in dispatchGenericMotionEvent() 157 InputDeviceState state = mInputDeviceStates.get(deviceId); in getInputDeviceState() local [all …]
|
/development/samples/Obb/src/com/example/android/obbapp/ |
D | ObbMountActivity.java | 64 ObbState state = (ObbState) getLastNonConfigurationInstance(); in onCreate() local 66 if (state != null) { in onCreate() 67 mSM = state.storageManager; in onCreate() 68 mStatus.setText(state.status); in onCreate() 69 mPath.setText(state.path); in onCreate() 80 public void onObbStateChange(String path, int state) { 81 Log.d(TAG, "path=" + path + "; state=" + state); 82 mStatus.setText(String.valueOf(state)); 83 if (state == OnObbStateChangeListener.MOUNTED) { 133 ObbState state = new ObbState(mSM, mStatus.getText(), mPath.getText()); in onRetainNonConfigurationInstance() local [all …]
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | PhotoTask.java | 182 void handleState(int state) { in handleState() argument 183 sPhotoManager.handleState(this, state); in handleState() 249 public void handleDownloadState(int state) { in handleDownloadState() argument 253 switch(state) { in handleDownloadState() 279 public void handleDecodeState(int state) { in handleDecodeState() argument 283 switch(state) { in handleDecodeState()
|
D | PhotoManager.java | 274 public void handleState(PhotoTask photoTask, int state) { in handleState() argument 275 switch (state) { in handleState() 289 Message completeMessage = mHandler.obtainMessage(state, photoTask); in handleState() 303 mHandler.obtainMessage(state, photoTask).sendToTarget(); in handleState()
|
/development/tools/emulator/opengl/system/GLESv2_enc/ |
D | GL2Encoder.cpp | 223 GLClientState* state = ctx->m_state; in s_glGetIntegerv() local 251 *ptr = state->getBoundTexture(GL_TEXTURE_2D); in s_glGetIntegerv() 254 *ptr = state->getBoundTexture(GL_TEXTURE_EXTERNAL_OES); in s_glGetIntegerv() 270 GLClientState* state = ctx->m_state; in s_glGetFloatv() local 299 *ptr = (GLfloat)state->getBoundTexture(GL_TEXTURE_2D); in s_glGetFloatv() 302 *ptr = (GLfloat)state->getBoundTexture(GL_TEXTURE_EXTERNAL_OES); in s_glGetFloatv() 318 GLClientState* state = ctx->m_state; in s_glGetBooleanv() local 340 *ptr = state->getBoundTexture(GL_TEXTURE_2D) != 0 ? GL_TRUE : GL_FALSE; in s_glGetBooleanv() 343 *ptr = state->getBoundTexture(GL_TEXTURE_EXTERNAL_OES) != 0 in s_glGetBooleanv() 409 … const GLClientState::VertexAttribState *state = m_state->getStateAndEnableDirty(i, &enableDirty); in sendVertexAttributes() local [all …]
|
D | GL2EncoderUtils.cpp | 24 assert (ctx->state() != NULL); in pixelDataSize() 25 return ctx->state()->pixelDataSize(width, height, format, type, pack); in pixelDataSize()
|
/development/ndk/platforms/android-3/include/linux/raid/ |
D | md_u.h | 61 int state; member 78 int state; member 87 int state; member
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
D | MyPreference.java | 117 protected void onRestoreInstanceState(Parcelable state) { in onRestoreInstanceState() argument 118 if (!state.getClass().equals(SavedState.class)) { in onRestoreInstanceState() 120 super.onRestoreInstanceState(state); in onRestoreInstanceState() 125 SavedState myState = (SavedState) state; in onRestoreInstanceState()
|
/development/ndk/platforms/android-3/include/linux/lockd/ |
D | xdr.h | 48 u32 state; member 65 u32 state; member
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | WiFiDirectBroadcastReceiver.java | 62 int state = intent.getIntExtra(WifiP2pManager.EXTRA_WIFI_STATE, -1); in onReceive() local 63 if (state == WifiP2pManager.WIFI_P2P_STATE_ENABLED) { in onReceive() 71 Log.d(WiFiDirectActivity.TAG, "P2P state changed - " + state); in onReceive()
|
/development/tools/emulator/system/gps/ |
D | gps_qemu.c | 680 GpsState* state = (GpsState*) arg; in gps_state_thread() local 684 int gps_fd = state->fd; in gps_state_thread() 685 int control_fd = state->control[1]; in gps_state_thread() 730 D("gps thread starting location_cb=%p", state->callbacks.location_cb); in gps_state_thread() 732 nmea_reader_set_callback( reader, state->callbacks.location_cb ); in gps_state_thread() 775 gps_state_init( GpsState* state, GpsCallbacks* callbacks ) in gps_state_init() argument 777 state->init = 1; in gps_state_init() 778 state->control[0] = -1; in gps_state_init() 779 state->control[1] = -1; in gps_state_init() 780 state->fd = -1; in gps_state_init() [all …]
|
/development/ndk/platforms/android-3/include/linux/ |
D | sysdev.h | 24 int (*suspend)(struct sys_device *, pm_message_t state); 42 int (*suspend)(struct sys_device *, pm_message_t state);
|
/development/samples/RSSReader/src/com/example/android/rssreader/ |
D | RssReader.java | 440 protected void onRestoreInstanceState(Bundle state) { in onRestoreInstanceState() argument 441 super.onRestoreInstanceState(state); in onRestoreInstanceState() 444 if (state == null) return; in onRestoreInstanceState() 447 List<CharSequence> strings = (ArrayList<CharSequence>)state.getSerializable(STRINGS_KEY); in onRestoreInstanceState() 458 if (state.containsKey(SELECTION_KEY)) { in onRestoreInstanceState() 461 getListView().setSelection(state.getInt(SELECTION_KEY)); in onRestoreInstanceState() 465 mUrlText.setText(state.getCharSequence(URL_KEY)); in onRestoreInstanceState() 468 mStatusText.setText(state.getCharSequence(STATUS_KEY)); in onRestoreInstanceState()
|
/development/ndk/platforms/android-3/arch-arm/include/asm/arch/ |
D | gpio-switch.h | 33 void (* notify)(void *data, int state);
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
D | nf_conntrack_sctp.h | 31 enum sctp_conntrack state; member
|
/development/ndk/platforms/android-3/include/ |
D | sha1.h | 19 uint32_t state[5]; member
|
/development/scripts/ |
D | reverse_tether.sh | 165 sudo iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT 166 sudo iptables -A FORWARD -m state --state NEW -i $HOST_DEV -j ACCEPT
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
D | GameView.java | 311 State state = cell == mSelectedCell ? mSelectedValue : mData[cell]; 312 state = state == State.EMPTY ? mCurrentPlayer : State.EMPTY; 317 mSelectedValue = state; 322 if (state != State.EMPTY) { 384 protected void onRestoreInstanceState(Parcelable state) { 386 if (!(state instanceof Bundle)) { 388 super.onRestoreInstanceState(state); 392 Bundle b = (Bundle) state;
|
/development/tools/jdwpspy/ |
D | Net.cpp | 725 NetState* state; in run() local 727 state = jdwpNetStartup(listenPort, connectHost, connectPort); in run() 728 if (state == NULL) in run() 732 if (!jdwpAcceptConnection(state)) in run() 735 if (jdwpConnectToVm(state)) { in run() 737 if (!jdwpProcessIncoming(state)) in run() 742 jdwpCloseConnection(state); in run() 745 jdwpNetFree(state); in run()
|