Home
last modified time | relevance | path

Searched refs:ih (Results 1 – 11 of 11) sorted by relevance

/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java98 int ih = mImgView.getDrawable().getIntrinsicHeight(); in onCreate()
126 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); in onCreate()
128 mYOffset = mDownYOffset + 2 * (dy / (sh - scale * ih)); in onCreate()
199 int ih = mImgView.getDrawable().getIntrinsicHeight(); in updateMatrix() local
203 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); in updateMatrix()
205 (1 + mYOffset) * (sh - ih * scale) / 2); in updateMatrix()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java98 int ih = mImgView.getDrawable().getIntrinsicHeight(); in onCreate()
126 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); in onCreate()
128 mYOffset = mDownYOffset + 2 * (dy / (sh - scale * ih)); in onCreate()
199 int ih = mImgView.getDrawable().getIntrinsicHeight(); in updateMatrix() local
203 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); in updateMatrix()
205 (1 + mYOffset) * (sh - ih * scale) / 2); in updateMatrix()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java690 DatabaseUtils.InsertHelper ih = in testInsertHelper() local
695 row = ih.insert(cv); in testInsertHelper()
708 row = ih.insert(cv); in testInsertHelper()
720 row = ih.insert(cv); in testInsertHelper()
728 row = ih.insert(cv); in testInsertHelper()
741 row = ih.insert(cv); in testInsertHelper()
743 row = ih.replace(cv); in testInsertHelper()
751 ih.close(); in testInsertHelper()
850 DatabaseUtils.InsertHelper ih = in testCollateLocalizedForJapanese() local
856 ih.insert(cv); in testCollateLocalizedForJapanese()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dshadows.rscript103 int H,X,ih,is,iv;
123 ih=(int)ch;
127 H = (6*ih)/k2;
128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ;
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dshadows_f.rscript103 int H,X,ih,is,iv;
123 ih=(int)ch;
127 H = (6*ih)/k2;
128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rscript103 int H,X,ih,is,iv;
123 ih=(int)ch;
127 H = (6*ih)/k2;
128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dshadows.rscript103 int H,X,ih,is,iv;
123 ih=(int)ch;
127 H = (6*ih)/k2;
128 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ;
/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java195 final int ih = 0; //mState.mDrawable.getIntrinsicHeight(); in draw() local
197 h -= (h - ih) * (MAX_LEVEL - level) / MAX_LEVEL; in draw()
DScaleDrawable.java238 final int ih = min ? d.getIntrinsicHeight() : 0; in onBoundsChange() local
239 h -= (int) ((h - ih) * (MAX_LEVEL - level) * mState.mScaleHeight / MAX_LEVEL); in onBoundsChange()
/frameworks/av/media/codecs/m4v_h263/enc/src/
Dsad_halfpel.cpp64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_MB() argument
74 if (ih) p2 = ref + 1; in HalfPel1_SAD_MB()
138 Int HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_Blk() argument
148 if (ih) p2 = ref + 1; in HalfPel1_SAD_Blk()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicy.java127 final int ih = h - insets.top - insets.bottom; in getTargets() local
130 final Rect displayRegion = new Rect(l, t, l + iw, t + ih); in getTargets()