/frameworks/rs/ |
H A D | rsFBOCache.h | 51 State state; member in struct:android::renderscript::FBOCache::Hal
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Pipeline.java | 35 * @param state 37 public void initBuffers(VrState state); argument 41 * @param state 43 public void setupTriangles(VrState state); argument 47 * @param state 49 public void rasterizeTriangles(VrState state); argument 53 * @param state 55 public void raycast(VrState state); argument
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | ScrollbarHelper.java | 29 static int computeScrollOffset(RecyclerView.State state, OrientationHelper orientation, argument 32 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null 41 ? Math.max(0, state.getItemCount() - maxPosition - 1) 60 static int computeScrollExtent(RecyclerView.State state, OrientationHelper orientation, argument 63 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null 79 static int computeScrollRange(RecyclerView.State state, OrientationHelper orientation, argument 82 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null 87 return state.getItemCount(); 96 return (int) ((float) laidOutArea / laidOutRange * state.getItemCount());
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewAccessibilityLifecycleTest.java | 152 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { argument 154 layoutRange(recycler, 0, state.getItemCount()); 173 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 269 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) {
|
/frameworks/webview/chromium/plat_support/ |
H A D | draw_sw.h | 33 SkCanvasState* state; // The externalize state in skia format. member in struct:AwPixelInfo
|
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.h | 39 downmix_state_t state; member in struct:__anon207
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | ec_gains.cpp | 126 state = pointer to a pointer to a structure containing code state data of 144 This function resets the state data for the ec_gain module. 159 int ec_gain_code_reset (ec_gain_codeState *state) 163 if (state == (ec_gain_codeState *) NULL){ 169 state->gbuf[i] = 1; 170 state->past_gain_code = 0; 171 state->prev_gc = 1; 199 Word16 ec_gain_code_reset(ec_gain_codeState *state) argument 203 if (state 315 ec_gain_code( ec_gain_codeState *st, gc_predState *pred_state, Word16 state, Word16 *gain_code, Flag *pOverflow ) argument 577 ec_gain_pitch( ec_gain_pitchState *st, Word16 state, Word16 *gain_pitch, Flag *pOverflow ) argument 686 ec_gain_pitch_reset(ec_gain_pitchState *state) argument [all...] |
H A D | post_pro.cpp | 141 state = pointer to a structure of type Post_ProcessState 144 structure pointed to by state will have all its fields initialized 159 This function initializes state memory to zero. 174 int Post_Process_reset (Post_ProcessState *state) 176 if (state == (Post_ProcessState *) NULL){ 181 state->y2_hi = 0; 182 state->y2_lo = 0; 183 state->y1_hi = 0; 184 state->y1_lo = 0; 185 state 213 Post_Process_reset(Post_ProcessState *state) argument [all...] |
H A D | sp_dec.cpp | 137 state = pointer to an array of pointers to structures of type 145 to by state is set to NULL 147 by state is set to NULL 149 by state is set to NULL 151 to by state is set to the input no_hp_post_MR122 166 This function allocates memory for filter structure and initializes state 185 int Speech_Decode_Frame_init (Speech_Decode_FrameState **state, 190 if (state == (Speech_Decode_FrameState **) NULL){ 194 *state = NULL; 199 fprintf(stderr, "Speech_Decode_Frame_init: can not malloc state " 376 Speech_Decode_FrameState *state = local 487 Speech_Decode_FrameState **state = local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | sp_enc.cpp | 110 state = pointer to an array of pointers to structures of type 117 by state is set to NULL 119 by state is set to NULL 120 dtx field of the structure pointed to by the pointer pointed to by state 136 This function allocates memory for filter structure and initializes state 168 fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state " 233 /* fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state " 264 state = pointer to structures of type Speech_Decode_FrameState 281 This function resets state memory 299 Speech_Encode_FrameState *state 344 Speech_Encode_FrameState *state = local 453 Speech_Encode_FrameState **state = local [all...] |
H A D | ton_stab.cpp | 104 state = pointer to pointer to structure type tonStabState. 122 Purpose: Allocates state memory and initializes state memory 137 int ton_stab_init (tonStabState **state) 141 if (state == (tonStabState **) NULL){ 145 *state = NULL; 149 // fprintf(stderr, "ton_stab_init: can not malloc state structure\n"); 155 *state = s; 184 Word16 ton_stab_init(tonStabState **state) argument 188 if (state 381 ton_stab_exit(tonStabState **state) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | phase_dispersion.cpp | 160 int16 i, j, state; local 173 state = 0; 177 state = 1; 181 state = 2; 193 if (state < 2) 195 state++; 211 state = 0; 213 if (state > *prev_state + 1) 215 state--; 220 *prev_state = state; [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AHierarchicalStateMachine.cpp | 70 ALOGW("Warning message %s unhandled in root state.", 74 void AHierarchicalStateMachine::changeState(const sp<AState> &state) { argument 75 if (state == mState) { 91 cur = state; 106 mState = state;
|
/frameworks/av/media/utils/ |
H A D | ProcessInfo.cpp | 36 int32_t state; local 40 status_t err = service->getProcessStatesAndOomScoresFromPids(length, &pid, &state, &score); 45 ALOGV("pid %d state %d score %d", pid, state, score);
|
/frameworks/av/services/audiopolicy/common/include/ |
H A D | policy.h | 57 * Check if the state given correspond to an in call state. 58 * @TODO find a better name for widely call state 60 * @param[in] state to consider 62 * @return true if given state represents a device in a telephony or VoIP call 64 static inline bool is_state_in_call(int state) argument 66 return (state == AUDIO_MODE_IN_CALL) || (state == AUDIO_MODE_IN_COMMUNICATION);
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | PssTable.java | 47 final int state = SparseMappingTable.getIdFromKey(key); 48 mergeStats(state, (int)that.getValue(key, PSS_SAMPLE_COUNT), 62 public void mergeStats(int state, int inCount, long minPss, long avgPss, long maxPss, argument 64 final int key = getOrAddKey((byte)state, PSS_COUNT);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | TestedScreen.java | 63 protected void onRestoreInstanceState(Bundle state) { argument 64 super.onRestoreInstanceState(state);
|
/frameworks/base/libs/androidfw/tests/ |
H A D | Theme_bench.cpp | 30 static void BM_ThemeApplyStyleFramework(benchmark::State& state) { argument 33 state.SkipWithError("Failed to load assets"); 40 while (state.KeepRunning()) { 47 static void BM_ThemeApplyStyleFrameworkOld(benchmark::State& state) { argument 51 state.SkipWithError("Failed to load assets"); 57 while (state.KeepRunning()) { 64 static void BM_ThemeGetAttribute(benchmark::State& state) { argument 76 while (state.KeepRunning()) { 82 static void BM_ThemeGetAttributeOld(benchmark::State& state) { argument 93 while (state [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | SkiaCanvasTests.cpp | 150 SkCanvasState* state = canvas.captureCanvasState(); local 151 ASSERT_NE(state, nullptr); 152 std::unique_ptr<SkCanvas> newCanvas = SkCanvasStateUtils::MakeFromCanvasState(state); 156 SkCanvasStateUtils::ReleaseCanvasState(state); 162 state = picCanvas.captureCanvasState(); 165 ASSERT_EQ(state, nullptr);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | WifiStatusTracker.java | 29 public int state; field in class:WifiStatusTracker 44 state = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, 46 enabled = state == WifiManager.WIFI_STATE_ENABLED;
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | DetailAdapter.java | 37 void setToggleState(boolean state); argument
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | SetArcTransmissionStateAction.java | 136 void handleTimerEvent(int state) { argument 137 if (mState != state || mState != STATE_WAITING_TIMEOUT) {
|
H A D | SystemAudioAutoInitiationAction.java | 97 void handleTimerEvent(int state) { argument 98 if (mState != state) {
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraExceptionHandler.java | 35 RuntimeException e, String commandHistory, int action, int state) { 50 RuntimeException e, String commandHistory, int action, int state); 99 final int action, final int state) { 103 mCallback.onCameraException(ex, commandHistory, action, state); 49 onCameraException( RuntimeException e, String commandHistory, int action, int state) argument 97 onCameraException( final RuntimeException ex, final String commandHistory, final int action, final int state) argument
|
/frameworks/minikin/tests/perftests/ |
H A D | FontCollection.cpp | 30 static void BM_FontCollection_construct(benchmark::State& state) { argument 33 while (state.KeepRunning()) { 40 static void BM_FontCollection_hasVariationSelector(benchmark::State& state) { argument 44 uint32_t baseCp = state.range(0); 45 uint32_t vsCp = state.range(1); 49 state.SetLabel(titleBuffer); 51 while (state.KeepRunning()) { 76 static void BM_FontCollection_itemize(benchmark::State& state) { argument 80 size_t testIndex = state.range(0); 81 state [all...] |